Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
The csit test files for all repos have been consolidated in policy/docker to maintain them at single place and allow us to trigger verify jobs in gerrit reviews.
Issue-ID: POLICY-3257
Change-Id: I98e34906398d9e6fc239a319aea9a2ef72042890
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
In the recent runs, it was found that controller might take fews more seconds to come up and get reported by the telemetry api. So, increasing the "max" wait time for the test cases to 1 min. And it won't slow down the tests as the check will be made every 15 sec to verify if the assertions are passing. The moment they pass, it will move on.
Issue-ID: POLICY-3257
Change-Id: If29738cae60a6a21da11fa7a6045b4279012b82e
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
|
|
* Removed the deprecated methods.
* Removed duplicated code.
* Created method hierarchy to improve the readability.
* Fixed the assertions on 1 test.
Issue-ID: POLICY-3257
Change-Id: Icd79ff9665570bb8deab2ad76735f0c5f000db6a
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-3108
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Idad5d05041de110a54bdf97c057d8d6b332a86f6
|
|
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-3127
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Id1189d38f1d4bf742e9b1f774f96f88ea4b7c25c
|
|
Issue-ID: POLICY-3127
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ib899624b194c467b7e01f9f0f223b63ed208a66d
|
|
Issue-ID: POLICY-3127
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I44d3ec5e843454f38d75c1c59001edf098e4e545
|
|
refactor robot file and
move testdata json from under
csit/tests/data
Issue-ID: POLICY-2895
Change-Id: Id6bac948963349af644afe77d5ed7adcf7687095
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
found another wrong path
Issue-ID: POLICY-2895
Change-Id: Ia37ec891ba5c96b0876394b02f0a13078446100f
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
after doing a test in jenkins sandbox
found some errors have to be fixed.
Issue-ID: POLICY-2895
Change-Id: I3764140f3787ae59fa558a0ad3ede997c955bb2a
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Issue-ID: POLICY-3117
Change-Id: If85db0492ff708765aac30cfac485ed3830f22f8
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
move tests/plans from
csit repot to drools-apps repo
Issue-ID: POLICY-2895
Change-Id: Id57d9565e083ac4af2bcb73ab3683bba9e6afa66
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Issue-ID: POLICY-3088
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: If23d78aafd1d91366d96103f1f1f270c6721370b
|
|
|
|
Issue-ID: POLICY-3028
Change-Id: I9b7d95c3c12dd9e8126967d6782caa6094901b43
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3088
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I20852403de309518b88d6c6daa870afefae2379a
|
|
Issue-ID: POLICY-3088
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I048aa301064dc75d0245e87945f836bd6f5c4802
|
|
common: 1.8.0
models: 2.4.0
parent: 3.3.0
drools: 1.8.0
Issue-ID: POLICY-3088
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Iebef66796abbd739c13cf5a3ce511bab582051c5
|
|
|
|
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>
|