diff options
author | guochuyicmri <guochuyi@chinamobile.com> | 2018-09-09 19:35:31 +0800 |
---|---|---|
committer | guochuyicmri <guochuyi@chinamobile.com> | 2018-09-09 19:35:48 +0800 |
commit | b89d9d8084078a8b657dcb097b6ab854cf7bf432 (patch) | |
tree | a55d5408605618da49b56d8db37ee2ccdea102da | |
parent | b7c34c344a10e6641c58ba9cc2378127c1525a23 (diff) |
edit post url for aai
Change-Id: I9d66c4e36bb5f3248a18a190f4357158043ae40d
Issue-ID: USECASEUI-141
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
-rw-r--r-- | server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java index e270a80b..ad044b04 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java @@ -99,7 +99,7 @@ public interface AAIService { "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) - @GET("/api/aai-network/v13/network/network-resources") + @GET("api/aai-network/v13/network-resources") Call<ResponseBody> listNetWorkResources(); @Headers({ @@ -108,7 +108,7 @@ public interface AAIService { "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) - @GET("/api/aai-network/v13/network/pnfs/pnf/{pnfName}/p-interfaces") + @GET("/api/aai-network/v13/pnfs/pnf/{pnfName}/p-interfaces") Call<PinterfaceRsp> getPinterfaceByPnfName(@Path("pnfName") String pnfName); @Headers({ @@ -117,7 +117,7 @@ public interface AAIService { "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) - @GET("/api/aai-network/v13/network/logical-links") + @GET("/api/aai-network/v13/logical-links") Call<ResponseBody> getLogicalLinks(); @Headers({ @@ -126,7 +126,7 @@ public interface AAIService { "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) - @GET("/api/aai-network/network/logical-links") + @GET("/api/aai-network/logical-links") Call<ResponseBody> getSpecificLogicalLink(@Query("link-name") String linkName); @Headers({ @@ -135,7 +135,7 @@ public interface AAIService { "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) - @PUT("/api/aai-network/v13/network/network-resources/network-resource/{networkId}") + @PUT("/api/aai-network/v13/network-resources/network-resource/{networkId}") Call<ResponseBody> createTopoNetwork(@Body RequestBody body,@Path("networkId") String networkId); @Headers({ @@ -144,7 +144,7 @@ public interface AAIService { "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) - @PUT("/api/aai-network/v13/network/ext-aai-networks/ext-aai-network/{aai-id}") + @PUT("/api/aai-network/v13/ext-aai-networks/ext-aai-network/{aai-id}") Call<ResponseBody> createHostUrl(@Body RequestBody body,@Path("aai-id") String aaiId); @Headers({ @@ -153,7 +153,7 @@ public interface AAIService { "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) - @GET("/api/aai-network/v13/network/ext-aai-networks/ext-aai-network/{aai-id}/esr-system-info") + @GET("/api/aai-network/v13/ext-aai-networks/ext-aai-network/{aai-id}/esr-system-info") Call<ResponseBody> getHostUrl(@Path("aai-id") String aaiId); @Headers({ @@ -162,7 +162,7 @@ public interface AAIService { "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) - @PUT("/api/aai-network/v13/network/pnfs/pnf/{pnfName}/p-interfaces/p-interface/{tp-id}") + @PUT("/api/aai-network/v13/pnfs/pnf/{pnfName}/p-interfaces/p-interface/{tp-id}") Call<ResponseBody> createTerminationPoint(@Body RequestBody body,@Path("pnfName") String pnfName,@Path("tp-id") String tpId); @Headers({ @@ -171,7 +171,7 @@ public interface AAIService { "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) - @PUT("/api/aai-network/v13/network/pnfs/pnf/{pnfname}") + @PUT("/api/aai-network/v13/pnfs/pnf/{pnfname}") Call<ResponseBody> createPnf(@Body RequestBody body,@Path("pnfname") String pnfname); @Headers({ @@ -180,7 +180,7 @@ public interface AAIService { "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) - @PUT("/api/aai-network/v13/network/logical-links/logical-link/{linkName}") + @PUT("/api/aai-network/v13/logical-links/logical-link/{linkName}") Call<ResponseBody> createLink(@Body RequestBody body,@Path("linkName") String linkName); @Headers({ @@ -189,7 +189,7 @@ public interface AAIService { "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) - @DELETE("/api/aai-network/v13/network/logical-links/logical-link/{linkName}") + @DELETE("/api/aai-network/v13/logical-links/logical-link/{linkName}") Call<ResponseBody> deleteLink(@Path("linkName") String linkName); @Headers({ |