Skip to content

[QC-310] Refresh config in Runners::init#1010

Merged
Barthelemy merged 37 commits into
AliceO2Group:masterfrom
Barthelemy:push-config
Jan 24, 2022
Merged

[QC-310] Refresh config in Runners::init#1010
Barthelemy merged 37 commits into
AliceO2Group:masterfrom
Barthelemy:push-config

Conversation

@Barthelemy
Copy link
Copy Markdown
Collaborator

We use the ptree provided by ECS via DPL/FairMQ to rebuild a config in init() and use it. If it is not available we just keep the one we got at the beginning.

I had to refactor a bit to have something understandable in the runners and be able to reconfigure.

One thing is missing in the PR: the CheckRunner does not actually apply the config. This will be done in a later PR as it will require some refactoring and this PR is already too big.

@Barthelemy Barthelemy requested a review from knopers8 as a code owner January 14, 2022 14:14
Copy link
Copy Markdown
Collaborator

@knopers8 knopers8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, indeed let's keep Check Runners for another PR, that is already significant. Please see my comments.

Comment thread Framework/include/QualityControl/AggregatorRunner.h Outdated
Comment thread Framework/include/QualityControl/AggregatorRunner.h Outdated
Comment thread Framework/include/QualityControl/AggregatorRunnerFactory.h Outdated
Comment thread Framework/include/QualityControl/CheckRunner.h Outdated
Comment thread Framework/include/QualityControl/TaskRunner.h Outdated
Comment thread Framework/include/QualityControl/runnerUtils.h
Comment thread Framework/include/QualityControl/runnerUtils.h Outdated
Comment thread Framework/src/AggregatorRunner.cxx Outdated
Comment thread Framework/src/TaskRunner.cxx Outdated
Comment thread Framework/src/TaskRunnerFactory.cxx
@knopers8
Copy link
Copy Markdown
Collaborator

Please resolve the conflicts.

@Barthelemy Barthelemy merged commit 237b26c into AliceO2Group:master Jan 24, 2022
@Barthelemy Barthelemy deleted the push-config branch January 24, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants