Skip to content

Commit

Permalink
Merge pull request #4 from lsst/tickets/DM-8947
Browse files Browse the repository at this point in the history
Changed configurations to use DatabaseConfigurator stand-in plug-in
  • Loading branch information
srp3rd committed Jan 26, 2017
2 parents a818811 + 8d79f8c commit 1d2da23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
11 changes: 4 additions & 7 deletions etc/templates/config_with_getenv.py.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@ config.production.shortName = "DataRelease"
config.production.eventBrokerHost = "lsst8.ncsa.uiuc.edu"
config.production.productionShutdownTopic = "productionShutdown2"

config.database["db1"].name = "dc3bGlobal"
# note that the database plugin, DatabaseConfigurator, is a placeholder
# and does no interaction with the database.
config.database["db1"].name = "Global"
config.database["db1"].system.authInfo.host = "lsst-db.ncsa.illinois.edu"
config.database["db1"].system.authInfo.port = 3306
config.database["db1"].system.runCleanup.daysFirstNotice = 7
config.database["db1"].system.runCleanup.daysFinalNotice = 1

config.database["db1"].configurationClass = "lsst.ctrl.orca.db.DC3Configurator"
config.database["db1"].configurationClass = "lsst.ctrl.orca.DatabaseConfigurator"
config.database["db1"].configuration["production"].globalDbName = "GlobalDB"

config.database["db1"].configuration["production"].dcVersion = "S12_sdss"
config.database["db1"].configuration["production"].dcDbName = "DC3b_DB"
config.database["db1"].configuration["production"].minPercDiskSpaceReq = 10
config.database["db1"].configuration["production"].userRunLife = 2
config.database["db1"].logger.launch = True

config.workflow["workflow1"].platform.dir.defaultRoot = "$DEFAULT_ROOT"

Expand Down
10 changes: 3 additions & 7 deletions etc/templates/config_with_setups.py.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,17 @@ config.production.shortName = "DataRelease"
config.production.eventBrokerHost = "lsst8.ncsa.uiuc.edu"
config.production.productionShutdownTopic = "productionShutdown2"

# note that the database plugin, DatabaseConfigurator, is a placeholder
# and does no interaction with the database.
config.database["db1"].name = "dc3bGlobal"
config.database["db1"].system.authInfo.host = "lsst-db.ncsa.illinois.edu"
config.database["db1"].system.authInfo.port = 3306
config.database["db1"].system.runCleanup.daysFirstNotice = 7
config.database["db1"].system.runCleanup.daysFinalNotice = 1

config.database["db1"].configurationClass = "lsst.ctrl.orca.db.DC3Configurator"
config.database["db1"].configurationClass = "lsst.ctrl.orca.DatabaseConfigurator"
config.database["db1"].configuration["production"].globalDbName = "GlobalDB"

config.database["db1"].configuration["production"].dcVersion = "S12_sdss"
config.database["db1"].configuration["production"].dcDbName = "DC3b_DB"
config.database["db1"].configuration["production"].minPercDiskSpaceReq = 10
config.database["db1"].configuration["production"].userRunLife = 2
config.database["db1"].logger.launch = True

config.workflow["workflow1"].platform.dir.defaultRoot = "$DEFAULT_ROOT"

config.workflow["workflow1"].platform.deploy.defaultDomain = "$FILE_SYSTEM_DOMAIN"
Expand Down

0 comments on commit 1d2da23

Please sign in to comment.