cherry 42ab38f051fa30e48c36c03e8983904bfaa60256 45/2145/1
authorPamela Dragosh <pdragosh@research.att.com>
Tue, 14 Mar 2017 22:17:28 +0000 (18:17 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Tue, 14 Mar 2017 22:18:15 +0000 (18:18 -0400)
Change-Id: I4bace6eb9fd928183758dec8b6cd9e7c52d09d24
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
.gitreview
archetype-closedloop-demo-rules/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl
template.demo/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl

index 81743ce..e027ed4 100644 (file)
@@ -2,3 +2,4 @@
 host=gerrit.openecomp.org
 port=29418
 project=policy/drools-applications.git
+defaultbranch=master
index 3cb6196..5008df7 100644 (file)
@@ -1046,7 +1046,7 @@ rule "${policyName}.MSO.RESPONSE"
                //
                // The operation can either be succeeded or failed
                // 
-               if($response.request.requestStatus.requestState.equals("Completed")) {
+               if($response.request.requestStatus.requestState.equals("COMPLETE")) {
                        $operationWrapper.operation.outcome = "SUCCESS";
                        $manager.setControlLoopResult("SUCCESS");
                        notification.history.add($operationWrapper.operation);
index 28d4f9f..987fa60 100644 (file)
@@ -1224,7 +1224,7 @@ rule "${policyName}.MSO.RESPONSE"
                //
                // The operation can either be succeeded or failed
                // 
-               if($response.request.requestStatus.requestState.equals("Completed")) {
+               if($response.request.requestStatus.requestState.equals("COMPLETE")) {
                        $operationWrapper.operation.outcome = "SUCCESS";
                        $manager.setControlLoopResult("SUCCESS");
                        notification.history.add($operationWrapper.operation);