From ea1012ee54a02574ca452a887ee6a807ddd988e3 Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Tue, 13 Nov 2018 21:28:34 +0800 Subject: modify so url Change-Id: If5b49f2fba056c8b5b2b7fd2fa6c8b648cfc3fa9 Issue-ID: USECASEUI-160 Signed-off-by: guochuyicmri --- .../onap/usecaseui/server/service/lcm/domain/so/SOService.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/so/SOService.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/so/SOService.java index e4ea5b56..a5ba0971 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/so/SOService.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/so/SOService.java @@ -29,14 +29,14 @@ public interface SOService { "Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==", "Accept: application/json" }) - @POST("/ecomp/mso/infra/e2eServiceInstances/v3") + @POST("/onap/so/infra/e2eServiceInstances/v3") Call instantiateService(@Body RequestBody body); @Headers({ "Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==", "Accept: application/json" }) - @GET("/ecomp/mso/infra/e2eServiceInstances/v3/{serviceId}/operations/{operationId}") + @GET("/onap/so/infra/e2eServiceInstances/v3/{serviceId}/operations/{operationId}") Call queryOperationProgress(@Path("serviceId") String serviceId, @Path("operationId") String operationId); @Headers({ @@ -44,20 +44,20 @@ public interface SOService { "Accept: application/json" }) // @DELETE("/ecomp/mso/infra/e2eServiceInstances/v3/{serviceId}") - @HTTP(method="DELETE", path="/ecomp/mso/infra/e2eServiceInstances/v3/{serviceId}", hasBody = true) + @HTTP(method="DELETE", path="/onap/so/infra/e2eServiceInstances/v3/{serviceId}", hasBody = true) Call terminateService(@Path("serviceId") String serviceId, @Body RequestBody body); @Headers({ "Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==", "Accept: application/json" }) - @POST("/ecomp/mso/infra/e2eServiceInstances/v3/{serviceId}/scale") + @POST("/onap/so/infra/e2eServiceInstances/v3/{serviceId}/scale") Call scaleService(@Path("serviceId") String serviceId, @Body RequestBody body); @Headers({ "Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==", "Accept: application/json" }) - @PUT("/ecomp/mso/infra/e2eServiceInstances/v3/{serviceId}") + @PUT("/onap/so/infra/e2eServiceInstances/v3/{serviceId}") Call updateService(@Path("serviceId") String serviceId, @Body RequestBody body); } -- cgit 1.2.3-korg