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
4fc2fb6b
There was an error fetching the commit references. Please try again later.
Commit
4fc2fb6b
authored
3 years ago
by
Nurcan Ozturk
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
89633ddf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+18
-56
18 additions, 56 deletions
README.md
with
18 additions
and
56 deletions
README.md
+
18
−
56
View file @
4fc2fb6b
...
...
@@ -107,19 +107,17 @@ 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
$ crestCmd create tagMetaInfo --tagName LARAlign-RUN2-UPD4-test --description "{
\"
dbname
\"
:
\"
CONDBR2
\"
,
\"
nodeFullpath
\"
:
\"
/LAR/Align
\"
,
\"
schemaName
\"
:
\"
COOLONL_LAR
\"
}" --chansize 1 --colsize 1 --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
\”
}"
...
...
@@ -127,89 +125,67 @@ $ 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
```
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
$ 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>",
"endOfValidity": 0,
"insertionTime": "2022-05-26T12:10:39+0000",
...
...
@@ -222,51 +198,37 @@ Tag list : :
},
{
"description": "<timeStamp>run-lumi</timeStamp><addrHeader><address_header service_type=\"71\" clid=\"254546453\" /></addrHeader><typeName>DetCondKeyTrans</typeName>",
"endOfValidity": 0,
"insertionTime": "2022-07-04T15:50:19+0000",
"lastValidatedTime": 0,
"modificationTime": "2022-07-05T13:30:59+0000",
"name": "LARAlign-RUN2-UPD4-test",
"payloadSpec": "PoolRef:String4k",
"synchronization": "none",
"timeType": "run-lumi"
},
...
```
## Get payload tag info
$ crestCmd get payloadTagInfo --tagName LAR
```
payloadTagInfo(LAR)=
[
{
"avgvolume": 189.0,
"niovs": 5,
"tagname": "LARAlign-RUN2-UPD4-03",
"totvolume": 945.0
},
{
"avgvolume": 99.333336,
"niovs": 3,
"tagname": "LARAlign-RUN2-UPD4-test",
"totvolume": 298.0
},
...
```
...
...
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