- TapiImpl tapi = new TapiImpl(this.serviceHandler);
- TapiTopologyImpl topo = new TapiTopologyImpl(this.dataBroker);
+ TapiContext tapiContext = new TapiContext(this.networkTransactionService);
+ LOG.info("Empty TAPI context created: {}", tapiContext.getTapiContext());
+
+ TopologyUtils topologyUtils = new TopologyUtils(this.networkTransactionService, this.dataBroker);
+ ConnectivityUtils connectivityUtils = new ConnectivityUtils(this.serviceDataStoreOperations, new HashMap<>(),
+ tapiContext);
+ TapiInitialORMapping tapiInitialORMapping = new TapiInitialORMapping(topologyUtils, connectivityUtils,
+ tapiContext, this.serviceDataStoreOperations);
+ tapiInitialORMapping.performTopoInitialMapping();
+ tapiInitialORMapping.performServInitialMapping();
+
+ TapiConnectivityImpl tapi = new TapiConnectivityImpl(this.serviceHandler, tapiContext, connectivityUtils,
+ pceListenerImpl, rendererListenerImpl, serviceHandlerListenerImpl);
+ TapiTopologyImpl topo = new TapiTopologyImpl(this.dataBroker, tapiContext, topologyUtils);