Refactor NBINotifications and serviceHandlerImpl
[transportpce.git] / dmaap-client / src / main / java / org / opendaylight / transportpce / dmaap / client / resource / EventsApi.java
index b1a5ae03659151a58c1238591a8bb6f9703eb5d6..e6f167824b5fe5be45a55bec1e35c6e6384bd72f 100644 (file)
@@ -14,7 +14,7 @@ import javax.ws.rs.PathParam;
 import javax.ws.rs.Produces;
 import javax.ws.rs.core.MediaType;
 import org.opendaylight.transportpce.dmaap.client.resource.model.CreatedEvent;
-import org.opendaylight.yang.gen.v1.nbi.notifications.rev210628.PublishNotificationService;
+import org.opendaylight.yang.gen.v1.nbi.notifications.rev210813.PublishNotificationProcessService;
 
 @Path("/events")
 public interface EventsApi {
@@ -23,6 +23,6 @@ public interface EventsApi {
     @Consumes(MediaType.APPLICATION_JSON)
     @Produces(MediaType.APPLICATION_JSON)
     @Path("/{topic}")
-    CreatedEvent sendEvent(@PathParam("topic") String topic, PublishNotificationService event);
+    CreatedEvent sendEvent(@PathParam("topic") String topic, PublishNotificationProcessService event);
 
 }