Add 'PolicySession.insertDrools' method 84/96884/2
authorStraubs, Ralph (rs8887) <rs8887@att.com>
Thu, 10 Oct 2019 12:48:14 +0000 (07:48 -0500)
committerStraubs, Ralph (rs8887) <rs8887@att.com>
Tue, 15 Oct 2019 11:17:37 +0000 (06:17 -0500)
commit33ec206449c190cb6fbd5e9ae186b04c15a5576c
tree8ca5b79c7d304687ee3694452fc0be02fc0c5518
parent464b0e5f62167900d6cf60f058628dc273cedbf0
Add 'PolicySession.insertDrools' method

This change includes feature hooks, so a "smart insert" could forward
the object to a remote host, and do the insert there. The methods 'insert'
and 'insertAll' in 'PolicyContainer' now make use of this smart insert.

Change-Id: I69f0e874b6fda09d1f457e4353e4b30d63696210
Issue-ID: POLICY-2160
Signed-off-by: Straubs, Ralph (rs8887) <rs8887@att.com>
policy-core/src/main/java/org/onap/policy/drools/core/PolicyContainer.java
policy-core/src/main/java/org/onap/policy/drools/core/PolicySession.java
policy-core/src/main/java/org/onap/policy/drools/core/PolicySessionFeatureApi.java