Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Framework/advanced-aggregator.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -19,7 +19,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
},
"infologger": { "": "Configuration of the Infologger (optional).",
"filterDiscardDebug": "true", "": "Set to true to discard debug and trace messages (default: false)",
Expand Down
4 changes: 2 additions & 2 deletions Framework/advanced-external-histo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -19,7 +19,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
}
},
"tasks": {
Expand Down
4 changes: 2 additions & 2 deletions Framework/advanced.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -19,7 +19,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
},
"infologger": { "": "Configuration of the Infologger (optional).",
"filterDiscardDebug": "true", "": "Set to true to discard debug and trace messages (default: false)",
Expand Down
4 changes: 2 additions & 2 deletions Framework/basic-aggregator.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -19,7 +19,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
},
"infologger": { "": "Configuration of the Infologger (optional).",
"filterDiscardDebug": "false", "": "Set to 1 to discard debug and trace messages (default: false)",
Expand Down
4 changes: 2 additions & 2 deletions Framework/basic-external-histo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -19,7 +19,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
}
},
"tasks": {
Expand Down
4 changes: 2 additions & 2 deletions Framework/basic-functional.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -23,7 +23,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
}
},
"tasks": {
Expand Down
4 changes: 2 additions & 2 deletions Framework/basic-no-sampling.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -19,7 +19,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
}
},
"tasks": {
Expand Down
7 changes: 2 additions & 5 deletions Framework/basic.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable",
Expand All @@ -16,14 +16,11 @@
"passName": "", "": "Pass type - e.g. spass, cpass1",
"provenance": "qc", "": "Provenance - qc or qc_mc depending whether it is normal data or monte carlo data"
},
"monitoring": {
"url": "infologger:///debug?qc"
},
"consul": {
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
},
"infologger": { "": "Configuration of the Infologger (optional).",
"filterDiscardDebug": "false", "": "Set to true to discard debug and trace messages (default: false)",
Expand Down
4 changes: 2 additions & 2 deletions Framework/batch-test.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -23,7 +23,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
}
},
"tasks": {
Expand Down
2 changes: 1 addition & 1 deletion Framework/example-default.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
}
},
"tasks": {
Expand Down
2 changes: 1 addition & 1 deletion Framework/include/QualityControl/CommonSpec.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct CommonSpec {
int activityOriginalNumber = 0;
std::string monitoringUrl = "infologger:///debug?qc";
std::string consulUrl;
std::string conditionDBUrl = "http://ccdb-test.cern.ch:8080";
std::string conditionDBUrl = "http://ali-qcdb-test.cern.ch:8080";
LogDiscardParameters infologgerDiscardParameters;
double postprocessingPeriod = 30.0;
std::string bookkeepingUrl;
Expand Down
4 changes: 2 additions & 2 deletions Framework/multiNode.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -19,7 +19,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
}
},
"tasks": {
Expand Down
4 changes: 2 additions & 2 deletions Framework/multinode-test.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -21,7 +21,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
}
},
"tasks": {
Expand Down
4 changes: 2 additions & 2 deletions Framework/postprocessing-async.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -22,7 +22,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
},
"postprocessing": {
"periodSeconds": "0.0001"
Expand Down
4 changes: 2 additions & 2 deletions Framework/postprocessing.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -19,7 +19,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
},
"postprocessing": {
"periodSeconds": "10"
Expand Down
4 changes: 2 additions & 2 deletions Framework/readout-no-sampling.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -19,7 +19,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
}
},
"tasks": {
Expand Down
4 changes: 2 additions & 2 deletions Framework/readout.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -19,7 +19,7 @@
"url": ""
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
}
},
"tasks": {
Expand Down
4 changes: 2 additions & 2 deletions Framework/src/runRepositoryBenchmark.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ void addCustomOptions(bpo::options_description& options)
"Maximum number of iterations of Run/ConditionalRun/OnData (0 - infinite, default : 3)")(
"number-tasks", bpo::value<uint64_t>()->default_value(0),
"Informative only, the number of tasks being ran in parallel.")(
"database-url", bpo::value<std::string>()->default_value("ccdb-test.cern.ch:8080"),
"Database url (default : ccdb-test.cern.ch:8080")("database-username", bpo::value<std::string>()->default_value(""),
"database-url", bpo::value<std::string>()->default_value("ali-qcdb-test.cern.ch:8083"),
"Database url (default : ali-qcdb-test.cern.ch:8083")("database-username", bpo::value<std::string>()->default_value(""),
"Database username (default : <empty>)")(
"database-password", bpo::value<std::string>()->default_value(""), "Database password (default : <empty>)")(
"database-name", bpo::value<std::string>()->default_value(""), "Database name (default : <empty>")(
Expand Down
2 changes: 1 addition & 1 deletion Framework/test/testCheckWorkflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand Down
4 changes: 2 additions & 2 deletions Framework/test/testSharedConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand All @@ -16,7 +16,7 @@
"url": "infologger:///debug?qc"
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "localhost:8083"
}
},
"tasks": {
Expand Down
4 changes: 2 additions & 2 deletions Framework/test/testTaskInterface.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,14 @@ TEST_CASE("retrieveCondition")
bad.addBadChannel(3, o2::emcal::BadChannelMap::MaskType_t::DEAD_CELL);
std::map<std::string, std::string> meta;
o2::ccdb::CcdbApi api;
api.init("ccdb-test.cern.ch:8080");
api.init("ali-qcdb-test.cern.ch:8083");
api.storeAsTFileAny<o2::emcal::BadChannelMap>(&bad, "qc/TST/conditions", meta);

// retrieve it
TaskRunnerConfig taskConfig;
auto* objectsManager = new ObjectsManager(taskConfig.name, taskConfig.className, taskConfig.detectorName, 0);
test::TestTask testTask(objectsManager);
testTask.setCcdbUrl("ccdb-test.cern.ch:8080");
testTask.setCcdbUrl("ali-qcdb-test.cern.ch:8083");
o2::emcal::BadChannelMap* bcm = testTask.testRetrieveCondition();
CHECK(bcm->getChannelStatus(1) == o2::emcal::BadChannelMap::MaskType_t::GOOD_CELL);
CHECK(bcm->getChannelStatus(3) == o2::emcal::BadChannelMap::MaskType_t::DEAD_CELL);
Expand Down
2 changes: 1 addition & 1 deletion Framework/test/testThrowNameClash.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand Down
2 changes: 1 addition & 1 deletion Framework/test/testWorkflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand Down
2 changes: 1 addition & 1 deletion Modules/Daq/etc/daq.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand Down
2 changes: 1 addition & 1 deletion Modules/Example/etc/every-object.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
Expand Down
1 change: 1 addition & 0 deletions doc/QCDB.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ The address of the CCDB will have to be updated in the Tasks config file.

At the moment, the description of the REST api can be found in this document : <https://docs.google.com/presentation/d/1PJ0CVW7QHgnFzi0LELc06V82LFGPgmG3vsmmuurPnUg>

And the full documentation for a local CCDB setup is here: https://docs.google.com/document/d/1_GM6yY7ejVEIRi1y8Ooc9ongrGgZyCiks6Ca0OAEav8/edit?tab=t.0

---

Expand Down
Loading
Loading