summaryrefslogtreecommitdiffstats
path: root/packages/docker
AgeCommit message (Collapse)AuthorFilesLines
2021-11-29Update snapshot of policy/drools-pdp to 1.10.1-SNAPSHOTliamfallon1-1/+1
*** This commit is generated by a PF release script *** policy/drools-pdp is update from 1.10.0-SNAPSHOT to 1.10.1-SNAPSHOT Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id6f59849b88c0f98d874cf853f249738e784316f
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-14Bump policy/drools-pdp to Jakarta 1.10.0-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: Id7723b73aa472c45271e6e1488cc3f0f08349924 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/drools-pdp to 1.9.2-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I8fc7e6a7c6e9a2f20409a84a1c517e49c9468eb8 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-09-15Bump versions to 1.9.1-SNAPSHOTjhh1-1/+1
Issue-ID: POLICY-3587 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6d38adccfbee1274ce416cfadbfe306343f5d607
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-12Merge "Add SQL_PORT configuration"Jorge Hernandez1-2/+6
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-08-09use url resource for docker-tag -- drools-pdpTaka Cho1-18/+4
use groovy url resource from docker repo to identify the tag for docker Issue-ID: POLICY-3378 Change-Id: I1400967096a5b61b89c6298aee7377e2eeaaa47d Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-07-20Use docker registry properties in drools-pdpJim Hahn1-3/+1
Issue-ID: POLICY-3374 Change-Id: I2439fd5680c7828f6d20e4a884167333aedf9f49 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-19Make skipping of deployment configurableliamfallon1-1/+2
This change makse skipping of deployment configurable so that its setting can be overridden. Issue-ID: POLICY-2971 Change-Id: I963c5cae831d10ac7ab1e220ebbba91ec3369188 Signed-off-by: liamfallon <liam.fallon@est.tech>
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-11bump pom versions to 1.9.0-SNAPSHOTjhh1-1/+1
Issue-ID: POLICY-3105 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0686675cdddf6fb5ce78f792484486f39d705a58
2021-03-10bump poms to 1.8.2-SNAPSHOTjhh1-1/+1
Issue-ID: POLICY-3127 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0cf960650fbd2010a7c747d4932fdf8226c1fa07
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-24bump poms to 1.8.1-SNAPSHOTjhh1-1/+1
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2210fcc34c9f69c3ea42c07543ffb9834f719620
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-27Bump drools-pdp master to 1.8.0-SNAPSHOTJim Hahn1-1/+1
Bumping minor version now that guilin branch has been created. Also repointed to snapshot versions for dependencies. Issue-ID: POLICY-2875 Change-Id: Ic3d5b96e610db0487ce316a9397d2f9ecb04bda6 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-20Bump drools-pdp to 1.7.5 SNAPSHOTJim Hahn1-1/+1
Issue-ID: POLICY-2869 Change-Id: Id2fcbfcb5435f79b5ebb74a403fd6133d1b79a7c Signed-off-by: Jim Hahn <jrh3@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-10-09bump drools-pdp to 1.7.4-SNAPSHOTTaka Cho1-1/+1
Issue-ID: POLICY-2839 Change-Id: I85d286a012d7b54b8c847d94951703d2e6462e13 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-10-07Bump drools-pdp to 1.7.3 snapshotTaka Cho1-1/+1
Issue-ID: POLICY-2839 Change-Id: I750b5130c421dafd95dc4f323e891384a7815841 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-08bump to 1.7.2-SNAPSHOTjhh1-1/+1
Issue-ID: POLICY-2789 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0fb5ead444c23882454e3a48efea9d936a84e455
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-15Merge "exec pdp-d java process to run in the foreground"Jorge Hernandez1-2/+3
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-07-10Bump drools-pdp to 1.7.1-SNAPSHOTTaka Cho1-1/+1
Issue-ID: POLICY-2709 Change-Id: Ifb6232eb428e2cd9c729fef54862779b2ee55bbc Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-05-21Bump Drools-Pdp to 1.7.0aditya.puthuparambil1-1/+1
Issue-ID: POLICY-2514 Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech> Change-Id: Ib18f045a621ce15f8381607ba87639dd188887e5
2020-05-21Bump Drools-Pdp to 1.6.4aditya.puthuparambil1-1/+1
Issue-ID: POLICY-2514 Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech> Change-Id: Icb874f6b91488c5003e9d22460ce57e37b11dc30
2020-04-24Bump drools-pdp 1.6.3-SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2510 Change-Id: Ic6ce8069e65c9b7606ab3529ee6291bc772a4191 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-14bump to 1.6.2-SNAPSHOTjhh1-1/+1
Issue-ID: POLICY-2378 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I75d0acdc4bfb4f2c1870d3c01591e81ada2b7a5f
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-24Bump drools-pdp to 1.6.1-SNAPSHOTPeyton Puckett1-1/+1
Issue-ID: POLICY-2378 Change-Id: I59fb1860178cc7960f7aa553557d83d60b686ac6 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
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 dockerjhh6-953/+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
2020-02-11Update package before installingBruno Sakoto1-1/+2
Issue-ID: POLICY-2362 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I14326db9db4f9adb4d19fb1aa6ee5b682e892d51