summaryrefslogtreecommitdiffstats
path: root/packages
AgeCommit message (Collapse)AuthorFilesLines
2020-08-25block status operations until controllers readyjhh1-1/+2
Status messages to the PAP won't be send until all mandatory resources specified in the lifecycle.pdp.policytypes property are functional. Issue-ID: POLICY-2669 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia9d4c678fcfbdb232059d0827235845ee11f1201 Signed-off-by: jhh <jorge.hernandez-herrero@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-17Merge "add exec option to policy usage message"Jorge Hernandez1-1/+1
2020-07-16add exec option to policy usage messagejhh1-1/+1
Issue-ID: POLICY-2673 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I5b3bbc36ea33c30625119a9e624b68c82a91b634
2020-07-15Merge "exec pdp-d java process to run in the foreground"Jorge Hernandez2-103/+133
2020-07-14exec pdp-d java process to run in the foregroundjhh2-103/+133
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 Cho4-4/+4
Issue-ID: POLICY-2709 Change-Id: Ifb6232eb428e2cd9c729fef54862779b2ee55bbc Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-06-26override central repo with right repositoryjhh1-3/+24
This is to prevent that other poms setting the repository http://repo2.maven.org, which has been decommissioned. The repo1.maven.org is the one to be used, only with https. Issue-ID: POLICY-2677 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I743014ea553f5df829eb0bd7ada2cb3d1fb842bf
2020-05-21Bump Drools-Pdp to 1.7.0aditya.puthuparambil4-4/+4
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.puthuparambil4-4/+4
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 Dragosh4-4/+4
Issue-ID: POLICY-2510 Change-Id: Ic6ce8069e65c9b7606ab3529ee6291bc772a4191 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-14bump to 1.6.2-SNAPSHOTjhh4-4/+4
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 Puckett4-4/+4
Issue-ID: POLICY-2378 Change-Id: I59fb1860178cc7960f7aa553557d83d60b686ac6 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2020-03-17renew policy certs till 03/17/2021jhh1-0/+0
Issue-ID: POLICY-2402 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib7112b7ebefcb3a4ce743ec654556bd6cbd789e6
2020-03-10policy routing and reorg into policy-domainsjhh3-13/+15
- Native Drools Controller Policy support. - Move domain policies into the policy-domains project. - Route legacy/compliant operational policies to one or all controller supporting the policy's policy type. - Enhancements to scripts to invoke commands external to the container. Issue-ID: POLICY-2388 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id41f04d10a28d2ea86bdd41334e499c28d0438ae Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-03-04Add feature-server-pool to the ONAP drools-pdp repository.Straubs, Ralph (rs8887)1-0/+30
Issue-ID: POLICY-2351 Change-Id: I8ddde547a73a51c04c8dd9f1d66232e8281599a9 Signed-off-by: Straubs, Ralph (rs8887) <rs8887@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 dockerjhh7-954/+289
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
2020-02-06Updating module names to resolve conflictsRam Krishna Verma4-5/+7
Issue-ID: POLICY-2355 Change-Id: I64b6cd06186152a08df9b8bd11c21c154067fab1 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-01-29Parameterize mvn repo urls and proxy settingsRashmi Pujar5-62/+51
This allows the users to build the docker images for drools-pdp and drools-application using their own CI pipelines if needed. Issue-ID: POLICY-2330 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: I9ea0161b45d504be4e65a21c95e48dee4a78de3a
2020-01-17Comment from 100393 reviewjhh1-679/+667
Missed 2020 year update in license of docker-install.sh: https://gerrit.onap.org/r/#/c/policy/drools-pdp/+/100393 Issue-ID: POLICY-1586 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1b2e67a5444597a71f2402638dd5784e72b64137 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-01-16Remove java 1.8 checkjhh1-46/+0
Issue-ID: POLICY-1586 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I19be48676da8bfd56122ea410539147f5a5f1746
2020-01-16Merge "Update sonar config"Ram Krishna Verma1-1/+7
2020-01-15Update drools-pdp for java11 dockerJim Hahn2-5/+3
Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I8a69268bf240e267a0a693992112707a4d503b73
2020-01-15Update sonar configPamela Dragosh1-1/+7
Use parent configuration - exclude non-code sub-modules. Issue-ID: POLICY-2321 Change-Id: If0219d492761f34341d41815684ff91b81064263 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-08Enabling logback file to be loaded using oom configmapa.sreekumar1-0/+6
Change-Id: I4828559ff62ffc3ee41f89448a6f7e9914a2a0ba Issue-ID: POLICY-2308 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-12-09base changes to support offline pdpdjhh3-130/+111
Issue-ID: POLICY-2191 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6f8029c1c771905357971331988a9b8408a93f10 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-12-04Add PdpGroup to drools sample base.confJim Hahn1-0/+1
When PDPs register with PAP, they now have to specify their PDP group. Added the default group to the config file. Issue-ID: POLICY-2232 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I8c838012b6c46ad59ca4dde502ec1d61c974ac41
2019-11-19Build tar.gz without requiring docker image buildjhh1-1/+5
This allows the tar.gz to be released by LF jobs. Issue-ID: POLICY-2250 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I141921a78a55961ce9ee9b16a71c2cc0b6bddc26
2019-11-08Do not hardcode io.fabric8 pluginPamela Dragosh1-1/+0
policy/parent now has this plugin defined Issue-ID: POLICY-2222 Change-Id: I35942b21ff4863c844023400d55be1a6177acb76 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-10-24Symmetric Key configurationjhh1-0/+4
Issue-ID: POLICY-1945 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I58de93f031bd6482f928be70fc7114ad0a04f0a5
2019-09-10Bump versions for drools-pdp masterJim Hahn4-4/+4
Change-Id: I9882ab12334dc4b548de527ab2d7dbfc22177113 Issue-ID: POLICY-2045 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-08-29remove staging profile from settings.xmljhh1-21/+0
Issue-ID: POLICY-1371 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I969b69386f307669d0d5f70e8618f0e56552d133
2019-08-26optionally source .conf filesjhh1-6/+5
.conf files are now optional as environment variables can be used instead without needing a .conf. Issue-ID: POLICY-1371 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2cec20fe40d3bfd020e40c9925760de022d4ef34
2019-08-22update keystorejhh1-0/+0
Issue-ID: POLICY-1988 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia823e0439a0749719118a18e296c70cce501b968 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-08-07Bump version of drools-pdpJim Hahn4-4/+4
Updated the remaining *.pom files. Updated java test file that uses the version. Changed versions in *.pom files to all be 1.0.0. Change-Id: Ia75cdfa5704b1e16b3c78e0257e619cd41220f93 Issue-ID: POLICY-1965 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-28Bump drools-pdp to 1.5.1-SNAPSHOTPamela Dragosh4-4/+4
Released 1.5.0 Issue-ID: POLICY-1737 Change-Id: I2ebc4255aa7b03b1c402e825bfb714224fb7db84 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-11Use io.fabric8:docker-maven-plugin to build and push docker imagesRashmi Pujar4-87/+152
Addressed POLICY-1808 for drools-pdp to fix the tag to be major.minor-SNAPSHOT-latest Issue-ID: POLICY-969 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: I21cd6080972ddf8cf357d6c134203b92fa9eb09b
2019-05-31Bump drools-pdp to version 1.5.0Jim Hahn4-4/+4
Change-Id: I6eb1f0e7dc2c0ac9b4f1594497c321aa57db8ecd Issue-ID: POLICY-1747 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-05-16Step snapshot version of drools-pdpliamfallon4-18/+18
Issue-ID: POLICY-1630 Change-Id: Ia77856077ae89f839aa930101c2002ac25f79595 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-05-13Ensure passive policies are injected when activejhh1-0/+1
Add vim package for testing support Change-Id: Icefcf8a57eea80b4fed97d4c63080f6159d8167a Issue-ID: POLICY-1748 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-28Change config dir owner to policy instead of rootjhh1-1/+1
Change-Id: I3318df8eb31568fe1c9ca06d588d18b355d7095b Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-26New BUILD_VERSION needed as fixed in parent imagejhh1-2/+2
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: I681726f76e0ccfe84406f1414cad85edbcae52a8 Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-26Add back BUILD_VERSION to Dockerfilejhh1-0/+2
It is needed by drools and drools applications images and were empty after using new base alpine images. Change-Id: I76c0e1b01b6edc49e9fc8f69fdef4fe3baa22e48 Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-25Manually pull the base alpine images.jhh1-1/+3
Undo directory creation of base image to preserve original layout pre-use of alpine common/base images. Change-Id: I0e95cc2d6d6da03be66e3b0c2413676539909bb0 Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-24Rebase image on policy-common-alpineDmitry Puzikov1-24/+12
Issue-ID: INT-1000 Change-Id: Ibd575b57c794a107d8fc890ffbe7303030984892 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>