Fix component startup
[vfc/nfvo/driver/vnfm/svnfm.git] / nokiav2 / driver / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / nokia / restapi / SoV2Api.java
index 13d4ef8..f3b6b1d 100644 (file)
@@ -73,7 +73,7 @@ public class SoV2Api {
      * @param httpResponse the HTTP response
      * @return the descriptor of the created VNF
      */
-    @RequestMapping(value = "/vnfs/{vnfIdInAai}", method = POST, consumes = APPLICATION_JSON_VALUE)
+    @RequestMapping(value = "/vnfs/{vnfIdInAai}", method = GET, consumes = APPLICATION_JSON_VALUE)
     @ResponseBody
     public SoV2VnfQueryResponse queryVnf(@RequestBody SoV2VnfQueryRequest request, @PathVariable("vnfIdInAai") String vnfIdInAai, HttpServletResponse httpResponse) {
         logger.info("REST: Create the VNF");