Skip to content

Commit

Permalink
Moving to store actuators
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferdinando Villa committed Nov 16, 2024
1 parent 73786e0 commit cd6b6c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public boolean run() {
if (scope.getParallelism() == Parallelism.ONE) {
for (var operation : operationGroup) {
if (!operation.run()) {

return false;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ public Observation runDataflow(Dataflow<Observation> dataflow, ContextScope cont
(ServiceContextScope) contextScope, digitalTwin, getComponentRegistry());
if (!executionSequence.isEmpty()) {
if (!executionSequence.run()) {
contextualization.fail(contextScope, dataflow.getTarget());
return Observation.empty();
}
}
Expand All @@ -474,6 +475,8 @@ public Observation runDataflow(Dataflow<Observation> dataflow, ContextScope cont
obs.setResolvedCoverage(df.getResolvedCoverage());
}

contextualization.success(contextScope, dataflow.getTarget(), dataflow);

return dataflow.getTarget();
}

Expand Down

0 comments on commit cd6b6c0

Please sign in to comment.