Move InstructionScheduler instantiation 82/98582/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 17 Nov 2021 11:22:41 +0000 (12:22 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 17 Nov 2021 11:23:41 +0000 (12:23 +0100)
commitce001bb49a2d06469a8e7f5e612a0bd23303d3eb
tree867578c029b4197ad35dc0dd38e4242219fe3890
parentfa7473acf9acb19f902ac35271023b704607beca
Move InstructionScheduler instantiation

There is fair amount of confusion about the relationship between
the scheduler and the singleton service. Move instantiation around
to make sure we match lifecycles.

JIRA: BGPCEP-983
Change-Id: Ibdefa44fabc7f8492d8df8f951674a5b87092bf2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/config/PCEPTopologyDeployerImpl.java
pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/config/PCEPTopologyProviderBean.java
pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/config/PCEPTopologyProviderSingleton.java