Age | Commit message (Collapse) | Author | Files | Lines |
|
Issue-ID: POLICY-3696
Change-Id: Iad7fed0dd9fcc9a086cbd1e4a0df6917284b9daf
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-3587
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I4fe32488c9ccd67f33f5af300a8fab8052988d43
|
|
Issue-ID: POLICY-3610
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I01a7b81fc6d6dfee3c6866848d3b2225fd24c38d
|
|
Issue-ID: POLICY-3533
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I43f6313550cf1047310486a7f40586febf1847f7
|
|
using utils.logging from common repo
Issue-ID: POLICY-3087
Change-Id: I60fb7eb47e38ae776f1d23926b551667c555700a
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
No easy way to test this without merging it, as the docker build always
pulls drools-apps from the remote maven. :-(
Issue-ID: POLICY-3503
Change-Id: I5d5bcfc3bb28d6ef3d4050f4e7d013acbc31f583
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
I know I checked for the guard property names when doing the change from
actor.guard to actor.xacml, but it appears that some were overlooked
anyway. Made the appropriate updates.
Issue-ID: POLICY-3503
Change-Id: Ia703628154beec38d464500fb779f9eadea8652c
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Modified drools-apps to use actor.xacml instead of actor.guard.
This included updating property files.
Issue-ID: POLICY-3503
Change-Id: I25c5586c59a2adaae9f4f0f5ca66e14b12b0c18a
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3507
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: Ice4d3d3e138f91f7b78e0b1e7555d9a7e59cf18e
|
|
Issue-ID: POLICY-3468
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I0c475dcfa33009eca3056dcb003f6658dacb3416
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
swagger libraries are skipped so not to conflict with the
ones provided by drools-pdp and endpoints.
Issue-ID: POLICY-3454
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: If6643112ddda95d0a6f105a329fcbc3b7e26ad64
|
|
The new version of checkstyle identified new issues. Fixed those.
Issue-ID: POLICY-3290
Change-Id: I26a14fb6f0823f9836bc5b62222e4e2cb01977ae
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3398
Change-Id: I2afedc900bc268dc83f689624b4daabdb64a09f9
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3369
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I95965d5fb34352e89174e3fdada7eb816eea279c
|
|
added some minor cleanup:
- spare tabs
- env to envd replacement
Issue-ID: POLICY-3366
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I7f19ce0dc96a1cb6e98da019360aa7fa0f0ca4b6
|
|
Issue-ID: POLICY-3338
Change-Id: Iab7f8347bfe796017ea2980d72b73d2752ad5b1e
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Fixed:
- use "var"
- add @Override annotation
- change constructor to "protected"
- use Xxx.class::isIstance
Issue-ID: POLICY-3290
Change-Id: I7f0795af306ea5afb46d12a4fe0b22adcbce683a
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Apparently, creating the event services in the rule file has broken the
junit test of the rules. It appears that the http clients are not yet
loaded into the drools-pdp engine by the time the first rule fires, thus
the event manager is unable to initialize all of its actors.
Modified the junit to not start the rules until after the http clients
have been started.
Issue-ID: POLICY-3260
Change-Id: I83fe4ea9fa7ca24396019c18f0d77352fbe86db4
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Currently, the event manager uses a static EventManagerServices object,
which precludes the possibility of configuring the actors, for each rule
set, from using different properties. Modified the code to allow the
rules to specify the event services to use on a per manager basis.
Issue-ID: POLICY-3260
Change-Id: If493ae1b55cb752f11e0b2f72dced9c4f3883e34
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Created ClEventManagerWithSteps, as a subclass of
ControlLoopEventManager. It contains the "Steps" to be performed and
also deals with outcomes.
Created ClEventManagerWithEvent, as a subclass of that. It contains a
VirtualControlLoopEvent object, and uses that to populate data used by
the superclass.
Updates per review comments:
- made loadPolicy() protected
- refactored another level to manage operation outcomes
Issue-ID: POLICY-3262
Change-Id: Ibf5dd114746ae26e04fe37d562273fc81dd8cfbe
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3261
Change-Id: I28a5356ebfc4a6ea1792ef35bc603054208bf73b
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3198
Change-Id: I5b80d35fbb523094ae5464e9c058fd8f2c71ff50
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
Made the following minor changes:
- removed SupportUtil, as it is no longer needed.
- modified junit for exception class to use ExceptionsTester
- added junit for another exception class
Issue-ID: POLICY-3175
Change-Id: I7375e5bdb47a12f48a53e7df50f0924781c1c4b6
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3160
Change-Id: I92ecec01b99078e2e0651e1adf292913a20e0a30
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3126
Change-Id: I0cb84be5453249557f9092f237be5517d34a80bb
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Removed references to archetype-packaging and lifecycle-mapping, where
unnecessary due to pom inheritance.
Issue-ID: POLICY-3126
Change-Id: I2eb4f9756b787ce7f9c2d0304710d19d7e778a18
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3105
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I6cd013177c6aad3e6e91e4ca250876cfde50857b
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
Issue-ID: POLICY-3127
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I2db24d79ab706919e8e3a76e63a8707791a94123
|
|
Issue-ID: POLICY-3088
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: If23d78aafd1d91366d96103f1f1f270c6721370b
|
|
|
|
Issue-ID: POLICY-3033
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I674ea800fb0c79bb7bb4758bd4ae567b118da279
|
|
|
|
Issue-ID: POLICY-3033
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ic13275607a56b36506a0c79d1880603ff374b0c2
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
Just changed the version numbers; the APIs appear to be the same
otherwise.
Issue-ID: POLICY-2788
Change-Id: I842d88184a816c7fd24d935488875ba1337a1754
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
The dependency upgrades in policy-parent caused some new sonars. In
particular, initMocks() has been deprecated - replaced with calls to the
Mockito Runner.
Issue-ID: POLICY-2910
Change-Id: I257b74626f4393aa89d2bf1b7502478422213b71
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Addressed the following issues:
- commented-out code
- don't use eq() with verify()
- use class::cast lambda
Issue-ID: POLICY-2910
Change-Id: I12f4f85fb226f3ddb8305105e988fa90e276e9f6
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
Deleted the file, as it is no longer needed.
Issue-ID: POLICY-3005
Change-Id: Ia8de5838440c38dc31177e316118db75965d9338
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Added target-database property.
Also moved the db-driver value out of persistence.xml and into
properties.
Issue-ID: POLICY-3005
Change-Id: I2c9e53c099e400c32d11632f8732e770a7abba9f
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
When data is not available to actor operations, an NPE is generally
thrown. Modified the code to provide more info about what is missing
than simply NPE.
Issue-ID: POLICY-2913
Change-Id: Ic56376ef5fdd0f2e46c2996405fff9aafa3692b9
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
The policy models tosca classes ToscaPolicyIdentifier and
ToscaPolicyIdentifierOptVersion can be used to identify any TOSCA
concept, not just TOSCA policies so they are renamed to
ToscaConceptIdentifier and ToscaCinceptIdentifierOptVersion
respectively.
The class ToscaPolicyTypeIdentifier is redundant and is replaced by
ToscaConceptIdentifier.
Issue-ID: POLICY-2900
Change-Id: Id5da4e5894a0d646f9f4b68c1e6b0476d4deae05
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
|
|
Drools-apps now uses simulators from policy/models. Deleted the legacy
simulators.
Issue-ID: POLICY-2804
Change-Id: Ie118237a52a4272d2f86fbb15b320ea2175ac7f4
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Planning to remove the second flavor of makeOutcome() from the Params,
so modifying the drools-apps code to work with the first flavor.
Issue-ID: POLICY-2804
Change-Id: Iddb288f7cf53e93919e77aca8afe3869fadb0d37
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
Removed the "preprocessed" flag from the Actor parameters, now
that the actors no longer have a startPreprocess() method.
Also removed targetEntity from the parameters.
Issue-ID: POLICY-2804
Change-Id: I13bc80e1b6bb22d8d21b176796ca062109ce6658
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
this gerrit would be the first step
to not to use any GPL-3.0 and plus license
Issue-ID: POLICY-2847
Change-Id: I6787af6afd4a90d09d3cca86fa2ee7c5b6ea4eb0
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Removed tdjam and frankfurt controllers, which use event-specific
actors.
Issue-ID: POLICY-2804
Change-Id: Ica05f80bf72d039d9c4903591af7fb3793a81159
Signed-off-by: Jim Hahn <jrh3@att.com>
|