diff options
author | 2017-11-02 11:12:39 -0700 | |
---|---|---|
committer | 2017-11-02 15:27:49 -0700 | |
commit | df6ed833185ecdc20d6faf71c55160fd8638f3c3 (patch) | |
tree | 2ddc25478ee461b30f2ae07f530920d1b555012e /controlloop/templates/archetype-cl-amsterdam/src/main | |
parent | 32d406d841dc8c6674a7392e5e925cc0a4a9028b (diff) |
Write to DB on guard deny
When an operations was denied by guard, it was not writing to the DB at
all. Only in the deny case we start the operation, then
setOperationHasGuardDeny, then finish the operation. Had to add start
operation just before finishing it. This allows the write to occur at
setOperationHasGuardDeny.
Issue-ID: POLICY-345
Change-Id: I665b9cfaa684493e39e731102d4d43ecb39fad7c
Signed-off-by: Temoc Rodriguez <cr056n@att.com>
Diffstat (limited to 'controlloop/templates/archetype-cl-amsterdam/src/main')
-rw-r--r-- | controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl b/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl index acc980686..fbc46a3ee 100644 --- a/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl +++ b/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl @@ -726,6 +726,7 @@ rule "${policyName}.GUARD.RESPONSE" } else { //This is the Deny case + $operation.startOperation($event); $operation.setOperationHasGuardDeny(); retract($opTimer); retract($operation); |