Skip to content

fix bus is in node cluster#194

Merged
EtienneLt merged 4 commits intomainfrom
fix-bus-in-node-cluster
Mar 13, 2026
Merged

fix bus is in node cluster#194
EtienneLt merged 4 commits intomainfrom
fix-bus-in-node-cluster

Conversation

@EtienneLt
Copy link
Contributor

PR Summary

Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
@EtienneLt EtienneLt self-assigned this Mar 13, 2026
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
if (context.getParameters().getSpecificParameters().containsKey(NODE_CLUSTER)) {
List<String> nodeClusters = deserializeNodeClusters(context);
if (!nodeClusters.isEmpty() && !nodeClusters.contains(bus.getId())) {
throw new ShortCircuitException(BUS_OUT_OF_NODE_CLUSTER, "Selected bus is out of node cluster");
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
throw new ShortCircuitException(BUS_OUT_OF_NODE_CLUSTER, "Selected bus is out of node cluster");
throw new ShortCircuitException(BUS_OUT_OF_NODE_CLUSTER, "Selected bus is outside of node cluster");

Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
@sonarqubecloud
Copy link

@EtienneLt EtienneLt merged commit afeee9a into main Mar 13, 2026
3 checks passed
@EtienneLt EtienneLt deleted the fix-bus-in-node-cluster branch March 13, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants