Remove redundant get vnf data endpoint of aaiController (fix) 97/95697/1
authorAmichai Hemli <amichai.hemli@intl.att.com>
Sun, 15 Sep 2019 09:51:06 +0000 (12:51 +0300)
committerAmichai Hemli <amichai.hemli@intl.att.com>
Sun, 15 Sep 2019 09:51:06 +0000 (12:51 +0300)
As we are now using AaiController2, the AaiController endpoint of change-management is redundant
Issue-ID: VID-596

Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
Change-Id: I68289eb5acb02af75c052e891dc6f77a48dc62c7

vid-app-common/src/main/java/org/onap/vid/controller/AaiController.java

index 2b3ad60..3882423 100644 (file)
@@ -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<String> getVnfDataByGlobalIdAndServiceType(
-        @PathVariable("globalCustomerId") String globalCustomerId,
-        @PathVariable("serviceType") String serviceType) throws IOException {
-
-        AaiResponse<AaiGetVnfResponse> resp = aaiService.getVNFData(globalCustomerId, serviceType);
-        return aaiResponseToResponseEntity(resp);
-    }
-
     @RequestMapping(value = "/aai_refresh_subscribers", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
     public ResponseEntity<String> doRefreshSubscriberList() {
         return refreshSubscriberList();