Check vm-capabilites on vnf-level OS requests
[appc.git] / appc-config / appc-flow-controller / provider / src / main / java / org / onap / appc / flow / controller / node / FlowSequenceGenerator.java
index db57913..276301e 100644 (file)
@@ -131,6 +131,10 @@ class FlowSequenceGenerator {
       flowSequence = output.toString();
       log.info("MultistepSequenceGenerator-Output: " + flowSequence);
 
+      if (!flowSequence.contains("transactions")) {
+          throw new Exception("No transactions were generated for this request");
+      }
+
     } else if (sequenceType.equalsIgnoreCase(EXTERNAL)) {
       //String input = collectInputParams(localContext);
       //    flowSequnce = ""; //get it from the External interface calling the Rest End point - TBD