aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-05-29bump poms to 1.5.5-SNAPSHOT5.0.2-ONAPelaltojhh26-31/+26
Issue-ID: POLICY-2475 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I633c1d0639cd688d3c74d4c381c2b63916e0bad1
2020-05-29docker 1.5.4 release5.0.1-ONAPjhh1-0/+8
Issue-ID: POLICY-2475 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ief41ffe1e9780839576923ed84319b7bd5d8f216
2020-05-29Merge "point to released docker image 1.5.3" into elaltoJorge Hernandez1-1/+1
2020-05-29point to released docker image 1.5.3jhh1-1/+1
Issue-ID: POLICY-2475 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1cfdb941b742bf6c577412d19e7dafb947a7727b
2020-05-29maven release 1.5.4jhh1-0/+4
Issue-ID: POLICY-2475 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id758ba48bcefd054bbd6a25d6babc7562af1a519
2020-05-29point to released drools 1.5.3jhh1-1/+1
Issue-ID: POLICY-2475 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ibd209786ab43592b8045c439b2190e55c6dff37b
2019-10-16Update drools-applications to next snapshot versionliamfallon25-25/+25
Issue-ID: POLICY-2171 Change-Id: Ifffb1b2e92d177e8e4f7b4c744e4a69565529b17 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-10-11Added container yaml file5.0.0-ONAPpramod.jamkhedkar1-0/+8
Added container yaml file Issue-ID: POLICY-2156 Change-Id: Ie283075433bc4e9ee1f308380d6473866d0c57a8 Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2019-10-10Added yaml for 1.5.3 releasepramod.jamkhedkar1-0/+4
Added yaml for 1.5.3 release Issue-ID: POLICY-2156 Change-Id: I93e7307177f4a1dbbb79cf539f28c80f5b759325 Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2019-10-10Changed models dep to 2.1.4pramod.jamkhedkar1-1/+1
Changed policy-models dependency to version 2.1.4 Issue-ID: POLICY-2156 Change-Id: I517489298d7d64a4607354d800346b8fd3699e76 Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2019-10-09Update to models SNAPSHOT for bug fixPamela Dragosh1-1/+1
Bug fix for missing field in SO request Issue-ID: POLICY-2156 Change-Id: I7e91e578279a0c59097f3e5497920cb2d0e9c5e1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-09-11remove docker-cl scriptjhh1-273/+0
Issue-ID: POLICY-2077 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I4d085f33889cc6b6d3c2b9dbf093429adea2f10f
2019-09-10Bump versions for drools-apps elaltoJim Hahn27-26/+27
Change-Id: I07bda33db14bd86cd914334efcf442dcb1d8046d Issue-ID: POLICY-2045 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-09-10Release drools-apps 1.5.2Pamela Dragosh1-0/+4
Releasing 1.5.2 of drools-applications Issue-ID: POLICY-2045 Change-Id: Ie3f7588a83158bdd49cfd43e7b8fe76907d16e8d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-09-10Upgrade drools-apps - JUnit op.pomPamela Dragosh1-1/+1
This should have been updated to released version of drools-pdp. Issue-ID: POLICY-2045 Change-Id: I81032a8da5ff83b43e84671ba7766edb16914e79 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-09-09Upgrade to drools 1.5.2 released artifactsjhh2-5/+5
Issue-ID: POLICY-2045 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ie77acc2f85b841004882dc4da021a055eb4fcb9c
2019-09-05Merge "Changes drl files"Pamela Dragosh6-440/+4011
2019-09-04Changes drl filespramod.jamkhedkar6-440/+4011
Changes to the DRL file to change the rules to support custom query. Added new VdnsControlLoop test for custom query, and supporting yaml request Issue-ID: POLICY-1858 Change-Id: Ic1b9e771bd36fe0642e9a3439189076a4906a4b8 Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2019-09-04correction when overriding with external truststorejhh2-5/+2
Issue-ID: POLICY-1371 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ief22f9d99acbd9c3d7335e59045d45c64296f783
2019-08-29entrypoint: redirect std[out|err] to dev/nulljhh1-4/+4
Issue-ID: POLICY-1371 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8b4da1523925bbbbbed398365971c9efb7f6f1aa Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-08-27Support arbitrary container init scriptsjhh1-3/+8
Issue-ID: POLICY-1371 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ic1c15e6f36fe3eead937d4595b994747e830eb7a
2019-08-27Get latest changes from drools-pdp basejhh1-1/+1
Issue-ID: POLICY-2017 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I370b73c9cba1451e3a678d77c1e86c249663dcdc Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-08-23remove usecases archetypejhh37-1618/+0
Issue-ID: POLICY-1957 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I90436e2d633bf0e9f6153dd40e164214f309b8dc
2019-08-15Modify to work with new drools-pdpJim Hahn28-1603/+543
Due to sonar fixes, drools-pdp changed in a way that requires changes to drools-applications. In the case of template.demo, lots of test cases had to be modified, so they were refactored to extract common setup and tear down code. Fixed checkstyle issues. Fixed license date. Change-Id: Ie9e0239b95916ae7ef8c1b669987f7bb07d841b9 Issue-ID: POLICY-1968 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-08-13Fix sonar issues in drools-applicationsJim Hahn8-180/+194
Addressed sonar issue, "Move constants to a class or enum.", by moving the "manager" object from the ControlLoopMetrics interface into a utility class, ControlLoopMetricsManager. Addressed sonar issue, "duplicated blocks of code must be removed.", by refactoring PolicyGuardYamlToXacml, extracing common functions. Addressed sonar issue, "Remove this unused import", in RestControlLoopManager. Addressed sonar issue, "Refactor this method to throw at most one checked exception", in event manager. Fixed likely new sonar issue with assigning to a parameter. Moved logging line to more appropriate place. Addressed reviewer comment: Use "replace" instead of "replaceAll", thus avoiding escaping Change-Id: I47db957c83c1b3e2bd2330474e261987c6f0aac6 Issue-ID: POLICY-1967 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-08-08Upgrade to snapshot integration parent artifactBruno Sakoto1-1/+1
Issue-ID: POLICY-1603 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Iddfdf287bc0781dae1272b1c9336571e1715d087
2019-08-07Bump version of drools-applicationsJim Hahn27-32/+32
Change-Id: I79d59efc93e33f7f234092b34cab0ae935d5ab7b Issue-ID: POLICY-1965 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-08-07Merge "Add release file 1.5.1"Jim Hahn1-0/+4
2019-08-07Add release file 1.5.1jhh1-0/+4
Issue-ID: POLICY-1953 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I7c54ccd8a3c6357596a172038baf0663edf204ca
2019-08-05Update to latest common/models/drools-pdp released versionsjhh2-4/+4
Issue-ID: POLICY-1953 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1bfe5da619a00b12ab7df0d96879f1531a0e68a9
2019-08-01Add AAI test tooling to telemetry.jhh4-24/+142
Issue-ID: POLICY-1956 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Icceab57db9c19364afbedbf63ecc8e52c1572cba Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-07-26Add lombok.config to drools-applicationsJim Hahn1-0/+2
This prevents sonar from checking lombok annotations for code coverage. Change-Id: I5aaddfb483069f8a3aff12531a1576fc26ced869 Issue-ID: POLICY-1938 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-23Pick up latest changes from drools imagejhh1-1/+1
service API mismatches cause notclassfound errors. Issue-ID: POLICY-1940 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I55d0467d3c1f496c4cb0e13c7c96b85e03459660
2019-07-18change json path to delete regex matchingjhh4-9/+9
This is necessary as the explicit "match-all" regular expressions causes events to be accepted in error, even when the json field is not present in the document. Change-Id: Idf4b408850514f49ebe8375d2870e116e793a935 Issue-ID: POLICY-1830 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-07-18Rename XxxAPI to XxxApi in drools-applicationsJim Hahn11-25/+24
Now that feature APIs have been renamed to XxxApi in drools-pdp, the same must be done with the META-INF files in drools-applications. Also updated references to XxxApi class names within java code. Change-Id: I7ccc09c36f9b903327b5e92189d0bf2956da6cea Issue-ID: POLICY-1074 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-09Fix drools-applications due to sonar changes in commonJim Hahn18-162/+149
Fixed breakages due to changes made in policy/common to satisfy sonar. Repointed op.pom to correct parent, which allowed the other version to be dropped and properties used in the rest of the pom. Change-Id: Ib19c228c38b7f27fb9e9f508e5cf2566a8939cdd Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-02Upgrade to commons/models/drools-pdp snapshotsPamela Dragosh1-3/+3
Use the latest snapshots to keep in step with those artifacts. Issue-ID: POLICY-1737 Change-Id: I7927fa7a093176f9da81cbaefc9dbf9f406d9cc1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-07-01Bump drools-apps to 1.5.1-SNAPSHOTPamela Dragosh26-26/+26
Released 1.5.0 Issue-ID: POLICY-1737 Change-Id: I41b9af7672985a681bf4e6ce4ceddc8798caf281 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-07-01Merge "Remove sleep() from junit tests"1.5.0Jim Hahn3-12/+21
2019-06-28Merge "Upgrade to released deps"Jim Hahn2-4/+4
2019-06-28Upgrade to released depsPamela Dragosh2-4/+4
Drools-pdp 1.5.0, common 1.5.0 and models 2.1.0 Issue-ID: POLICY-1737 Change-Id: I19caa0c5a48ff81c60f1974b09fe386c519b1341 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-28Remove sleep() from junit testsJim Hahn3-12/+21
Replaced sleep() calls with awaitability.await(). Also shortened the timeout, for the test, from 10s to 2s. Change-Id: I5d9cb84b405782f174b6230294e5d6a47938c4b8 Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-27Fix some sonar issues in drools-applicationsJim Hahn30-1349/+1232
Added coverage to: - feature-controlloop-management Fixed sonar issues, but didn't add coverage to: - feature-controlloop-trans - eventmanager - guard Change-Id: I12f09c4a533e838c6fb9762ba56194e51ce864eb Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-26Fix sonar issues in drools-applications databaseJim Hahn10-194/+782
Refactored to eliminate duplicate code blocks. Added coverage tests. Change-Id: I99d2b6f68fee38a1dbbf038ad29d1dfe87fb4ae7 Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-20Merge "Upgrade to release 3.0.0 parent"Jim Hahn1-1/+1
2019-06-20Upgrade to release 3.0.0 parentPamela Dragosh1-1/+1
Policy/parent released Issue-ID: POLICY-1737 Change-Id: I017bce815fbaa275d0323a29cf92bf7c4fd42f0a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-20Set timeout to CL timeout if zeroJim Hahn6-8/+138
Modified the rules to set the operational timeout to the overall CL timeout if the operational timeout is zero. Added code to check for zero timeout for the overall CL, too. Change-Id: I28d41632f59e9bc2fce953267883d567abc92a49 Issue-ID: POLICY-1859 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-18Fix build issues in drools-applications due to changes in policy/models repoRashmi Pujar2-32/+32
Issue-ID: POLICY-1791 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Ife7cbb07c3bb674257bb1979d80f4f8a7ddfc3a5
2019-06-17Change getCanonicalName() to getName() in drools-appsJim Hahn4-6/+8
Per javadocs, getName() should generally be used instead of Class.getCanonicalName(). This change only applies to classes; it does not apply to File objects. Change-Id: Ie402ab9239b2d5149c420d495f16bb82417d2d25 Issue-ID: POLICY-1646 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-13Fix fieldname for guardPamela Dragosh1-1/+1
Should be clname Issue-ID: POLICY-1855 Change-Id: I17d59f33e761386bad9a30a07ec505ac66c6215a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> (cherry picked from commit 5eaecb6bb0c0cfca4cf48f23b3b6b32dc8213d0b) Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>