summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-07-07Skip collection of swagger librariesjhh1-1/+1
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 (cherry picked from commit 0ecd2da2bb6b605efeb71aa844b59dc4ea103b88)
2021-06-24bump versions to 1.8.4-SNAPSHOTjhh20-20/+20
Issue-ID: POLICY-3329 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I67bfe14ce598802de2e235ea6c97c5aa5a087963
2021-06-24Docker release 1.8.3jhh1-0/+8
Issue-ID: POLICY-3329 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I62408e9f34dbd1831ae67e2b1d73822cb27b2cf0
2021-06-24maven release 1.8.3jhh1-0/+5
Issue-ID: POLICY-3329 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib522351af1cc223f971c2180bbfc619bfceb4b51
2021-06-23Update versions of drools, parent, common, modelsjhh1-4/+4
- 3.3.1 parent - 1.8.1 common - 2.4.3 models - 1.8.3 drools Issue-ID: POLICY-3329 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iba409d30ea8740bfc151a4b8e838a2ac2863e27f Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-06-08remove extra tabs from topic properties filesjhh8-16/+16
Issue-ID: POLICY-3366 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I9bab4e4c3ac92a04c27a997faeea74530ac895ef
2021-06-08Use global dmaap https flag as default configjhh8-28/+30
Issue-ID: POLICY-3366 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ic6a7b7a06c99d162fdb97ebaba8e1e9e9c588e71
2021-06-04Fix drools-apps buildRam Krishna Verma2-4/+4
Issue-ID: POLICY-3338 Change-Id: Iab7f8347bfe796017ea2980d72b73d2752ad5b1e Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit 3d1fa50ff534b29644f536cec886ac6ece9623c4) Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-21Remove csit folder from policy/drools-appsRam Krishna Verma9-417/+0
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> (cherry picked from commit c7bf8c313d5e17f78bfbbcbccd1c6d13bd4caf16) Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-13change csits robots to expect 0 factsjhh1-1/+1
Issue-ID: POLICY-3257 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iaa68cff957c1e91fc5e6bf63c60d4012a34551f5
2021-05-13Fix drools-applications csit test casesRam Krishna Verma1-2/+5
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> (cherry picked from commit d9716d4fd3f3c5babd22307883a1620e9a65b68e)
2021-05-10Refactor policy/drools-applications csit testsRam Krishna Verma1-86/+35
* 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> (cherry picked from commit e5c469a5edae03ebddcfdf7af04d2f949c7352bc)
2021-04-20set snapshot version of drools-pdpjhh1-1/+1
Issue-ID: POLICY-3202 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I77520debcc3b3fc4d262f4b86894af157cb382f0
2021-03-30Change pap deploy response code to 202 for jmeterjhh1-6/+7
Issue-ID: POLICY-3108 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Idad5d05041de110a54bdf97c057d8d6b332a86f6 (cherry picked from commit ed0e70bafde6e9276c3a3302cbcf931827878065)
2021-03-24bump versions to 1.8.3-SNAPSHOTjhh20-20/+20
Issue-ID: POLICY-3150 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ifb3ef28866b63712397dbb81b20c7e7b2c7987b0
2021-03-24docker release 1.8.28.0.0-ONAPjhh1-0/+8
Issue-ID: POLICY-3150 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ibcf5d303645ad0987096440cf2952d1571b418d5
2021-03-24maven release 1.8.2jhh1-0/+5
Issue-ID: POLICY-3150 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If89f0175ec372185fa4e4a5ad444cfd423c59768
2021-03-24Point to models 2.4.2 and drools 1.8.2jhh1-2/+2
Issue-ID: POLICY-3150 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib765e89ab76741d800d52114231406416392ed9f
2021-03-10Default to honolulu branchJim Hahn1-1/+1
Issue-ID: POLICY-3105 Change-Id: I1fa1cfcd2ad3d9d4d99e0bd2da6d0fe3192261ac Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-10bump poms to 1.8.2-SNAPSHOTjhh20-20/+20
Issue-ID: POLICY-3127 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2db24d79ab706919e8e3a76e63a8707791a94123
2021-03-10docker release 1.8.1jhh1-0/+8
Issue-ID: POLICY-3127 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id1189d38f1d4bf742e9b1f774f96f88ea4b7c25c
2021-03-10maven 1.8.1 releasejhh1-0/+5
Issue-ID: POLICY-3127 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib899624b194c467b7e01f9f0f223b63ed208a66d
2021-03-10point to models 2.4.1 and drools 1.8.1 releasesjhh1-2/+2
Issue-ID: POLICY-3127 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I44d3ec5e843454f38d75c1c59001edf098e4e545
2021-03-08move test data json files to drools-appsTaka Cho7-5/+110
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>
2021-03-05wrong path on setup.sh for csit - drools-appsTaka Cho1-2/+2
found another wrong path Issue-ID: POLICY-2895 Change-Id: Ia37ec891ba5c96b0876394b02f0a13078446100f Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-03-05modify filename and path for csit : drools_appsTaka Cho2-2/+2
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>
2021-03-02Pick up new drools-pdp snapshotJim Hahn1-2/+2
Issue-ID: POLICY-3117 Change-Id: If85db0492ff708765aac30cfac485ed3830f22f8 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-26move drools-apps csit to project levelTaka Cho4-0/+360
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>
2021-02-25bump poms to 1.8.1-SNAPSHOTjhh20-20/+20
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If23d78aafd1d91366d96103f1f1f270c6721370b
2021-02-24Merge "Update info.yaml in drools-apps"Jim Hahn1-2/+2
2021-02-24Update info.yaml in drools-appsRam Krishna Verma1-2/+2
Issue-ID: POLICY-3028 Change-Id: I9b7d95c3c12dd9e8126967d6782caa6094901b43 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-24docker release 1.8.0jhh1-0/+8
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I20852403de309518b88d6c6daa870afefae2379a
2021-02-24maven release 1.8.0jhh1-0/+5
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I048aa301064dc75d0245e87945f836bd6f5c4802
2021-02-23release versions for common, model, parent, droolsjhh1-4/+4
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
2021-02-22Merge "remove duplicated test line in transactions module"Jorge Hernandez1-1/+0
2021-02-22remove duplicated test line in transactions modulejhh1-1/+0
Issue-ID: POLICY-3033 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I674ea800fb0c79bb7bb4758bd4ae567b118da279
2021-02-22Merge "support control loop transaction metrics"Ram Krishna Verma2-16/+51
2021-02-19support control loop transaction metricsjhh2-16/+51
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>
2021-02-17Use new version of A&AI APIsJim Hahn2-8/+8
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>
2021-02-12Fix sonars from dependency upgradeJim Hahn21-131/+83
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>
2021-02-10More sonars in drools-appsJim Hahn3-11/+7
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>
2021-02-09Merge "Delete unused persistence.xml"Ram Krishna Verma1-43/+0
2021-02-09Delete unused persistence.xmlJim Hahn1-43/+0
Deleted the file, as it is no longer needed. Issue-ID: POLICY-3005 Change-Id: Ia8de5838440c38dc31177e316118db75965d9338 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-09Upgrade dependenciesJim Hahn4-5/+26
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>
2021-02-05Give better messages than NPE for missing dataJim Hahn2-15/+96
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>
2021-01-04Changed identifiers to concept identifiersliamfallon2-5/+7
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>
2020-11-23Merge "Use Params makeOutcome() without targetEntity"Ram Krishna Verma2-2/+5
2020-11-20Remove legacy simulatorsJim Hahn14-1596/+0
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>
2020-11-20Use Params makeOutcome() without targetEntityJim Hahn2-2/+5
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>
2020-11-20Merge "Delete preprocessed flag from actors"Pamela Dragosh9-12/+27