Fix the issue call multicloud failed.
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / externalservice / cloud / IVimManage.java
index 33ecd91..6c7bb31 100644 (file)
@@ -22,13 +22,15 @@ import javax.ws.rs.PathParam;
 import javax.ws.rs.Produces;
 import javax.ws.rs.core.MediaType;
 
+import org.onap.aai.esr.exception.ExtsysException;
+
 @Path("/")
 public interface IVimManage {
   @POST
-  @Path("/cloud-region/{cloud_owner}_{cloud_region_id}/registry")
+  @Path("/{cloud_owner}_{cloud_region_id}/registry")
   @Consumes(MediaType.APPLICATION_JSON)
   @Produces(MediaType.APPLICATION_JSON)
   public void updateVIM(@PathParam("cloud_owner") String cloud_owner,
-      @PathParam("cloud_region_id") String cloud_region_id, Tenant tenant) throws Exception;
+      @PathParam("cloud_region_id") String cloud_region_id, Tenant tenant) throws ExtsysException;
 
 }