Skip to content

Commit

Permalink
Default db access reverted to frontier
Browse files Browse the repository at this point in the history
  • Loading branch information
ggovi committed Mar 29, 2019
1 parent 3923fdc commit 1b83895
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CondCore/Utilities/scripts/getPayloadData.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python


from __future__ import print_function
import shutil
import glob
import json
Expand Down Expand Up @@ -81,7 +82,13 @@ def deserialize_iovs(db, plugin_name, plot_name, tag, time_type, iovs):
plot = getattr(plugin_obj, plot_name)()
output('plot object: ', plot)

db_name = 'oracle://cms_orcon_adg/CMS_CONDITIONS' if db == 'Prod' else 'oracle://cms_orcoff_prep/CMS_CONDITIONS'
if db == "Prod":
db_name = 'frontier://FrontierProd/CMS_CONDITIONS'
elif db == 'Prep' :
db_name = 'frontier://FrontierPrep/CMS_CONDITIONS'
else:
db_name = db

output('full DB name: ', db_name)


Expand Down

0 comments on commit 1b83895

Please sign in to comment.