aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitreview1
-rw-r--r--archetype-closedloop-demo-rules/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl2
-rw-r--r--template.demo/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl2
3 files changed, 3 insertions, 2 deletions
diff --git a/.gitreview b/.gitreview
index 81743ce69..3ca0e076d 100644
--- a/.gitreview
+++ b/.gitreview
@@ -2,3 +2,4 @@
host=gerrit.openecomp.org
port=29418
project=policy/drools-applications.git
+defaultbranch=release-1.0.0
diff --git a/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl b/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl
index 3cb6196fd..5008df7f1 100644
--- a/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl
+++ b/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl
@@ -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);
diff --git a/template.demo/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl b/template.demo/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl
index 28d4f9f34..987fa60a6 100644
--- a/template.demo/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl
+++ b/template.demo/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl
@@ -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);