*/
package org.opendaylight.transportpce.servicehandler.listeners;
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
+import org.opendaylight.mdsal.binding.api.NotificationPublishService;
import org.opendaylight.transportpce.common.OperationResult;
import org.opendaylight.transportpce.pce.service.PathComputationService;
import org.opendaylight.transportpce.servicehandler.ServiceInput;
import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017.TransportpceRendererListener;
import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev161014.ServiceNotificationTypes;
import org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev161014.State;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev171016.RpcStatusEx;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev191009.RpcStatusEx;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
LOG.info("Renderer '{}' Notification received : {}", serviceRpcResultSp.getNotificationType().getName(),
notification);
switch (notifType) {
- case 3 : /** service-implementation-request. */
+ /* service-implementation-request. */
+ case 3 :
if (serviceRpcResultSp.getStatus() == RpcStatusEx.Successful) {
LOG.info("Service implemented !");
OperationResult operationResult = null;
}
}
break;
-
- case 4 : /** service-delete. */
+ /* service-delete. */
+ case 4 :
if (serviceRpcResultSp.getStatus() == RpcStatusEx.Successful) {
LOG.info("Service '{}' deleted !", serviceName);
if (this.input != null) {
return;
}
break;
-
default:
break;
}