diff options
author | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-09-08 11:41:47 +0800 |
---|---|---|
committer | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-09-08 11:41:53 +0800 |
commit | 0f50935e7f94f76cb384cbc2288b138540b5b1c8 (patch) | |
tree | d7ff9e8fe4541de028c77cb67cf12cf5be59e0bf /apiroute/apiroute-service/src/main/java/org | |
parent | e75a8ef2372722c0b22669fb427d47bacc5b8d5e (diff) |
Remove service registration and discovery REST api
The service registration and discovery REST api is deprecated.
Microservice should register to discovery service which is running at 10081 port.
Issue-Id: MSB-71
Change-Id: If37cc992d7a86d63f1d9a1f9f610a0d0c5d5ccdc
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'apiroute/apiroute-service/src/main/java/org')
-rw-r--r-- | apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/resources/MicroServiceResource.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/resources/MicroServiceResource.java b/apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/resources/MicroServiceResource.java index ba850db..be33613 100644 --- a/apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/resources/MicroServiceResource.java +++ b/apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/resources/MicroServiceResource.java @@ -71,7 +71,7 @@ public class MicroServiceResource { return MicroServiceWrapper.getInstance().getAllMicroServiceInstances(); } - @POST + /*@POST @Path("/") @ApiOperation(value = "add one microservice ", code = HttpStatus.SC_CREATED, response = MicroServiceFullInfo.class) @ApiResponses(value = { @@ -251,7 +251,7 @@ public class MicroServiceResource { } return Response.ok("apigateway healthy check:ok").build(); - } + }*/ } |