summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-31Added config params to scale-out policyJim Hahn1-1/+1
Removed requestParameters and reverted name. Change-Id: Ife2f6855a1f9977d06a881e9b243226aed99a53d Issue-ID: POLICY-1240 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-10-25AAF Heat installation configuration3.0.0-ONAPJorge Hernandez1-0/+1
The docker repo (for heat) by default will come with AAF configuration flag set to false. An installer could simply set it to true to enable AAF. The main reason for this default in heat installs is to not deal with routinely failures of CSIT tests (as they will need either an AAF running or divergent installations scripts). OOM installations instead will have AAF enabled by default. Change-Id: I2014877285ea776b057b45cf8875d4da6a6730a9 Issue-ID: POLICY-1216 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2018-10-09Change DMaaP hostnames1.3.0Jorge Hernandez3-6/+6
Change-Id: I7efadaf3f8230a8433ea7a6fe8367459581043e5 Issue-ID: POLICY-1194 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-10-05ONAP Heat Install support for SDNCJorge Hernandez1-0/+6
Change-Id: I113094a4357ad1e9678f297054f31d4e02cfffe7 Issue-ID: POLICY-1183 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-09-28default passwords to aaf default oneJorge Hernandez2-5/+5
Default heat installation credentials to be the same regardless aaf is in use or not. This will allow transparent switching from AAF to non-AAF support without requiring clients (robot, consul, etc ..) reconfiguring themselves regardless of what we are using. Change-Id: I2f3c0cbf93d6369168fb0317ff78a13e35c08c12 Signed-off-by: Jorge Hernandez <jh1730@att.com> Issue-ID: POLICY-1156 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-09-24CADI AAF changes for policy/dockerMichael Mokry1-0/+3
Added variables for cadi properties Changed property values based on comments and removed resource property Change-Id: I5d7ea2383e306c251f129625b9e9a671c2704ed5 Issue-ID: POLICY-913 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-09-19aaf related install configurationJorge Hernandez1-2/+7
Change-Id: If5f1344cb0e9468fe8a807bd4dc7cb205d3f1bb1 Signed-off-by: Jorge Hernandez <jh1730@att.com> Issue-ID: POLICY-1043
2018-09-19Preload Guard PoliciesMichael Mokry1-130/+195
Modified push_policies.sh to create and push Guard Min/Max and Frequency Limiter policies I also converted tabs to spaces throughout the file while I was in there Change-Id: Idcf5059988c9f291e6be44a069894fd2b864436f Issue-ID: POLICY-968 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-09-19Add Config and CL policies for OOF PCI use caseSaravanan A1-0/+29
Following config policies to be defined for OOF PCI use case for Casablanca: PCI-Handler MS config policy OOF config policy Control loop policy Change-Id: I0e6e0370a875dbd8eb4857d0c15e4219c252efac Issue-ID: POLICY-1086 Signed-off-by: Saravanan A<saravanan.a75@wipro.com>
2018-09-18Add Config and CL policies for OOF PCI use caseSaravanan A1-0/+68
Following config policies to be defined for OOF PCI use case for Casablanca: PCI-Handler MS config policy OOF config policy Control loop policy Change-Id: I2cd0c2221ee0b950463ab939b6426def14c8b69a Issue-ID: POLICY-1086 Signed-off-by: Saravanan A<saravanan.a75@wipro.com>
2018-09-13Provide pre-loaded SDNC Naming policiesMichael Mokry1-0/+54
Added curl commands to created and push SDNC vFW and vPG Naming policies during installation Change-Id: I01b1254199b96dbea5558a31ba8900d76c655ded Issue-ID: POLICY-983 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-08-29Fix cert issue with push-policies scriptMichael Mokry1-17/+17
This should also fix the issues with the CSIT tests. I made changes to the push-policies.sh script to add option -k and bypass certificate errors Change-Id: I5b8bdc1161bc0bc88122884eedd7e63042d9ba42 Issue-ID: POLICY-781 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-08-22policy/docker changes to support PE httpsMichael Mokry7-27/+27
Made changes to conf files and push-policies.sh to set variables and use https in urls Change-Id: I319e800a33756e771f57a8ef8bd611925fdd9299 Issue-ID: POLICY-781 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-08-16default install passwords for Policy keystoresJorge Hernandez2-0/+2
Change-Id: I5402135e561477522aa23ec0551bcd24dad60120 Issue-ID: POLICY-1057 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-31match brmsgw.conf dependency with dev branchJorge Hernandez1-1/+1
Change-Id: Ia5ae42f19930e34bac49b556e3217988e613bcb0 Issue-ID: POLICY-877 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-31minor cosmetic tweaks for 1.2.3Jorge Hernandez3-5/+5
The changes are cosmetics to leave the docker repo a bit more tidy for release. The switch from openecom.org to onap.org is functionally noop .conf files as both domain names are supported. The BRMS_DEPENDENCY_VERSION is noop as it will be properly substituted by the underlying docker-install.sh invocation during docker brmsgw container instantation bringup. Change-Id: I154a1e1560dd7083609080d8f56e47e4d62b99eb Issue-ID: POLICY-877 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-23Adjust conf files for loggerv1.2.32.0.0-ONAP2.0.0-ONAPJim Hahn2-2/+2
Because this shares the log4j.properties embedded within policy/common, the target for the IntegrityMonitor.log cannot be changed. Thus the PARSERLOGPATH was modified to point to that location. Change-Id: Ib68ddb327aa9ef7520314dad354d52c2f409d42e Issue-ID: POLICY-759 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-05-22Use hard-coded path in conf filesJim Hahn2-4/+4
Replace ${{POLICY_LOGS}} with hard-coded path in conf files, as the former does not get expanded. Change-Id: I7686ba75656086ffccb714289b927cf75f8b3e72 Issue-ID: POLICY-759 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-05-22heat install - update to use onap.orgJorge Hernandez1-4/+4
Cosmetic in heat install as openecom.org still works. Better to use onap.org domain moving forward though. Change-Id: Ic3f843beb7c58326c5d6db1d8cba70c6e43a65db Issue-ID: POLICY-853 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-15Use preinstall hook in docker image to get CL appJorge Hernandez1-0/+52
Change-Id: Id096c43bb3cb7e88ba1ec2e3ca1a788bd01847a4 Issue-ID: POLICY-797 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-13allow db non-root access toJorge Hernandez1-1/+1
The databases to which the non-root policy user are granted access are: operationshistory10 (guard) and pooling (pooling feature). Change-Id: Id8653e872a7750fe9e037ad2872b5541241ef4e7 Issue-ID: POLICY-788 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-09allow non-root user to access migration databaseJorge Hernandez1-1/+1
Change-Id: I890daecb9b24bbc21c989f4e3c5fe9c4d1aa2005 Issue-ID: POLICY-788 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-09Add pooling topicJim Hahn1-0/+14
Added pooling topic for amsterdam-closed-loop feature. Only used when pooling is enabled. Moved property to feature-specific conf file and renamed the property so it isn't specific to amsterdam-cl. Change-Id: I98ad8ca5bbcf910d204b460cadd15345a1d71370 Issue-ID: POLICY-782 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-05-08default dcae consumer group configurationJorge Hernandez1-0/+1
The idea is that by default all pdp-ds will share the same dcae topic, therefore load-balanced in onsets. Change-Id: Id92906f123c4b8b21f84629bdf0a7fe03dc70aa1 Issue-ID: POLICY-766 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-07fix PE DB transaction lock timeouts.Jorge Hernandez1-2/+2
I hope this fixes all DB related issues that are being seen by integration teams. The failOver jdbc parameters + perhaps some changes in underlying code and persistence libraries may have been causing the PAP to become useless. A thread dump shows that a significant number of threads were in timed-wait state, waiting on a lock trying to acquire a connection. In SB07, the system became useless in terms wouldn't accept any transaction. These changes to the PE provided jdbc parameters seems to be behaving in the expected way, and the expectation is that fixes the problems (behavior is good in own OOM lab). It is thought that this may perhaps solve POLICY-773, POLICY-775, POLICY-779, and perhaps POLICY-776. Change-Id: Ib2319b68b5a503f61c2cb04998c549b7b97f9f31 Issue-ID: POLICY-777 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-06upgrade mariadb versionJorge Hernandez2-4/+4
this was an exercise to see if it helps with the pessimistic lock exceptions on PE side. The problem still persists, in any case, the database was outdated, and better to run with a more up to date one. Change-Id: I8e51617fde6c1ac9870d1680ebe81e039a333489 Issue-ID: POLICY-777 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-01Merge "Add INFO.yaml file"Pamela Dragosh1-0/+37
2018-04-30Add INFO.yaml fileJessica Wagantall1-0/+37
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: Ibfc6f602281665eedb8d75d2ab3f165a15bb3ec4 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-04-25remove keystores from docker-compose projectJorge Hernandez2-0/+0
These are companion changes to https://gerrit.onap.org/r/#/c/44687/ https://gerrit.onap.org/r/#/c/44715/ The docker-compose instance still could add a policy-keystore of its liking here, in which case it will be honored and replaced the default one cooked in the image. Change-Id: I9f8aba7bdeb232a38b971ea60d7b88c135d08a7d Issue-ID: POLICY-747 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-04-19removing policy nexus buildJorge Hernandez10-463/+4
remove unnecessary build of policy-nexus fix version number of dockerhub nexus image. update pom file with current master version Issue-ID: POLICY-737 Change-Id: I929ea8bf1c0f115e12d6be23e90e727f3c6f7264 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-04-18Use AAF root certificatesJorge Hernandez2-0/+0
swap truststore with AAF provided one, changed the password from the default jdk one to the default one used in policy installations Change-Id: I106408e7fdbf87e3bd2a4822387db05c79a0524c Issue-ID: POLICY-747 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-04-16Add missing license headersPamela Dragosh27-1/+333
I know some of these files should be removed, but let's do that in a different JIRa. Issue-ID: POLICY-741 Change-Id: Id974ff1bcfa9d34d8828e644dce337d8cdc056eb Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-04-06Script to make an application to drools dockerJorge Hernandez1-0/+124
Change-Id: I25cdf1bb728c381395e5531913be6f51979dfb20 Issue-ID: POLICY-735 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-29Merge "Update docker tag convention"Pamela Dragosh3-5/+5
2018-03-29Update docker tag conventionJessica Wagantall3-5/+5
Update docker tagging script used by daily release builds: $VERSION-STAGING-YYYYMMDDTHHMMSSZ Change-Id: Ib3207f175fd41a8e90664bb1a139d4e0a3fcf259 Issue-ID: CIMAN-132 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-28make drools and nexus containers restartableJorge Hernandez2-2/+6
use dockerhub image for nexus instead of producing our own. 9081 is exposed in the host. Issue-ID: POLICY-575 Change-Id: Ia72303507aee071e0f12e9a77b3ce03bae8b3ed7 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-28Remove ECOMP trademarkPamela Dragosh1-2/+0
Issue-ID: POLICY-696 Change-Id: I39a1008ab8083d2594d02781d717ad7f0d1cc0fe Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-03-27change logging location default for PEJorge Hernandez1-1/+1
Change-Id: I21e71cd635b32186a507f9ba9e40fc85aa413339 Issue-ID: POLICY-533 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-16Merge "Renamed docker images"Pamela Dragosh7-28/+28
2018-03-14Update oparent version to 1.1.0liamfallon1-1/+1
Directive from ONAP project that all repos should be updated. Change vierified with a build with .m2 /org/onap cleared. Change-Id: Iec111c8442d219071339530a7ef891ff532928b9 Issue-ID: POLICY-693 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-03-14Renamed docker imagesmmis7-28/+28
Renamed from: onap/policy/policy-nexus to onap/policy-nexus and updated references to renamed onap/policy-pe and onap/policy-drools. This enables consistent naming across nexus and docker hub Issue-ID: POLICY-674 Change-Id: Id28ea0db973b58582bc368b0a6f92c552c54c2db Signed-off-by: mmis <michael.morris@ericsson.com>
2018-03-08Change default log location per logging guidelinesJorge Hernandez2-2/+2
Change-Id: Idada49011808038a195ef2c499688d0e88b301cd Issue-ID: POLICY-554 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-08configuration option for log locationJorge Hernandez2-0/+2
Change-Id: I083c09054916655bdbaeb50414b76f821fcd579a Issue-ID: POLICY-554 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-05Remove policy-os and policy-base imagesmmis17-2115/+150
Remove the policy-os and policy-base images in favour of including their contents directly in the policy-pdp and policy-pe images Issue-ID: POLICY-624 Change-Id: Ie4ef62d5a7fc0edb481be13891ee12cf9271674c Signed-off-by: mmis <michael.morris@ericsson.com>
2018-03-02Merge "Modify docker to build base only"Jorge Hernandez3-27/+2
2018-03-02Modify docker to build base onlyPamela Dragosh3-27/+2
Adding in push of policy-base so we can test the new docker image builds for policy/engine and policy/drools-pdp Issue-ID: POLICY-623 Change-Id: I0d4c94f559c6c06e88d97e3e2c53859c0f36afaa Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-02-28missed env vars in docker-compose for mariadbJorge Hernandez2-0/+2
Change-Id: Iecd208d8c85aac010f80f6a7e3c8f64a0c018d21 Issue-ID: POLICY-650 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-02-27docker db image simplificationJorge Hernandez12-79/+26
1. use mariadb image from docker registry to simplify set up. 2. remove harcoded root and user mariadb accounts 3. restrict access to user account to just specific databases. Change-Id: Iaa916dbf2de2474fcc483a4be6167b4b92a2de61 Issue-ID: POLICY-650 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-02-19Rename maven modules in drools-applicationsliamfallon1-1/+1
The dependency on drools-applications "apps" module changes name to "controlloop.common.apps" See https://gerrit.onap.org/r/#/c/31593/2 Change-Id: Iaf8b791f015ff50664c194976a9a2c84453e6e7b Issue-ID: POLICY-238 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-01-30Change keystore paswordsTemoc Rodriguez4-5/+5
Changed the keystore password on both drools and pe keystores to match the changed default given in base.conf file. Issue-ID: POLICY-520 Change-Id: Id052815f8bd84e866042eb93a1d2901d279d5115 Signed-off-by: Temoc Rodriguez <cr056n@att.com>