summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenes Nemeth <denes.nemeth@nokia.com>2018-09-19 21:20:21 +0200
committerDénes Németh <denes.nemeth@nokia.com>2018-09-20 04:34:18 +0000
commitf8976349f889cbd348ff0ce621afefbd9aeaacf0 (patch)
treeb72b0e3502298261706fb336bf43b15d32b377c8
parentca54d8e272c25ae1ab552bfece579eee2098a197 (diff)
Fix component startup
Change-Id: I655f4823cb3ee275286c8b762a9c35df6b53b28c Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com> Issue-ID: VFC-1005
-rw-r--r--nokiav2/driver/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/restapi/SoV2Api.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/nokiav2/driver/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/restapi/SoV2Api.java b/nokiav2/driver/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/restapi/SoV2Api.java
index 13d4ef8e..f3b6b1d7 100644
--- a/nokiav2/driver/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/restapi/SoV2Api.java
+++ b/nokiav2/driver/src/main/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/restapi/SoV2Api.java
@@ -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");