summaryrefslogtreecommitdiffstats
path: root/packages/docker
AgeCommit message (Collapse)AuthorFilesLines
2018-05-24Merge "Replace LOGPATH with LOGSUFFIX"Pamela Dragosh1-0/+5
2018-05-23Replace LOGPATH with LOGSUFFIXJim Hahn1-0/+5
docker-install.sh does not expand ${{xxx}} values in .conf files before using them to update target files. Consequently, replaced LOGPATH with LOGSUFFIX in .conf files and updated target files to use ${{POLICY_LOGS}}${{LOGSUFFIX}} instead. Replace "${POLICY_HOME}/logs" in auxiliary files (e.g., logrotate) with "${POLICY_LOGS}/policy". Update license dates. In .sh files, changed ${{POLICY_LOGS}} to ${POLICY_LOGS}, and ensured that env.sh is sourced. Use hard-coded paths in conf files instead of replacing LOGPATH with LOGSUFFIX. Update license dates. Repoint path for IntegrityMonitor.log, as we cannot easily move since it's in common. Replace hard-coded log path in docker-install.sh. Undo hard-coded log paths where possible, and modify scripts to pass $POLICY_LOGS to JVM. Change-Id: I027d8d2173ae97fef73b0daff1d6a87452857f93 Issue-ID: POLICY-759 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-05-21Update Policy Engine to 1.2.3-SNAPSHOTliamfallon1-1/+1
These reviews must be merged in order because of layering. This review should be merged FOURTH. Change-Id: Ifca8e33b79085a4032164b44dae3401f8179f5f6 Issue-ID: POLICY-844 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-05-16Upgrade SNAPSHOT to 1.2.2liamfallon1-1/+1
These reviews must be merged in order because of layering. This review should be merged SECOND Note: In order to get past the following layering problems, there are temporary chages to the following POMs to temporarily use 1.2.1-SNAPSHOT for those dependencies. They are ONAP-PAP-REST/pom.xml org.onap.policy.drools-applications.controlloop.common.policy-yaml ONAP-PDP/pom.xml org.onap.policy.drools-pdp.policy-endpoints A separate review will be used to restore these dependencies to 1.2.2-SNAPSHOT once the drools-pdp and drools-applications reviews are submitted and merged PLD added version.properties Issue-ID: POLICY-798 Change-Id: Id7e83f2ba12181c63cc8845b7eeccf2004d2bab9 Signed-off-by: liamfallon <liam.fallon@ericsson.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-05-07automate dependency.json version populationJorge Hernandez2-1/+8
This avoids error-prone manual version changes to configuration files. Change-Id: I1a991ef9a8eb4cc7dd5fe26d9952286d8b5c0115 Issue-ID: POLICY-766 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-04-25cook policy-keystore into pe imageJorge Hernandez2-4/+20
OOM team reported issues with ONAP installation in terms of config map sizes. After discussion with OOM team, one solution is to cook it in the docker image itself. This will solve the size issue on the OOM side. Change-Id: I2ca20bdc3aa8ee959c5e4c1d07483fe5f0c14607 Issue-ID: POLICY-747 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-04-19Add license to policy-engine filesJim Hahn3-0/+60
Added license to various files. Updated XACMLPolicyScanner to work even when license comment is added to the Policy.xml file. Moved DOCTYPE before license in html files. Removed license from css files, as many are generated or come from third-party software. Removed license from other generated files. Change-Id: I9d98ca9f552a6eae17e80ef27fc7045cc4f27b8e Issue-ID: POLICY-741 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-04-13Upgrade to SNAPSHOT 1.2.1Pamela Dragosh1-1/+1
Issue-ID: POLICY-736 Change-Id: If5c959aa1c0a123c7fd9eee281e39e1d646b6b03 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-04-03Merge "ONAP log files consolidation"Jorge Hernandez1-0/+6
2018-04-03Update docker script for tomcat installPamela Dragosh1-1/+1
Issue-ID: POLICY-507 Change-Id: I14278865429dc0ccd0515ef5c84012b43b366c9a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-04-03ONAP log files consolidationChou, Joseph (JC2555)1-0/+6
Check in changes for pap,pdp,console,brmsgw,paplp and pdplp Change-Id: I23525a44e0f269d04d9870c3eed18b6b8daacb2c Issue-ID: POLICY-562 Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
2018-03-28Merge "ONAP code change for log files consolidation"Jorge Hernandez1-7/+0
2018-03-28ONAP code change for log files consolidationChou, Joseph (JC2555)1-7/+0
Undo the change so this would not block other test activity Change-Id: I4f7dd2e14f30034eefbf958be3c912af2962e8a2 Issue-ID: POLICY-562 Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
2018-03-27Change default argument path for logs directoryJorge Hernandez1-1/+1
To align with the implementation Change-Id: Ia32123e2bf87537e758ecc9fac8f14b6ca4ae562 Issue-ID: POLICY-533 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-23ONAP code change for log files consolidationChou, Joseph (JC2555)1-0/+7
Code change for log files consolidation of PAP, PDP, BRMSGW, Console and db script Issue-ID: POLICY-562 Change-Id: I416ba7748b841bb2b1a31682e2b1631e279549e8 Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
2018-03-08Change default log location per logging guidelinesJorge Hernandez1-1/+1
Change-Id: Ib45bbede0330c6bf5dd6461b2642321d8fdb49ad Issue-ID: POLICY-554 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-08Merge "configurable logs dir and creation as root"Pamela Dragosh1-1/+4
2018-03-08Remove filtering from packages/docker/pommmis1-1/+0
Filtering should not be applied in the maven-resources-plugin execution as this incorecttly modifes the scripts copied by this plugin Issue-ID: POLICY-652 Change-Id: I92c73af6830f81ee3fbcdda68333a67378ce08a2 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-03-08configurable logs dir and creation as rootJorge Hernandez1-1/+4
Change-Id: I9d5d1dcf97e8951c2c8a700b301bcc33410dd839 Issue-ID: POLICY-562 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-07Copy files for docker image in packages/docker/pommmis1-2/+49
Copying the files in the pom removes the need to do the copying in various locations the docker build is executed from and allows the docker image be built without building the entire repo (as the install.zip can be pulled from nexus) Issue-ID: POLICY-652 Change-Id: I90498f7e0c00e63381d746f80f937b31b3f7199d Signed-off-by: mmis <michael.morris@ericsson.com>
2018-03-05Update Dockerfile and docker_*.shmmis1-1/+30
Correction to previous commit "Move docker_*.sh scripts into policy/engine" as attempt to build docker image will result in failure to pull the policy-base image from nexus The policy-base and policy-os images are removed in favour of including the contents of those images directly in the policy-pe image Issue-ID: POLICY-624 Change-Id: Ie4a12407d4cb5a1d663cd11136c282a53f496ca3 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-03-02Move docker_*.sh scripts into policy/enginemmis6-0/+939
Add files for building policy-pe docker image Issue-ID: POLICY-614 Change-Id: Id3e999e652c7c7c6092eb9bde76709cfa1c06c7b Signed-off-by: mmis <michael.morris@ericsson.com>