Modify the code to fit the changed VFC code. 36/102836/1
authorhekeguang <hekeguang@chinamobile.com>
Tue, 3 Mar 2020 09:44:49 +0000 (17:44 +0800)
committerhekeguang <hekeguang@chinamobile.com>
Tue, 3 Mar 2020 09:45:00 +0000 (17:45 +0800)
Issue-ID: USECASEUI-368
Change-Id: I0147b3063162cc16569a578ad41ab424600cf525
Signed-off-by: hekeguang <hekeguang@chinamobile.com>
server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/VfcService.java

index 873025c..172c603 100644 (file)
@@ -52,7 +52,7 @@ public interface VfcService {
     @POST("/api/catalog/v1/parsernsd")
     Call<ResponseBody> fetchNsTemplateData(@Body RequestBody body);
     
-    @POST("/api/parser/v1/parser")
+    @POST("/api/catalog/v1/parser")
     Call<ResponseBody> fetchTemplateInfo(@Body RequestBody body);
     
     @GET("/api/nslcm/v1/ns")
@@ -124,15 +124,15 @@ public interface VfcService {
     @GET("/api/nslcm/v1/ns/vnfs/{vnfinstid}")
     Call<ResponseBody> getVnfInfoById(@Path("vnfinstid") String vnfinstid);
 
-    @GET("/api/parser/v1/service_packages")
+    @GET("/api/catalog/v1/service_packages")
     Call<ResponseBody> servicePackages();
     
-    @GET("/api/parser/v1/service_packages/{csarId}")
+    @GET("/api/catalog/v1/service_packages/{csarId}")
     Call<ResponseBody> servicePackages(@Path("csarId") String csarId);
     
-    @POST("/api/parser/v1/service_packages")
+    @POST("/api/catalog/v1/service_packages")
     Call<ResponseBody> servicePackages(@Body RequestBody body);
     
-    @DELETE("/api/parser/v1/service_packages/{csarId}")
+    @DELETE("/api/catalog/v1/service_packages/{csarId}")
     Call<ResponseBody> deleteServicePackages(@Path("csarId") String csarId);
 }