aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-03-14 11:31:38 -0400
committerPamela Dragosh <pdragosh@research.att.com>2017-03-14 12:05:34 -0400
commit42ab38f051fa30e48c36c03e8983904bfaa60256 (patch)
tree0b33f8c68aaa2ceae7b997649ae90c0e7aee7b47
parent5318719622347f247fb659cf7ac3934c4449272f (diff)
adding release-1.0.0 as default
Change-Id: I195c010ad54d45f113dd5bc4a712c047ef529956 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-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);