Modify drools-applications template to check is PROV_STATUS=Active before performing a Scale Out

Description

 

 

I don't think this can be done as a guard policy. We should determine that is true. Functionality can be hardcoded into the template similar to the is-closed-loop-disabled flag.

 

Activity

Show:

Former user August 16, 2018 at 1:06 PM

No we can go forward - I think I made the executive decision (at least in my head) that all control loops will check prov_status=active. We will have to look at the specification to see how we can add a policy to it so that can be set by designer in CLAMP.

Former user August 15, 2018 at 10:22 PM

Is this still on hold?  Or should we go ahead and add the check for ALL control loops?

Former user July 19, 2018 at 12:22 PM

- Kind of, but I wasn't thinking in the same place. Too bad is wasn't implemented as an actual Rule vs in the java code. Let's wait another sprint for this, I am still scoping whether we can make it and is-closed-loop-disabled actual guard policies that can be specified during design time. The problem is hard coding is that now this is true for ALL control loops. Right now it is only the Scale Out use case that wants this.

Former user July 18, 2018 at 7:00 PM

So is all we want here is to add a check for prov-status=active, at the same place that the code checks is-closed-loop-disabled (i.e., in queryAai)?  Or is there more to it (e.g., only do the check in certain cases)?  Note: the check for is-closed-loop-disabled is in java code, not the rules template, not that it really matters.

Done

Details

Assignee

Reporter

Sprint

Fix versions

Priority

Created July 10, 2018 at 2:36 PM
Updated July 10, 2019 at 2:30 PM
Resolved August 21, 2018 at 6:33 PM