aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common
AgeCommit message (Collapse)AuthorFilesLines
2022-12-16Update snapshot and/or references of policy/drools-applications to latest ↵liamfallon9-9/+9
snapshots policy/drools-applications updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1b84f9a2f92da9761e0a25ca618468df9aa23827
2022-11-14rename a1 policy example to putA1Policyjhh1-1/+1
Issue-ID: POLICY-4444 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I830d11233416f770177e103ae62fbb2b863d7aed Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2022-11-04Support A1 PMS Actor for SON use casejhh10-16/+103
Issue-ID: POLICY-4444 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1811b79513616aab813b6d97823d6c1d2bbbee47 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2022-10-31Support usage for SON policy/models templates.jhh1-1/+11
Issue-ID: POLICY-4427 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I22706cdbd45c49946435aff15bc5ec5f7408296b
2022-10-21Set snapshot and/or references of policy/drools-applications for new releaseliamfallon9-9/+9
policy/drools-applications updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id99f458e882855744cf9f95712489fece35b867a
2022-10-21Update snapshot and/or references of policy/drools-applications to latest ↵liamfallon9-9/+9
snapshots policy/drools-applications updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I27faf7320fb4e0daa7bb9c7e15e4a63ad076f119
2022-09-23Update snapshot and/or references of policy/drools-applications to latest ↵liamfallon9-9/+9
snapshots policy/drools-applications updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I6250b9a8061098fed251f2c8b8c0f0e3e499ced6
2022-09-21Merge "Fix minor warnings in code"Liam Fallon2-2/+6
2022-09-16Fix minor warnings in codeliamfallon2-2/+6
Issue-ID: POLICY-4045 Change-Id: I3587a3b77ff5860a84a88d4d390238e3654693b7 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-125G SON usecase A1 O1 policies supportjhh6-12/+128
Issue-ID: POLICY-4108 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I3e740f108dad18f78dc69ebed1949674c58ff95b
2022-09-03Make HTTPS configurable on drools featuresliamfallon6-8/+14
This commit makes HTTPS configurable on drools-applications features. Prior to this, https was mandatory on some features. This change is required to allow the CSITs to use http,a nd will be required for service mesh as well. Issue-ID: POLICY-4338 Change-Id: I4cff6f96c4f906f91709fae73da09fa47f6b37c8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-06-20Allow flexible specification of JDBC driverjhh1-1/+1
Issue-ID: POLICY-4177 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id196bf4930f014fbc813f39d2fc48c05f11ecce0
2022-05-03Set snapshot and/or references of policy/drools-applications for new releaseliamfallon9-9/+9
policy/drools-applications updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4073 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1382d18817b300fb064444212f2197ab227dce86 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-03Update snapshot and/or references of policy/drools-applications to latest ↵liamfallon9-9/+9
snapshots policy/drools-applications updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1da3a7aaf650d9833d487e8b9fd607c5dc82d165
2022-04-28update Controlloop ModifyCloudLeasedLine pathzhaoyh61-1/+1
Issue-ID: POLICY-4106 Signed-off-by: zhaoyh6 <zhaoyh6@asiainfo.com> Change-Id: I240cb7aca62414a7430559fe487280feffef9b23
2022-04-13Update snapshot and/or references of policy/drools-applications to latest ↵liamfallon9-9/+9
snapshots policy/drools-applications updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I6a58ff98bc6483a437c175bb38eee389502d263a
2022-04-12Fix Modify Nssi Closed Loop ErrorNiranjana1-1/+1
Issue-ID: POLICY-4092 Signed-off-by: Niranjana <niranjana.y60@wipro.com> Change-Id: I08599fd58ba700b407ef6b580a800655c1391360
2022-03-16Merge "Closed loop operation guarantee for ccvpn"Liam Fallon1-0/+2
2022-03-15Update snapshot and/or references of policy/drools-applications to latest ↵liamfallon9-9/+9
snapshots policy/drools-applications updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1696268de7bb580c8a5f38c7ad5b1c6953a76ecb
2022-03-14Closed loop operation guarantee for ccvpnzhaoyh61-0/+2
Issue-ID: REQ-1074 Signed-off-by: zhaoyh6 <zhaoyh6@asiainfo.com> Change-Id: I76e3a1febb6665a34785d883bd16386807b716e5
2022-02-09transaction records cleanupjhh3-25/+64
Issue-ID: POLICY-3761 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id842d8ca5773d0c1104ae387519375fb914bdf4f Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-12-02Update snapshot of policy/drools-applications to 1.10.1-SNAPSHOTliamfallon9-9/+9
*** This commit is generated by a PF release script *** policy/drools-applications is updated from 1.10.0-SNAPSHOT to 1.10.1-SNAPSHOT Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I876bd349aeda3f4ae8c8491910b41a876c692fb5
2021-10-14Bump drools-apps to Jakarta 1.10.0-SNAPSHOTliamfallon9-9/+9
Issue-ID: POLICY-3696 Change-Id: Iab19bde4595a677a2966111f7797642f933c285b Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/drools-applications to 1.9.2-SNAPSHOTliamfallon9-9/+9
Issue-ID: POLICY-3696 Change-Id: Iad7fed0dd9fcc9a086cbd1e4a0df6917284b9daf Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-15Bump versions to 1.9.1-SNAPSHOTjhh9-9/+9
Issue-ID: POLICY-3587 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I4fe32488c9ccd67f33f5af300a8fab8052988d43
2021-09-06Correct paths to logback filtersjhh1-2/+2
Issue-ID: POLICY-3610 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I01a7b81fc6d6dfee3c6866848d3b2225fd24c38d
2021-08-10Add SQL_PORT configurationjhh1-3/+3
Issue-ID: POLICY-3533 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I43f6313550cf1047310486a7f40586febf1847f7
2021-08-09refactor to use common.utils.loggingTaka Cho3-11/+11
using utils.logging from common repo Issue-ID: POLICY-3087 Change-Id: I60fb7eb47e38ae776f1d23926b551667c555700a Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-07-26Still fixing drools-apps CSITJim Hahn2-1/+3
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>
2021-07-26Fix drools-apps CSIT actor.xacml propertiesJim Hahn2-15/+15
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>
2021-07-23Use new xacml actor in drools-appsJim Hahn18-80/+78
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>
2021-07-21Upgrade CDS versionk.kedron1-1/+1
Issue-ID: POLICY-3507 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Ice4d3d3e138f91f7b78e0b1e7555d9a7e59cf18e
2021-07-12exclude jackson-annotations from apps classpathjhh1-0/+1
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>
2021-07-06Skip 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
2021-06-18Fix new checkstyle issues in drools-appsJim Hahn3-6/+1
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>
2021-06-17Use lombok in drools-appsJim Hahn8-63/+28
Issue-ID: POLICY-3398 Change-Id: I2afedc900bc268dc83f689624b4daabdb64a09f9 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-14Add event-manager property for Modify NSSIkrishnaa961-0/+1
Issue-ID: POLICY-3369 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I95965d5fb34352e89174e3fdada7eb816eea279c
2021-06-08Use global dmaap https flag as default configjhh7-39/+40
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
2021-06-04Fix drools-apps buildRam Krishna Verma1-2/+2
Issue-ID: POLICY-3338 Change-Id: Iab7f8347bfe796017ea2980d72b73d2752ad5b1e Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-07Fix sonars in drools-appsJim Hahn19-97/+75
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>
2021-05-07Fix build error in drools-apps related to servicesJim Hahn1-1/+2
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>
2021-05-05EventManagerServices shouldn't be staticJim Hahn11-133/+138
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>
2021-05-04Refactor common code from UsecasesEventManagerJim Hahn9-864/+2067
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>
2021-05-03Add releaseLock() method to event managerJim Hahn4-15/+159
Issue-ID: POLICY-3261 Change-Id: I28a5356ebfc4a6ea1792ef35bc603054208bf73b Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-13Make op history classes work with generic eventsJim Hahn7-61/+55
Issue-ID: POLICY-3198 Change-Id: I5b80d35fbb523094ae5464e9c058fd8f2c71ff50 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-08Merge "Minor clean-up of drools-apps"Jim Hahn3-79/+35
2021-04-08Minor clean-up of drools-appsJim Hahn3-79/+35
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>
2021-04-07Use sh instead of ash in drools-appsJim Hahn2-4/+4
Issue-ID: POLICY-3160 Change-Id: I92ecec01b99078e2e0651e1adf292913a20e0a30 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-12Remove more unnecessary plugins from drools-appsJim Hahn3-118/+3
Issue-ID: POLICY-3126 Change-Id: I0cb84be5453249557f9092f237be5517d34a80bb Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-12Address plugin-not-found issuesJim Hahn1-38/+1
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>