summaryrefslogtreecommitdiffstats
path: root/archetype-closedloop-demo-rules
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-03-14 18:17:28 -0400
committerPamela Dragosh <pdragosh@research.att.com>2017-03-14 18:18:15 -0400
commit5026055a053ebb66869a9d2eddebfe7253b09621 (patch)
treef25df6f8dbb60bc1747c4574b51779e88eaa2416 /archetype-closedloop-demo-rules
parent3428341605e8e3ba7176ad8fc106eab8db08d04e (diff)
cherry 42ab38f051fa30e48c36c03e8983904bfaa60256
Change-Id: I4bace6eb9fd928183758dec8b6cd9e7c52d09d24 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'archetype-closedloop-demo-rules')
-rw-r--r--archetype-closedloop-demo-rules/src/main/resources/archetype-resources/src/main/resources/ControlLoopDemo__closedLoopControlName__.drl2
1 files changed, 1 insertions, 1 deletions
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);