diff --git a/Framework/src/PostProcessingConfig.cxx b/Framework/src/PostProcessingConfig.cxx index 086726b24a..3c33ffda16 100644 --- a/Framework/src/PostProcessingConfig.cxx +++ b/Framework/src/PostProcessingConfig.cxx @@ -37,6 +37,7 @@ PostProcessingConfig::PostProcessingConfig(const std::string& id, const boost::p moduleName = config.get("qc.postprocessing." + id + ".moduleName"); className = config.get("qc.postprocessing." + id + ".className"); detectorName = config.get("qc.postprocessing." + id + ".detectorName", "MISC"); + ccdbUrl = config.get("qc.config.conditionDB.url", ""); consulUrl = config.get("qc.config.consul.url", ""); // if available, use the source repo as defined in the postprocessing task, otherwise the general QCDB auto sourceRepo = config.get_child_optional("qc.postprocessing." + id + ".sourceRepo"); diff --git a/Framework/test/testPostProcessingConfig.cxx b/Framework/test/testPostProcessingConfig.cxx index 7c39087a92..0d622d3c39 100644 --- a/Framework/test/testPostProcessingConfig.cxx +++ b/Framework/test/testPostProcessingConfig.cxx @@ -50,4 +50,6 @@ BOOST_AUTO_TEST_CASE(test_configuration_read) BOOST_CHECK_EQUAL(ppconfig.stopTriggers[0], "once"); BOOST_CHECK_EQUAL(ppconfig.customParameters.size(), 4); + + BOOST_CHECK_EQUAL(ppconfig.ccdbUrl, "ccdb-test.cern.ch:8080"); } \ No newline at end of file diff --git a/Framework/test/testSharedConfig.json b/Framework/test/testSharedConfig.json index 2fba174e91..818227cc96 100644 --- a/Framework/test/testSharedConfig.json +++ b/Framework/test/testSharedConfig.json @@ -14,6 +14,9 @@ }, "monitoring": { "url": "infologger:///debug?qc" + }, + "conditionDB": { + "url": "ccdb-test.cern.ch:8080" } }, "tasks": {