From 670cf51c2bae271e82c63150ab5d9e0accbd1350 Mon Sep 17 00:00:00 2001 From: hekeguang Date: Tue, 3 Mar 2020 17:44:49 +0800 Subject: Modify the code to fit the changed VFC code. Issue-ID: USECASEUI-368 Change-Id: I0147b3063162cc16569a578ad41ab424600cf525 Signed-off-by: hekeguang --- .../usecaseui/server/service/lcm/domain/vfc/VfcService.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/VfcService.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/VfcService.java index 873025c6..172c603e 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/VfcService.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/VfcService.java @@ -52,7 +52,7 @@ public interface VfcService { @POST("/api/catalog/v1/parsernsd") Call fetchNsTemplateData(@Body RequestBody body); - @POST("/api/parser/v1/parser") + @POST("/api/catalog/v1/parser") Call fetchTemplateInfo(@Body RequestBody body); @GET("/api/nslcm/v1/ns") @@ -124,15 +124,15 @@ public interface VfcService { @GET("/api/nslcm/v1/ns/vnfs/{vnfinstid}") Call getVnfInfoById(@Path("vnfinstid") String vnfinstid); - @GET("/api/parser/v1/service_packages") + @GET("/api/catalog/v1/service_packages") Call servicePackages(); - @GET("/api/parser/v1/service_packages/{csarId}") + @GET("/api/catalog/v1/service_packages/{csarId}") Call servicePackages(@Path("csarId") String csarId); - @POST("/api/parser/v1/service_packages") + @POST("/api/catalog/v1/service_packages") Call servicePackages(@Body RequestBody body); - @DELETE("/api/parser/v1/service_packages/{csarId}") + @DELETE("/api/catalog/v1/service_packages/{csarId}") Call deleteServicePackages(@Path("csarId") String csarId); } -- cgit 1.2.3-korg