aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/feature-controlloop-management/src/main/feature
AgeCommit message (Collapse)AuthorFilesLines
2024-04-24Fix topic configurations.adheli.tavares11-12/+26
- adjust kafka configurations - remove any reference to dmaap or UEB Issue-ID: POLICY-4955 Change-Id: I8a5499d8145e6e02416d10a1da4cb96961ed3e0b Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-02-09Remove deprecated DMAAP dependencyadheli.tavares10-116/+34
Issue-ID: POLICY-4402 Change-Id: Id3bf1f5833b7d6086345b3747505e2f57036d4ea Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-12-14Add kafka suppport on drools-appsrameshiyer2710-0/+70
Issue-ID: POLICY-4201 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I67f0ce208af5c9431d31448549b1d7d9e1272ba9
2022-11-04Support A1 PMS Actor for SON use casejhh3-1/+49
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-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-04-28update Controlloop ModifyCloudLeasedLine pathzhaoyh61-1/+1
Issue-ID: POLICY-4106 Signed-off-by: zhaoyh6 <zhaoyh6@asiainfo.com> Change-Id: I240cb7aca62414a7430559fe487280feffef9b23
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-14Closed loop operation guarantee for ccvpnzhaoyh61-0/+2
Issue-ID: REQ-1074 Signed-off-by: zhaoyh6 <zhaoyh6@asiainfo.com> Change-Id: I76e3a1febb6665a34785d883bd16386807b716e5
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-07-26Still fixing drools-apps CSITJim Hahn1-1/+2
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-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-02-17Use new version of A&AI APIsJim Hahn1-4/+4
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>
2020-11-16Make drools-apps event agnosticJim Hahn1-31/+3
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>
2020-10-01Remove cds actor timeoutRam Krishna Verma1-1/+3
During testing we found that cds actor is picking up the timeout from policy configuration. As discussed, adding a comment for now and we will remove it in next release alog with related code. Issue-ID: POLICY-2843 Change-Id: I63b589bea344ad7f33e6fc0d34f0ab331411146b Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-08-28Tweaks to drools-apps for new usecases controllerJim Hahn1-1/+1
Made the following updates: - modified feature-controlloop-utils to pull from the usecases controller instead of the frankfurt controller - modified ONAPInstance in the xacml-pdp Decision request - log Step2 property changes as info() instead of error() - log Lock acquisition as info() instead of warn() Issue-ID: POLICY-2748 Change-Id: I6b4b5877bbd6731acb761d09d0f0dec85561b163 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-15Remove deprecated actor propertiesJim Hahn1-9/+0
Now that the actor change has been merged, the deprecated properties can be removed from drools-apps. Done. Issue-ID: POLICY-2632 Change-Id: If4dafc489c32da4dfccd6ebac97e8e7beac2454d Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-12Adjust properties in anticipation of actor changesJim Hahn1-5/+14
Issue-ID: POLICY-2632 Change-Id: I4d20fe6b46432298ba796fe978796d5d74e1eb14 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-11Remove deprecated properties for CDS and VFCJim Hahn1-15/+0
Now that the changes to the Actors have been merged, the former properties can be removed, too. Also fixed guard operator/operation name since it changed from "Guard" to "Decision". Issue-ID: POLICY-2629 Change-Id: I1c8d4575be598a8cab12b1aa4ad9b1d3e1f12113 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-10Match property changes to CDS and VFC actorsJim Hahn1-0/+15
An "operations" level is being added to the properties for the CDS and VFC actor. Added the new properties; the old ones can be deleted once the change to the actors has been merged. Issue-ID: POLICY-2629 Change-Id: Ib0bb3f62d6a2d3380aa6ec5a6e8b61ddd0a44c00 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-08Fix VFC actor propertiesJim Hahn1-3/+6
The VFC actor doesn't have the same property structure as the other actors, which meant that the properties listed in the file were incorrect. Fixed them. Renamed the operation to "Restart" per review comments. Issue-ID: POLICY-2407 Change-Id: Icb8ccad518d01a5f23253a9835976eae666566f4 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-29Use default serialization providerJim Hahn1-1/+0
The default provider has been changed to gson, so the provider property no longer has to be set. Issue-ID: POLICY-1527 Change-Id: I9b555ed3c3b735ca9622314e1ca06476416bae6e Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-14Do not encode null fields in SO requestJim Hahn1-0/+1
Currently, the default serialization provider for HTTP clients is jackson, which encodes null fields in requests. Unfortunately, SO does not like the null fields. Fixed this by modifying the SO config parameters to use the GSON serialization provider. Issue-ID: POLICY-2568 Change-Id: I6c2e7c985f23e09940d89409c2a84303bfd54b8a Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-13Make that SO actor uses http by defaultjhh1-1/+1
Issue-ID: POLICY-2560 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6cd3de9238793fef671c9e058c494c179d4cb25c
2020-04-20Add properties needed by A&AI PNF OperationJim Hahn1-0/+1
Added properties needed by A&AI PNF Operation. Issue-ID: POLICY-2505 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I58966faf9eb9900123a085bf8093050440c15170
2020-04-16Change CDS operation name to generic "any"Jim Hahn1-5/+5
Issue-ID: POLICY-2504 Change-Id: I4dec3dfd62fa230ad8f0de66c0d1b71e5393bcbd Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-16Fix CDS actor propertiesJim Hahn1-7/+5
CDS actor properties in drools-apps did not match the properties in the actor, itself. Fixed them (as best I could be inspection). Issue-ID: POLICY-2501 Change-Id: Ibb4ac5ee59762bd740342c1d54fc472a9fca8968 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-08Add SDNR notifications to frankfurt rulesJim Hahn1-1/+1
Issue-ID: POLICY-2468 Change-Id: Ibf4d3e5f62fa3106028dcf85050c270b8eab0a89 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-30Update path properties for new actorsJim Hahn1-3/+6
Some of the new actors were modified to get their path prefixes from the property files. In addition, the models code was modified to allow an empty "path", so that is now used, where appropriate. Issue-ID: POLICY-2441 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I4573c5e2a506fb67be9bd040ce047612007fd969 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-26Fix userName property for http clientsJim Hahn5-5/+5
The http client property files had "username", but the correct property name is "userName". Fixed. Also updated the models version to the latest snapshot to pick up the fix to the APPC actor. Issue-ID: POLICY-2441 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I4d64efcb5b639526beb145ee0231c6d650098d0f
2020-03-25Restore SO_URL to usecases controllerJim Hahn1-1/+1
When a trailing "/" is added to the CONTEXT_URI, it will likely break the usecases SO operations. Thus the SO_URL is being reinstituted for this one actor. Issue-ID: POLICY-2441 Change-Id: I360d1701a0615309a27afbdf7da83f68505626d4 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-25Adjust properties for context URI with slashJim Hahn4-7/+6
Added a trailing "/" to the context URI for the various actors. Updated the properties to accomodate it. Also fixed the "path" for a couple of actors; the path property only applies at the individual operation level, not at the actor level. Issue-ID: POLICY-2441 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I4e8c4cd07de5ac075dbfa56d83116e1e87bdee1c
2020-03-24Replace url with host/port in drools-appsJim Hahn1-24/+24
Issue-ID: POLICY-2441 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Id81638d76d0bf71d49d8663ee569b43bfbe6b1aa
2020-03-24Configure http client URIs via env propertiesJim Hahn5-25/+25
The context URI path for the various actors needs to be configurable via properties specified in the OOM charts. Issue-ID: POLICY-2441 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I7348d0c4f47a33dbc806ad117f35b96c887b5394
2020-03-23Enable guards in junit testsJim Hahn1-0/+3
Flipped the flag(s) to enable guard checks in the various junit tests for the Usecases and Frankfurt controllers. Note: the guard checks use the guard simulator. Modified new actor code to not include operation history on first "guard denied" report (i.e., make it work like usecases does). Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I2897da4a0c8fb76fa00cb0f6cf8562c0703005d3
2020-03-23Fix frankfurt controller propertiesJim Hahn1-2/+7
Fleshed out more of SDNC properties. Still don't know what the "path" should be. Added SDNR. Removed invalid topic sources and sinks. Changed some types from source to sink (or vice versa). Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I80d22243111eaf4cabb59823d327060f83bc2c28
2020-03-20Disable guard via env variableJim Hahn1-1/+1
Default to "false". Can override in CSITs. Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I72d8d5a87adef2cd66d8afb78117264fb4c05e9a
2020-03-12Delete template.demo submodule, amsterdam controllerPeyton Puckett1-231/+0
Issue-ID: POLICY-2421 Change-Id: I0e61e7b3272f5c7babceb41e4e249716af4529cf Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2020-03-06Add frankfurt rules for Actor redesignJim Hahn6-0/+207
Note: VcpeTest and VfwTest are not included, as they depend on updates to the APPC and APPC-LCM Actors. Added feature-controlloop-frankfurt. Added HTTP client property files to feature-controlloop-management. Updates per review comments: - pom changes - simplify FrankfurtBase - rename event-svc-http.properties - change "usescases" to "frankfurt" - use blanks for CDS property defaults - trailing spaces in http-client files - add https property to http-client files Added newlines to config files that appear to be missing them (based on feedback from gerrit). Issue-ID: POLICY-2385 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ib4a4d75461c734ae47309e41dc9d099e8815d55d
2020-03-03decouple topics from controllersjhh8-0/+181
native policies will require topics configured at installation (there's no policy to add them). This configuration style also cleans the installation tidier (topics can be overriden or new ones added when being placed in the mounted config directory). Issue-ID: POLICY-2181 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I87fd6889c651147e9229b3487db8c95b34516dfd
2019-11-15Removing Named Querypramod.jamkhedkar1-2/+0
Removing all the related files and necessary modifications for removing named query. The code now only supports Custom Query. Issue-ID: POLICY-2125 Change-Id: I2d376eb955d69f45c39ad4d4a1cfacb4d620ca8e Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2019-10-16Integrate cds actor service providerBruno Sakoto1-0/+7
* Add request enrichment with aai service instance id and vnf id * Implement cds grpc request * Implement VfwControlLoopCdsTest Issue-ID: POLICY-2088 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ib44d447d6a3a70ff800a5760032b676fdfa32d9c
2019-09-04correction when overriding with external truststorejhh1-3/+0
Issue-ID: POLICY-1371 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ief22f9d99acbd9c3d7335e59045d45c64296f783
2019-08-23remove usecases archetypejhh2-560/+0
Issue-ID: POLICY-1957 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I90436e2d633bf0e9f6153dd40e164214f309b8dc
2019-05-02Guard config to new PDP-Xjhh1-2/+2
Change-Id: Ieae5fe567bcb4fcbd0e439dcd6ff71e2435af702 Issue-ID: POLICY-1731 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-11Drools-App changes to support CQpramod.jamkhedkar1-0/+2
Changes in event manager to support Aai custom query Issue-ID: POLICY-1278 Change-Id: I693dd6b94f1fa6f24b08a389db099914636cf2ba Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2019-04-08Code changes done for OOF SON use caseSaravanan A2-0/+22
Added a new control loop for SON ANR changes Introducing control loop response flow using DCAE_CL_RSP topic Change-Id: I81d0e92ce2f5c489596ad70d7b523cab0d8436ce Issue-ID: POLICY-1463 Signed-off-by: Saravanan A <saravanan.a75@wipro.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-04-05Add CCVPN Bandwidth on demand policyVidyashree Rama2-0/+34
CCVPN Bandwidth on demand policy Issue-ID: POLICY-1405 Change-Id: I67bceb35e5a849933b3e46772c9cbbbaab1e9a75 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>