Fix the misplacements of service notifications 15/96315/1
authorThierry Jiao <thierry.jiao@orange.com>
Fri, 30 Apr 2021 07:22:20 +0000 (09:22 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 1 Jun 2021 07:47:18 +0000 (07:47 +0000)
commitc7307826e47ae07601333c022dad3902cda28a54
tree29c02cdd12b453183fbf6889d44bc5e7b7677901
parent1f09176f61e18f8aa5a295c571c94b1ecc1837df
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
(cherry picked from commit ffb5a8b2f12b498f367562c06d926e0dd059fb68)
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