[TRNSPRTPCE-675] create-service check Created: 21/Jun/22  Updated: 20/Sep/23  Resolved: 07/Jul/22

Status: Verified
Project: transportpce
Component/s: service-handler
Affects Version/s: Phosphorus, Sulfur
Fix Version/s: Sulfur

Type: Bug Priority: Highest
Reporter: Gilles Thouenon Assignee: Jiao Thierry
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 6 hours
Original Estimate: 0 minutes


 Description   

When we create a new service with openroadm-service:service-create rpc, the controller does not check existence of the service before implementing the new one.
If the new service has the same "service-name" as an already created one, it will overwrite the previous one in the service-list. After that, it will be impossible for the controller to delete resource configured on devices for the initial service.

 

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


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