Implement an autonomous service rerouting 85/101585/7
authorThierry Jiao <thierry.jiao@orange.com>
Tue, 24 May 2022 07:42:16 +0000 (09:42 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Thu, 30 Jun 2022 07:06:53 +0000 (07:06 +0000)
commit016cc77171371d5631bb1eb57b7434120bdfdbc1
treea4f0a4bcea8fc336836a4b56a2f3f515f65ca381
parent8f7a4511b780d3163545e8ac31a659b3e777d9b1
Implement an autonomous service rerouting

If the OperationalState of a service becomes 'outOfService',
the service will be rerouted through the following process :

  - 1) Complete deletion of the service
  - 2) Recreation of the service with a new path

JIRA: TRNSPRTPCE-676
Signed-off-by: Thierry Jiao <thierry.jiao@orange.com>
Change-Id: I9227f0f2cf5993c54e66bffc0fbd4e3168a6839e
lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java
servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/listeners/ServiceListener.java
servicehandler/src/main/resources/OSGI-INF/blueprint/servicehandler-blueprint.xml
servicehandler/src/test/java/org/opendaylight/transportpce/servicehandler/listeners/ServiceListenerTest.java