summaryrefslogtreecommitdiffstats
path: root/packages/docker/src/main
AgeCommit message (Collapse)AuthorFilesLines
2023-10-18update references in policy/drools-pdp pomliamfallon1-1/+1
updated references in the policy/drools-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I06b071484585845eec64e4cefd28be915ccdda52
2023-09-22Upgrade java-17 in drools-pdpadheli.tavares2-5/+5
Issue-ID: POLICY-4676 Change-Id: I85a0f6303b30cd0405d63be003c9288f59a9d6b7 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-05-25Set all cross references of policy/drools-pdpliamfallon1-1/+1
policy/drools-pdp updated with correct cross references *** This commit is generated by a PF release script *** Issue-ID: POLICY-4662 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ib3567fa1b4c3baf7c0956fdbb259193ec7c564f4
2023-04-25Update snapshot and/or references of policy/drools-pdp to latest snapshotsSuresh Charan1-1/+1
policy/drools-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: Suresh Charan <suresh.charan@bell.ca> Change-Id: I6362550db328507e3993d51ca5980695dc1a7662
2023-04-25update references in policy/drools-pdp pomrameshiyer271-1/+1
updated references in the policy/drools-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: If152c369d5ebbadfd0a2f1cf550dc1854ab81025
2023-03-01Update snapshot and/or references of policy/drools-pdp to latest snapshotssaul.gill1-1/+1
policy/drools-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: I29d576ac438866341a2850aad7b3bb3312c29f2b
2023-02-28update references in policy/drools-pdp pomsaul.gill1-1/+1
updated references in the policy/drools-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: Ib1cdb686dbc93023ecd765a78345f7761aea5e56
2023-02-16Update Dockerfile for PF base imageliamfallon1-0/+2
The Policy Framework base image run under the "onap" user rather than under the "root" user. This means that root access has to be enabled in child Dockerfiles for configuraiton that requires root access. Root access is turned off again later in the Dockerfile so that the image will run under another user. Issue-ID: POLICY-4558 Change-Id: Ie3178fcda9bedd47a1fc13d819bf4cfdc74c7a3f Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-15Update snapshot and/or references of policy/drools-pdp to latest snapshotsliamfallon1-1/+1
policy/drools-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I36771a49543cd51b7101ef252b96c1403b83df8e
2022-12-15update references in policy/drools-pdp pomliamfallon1-1/+1
updated references in the policy/drools-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I5166e3b5244ad34b4d94cd2cb7bd9e0301e832cd
2022-10-21Set snapshot and/or references of policy/drools-pdp for new releaseliamfallon1-1/+1
policy/drools-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ibd0c56def68a4a239bdb6d3fb8d3aae358f6ae72
2022-10-21Update snapshot and/or references of policy/drools-pdp to latest snapshotsliamfallon1-1/+1
policy/drools-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ibe0ef73872094fb12b23233dd7828da24d715254
2022-10-21update references in policy/drools-pdp pomliamfallon1-1/+1
updated references in the policy/drools-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ifed9a5af43b74e218eae625b3a96c745104aafa1
2022-09-23Update snapshot and/or references of policy/drools-pdp to latest snapshotsliamfallon1-1/+1
policy/drools-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Iea8f1e16c283647eecb9e8efab8e7098b2f7c294
2022-09-22update references in policy/drools-pdp pomliamfallon1-1/+1
updated references in the policy/drools-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0dd6216204369abcb4e5d6bac810c372df18384e
2022-07-29Update docker base image to snapshotliamfallon1-1/+1
Update docker base image to snapshot *** This commit is generated by a PF release script *** Issue-ID: POLICY-4287 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I3942df6ef3d93ebd305b125346a0439d9a31de5d
2022-07-11Upgrade OpenSuse version to 15.4 for drools-pdpdanielhanrahan1-1/+1
Issue-ID: POLICY-4278 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Id5ab062d88a2bed9b55f3bc8426ad12a04b90dbe
2022-06-28OCI image spec labels for DROOLS-PDPdanielhanrahan2-1/+17
Issue-ID: POLICY-4257 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: If6205f97318bc9cd3a4c1698a5fa18e08e67c0c3
2022-06-22OpenSuse docker file for drools-pdpdanielhanrahan1-0/+93
Issue-ID: POLICY-4193 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ia3984d93b3aa6ec8daba61201216b03932f6d9ce
2022-04-27update references in policy/drools-pdp pomliamfallon1-1/+1
updated references in the policy/drools-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8a453872b8e3aeea3185e1b51d31777437dadb71
2022-04-12update references in policy/drools-pdp pomliamfallon1-1/+1
updated references in the policy/drools-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic6a1d4078601f27b6bb4a115982afae1c71aa7a5
2022-03-10update references in policy/drools-pdp pomliamfallon1-1/+1
updated references in the policy/drools-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia7e7d1602b2b305476e3a1ee36a8795c235c629f Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-02-07Alter base image of drools-pdp Dockerfilesaul.gill1-2/+1
Previously the pip package was upgraded in this file Now the upgrade is done in the parent docker image The parent image version is changed The pip package upgrade is removed Issue-ID: POLICY-3905 Change-Id: I709286e18373a613cf63ac4de90db541f7e47177 Signed-off-by: saul.gill <saul.gill@est.tech>
2022-02-04Fix for failing merge jobsaul.gill1-0/+2
Upgraded version of pip being used by Dockerfile Error was reproduced and fixed locally Issue-ID: POLICY-3905 Change-Id: I535b3bbc9cab66411932d725c9210e0a4739378d Signed-off-by: saul.gill <saul.gill@est.tech>
2021-11-25Update parent and common referencesliamfallon1-1/+1
*** Release Phase 7: This commit is generated by a PF release script *** This is the seventh release phase, it updates parent, common and models references in policy/drools-pdp. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I93cb2b0d14490c5bf637fc119257d70eee8a0944 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Update parent/common/models/docker referencesliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: Icf1f9497e53c41f89081e86b45866882a7c25a45 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-08-25Remove GPLv3 components from drools-pdpJim Hahn1-9/+5
The drools-pdp docker image includes GNU tar, which is GPLv3 and is therefore disallowed by ONAP. Appears to be included with "dpkg", which isn't needed anymore, so just removed it. Switched to newer policy/docker image, which includes python3, thus no longer need to install it. Also stopped installing httpie via apk and only install it via pip, now. Issue-ID: POLICY-2845 Change-Id: I08b97b90aef6820135b052c20f270f8b487c94a9 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-10Add SQL_PORT configurationjhh1-2/+6
Issue-ID: POLICY-3533 Change-Id: I03fc41332d4739d5a4d6cee5f86ba823714336d6 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-04-14Add legacy-config new featurejhh1-1/+1
This feature makes the legacy configuration optional. It was used by brmsgw and other tooling to provision via its DMaaP channel. The capability to configure via PdpConfiguration object is kept in the core preserving backwards compatibility, but the DMaaP provisioning channel(s) are optional. Issue-ID: POLICY-2618 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia7198ac3b2810d85133c06ba5217a9c28e07ac4c Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-04-07Use sh instead of ash in drools-pdpJim Hahn2-3/+3
Issue-ID: POLICY-3160 Change-Id: I37b2b75d010781108e40ae39d3742bc2c2e2fd7e Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-17Change Dockerfile httpie version to fix telemetryjhh1-1/+1
telemetry based tools do not work as the http-prompt version installed has changed in alpine repositories. Issue-ID: POLICY-3138 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib838dabedacd03a72bd018f1d66ace95cbb0c511
2021-03-09add no locking featurejhh1-1/+1
It provides an interface to applications for locking purposes that always succeeds. It does not deny acquiring resource locks. Issue-ID: POLICY-3114 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6aebb5f40e4176e0ff7b0e6c6d4042a79dd0b7a3 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-03-02Add quotes around variable in db scriptJim Hahn1-2/+2
Apparently, ash doesn't like "[ -z ${xxx} ]" if the content of $xxx contains spaces. Added quotes around ${xxx}. Also fixed: - a couple of "[" "]" mismatches - a logic error in the selection of upgrade scripts Issue-ID: POLICY-3117 Change-Id: I99c977825fe9df8a44c288b6307cd3e55c504f86 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-23use policy-jdk-alpine:2.2.1 base imagejhh1-2/+2
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2c891acddcce74297cf03d696af8472c127d27ea
2021-01-07drools-pdp docker build failTaka Cho1-2/+1
after official jre 2.2.0 released there is no /root/.cache exist based on jenkins build Issue-ID: POLICY-2999 Change-Id: I6c7db9dce3269bdcd26016d4049364bc72310dac Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-01-05use jdk base 2.2.0 - droolsTaka Cho1-1/+1
use jdk base 2.2.0 Issue-ID: POLICY-2917 Change-Id: Ib7692dd05290dcb672a30174ed90441d364a4b83 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-12-30[docker] use `--no-cache-dir` flag to `pip` in dockerfiles to save spacePratik raj1-2/+2
using "--no-cache-dir" flag in pip install ,make sure downloaded packages by pip don't cached on system . This is a best practice which make sure to fetch from repo instead of using local cached one . Further , in case of Docker Containers , by restricting caching , we can reduce image size. In term of stats , it depends upon the number of python packages multiplied by their respective size . e.g for heavy packages with a lot of dependencies it reduce a lot by don't caching pip packages. Further , more detail information can be found at https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6 Issue-ID: POLICY-2948 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: I0c4c6ba511bca93a1389c53a91bae9b2d4546ee6
2020-12-04Merge "remove all GPL-3.0 and plus license package - drools pdp"Ram Krishna Verma1-1/+1
2020-11-30move all bash to ash shell scriptsTaka Cho2-37/+37
this gerrit would be the first step to not to use any GPL-3.0 and plus license Issue-ID: POLICY-2847 Change-Id: I09a571f14ef8c6983f9051068c2bad5acc173787 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-11-19remove all GPL-3.0 and plus license package - drools pdpTaka Cho1-1/+1
this gerrit would be the second step to not to use any GPL-3.0 and plus license Issue-ID: POLICY-2847 Change-Id: I67f9f4be6aba6e91e53a7462db79e60c73e58144 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-10-12enforce httpie 1.0.3 installedTaka Cho1-0/+2
http-prompt has a compatibility issue with httpie 2.x.x enforce to use httpie 1.0.3 Issue-ID: POLICY-2864 Change-Id: Ibfdd9afb48d0f755051516edb9ab790f12331cdc Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-09-14Use alpine base image 2.1.1Jim Hahn1-1/+1
Issue-ID: POLICY-2819 Change-Id: I5722330bff9c37ee9dd89d3fce0bd7fbdf975f1b Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-04point to 2.1.0 policy-alpine base - droolspdpTaka Cho1-1/+21
In G-rel, using 2.1.0 base. Issue-ID: POLICY-2789 Change-Id: I3b0b3d98b8915d7e45ec1231f41a7b97836d80c1 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-08-21move to alpine from debianTaka Cho1-9/+9
moving to alpine-jdk base for drool-pdp apps csit drools/apps tested in windriver labs: http://10.12.6.96:8080/tmp/tmp.yxBE30uD1m-robot-workdir/report.html 1, httpie has to install via apk 2, http-prompt has to install via pip Issue-ID: POLICY-2787 Change-Id: I3d1bd86c7c2c3c48e9ac2a823b988bb9b1bdf98f Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-07-14exec pdp-d java process to run in the foregroundjhh1-2/+3
Issue-ID: POLICY-2673 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0a08a2760e4dc5a61a59c7f0f3096db76d42cc29
2020-03-25remove temp. sudo accessjhh1-2/+0
Issue-ID: POLICY-2370 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I221fb5887d280536fbfef120b0a2cf41813684fc
2020-03-01Point to docker 2.0.1Pamela Dragosh1-1/+1
policy/docker is released. Issue-ID: POLICY-2378 Change-Id: I71cb892b988f7cd534fc37c0329f3a0502e73874 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-18pip should point to pip3 in dockerjhh1-0/+1
This causes a problem building the drools-pdp image, failing the actual merge operation and pushing a new image. Issue-ID: POLICY-2181 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ibd6e3ddf469d4e56d330450fb2064200ce504740
2020-02-17Add netcat package to Dockefilejhh1-1/+1
PDP-D as it comes up checks if database is available with nc. Issue-ID: POLICY-2181 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib763d227bc98d326680a56a3a59d359de8e49765
2020-02-16Native policies support in dockerjhh5-950/+288
Depends on https://gerrit.onap.org/r/#/c/policy/docker/+/101758/ for package cleanup. The work is needed to run the PDP-D with no applications, native policies may exercise this set up. This work provides a functional image with a precooked installation. This work will allow fixing and cleaning up of CSITs specific to this repo which maintenance is problematic. Issue-ID: POLICY-2181 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I62a1b9b556bd2f6c0c243062cb864dfed80e2bea