[TRNSPRTPCE-669] Updating the topology should only change the operational state of the services Created: 27/May/22  Updated: 20/Sep/23  Resolved: 07/Jul/22

Status: Verified
Project: transportpce
Component/s: None
Affects Version/s: None
Fix Version/s: Chlorine

Type: Bug Priority: High
Reporter: Jiao Thierry Assignee: Jiao Thierry
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 1 day
Time Spent: 1 day
Original Estimate: 2 days

Epic Link: Demo SROL

 Description   

Currently, whenever the topology is updated, we update path descriptions and services status accordingly. For example, a node from the topology that becomes "outOfService" will trigger the update of all path descriptions and services that may be using the node in question. If a service appears to contain this node in its path description, it will become "outOfService" accordingly.

However, in the process of changing the state of services, we indistinctly set the OperationalState and AdminState attributes with the new state ("outOfService" for example). Typically, only the value of OperationalState needs to be modified.

 

Acceptance criteria : the code does not bring regression, associated Junit tests are provided

 


Generated at Wed Feb 07 20:43:44 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.