Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Jul 5, 2022
1 parent c0edb18 commit 98f4752
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions docs/MigrationServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,29 @@ Fetch status of migration request
curl http://localhost:9898/dbs2go-migrate/status
[
{"create_by":"giffels","creation_date":1391014486,"last_modification_date":1391014924,"last_modified_by":"giffels","migration_input":"/GluGluToHToWWTo2LAndTau2Nu_M-90_7TeV-powheg-pythia6/Fall11-PU_S6_START42_V14B-v1/AODSIM","migration_request_id":5002,"migration_status":3,"migration_url":"https://cmsweb.cern.ch/dbs/prod/global/DBSReader","retry_count":3}
,{"create_by":"giffels","creation_date":1391014486,"last_modification_date":1391014949,"last_modified_by":"giffels","migration_input":"/ZZTo2e2mu_8TeV_mll8_mZZ95-160-powheg15-pythia6/Summer12_DR53X-PU_S10_START53_V19-v1/AODSIM","migration_request_id":10001,"migration_status":3,"migration_url":"https://cmsweb.cern.ch/dbs/prod/global/DBSReader","retry_count":3}
,{"create_by":"giffels","creation_date":1391014499,"last_modification_date":1391014965,"last_modified_by":"giffels","migration_input":"/CIToMuMu_Con_Lambda-19_M-800_TuneZ2star_8TeV-pythia6/Summer12_DR53X-PU_S10_START53_V19E-v1/AODSIM","migration_request_id":5004,"migration_status":3,"migration_url":"https://cmsweb.cern.ch/dbs/prod/global/DBSReader","retry_count":3}
{"create_by":"giffels",
"creation_date":1391014486,
"last_modification_date":1391014924,
"last_modified_by":"giffels",
"migration_input":"/GluGluToHToWWTo2LAndTau2Nu_M-90_7TeV-powheg-pythia6/Fall11-PU_S6_START42_V14B-v1/AODSIM",
"migration_request_id":5002,
"migration_status":3,
"migration_url":"https://cmsweb.cern.ch/dbs/prod/global/DBSReader",
"retry_count":3}
...
# or you can fetch status info of single request
curl http://localhost:9898/dbs2go-migrate/status?migration_request_id=10005
[
{"create_by":"giffels","creation_date":1391014552,"last_modification_date":1391015023,"last_modified_by":"giffels","migration_input":"/ZJetToEE_Pt-170to230_TuneEE3C_8TeV_herwigpp/Summer12_DR53X-PU_S10_START53_V19-v1/AODSIM","migration_request_id":10005,"migration_status":3,"migration_url":"https://cmsweb.cern.ch/dbs/prod/global/DBSReader","retry_count":3}
{"create_by":"giffels",
"creation_date":1391014552,
"last_modification_date":1391015023,
"last_modified_by":"giffels",
"migration_input":"/ZJetToEE_Pt-170to230_TuneEE3C_8TeV_herwigpp/Summer12_DR53X-PU_S10_START53_V19-v1/AODSIM",
"migration_request_id":10005,
"migration_status":3,
"migration_url":"https://cmsweb.cern.ch/dbs/prod/global/DBSReader",
"retry_count":3}
]
```

Expand All @@ -110,5 +124,9 @@ curl -v -H "Content-type: application/json" \
-d@$PWD/mig_request.json \
http://localhost:9898/dbs2go-migrate/remove
[{"api":"remove","error":"Invalid request. Successfully processed or processing requests cannot be removed, or the requested migration did not exist, or the requestor for removing and creating has to be the same user.","exception":400,"method":"POST","type":"HTTPError"}]
[{"api":"remove",
"error":"Invalid request. Successfully processed or processing requests cannot be removed, or the requested migration did not exist, or the requestor for removing and creating has to be the same user.",
"exception":400,
"method":"POST",
"type":"HTTPError"}]
```

0 comments on commit 98f4752

Please sign in to comment.