summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhekeguang <hekeguang@chinamobile.com>2020-03-03 17:44:49 +0800
committerhekeguang <hekeguang@chinamobile.com>2020-03-03 17:45:00 +0800
commit670cf51c2bae271e82c63150ab5d9e0accbd1350 (patch)
tree8e68a1a297230771c6b5a3aec4f7ffa19798a279
parent5b6ae88036d652929fbf9e6923fc63f474a7fdaf (diff)
Modify the code to fit the changed VFC code.
Issue-ID: USECASEUI-368 Change-Id: I0147b3063162cc16569a578ad41ab424600cf525 Signed-off-by: hekeguang <hekeguang@chinamobile.com>
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/VfcService.java10
1 files 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<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);
}