[TRNSPRTPCE-611] Rewrite DowngradeConstraintsTest class in ServiceHandler Created: 10/Feb/22  Updated: 08/Apr/22  Resolved: 08/Apr/22

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

Type: Story Priority: High
Reporter: Gilles Thouenon Assignee: Gilles Thouenon
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 1 week
Original Estimate: 4 days

Issue Links:
Blocks
is blocked by TRNSPRTPCE-515 Service Model 10.1 Verified

 Description   

With migration of OpenROADM service models to 10.1, new constraints appeared, and structures of routing-constraints has changed imposing to rewrite more or less the whole DowngradeConstraintsTest and an important part of the DowngradeConstraints classes.

This class is used in a context of service-restoration. In the case hard-constraints can not be satisfied, they are downgraded to soft-constraints. If some soft-constraints already was already existing, they are complemented by the hard-constraints.

Complement the implementation of DowngradeConstraints class to take into acount all 10.1 constraints, and completly rewrite its associated unitary test class.


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