Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
crest-examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
crest-db
crest-examples
Commits
471c7b8a
Commit
471c7b8a
authored
3 years ago
by
Nurcan Ozturk
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
31c7e611
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+67
-2
67 additions, 2 deletions
README.md
with
67 additions
and
2 deletions
README.md
+
67
−
2
View file @
471c7b8a
...
...
@@ -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>
",
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment