add structure only for PAP rule management 49/18049/3
authorJorge Hernandez <jh1730@att.com>
Tue, 10 Oct 2017 20:28:55 +0000 (15:28 -0500)
committerJorge Hernandez <jh1730@att.com>
Tue, 10 Oct 2017 20:43:15 +0000 (15:43 -0500)
commit704e2b4fd3da2ff0a7efccda2e12563c390a0ccf
treecbb43bb706ddc14088b49ac574ac757e81e1f17e
parentbfd30fd2723d2c66fbacaf6de675d49e01c8995d
add structure only for PAP rule management

PAP currently generates a set up rule that inserts a Params object
when the session is loaded.   Since the official template also
has an equivalent rule that is used by the drools applications
team to perform initializations tasks, at runtime we end up with
2 Params objects with the same control loop data.   This has
sideeffects where the same rule becomes true for 2 Params objects
therefore performing duplicated actions which introduces somewhat
anomalous behavior.

The PapParams is introduced to satisfy current PAP needs for
management of rules.  The structure is included here only for
those purposes but it carries no significance at runtime during
drools executions since the rules go by Params instead of PapParams.

In the near future, the plan is to have the PAP not generating
SET UP rules.

There is a companion review on the PAP side to refer to PapParams
instead of Params to fulfill the resolution of POLICY-302.

Change-Id: I2f9ed3cee3d5d5209eecd43823cfc44a4b937600
Issue-ID: POLICY-302
Signed-off-by: Jorge Hernandez <jh1730@att.com>
controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl