Initial OR-TAPI mapping: Services
[transportpce.git] / lighty / src / main / java / io / lighty / controllers / tpce / module / TransportPCEImpl.java
index 1611a08a5ad5c2aad4aa87d2b6d552c5fd41452f..05992243da2a8fc7c6c80feda3c113412c19d481 100644 (file)
@@ -189,7 +189,7 @@ public class TransportPCEImpl extends AbstractLightyModule implements TransportP
                 serviceDataStoreOperations, pceListenerImpl, rendererListenerImpl, networkModelListenerImpl,
                 servicehandler);
 
-        tapiProvider = initTapi(lightyServices, servicehandler, networkTransaction);
+        tapiProvider = initTapi(lightyServices, servicehandler, networkTransaction, serviceDataStoreOperations);
         if(activateNbiNotification) {
             LOG.info("Creating nbi-notifications beans ...");
             nbiNotificationsProvider = new NbiNotificationsProvider(
@@ -250,9 +250,10 @@ public class TransportPCEImpl extends AbstractLightyModule implements TransportP
      * @return TapiProvider instance
      */
     private TapiProvider initTapi(LightyServices lightyServices, OrgOpenroadmServiceService servicehandler,
-                                  NetworkTransactionService networkTransaction) {
+                                  NetworkTransactionService networkTransaction,
+                                  ServiceDataStoreOperations serviceDataStoreOperations) {
         return new TapiProvider(lightyServices.getBindingDataBroker(), lightyServices.getRpcProviderService(),
-                servicehandler, new TapiListener(), networkTransaction);
+                servicehandler, serviceDataStoreOperations, new TapiListener(), networkTransaction);
     }
 
     /**