Code modification attempts to fix issue 28/72228/1 1.4.1
authorBalaji, Ramya (rb111y) <rb111y@att.com>
Thu, 8 Nov 2018 17:38:38 +0000 (12:38 -0500)
committerBalaji, Ramya (rb111y) <rb111y@att.com>
Thu, 8 Nov 2018 17:39:35 +0000 (12:39 -0500)
Issue-ID: APPC-1231
Change-Id: I710487b70624b1f4736de29f84f627a8f7a2ccf7
Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/onap/appc/requesthandler/conv/Converter.java

index 84605ff..2bfc912 100644 (file)
@@ -75,8 +75,9 @@ public class Converter {
         if(vnfOperation == null){
             throw new IllegalArgumentException("empty asyncResponse.action");
         }
-        logger.debug("Entered Converter.convAsyncResponseToBuilder()");
-        Action action = Action.valueOf(vnfOperation.name());
+        logger.debug("Entered Converter.convAsyncResponseToBuilder() : Operation Name "+ vnfOperation.name());
+        org.opendaylight.yang.gen.v1.org.onap.appc.lcm.rev160108.Action action = org.opendaylight.yang.gen.v1.org.onap.appc.lcm.rev160108.Action.valueOf(vnfOperation.name());
+        logger.debug("After resolving action");
         CommonHeader commonHeader = convAsyncResponseTorev160108CommonHeader(response);
         Status status = convAsyncResponseTorev160108Status(response);
         Payload payload = convAsyncResponseTorev160108Payload(response);