Skip to content
Snippets Groups Projects
Commit 471c7b8a authored by Nurcan Ozturk's avatar Nurcan Ozturk
Browse files

Update README.md

parent 31c7e611
Branches
Tags
No related merge requests found
......@@ -62,23 +62,33 @@ Command List:
2) Get methods:
crestCmd get tag [OPTIONS]
crestCmd get tagMetaInfo [OPTIONS]
crestCmd get globalTag [OPTIONS]
crestCmd get blob [OPTIONS]
crestCmd get payloadMetaInfo [OPTIONS]
crestCmd get payloadTagInfo [OPTIONS]
3) Create methods:
crestCmd create tag [OPTIONS]
crestCmd create tagMetaInfo [OPTIONS]
crestCmd create globalTag [OPTIONS]
crestCmd create globalTagMap [OPTIONS]
crestCmd create iovAndPayload [OPTIONS]
4) Remove methods:
crestCmd remove tag [OPTIONS]
crestCmd remove globalTag [OPTIONS]
## Create a Global Tag
......@@ -87,36 +97,57 @@ $ crestCmd create globalTag --tagName CREST-test --description test --release 1
host=crest-01.cern.ch port8090
tagName = CREST-test
description = test
type = t
release = 1
scenario = test
workflow = T
validity = 0
insertionTime =
snapshotTime =
js =
{
"description": "test",
"name": "CREST-test",
"release": "1",
"scenario": "test",
"type": "t",
"validity": "0",
"workflow": "T"
}
Global tag was created.
## Create a tag
$ crestCmd create tag --tagName LARAlign-RUN2-UPD4-test --description "<timeStamp>run-lumi</timeStamp><addrHeader><address_header service_type=\"71\" clid=\"254546453\" /></addrHeader><typeName>DetCondKeyTrans</typeName>" --timeType run-lumi --payloadSpec PoolRef:String4k
host=crest-01.cern.ch port8090
Tag was created.
## Create Global Tag mapping
$ crestCmd create globalTagMap --globalTagName CREST-test --tagName LARAlign-RUN2-UPD4-test --label /LAR/Align --record None
host=crest-01.cern.ch port8090
Global tag map was created.
## Create tag meta info
......@@ -126,61 +157,95 @@ $ crestCmd create tagMetaInfo --tagName LARAlign-RUN2-UPD4-test --description "{
## Create IOVs and payloads
$ crestCmd create iovAndPayload --tagName LARAlign-RUN2-UPD4-test --payload "[DB=26B208DE-79E8-E611-9796-02163E019096][CNT=CollectionTree(DetCondKeyTrans//LAR/Align)][CLID=A6DA54AC-D54E-4B6C-8489-C6D015277AD0][TECH=00000202][OID=00000003-00000000]" --since 1146343951171584 --endtime 0
host=crest-01.cern.ch port8090
## Get Global Tag mapping
$ crestCmd get globalTagMap --globalTagName CREST-test
$ crestCmd get globalTagMap --globalTagName CREST-test
host=crest-01.cern.ch port8090
global tag map(CREST-test)=
[
{
"globalTagName": "CREST-test",
"label": "label",
"record": "None",
"tagName": "LARAlign-RUN2-UPD4-test"
}
]
## Get tag meta info
$ crestCmd get tagMetaInfo --tagName LARAlign-RUN2-UPD4-test
host=crest-01.cern.ch port8090
tagMetaInfo(LARAlign-RUN2-UPD4-test)=
[
{
"chansize": 1,
"colsize": 1,
"description": "{\"dbname\":\"CONDBR2\",\"nodeFullpath\":\"/LAR/Align\",\"schemaName\":\"COOLONL_LAR\"}",
"insertionTime": "2022-07-05T13:40:47+0000",
"tagInfo": "{\"channel_list\":[{\"0\":\"\"}],\"node_description\":\"<timeStamp>run-lumi</timeStamp><addrHeader><address_header service_type=\\\"71\\\" clid=\\\"254546453\\\" /></addrHeader><typeName>DetCondKeyTrans</typeName>\",\"payload_spec\":\"PoolRef:String4k\"}",
"tagName": "LARAlign-RUN2-UPD4-test"
}
]
## Get payload meta info
$ crestCmd get payloadMetaInfo --hash ad19a1b4ebce65eebbe7b9fa1f454016e0eebb93a42b69e7f639737de0230382
host=crest-01.cern.ch port8090
payloadMetaInfo ( ad19a1b4ebce65eebbe7b9fa1f454016e0eebb93a42b69e7f639737de0230382 ) =
[
{
"data": null,
"hash": "ad19a1b4ebce65eebbe7b9fa1f454016e0eebb93a42b69e7f639737de0230382",
"insertionTime": "2022-07-05T13:30:58+0000",
"objectType": "iovs",
"size": 170,
"streamerInfo": "eyJmaWxlbmFtZSI6ImFkMTlhMWI0ZWJjZTY1ZWViYmU3YjlmYTFmNDU0MDE2ZTBlZWJiOTNhNDJiNjllN2Y2Mzk3MzdkZTAyMzAzODIiLCJmb3JtYXQiOiJpb3ZzIiwiaW5zZXJ0aW9uRGF0ZSI6IlR1ZSBKdWwgMDUgMTM6MzA6NTggR01UIDIwMjIifQ==",
"streamerInfo":
"eyJmaWxlbmFtZSI6ImFkMTlhMWI0ZWJjZTY1ZWViYmU3YjlmYTFmNDU0MDE2ZTBlZWJiOTNhNDJiNjllN2Y2Mzk3MzdkZTAyMzAzODIiLCJmb3JtYXQiOiJpb3ZzIiwiaW5zZXJ0aW9uRGF0ZSI6IlR1ZSBKdWwgMDUgMTM6MzA6NTggR01UIDIwMjIifQ==",
"version": "default"
}
]
## Get tag list
$ crestCmd get tagList --name LAR
host=crest-01.cern.ch port8090
Tag list : :
[
{
"description": "<timeStamp>run-lumi</timeStamp><addrHeader><address_header service_type=\"71\" clid=\"254546453\" /></addrHeader><typeName>DetCondKeyTrans</typeName>",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment