summaryrefslogtreecommitdiffstats
path: root/controlloop/packages
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-08-28use new SO API for scale-outJim Hahn2-2/+2
Updated licenses and serialization IDs. Moved hashCode() and equals() methods to be in same location as in the original code so it can be more easily compared. Changed vDNS yaml timeout and retry to 1200 and 0, respectively, to match the original values. Removed extra newline from yaml, to match original yaml. Reformatted source to wrap lines at 120 characters and removing trailing white space. Change-Id: I3f5e59a1f44750347de49164f587d4ffefdee8b4 Issue-ID: POLICY-962 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-08-03rename rule template from beijing to casablancaJim Hahn4-10/+10
Changed assertTrue to assertEquals in CasablancaFeatureTest. Change-Id: I3bec009ddde2f10468575b4b7bf9c08c24748aae Issue-ID: POLICY-955 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-06-05Update drools-applications to SNAPSHOT-1.3.0liamfallon4-4/+4
Snapshot updated for Casablanca. Issue-ID: POLICY-875 Change-Id: I0307282c4eabdb9ccd03282f918f4cd727ac4f86 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-05-21Update Drools Applcations to 1.2.3-SNAPSHOTliamfallon4-4/+4
These reviews must be merged in order because of layering. This review should be merged THIRD. Issue-ID: POLICY-844 Change-Id: I61d128f3244cd420abab15ab70c5c0e9d9afa625 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-05-16Upgrade SNAPSHOT to 1.2.2liamfallon4-4/+4
These reviews must be merged in order because of layering. This review should be merged FOURTH PLD added version.properties Change-Id: If7af7b3ae37166e88af92c0d1f1c558e5b60ab8e Issue-ID: POLICY-798 Signed-off-by: liamfallon <liam.fallon@ericsson.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-05-02Changing abatement param to true for vCPEeikrwaq1-1/+1
- Changing abatement parameter to true for vCPE in create-cl-amsterdam script - Enabling abatement test case jMeter Test plan Change-Id: I01487666a807941dfec729c68bc31d3cedf29967 Issue-ID: POLICY-525 Signed-off-by: eikrwaq <waqas.ikram@ericsson.com>
2018-04-16Add missing license headersPamela Dragosh2-0/+8
I removed a couple of empty README and added licenses. Issue-ID: POLICY-741 Change-Id: I10aad3536d02b738a1dc606f7311de6b3a2777cd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-04-13Update to SNAPSHOT 1.2.1Pamela Dragosh4-4/+4
Issue-ID: POLICY-736 Change-Id: I2bc455510e925764d18a1d8e96e072bdadb251c6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-04-02installation enhancementsJorge Hernandez18-353/+150
The following changes aim to have a quicker start of the drools container: 1. For both amsterdam (and the experimental beijing) controllers dependencies are pre-installed, so the loading of 3rd party dependencies are faster. 2. Further enhancements in installation. 3. Make sure that the naming of the generated control loop artifacts have a "control loop" label associated with it, so in the future, if other applications are added (non control loop related) do not conflict and is clear. Change-Id: Iecb84d186fcc34069aa5c4a175a8a4521b38499d Issue-ID: POLICY-534 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-27Merge "transaction logging through feature part 2"Pamela Dragosh2-1/+10
2018-03-27transaction logging through feature part 2Jorge Hernandez2-1/+10
Change-Id: I3b411ee2855a1ffe94ffc67fccfb1e475335d036 Issue-ID: POLICY-533 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-26Create Drools Scripts for BeijingDaniel Cruz2-0/+438
The create-cl-beijing script will now allow the user to create a rules jar that does not need to be expanded and also generate test files that can be used to insert facts for all the supported beijing use cases. The yaml for each policy is provisioned by the user in case custom yaml is desired. In addition to this, a new script is included that will extract the needed data from the controller properties file to insert facts for all the supported use cases. This script can be used to insert ControlLoopParams facts after the create-cl-beijing script is used to generate the rules artifact. No provisioning necessary other than specifying where the controller properties file is located. Issue-ID: POLICY-692 Change-Id: I42f0a08fba133ca36fb1be588a720e4f9598d79f Signed-off-by: Daniel Cruz <dc443y@att.com>
2018-03-01Remove CLM issues with commons-collectionsPamela Dragosh1-0/+9
We know that we are not configuring an LDAP PIP in our use of the XACML open source. The LDAP implementation uses Apache Velocity, which uses a very old version of commons-collections that has security issues. So we can exclude commons-collections from the build. Issue-ID: POLICY-504 Change-Id: I6d90731e601f58c8edaca6fe02df30ee2a090c2f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>