summaryrefslogtreecommitdiffstats
path: root/packages/docker/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-03-01Point to docker 2.0.1Pamela Dragosh1-1/+1
docker is released Issue-ID: POLICY-2378 Change-Id: Ide4c8898c21a4ddb7b845f15f66b7ff2b9ac3fb7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-16Remove deletion of POLICY_HOME/etc/ssljhh1-3/+1
To match work from: https://gerrit.onap.org/r/#/c/policy/docker/+/101758/ Issue-ID: POLICY-2181 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1f83508d7edd97337ee746cc09aff94bee684817
2020-01-28Updating docker image with new tools.Bilal A1-0/+2
Issue-ID: POLICY-2325 Signed-off-by: Bilal A <bilal@research.att.com> Change-Id: I352038ab7b3bfcf5a25d6d50b90c55b2536bcda9
2020-01-20policy/engine jdk11 upgradesHOCKLA1-4/+4
Issue-ID: POLICY-1590 Change-Id: I4da8324a065ac9babe16368e69b76a4cbe9504ef Signed-off-by: HOCKLA <ah999m@att.com>
2019-06-17Use io.fabric8:docker-maven-plugin to build and push docker imagesRashmi Pujar1-1/+1
Issue-ID: POLICY-969 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Ic4fcec72d494df0a6e067aa353be49936136518c
2019-04-29Bound wait time for a component's portjhh1-6/+9
This should prevent the 90 minutes timeouts in CSIT tests. Change-Id: Ia9491462f4c3b83564584eb9f85551570e3c6342 Issue-ID: POLICY-1712 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-29Add BUILD_VERSION_ENGINE to imagejhh1-0/+2
Change-Id: Ie97746ec8f244d52bf3eba94a247810d727fa72a Issue-ID: INT-995 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-26New BUILD_VERSION needed as fixed in parent imagejhh1-3/+3
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. Change-Id: Ide67a181e5959c5e0d087345db86baf0cc8169b6 Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-25Manually pull the base alpine imagesjhh1-1/+3
Add a hack to undo directory creation from parent images since it causes container initialization to fail. Change-Id: I99dc404cd56a67a2cc84eb1a3773b028ed533d95 Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-24Rebase image on policy-common-alpineDmitry Puzikov1-20/+6
Fix notes. Issue-ID: INT-1001 Change-Id: I91c2af3e16032078561e8b0bd5aa4250d449d8d6 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-04-19Upgrade tomcat to 9.0.16Pamela Dragosh1-1/+1
Removes security vulnerability. Issue-ID: POLICY-1662 Change-Id: I6a90716af561d227265a83c820b1668a99ab1a30 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-03-17Add NSS libraries to imagesJorge Hernandez1-1/+1
Alpine OpenJDK was updated 2 days ago (3/14), this upgrade seems to break java applications that depend on libnss*.so OS libraries, which seem are no longer installed with the jdk. In addition added procps as policy.sh status doesn't reflect properly state as it depends on pgrep. Change-Id: Ic83f065fd72f5f13ce44e0ae0848284bd5c45f3b Issue-ID: POLICY-1604 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-10fixing CSIT problems bc move to Alpine OSJorge Hernandez2-3/+4
Added some packages to prevent other problems in scripts, and change the mechanism to wait for mariadb as it does not work with Alpine. Change-Id: I5ee51d1fddfbf1e63a912ab268a5cabac8da0515 Issue-ID: POLICY-1577 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-07Use Alpine as base docker image in /policy/engineHengye1-20/+8
Issue-ID: POLICY-1552 Change-Id: Ibd67ca0cbec9e358c0a934821319e62dda46e3b2 Signed-off-by: Hengye <yehui.wang@est.tech>
2018-10-25Upgraded Tomcat version to 8.5.341.3.1mmis1-1/+1
Upgraded Tomcat to resolve security vulnerability http://mail-archives.us.apache.org/mod_mbox/www-announce/201810.mbox/<4cf697b0-db03-9eab-f2aa-54c2026d0e88@apache.org> Issue-ID: POLICY-1212 Change-Id: I05f09e3fb862ad485dee519a0014e51a0c8d9ac3 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-08-22policy/engine changes to support PE httpsMichael Mokry1-2/+1
Enabled https connector in server.xml and modified the docker-install.sh to fix the default variable name for policy truststore Change-Id: I6db6a6d2353130c91c1f344ea7927d187150adca Issue-ID: POLICY-781 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-08-17https certs with aaf+pe containers compatibilityJorge Hernandez2-3/+15
Change-Id: I21ed7a0fea5ea7d62857a077fa2568da4af99d26 Issue-ID: POLICY-1057 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-07-17Upgrade tomcat to clear security issuesPamela Dragosh1-1/+1
New security issue has appeared, so we will do minor upgrade. Issue-ID: POLICY-982 Change-Id: I58ee20ec07300ab586017ca2072f63329e6f3417 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-06-29Revert "Fix policy gui missing schema_info table"Joseph Chou1-16/+1
This reverts commit e67481ed648c419a1645d0fc8b98506fe544a454. Change-Id: I092053ec1815cf7ca598b1913663532673125604 Issue-ID: POLICY-898 Signed-off-by: Joseph Chou <jc2555@att.com>
2018-06-15Fix policy gui missing schema_info tableJoseph Chou1-1/+16
Modify docker-install.sh to include db schema update Change-Id: I75941522ea932e59cd85d7ff9887bf7d4759ae7c Issue-ID: POLICY-898 Signed-off-by: Joseph Chou <jc2555@att.com>
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-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-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-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-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/enginemmis4-0/+865
Add files for building policy-pe docker image Issue-ID: POLICY-614 Change-Id: Id3e999e652c7c7c6092eb9bde76709cfa1c06c7b Signed-off-by: mmis <michael.morris@ericsson.com>