summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-01-24Copy Keystore to PE for TLS SupportTemoc Rodriguez2-5/+5
Added copy of drools keystore to config/pe so that container has a copy of the self-signed cert to enable TLS encrpytion with automatic install process. Added copy to do-start.sh to install keystore in final destination in pap container. Issue-ID: POLICY-520 Change-Id: Ie6394b5b79ec98cfa6231c46b21a0b4bfb20869a Signed-off-by: Temoc Rodriguez <cr056n@att.com>
2017-11-21Bump minor versionJessica Wagantall3-4/+4
Bump minor version in preparation for Amsterdam branching. Change-Id: I95eba101b459e466bebca385c7a5ea1b686da0bb Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-15Update to use 1.1.2-SNAPSHOTPamela Dragosh3-3/+3
Release 1.1.1, update to 1.1.2 Issue-ID: POLICY-436 Change-Id: I516e4644e759dc96712b5d7444ae700a21544592 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-11-10Fix release jobPamela Dragosh1-0/+29
Missing staging repository Issue-ID: POLICY-441 Change-Id: I0565c5464f21ee06c34c3de416514181227a803d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-11-09brmsgw 1.1.0 dependencies instead of 1.1.1Jorge Hernandez2-3/+3
Change-Id: I4356091f168a9bb9ada7756611728e04f68e2a3e Issue-ID: POLICY-436 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-11-07Update SNAPSHOT versionPamela Dragosh2-2/+2
Release v1.1.0 so need to update SNAPSHOT to 1.1.1 Issue-ID: POLICY-436 Change-Id: I4d02fceaeccdbb1e10710bff5c0c0270f765f56f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-11-04non onap jars converted to onap versionv1.1.01.0.0-ONAP1.0.0-AmsterdamJorge Hernandez1-1/+1
xacml-att is a 3rd party library that should not ve expanded to the onap version in brms gw Issue-ID: POLICY-406 Change-Id: Ifddcedd482094ba3cff5d21c8e6b327efc408fb9 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-10-26Updated the MicroService Policesrb71471-3/+3
Issue-ID: POLICY-373 Change-Id: I7526a5a8f6a93587a9be4aacc4b8c596da8b0122 Signed-off-by: rb7147 <rb7147@att.com>
2017-10-20change default DCAE_SERVERS default configurationJorge Hernandez1-1/+1
new default is vm1.mr.simpledemo.openecomp.org for Amsterdam release. Issue-ID: POLICY-363 Change-Id: I88f63058831a92e4c385743e85fcefaffd0bebbd Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-10-18Updated the Portal Propertiesrb71471-3/+3
Issue-ID: POLICY-354 Change-Id: I7451ed24988952eb387384fd52bfbb884493640b Signed-off-by: rb7147 <rb7147@att.com>
2017-10-17Updated Operational Policy payloadrb71471-7/+7
Issue-ID: POLICY-342 Change-Id: Ia5c0c25cc15a4f6f2d5b7cb10b27729b9968d127 Signed-off-by: rb7147 <rb7147@att.com>
2017-10-13Updated Push Script to Match ComtroloopNamerb71471-3/+3
Updated the config policies to match operational policy controlloopname. Issue-Id: POLICY-342 Change-Id: I1fd94efb43895bdee7d179644c1cbfb6f0725241 Signed-off-by: rb7147 <rb7147@att.com>
2017-10-11Modify Default DCAE Config Policies and TopicJorge Hernandez2-4/+4
Change-Id: I99e55aa59018abeab1fe4fe77c35df724e4b5a92 Issue-ID: POLICY-313 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-10-11Merge "Updated MS vCPE Config Policy"Pamela Dragosh1-1/+1
2017-10-11Change back docker version to 2Pamela Dragosh2-2/+2
It never needed to get upgraded to version 3. Issue-ID: POLICY-315 Change-Id: Ic1ccd72e16acce5815c0a6d0faef673a974dc73b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-10-11Updated MS vCPE Config Policyrb71471-1/+1
Issue-Id: POLICY-313 Change-Id: Ie82a7b1ec92dc5b41d3a0deff54235fa7084126c Signed-off-by: rb7147 <rb7147@att.com>
2017-10-11Add ability to turn off policy preloadPamela Dragosh5-2/+29
You can now set environment variable to override whether or not the policies are pre-loaded by the engines during docker image startup. The README.md is updated with instructions. Each docker-compose has a different default set. The .env file is set to load policies by default to true. You can override by either changing this file or setting the environment: export PRELOAD_POLICIES=false Issue-ID: POLICY-304 Change-Id: Ia96788ac3b8d47814eea1046d96c4e3e4a0b9664 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>