Fix the misplacements of service notifications 62/95962/9
authorThierry Jiao <thierry.jiao@orange.com>
Fri, 30 Apr 2021 07:22:20 +0000 (09:22 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Thu, 27 May 2021 18:17:10 +0000 (18:17 +0000)
commitffb5a8b2f12b498f367562c06d926e0dd059fb68
tree9a2e53ebdeb977fcab38bad4731035e2113f05fa
parent58cab488309943b60d0b7c1826285a4ed458ea31
Fix the misplacements of service notifications

- Move the sending of the notification (Service deleted !) to the
correct end of the service-create operation
- Move the sending of the notification (Service implemented !) to the
correct end of the service-delete operation
- Send a service-create notification failure when Renderer service
implementation failed
- Send a service-delete notification failure when PCE cancel ressource
failed
- Send a service-delete notification failure when Renderer service
delete failed

JIRA: TRNSPRTPCE-447
Signed-off-by: Thierry Jiao <thierry.jiao@orange.com>
Change-Id: If38f004e2de64febd456fd0a5d778ce1fa1bb0f2
servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/impl/ServicehandlerImpl.java
servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/listeners/PceListenerImpl.java
servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/listeners/RendererListenerImpl.java