Update VIM after register finishied.
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / externalservice / aai / IExternalSystem.java
index 13b172a..859120d 100644 (file)
@@ -30,6 +30,7 @@ import org.onap.aai.esr.entity.aai.EsrEmsDetail;
 import org.onap.aai.esr.entity.aai.EsrThirdpartySdncDetail;
 import org.onap.aai.esr.entity.aai.EsrVnfmDetail;
 
+@Path("/")
 public interface IExternalSystem {
 
   @PUT
@@ -66,7 +67,7 @@ public interface IExternalSystem {
       @HeaderParam("X-FromAppId") String fromApp,
       @HeaderParam("Authorization") String authorization,
       @PathParam("vnfm_id") String vnfmId,
-      @QueryParam("resouce-version") String resourceVersion) throws Exception;
+      @QueryParam("resource-version") String resourceVersion) throws Exception;
 
   @PUT
   @Path("/esr-ems-list/esr-ems/{ems_id}")
@@ -102,7 +103,7 @@ public interface IExternalSystem {
       @HeaderParam("X-FromAppId") String fromApp,
       @HeaderParam("Authorization") String authorization,
       @PathParam("ems_id") String emsId,
-      @QueryParam("resouce-version") String resourceVersion) throws Exception;
+      @QueryParam("resource-version") String resourceVersion) throws Exception;
   
   @PUT
   @Path("/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/{thirdparty-sdnc-id}")
@@ -138,5 +139,5 @@ public interface IExternalSystem {
       @HeaderParam("X-FromAppId") String fromApp,
       @HeaderParam("Authorization") String authorization,
       @PathParam("thirdparty-sdnc-id") String thirdpartySdncId,
-      @QueryParam("resouce-version") String resourceVersion) throws Exception;
+      @QueryParam("resource-version") String resourceVersion) throws Exception;
 }