aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/packages
AgeCommit message (Collapse)AuthorFilesLines
2020-02-07Updating module names to resolve conflictsRam Krishna Verma5-7/+9
Issue-ID: POLICY-2355 Change-Id: If13badaf332f5e4341e23b9dcf22e177e9b67ff2 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-01-13Merge "Parameterize base-image version for drools-apps"Pamela Dragosh2-2/+29
2020-01-10Support override of xml config filesjhh1-9/+13
This included logback*.xml (including controller ones). Issue-ID: POLICY-2308 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I69471fc0ce5b6ea143560f78019a55daedfd465b
2020-01-09Parameterize base-image version for drools-appsBruno Sakoto2-2/+29
Issue-ID: POLICY-2318 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I5cc2761adb2621bca094fb035e626dd40baa08e1
2020-01-03Revert "Parameterize base-image version for drools-apps"Pamela Dragosh2-40/+1
This reverts commit a894ffb5f580dec7ab4e8ea367107fcee09fca1b. Reason for revert: Merge failure Issue-ID: POLICY-2318 Change-Id: I6ea6681677e0ee18f5bce0217f9216e590a53b77 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-12-23Parameterize base-image version for drools-appsRashmi Pujar2-1/+40
Issue-ID: POLICY-2318 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Ida14508366f20ca05648f941a9b326899672b274
2019-12-10changes to support offline pdpd control loopsjhh1-4/+6
Issue-ID: POLICY-2191 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ieb390de2f3324de2de8e6e54cdc10fbf5ede4070
2019-11-19Build tar.gz without requiring docker image buildjhh1-0/+5
This allows the tar.gz to be released by LF jobs. Issue-ID: POLICY-2250 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0e12b05c051e12728b9b646838ce0b54579f8009
2019-11-08Do not hardcode io.fabric8 pluginPamela Dragosh1-1/+0
policy/parent now has this plugin defined Issue-ID: POLICY-2222 Change-Id: I9b212969a34b58206fcd88e154b72902451f6868 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-11-04Inherit from snapshot drools docker imagejhh1-1/+1
Issue-ID: POLICY-2113 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I806d7bb2e766e3f0eccd5c1457c8d2683204abfb
2019-10-08Fix syntax error when starting policyBruno Sakoto1-2/+2
Fix following syntax error in policy entry point: /opt/app/policy/bin/docker-entrypoint.sh: line 30: syntax error near unexpected token `fi' Issue-ID: POLICY-2088 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I517937f5ece8454d83f6c3cad1f96fba52b62317
2019-10-07Allow override of maven settings at instantiationjhh1-0/+22
Issue-ID: POLICY-2111 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib7ec8beab2947fc9fbf55734d0412f444a963fe8 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-09-10Bump versions for drools-apps masterJim Hahn5-5/+5
Change-Id: Ia94e1ba31d0e8b6a980d891df9b26fb6977acc95 Issue-ID: POLICY-2045 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-09-09Upgrade to drools 1.5.2 released artifactsjhh1-1/+1
Issue-ID: POLICY-2045 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ie77acc2f85b841004882dc4da021a055eb4fcb9c
2019-09-04correction when overriding with external truststorejhh1-2/+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-07Bump version of drools-applicationsJim Hahn5-5/+5
Change-Id: I79d59efc93e33f7f234092b34cab0ae935d5ab7b Issue-ID: POLICY-1965 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-08-05Update to latest common/models/drools-pdp released versionsjhh1-1/+1
Issue-ID: POLICY-1953 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1bfe5da619a00b12ab7df0d96879f1531a0e68a9
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-01Bump drools-apps to 1.5.1-SNAPSHOTPamela Dragosh5-5/+5
Released 1.5.0 Issue-ID: POLICY-1737 Change-Id: I41b9af7672985a681bf4e6ce4ceddc8798caf281 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-28Upgrade to released depsPamela Dragosh1-1/+1
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-11Use io.fabric8:docker-maven-plugin to build and push docker imagesRashmi Pujar7-112/+218
Addressed POLICY-1808 for drools-applications to fix the tag to be major.minor-SNAPSHOT-latest Issue-ID: POLICY-969 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: I6c9ddec9a2e7a73ba68343eb98e0145ce811868e
2019-05-31Bump version to 1.5.0Pamela Dragosh5-5/+5
Due to dublin branch. Issue-ID: POLICY-1747 Change-Id: I650e8e293551b61a047bd3796324749ed366c9a5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-24Bump to 1.4.2-SNAPSHOTPamela Dragosh5-5/+5
Released 1.4.1 Issue-ID: POLICY-1700 Change-Id: I9fd966de8165a5f387bb74fedc22a7502d82b870 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-16Step snapshot version of drools-applicationsliamfallon5-5/+5
Issue-ID: POLICY-1630 Change-Id: I358a9f71dd10eb7b803d28e020911013c060deac Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-05-15Set drools base image to released 1.4.0jhh1-1/+1
Change-Id: I03f1f2ba20d5deba95cc771138cafa210a7ada36 Issue-ID: POLICY-1630 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-26New BUILD_VERSION needed as fixed in parent imagejhh1-2/+2
BUILD_VERSION could not be used in ENV variable as it is cooked in the base image itself. Need to create a new one to reflect the drools build to get by. Some minor additional changes as to exit shell when a docker command fails for clarity when executing these operations is added as well. Change-Id: Ic8dfc03bc0563c088d55b1991a0f8c431ab0fab2 Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-25Match up ControlLoopParams against ToscaPolicyjhh2-42/+46
Change-Id: Ia23a5b90b452bcafe2a8aa660598697ebfb07431 Issue-ID: POLICY-1691 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-04Add lifecycle feature to image.jhh1-2/+2
Change-Id: I0c3ea69935dcaca402061d9ea9a20db7ca022603 Issue-ID: POLICY-1608 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-01Rename "casablanca" controller to "usecases"jhh2-3/+3
Change-Id: I41487becd1705fbe725023798a3ea10f4638a6af Issue-ID: POLICY-1474 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-03-25do not enable controlloop-utils featureJorge Hernandez1-2/+2
Change-Id: Ia8ce37e94f0920af7b3a11241d4ca1b4846d55df Issue-ID: POLICY-1613 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-15Baking "runtime" software into imageJorge Hernandez2-5/+238
Change-Id: I329596e6c23283cc4c31d689c621d7b4d1a298d7 Issue-ID: POLICY-1560 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-07Place most of the binaries in the pdpd-cl imageJorge Hernandez1-3/+29
This is work in progress although most of the software will be loaded with these changes. pdpd-cl is not automatically started just yet. It will be done in another review. Change-Id: I2ae527e8e8978e817963de74a1682b84137bd4b4 Issue-ID: POLICY-1560 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-21pull + tag base image for ci workingsJorge Hernandez1-1/+1
Change-Id: Id8759b1ad7a2ddaccc0739074eca7b00124c45ab Issue-ID: POLICY-1537 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-08basic image with CL app preloadedJorge Hernandez6-3/+124
The image can replace the drools-pdp and only overrides what is necessary to make sure the CL application is in the image. There should be no functional difference. Tooling to operate with docker images is provided as well, for example: controlloop/tools/docker-cl --help BUILD INFO: image: policy-pdpd-cl image-path: controlloop/packages/docker-controlloop/target/policy-pdpd-cl image: policy-pdpd-cl registry: nexus3.onap.org:10003 patch: 1.4.0-SNAPSHOT version: 1.4-SNAPSHOT timestamp: 20190207T220835 TAGS: BUILD: verify: onap/policy-pdpd-cl:latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4-SNAPSHOT-latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4.0-SNAPSHOT-20190207T220835Z merge: onap/policy-pdpd-cl:latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4-SNAPSHOT-latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4.0-SNAPSHOT-20190207T220835Z release: onap/policy-pdpd-cl:latest nexus3.onap.org:10003/onap/policy-pdpd-cl:latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4-SNAPSHOT-latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4.0-SNAPSHOT-STAGING-20190207T220835Z PUSH: verify: merge: nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4-SNAPSHOT-latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4.0-SNAPSHOT-20190207T220835Z release: nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4-SNAPSHOT-latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4.0-SNAPSHOT-STAGING-20190207T220835Z SYNTAX: docker-cl [--help|-h] [--build|-b <repo:tag>] [--push|-p <repo:tag>] [--verify|-v] [--merge|-m] [--release|-r] [--run <volume-full-path>] [--cmd <volume-full-path> <cmd>] Change-Id: I0917c0bca212fc0b543e52ae1615c513d43f7d93 Issue-ID: POLICY-1505 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-01-08Restructuring packaged features installationJorge Hernandez9-863/+127
Some cleaning on the installation. feature-controlloop-management will be installed by default and will contain new capabilities plus common functionality from amsterdam and casablanca. Change-Id: Ic751d3002b5b05342138c77f61209b6c32010ce9 Issue-ID: POLICY-1367 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2018-12-17Telemetry extension to manage Operational PoliciesJorge Hernandez1-0/+6
This is work in progress to directly work with Operational Policies with the casablanca controller for now. It is part of prototyping efforts to enhance the management of control loops, but the functionality can be used in production environments. Change-Id: I4fcb748e162ed38ad4cc4ca22cc4e278fd4c4096 Issue-ID: POLICY-1383 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2018-11-13Fix guard history database configurationJorge Hernandez1-4/+4
Change-Id: I70742b9be80a0b0f77730e2453f96f1d3e7826dd Issue-ID: POLICY-1257 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2018-11-02Re-added requestParams to vDNS policyJim Hahn2-2/+2
Undo inadvertent change to compiler test. Change-Id: I1973612f4783936271c3fd74fb978a4f263a14a9 Issue-ID: POLICY-1240 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-10-31Remove single quotes from casablanca templateJim Hahn2-2/+2
The shell scripts used to populate the operational policies for the casablanca template do not work if the yaml includes single quotes. Replaced the single quotes with %27 instead. Change-Id: I31b20708b69153ecb67b7ac8136f464dbf2ce0c6 Issue-ID: POLICY-1240 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-11-01Merge "Added config params to scale-out policy"Pamela Dragosh2-2/+2
2018-10-31Added config params to scale-out policyJim Hahn2-2/+2
Removed requestParameters and reverted name. Change-Id: Ia3470a751b22375206c571204eff8985e630e05f Issue-ID: POLICY-1240 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-10-31Set new master version for Dublinliamfallon4-12/+8
Issue-ID: POLICY-1232 Change-Id: I6dfd85e9407c4d7400f593f035c627a303f397de Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-10-25Fix refering to snapshot in drools-application1.3.1ramverma4-4/+4
Issue-ID: POLICY-1213 Change-Id: I91e4928e33d4e39286bf340e42602890446d9401 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-10-23Add CCVPN policyVidyashree Rama2-0/+33
CCVPN policy Issue-ID: POLICY-1209 Change-Id: I8adea233f8672c9ff43b4a169b50336d9e43c91d Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2018-10-05Add new actor SDNC to support CCVPN Closed LoopXin Miao1-0/+4
Issue-ID: POLICY-1183 Change-Id: I1b77b5b9cefca104382d9d84dd00bbd63b20e0f2 Signed-off-by: Xin Miao <xin.miao@huawei.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-09-17push-policies https for casablanca controllerJorge Hernandez1-11/+11
https support for provisioning policies in experimental casablanca controller Change-Id: Ica711c10298f49b072c6a4f29a889e27cb851275 Signed-off-by: Jorge Hernandez <jh1730@att.com> Issue-ID: POLICY-1120
2018-09-12Add implementation for OOF PCI use caseSaravanan A2-0/+33
Receive DMaaP message from PCI-Handler MS with PCI Config change recommendations through DCAE_CL_OUTPUT topic. Trigger SDN-R (if allowed by policy) by sending DMaaP request through SDNR-CL topic. When the response is received from SDNR through SDNR-CL-RSP topic, just parse and print. Code review comments addressed Change-Id: If340a23ae18367b7f98e31fe79c09a09e645b2ad Issue-ID: POLICY-1089 Signed-off-by: Saravanan A<saravanan.a75@wipro.com>