From: Amichai Hemli Date: Sun, 15 Sep 2019 09:51:06 +0000 (+0300) Subject: Remove redundant get vnf data endpoint of aaiController (fix) X-Git-Tag: 5.0.3~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=24f143d8537686bc7a5b7540547fc40ab6523012;p=vid.git Remove redundant get vnf data endpoint of aaiController (fix) As we are now using AaiController2, the AaiController endpoint of change-management is redundant Issue-ID: VID-596 Signed-off-by: Amichai Hemli Change-Id: I68289eb5acb02af75c052e891dc6f77a48dc62c7 --- diff --git a/vid-app-common/src/main/java/org/onap/vid/controller/AaiController.java b/vid-app-common/src/main/java/org/onap/vid/controller/AaiController.java index 2b3ad60ea..388242371 100644 --- a/vid-app-common/src/main/java/org/onap/vid/controller/AaiController.java +++ b/vid-app-common/src/main/java/org/onap/vid/controller/AaiController.java @@ -240,18 +240,6 @@ public class AaiController extends RestrictedBaseController { return responseEntity; } - - @RequestMapping(value = "/get_vnf_data_by_globalid_and_service_type/{globalCustomerId}/{serviceType}", - method = RequestMethod.GET, - produces = MediaType.APPLICATION_JSON_VALUE) - public ResponseEntity getVnfDataByGlobalIdAndServiceType( - @PathVariable("globalCustomerId") String globalCustomerId, - @PathVariable("serviceType") String serviceType) throws IOException { - - AaiResponse resp = aaiService.getVNFData(globalCustomerId, serviceType); - return aaiResponseToResponseEntity(resp); - } - @RequestMapping(value = "/aai_refresh_subscribers", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE) public ResponseEntity doRefreshSubscriberList() { return refreshSubscriberList();