interception of facts before injection 11/32111/3
authorJorge Hernandez <jh1730@att.com>
Mon, 19 Feb 2018 16:16:02 +0000 (10:16 -0600)
committerJorge Hernandez <jh1730@att.com>
Mon, 19 Feb 2018 17:08:29 +0000 (17:08 +0000)
commit90cf04f2ac1066b2b6a012432ec42a467fe42392
treed3f2c529ef39c750027622a4b71e444ec028482f
parent1708e9a45cb88571613c10b68d392811b2b3f0f4
interception of facts before injection

Added interceptor to drools controller, post-decoding and
pre/after injection into kie sessions.   The decoded
object is passed as is.   The set of hooks will be
expanded in the future.

This is added in the context of logging for POLICY-558
to track control loop transactions, per logging requirements.
The idea is that VirtualControlLoopNotifications on the
drools-applications area will use it to track control loop
transactions, times, etc .. to satisfy logging requirements.
This approach also reliefs the drools applications logic, (.drl)
for dealing with this.   The logic therefore will be isolated into
a single feature.

Change-Id: Idf840c528e6175be4aaee3bf114091c203b37bc8
Issue-ID: POLICY-558
Signed-off-by: Jorge Hernandez <jh1730@att.com>
policy-management/src/main/java/org/onap/policy/drools/controller/internal/MavenDroolsController.java
policy-management/src/main/java/org/onap/policy/drools/features/DroolsControllerFeatureAPI.java [new file with mode: 0644]