aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-09-13Convert CSIT tests to use HTTP rather than HTTPSliamfallon43-389/+788
This commit converts the CSITs from HTTPS to HTTP. It also does some refactoring and tidying up on the CSIT environment. Issue-ID: POLICY-4338 Change-Id: I02afa5c7a585470fa0bda521e97bf1cdcf6a95c2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-11Update PF base imageliamfallon1-1/+1
Update PF base image to snapshot Issue-ID: POLICY-4338 Change-Id: I32860edda6671ca91db68a57980ae4dcd644c458 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-07Fix CSITs in istanbul releaseliamfallon2-12/+12
The problem with installing the robot framework is also in this release. Issue-ID: POLICY-4350 Change-Id: I4c2d991eb41ddaa89280fc32b1c0d03c9ab3b0ff Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-05Fix broken CSIT testsliamfallon9-18/+161
The CSITs are all failing due to a problem in the cert generation. This review disables cert generation and copies in certs as a temporary fix. In JIRA POLICY-4338 we are converting the CSITs to use HTTP so that will be the eventual solution for this issue. See also: https://gerrit.onap.org/r/c/policy/docker/+/130624 Issue-ID: POLICY-4350 Change-Id: I97dbdcce9919bbc98632174a5bb7afe84c1a8f4c Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-07-11Merge "update policy models references" into istanbulLiam Fallon1-1/+1
2022-07-11update policy models referencesliamfallon1-1/+1
updated policy models references *** This commit is generated by a PF release script *** Issue-ID: POLICY-4233 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icc5ce25d1a09f6002192718ee0081d739d727ea6
2022-07-11Make CSIT scripts locally executableliamfallon15-0/+0
The CSIT scripts do not have their executable flags set, this change makes the scripts locally executable. Issue-ID: POLICY-4233 Change-Id: I3865a4122546a7dc79f46349e30bbad23bbb4247 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-07-08Update detmVers script for snapshotsliamfallon5-63/+124
The current script assumes that snapshot versions are always available. However the Linux Foundation has now implemented a policy of deleting snapshots on no-master branches that are older than a certain age. THis breaks our CSITs. THis updated script copes with this by checking if a snapshot is avaialable and, if the snapshot is not available, the script falls back to the released version. This script will be needed on other branches besides master as well. Issue-ID: POLICY-4233 Change-Id: Ie80756eb1d3abceb31ed3f697f1ebc9643cea51e Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-02-28Update snapshot and/or references of policy/docker to latest snapshotsliamfallon7-8/+8
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-3958 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I00221c83e492c4c873bc9a3dfcd6e4352217a635
2022-02-28Release docker images for policy/docker: 2.3.2liamfallon1-0/+12
This commit releases docker images for repo policy/docker. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3958 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ib36445915f941434201e1bc7a1b9b1caf899f506
2022-02-26update parent references in policy/docker pom9.0.1-ONAP2.3.2liamfallon1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-3958 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I545ff9dc5ea971a01a9a8e2206cadf3b479ab4ca
2021-11-12Fixed policy participant config to use https9.0.0-ONAPsaul.gill2-2/+3
Changed to use "useHttps" instead of "https" Added config to bind mount for policy participant Issue-ID: POLICY-3817 Change-Id: I7470ea45ebb769a8781b76422626e13b5eb515bd Signed-off-by: saul.gill <saul.gill@est.tech> (cherry picked from commit d6803f7f1551fa2382a61d265388c537bdb76d5d)
2021-10-25Point to Istanbul snapshot dependencyRam Krishna Verma1-1/+1
Issue-ID: POLICY-3788 Change-Id: Iabc4ea8131d246c6544335807ed9a36532c2e092 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-14Change policy-docker default branch on istanbula.sreekumar1-1/+1
Change-Id: I7d1f2673266104ae117172759fcd7fde937f5180 Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Bump policy/docker to 2.3.2-SNAPSHOTliamfallon7-7/+7
Issue-ID: POLICY-3696 Change-Id: Id00233078bb6add59e5c90311cc78d7a4f29490d Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-12Release policy/docker images version 2.3.1liamfallon1-0/+12
Issue-ID: POLICY-3696 Change-Id: I90cf8e4064b77e530b88d4a88c19caadc574ba23 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-12Update parent version, jdk version in db-migrator2.3.1liamfallon2-2/+2
Issue-ID: POLICY-3696 Change-Id: I827bdd238ab51a1798dab3d83f088377be7949ff Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-08Fixing policy-models-simulators helm charta.sreekumar1-5/+4
Change-Id: I137be6241f934729d3452e308e24c454500ec86a Issue-ID: POLICY-3655 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-09-30Add http and k8s participant to CSITSirisha_Manchikanti12-360/+841
Add HTTP and Kubernetes participant to policy/docker/csit Issue-ID: POLICY-3413 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Id87dca9ba6487b2f12e9d036136ea553d2b67a23
2021-09-28Retain datetime precision on downgradektimoney2-2/+2
Retain datetime precision during downgrade operation to prevent duplicate keys in pdpstatistics Issue-ID: POLICY-3679 Change-Id: Ic93519b9420f0f77c3af7b63d3963f1971d77c37 Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-09-27Modify pdpstatistics to prevent duplicate keysktimoney1-1/+1
Update timeStamp column in pdpstatistics to include microseconds. Issue-ID: POLICY-3679 Change-Id: Ibf622b090b1cd914413f79c663db8128263c4ac2 Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-09-21Update db-migrator version checksktimoney1-42/+35
DB-Migrator job completes even during failed upgrade Issue-ID: POLICY-3660 Change-Id: I7295c740853e4dd533e989faa3dddebab4d4ccab Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-09-09Remove blank line from INFO.yamlliamfallon1-1/+0
Issue-ID: POLICY-3587 Change-Id: Ie5f862a6030b2db250b0bdf39ec89d58213093c5 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Point at released policy-parentliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: I36ba5d9d3ccedd5ce256fdfa3b23a52b3b150f55 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Merge "Update INFO.yaml"Pamela Dragosh1-11/+15
2021-09-08Update INFO.yamlliamfallon1-11/+15
Update the INFO.yaml file with latest information. Issue-ID: POLICY-3552 Change-Id: Ie57f51e435b0e8caaf56524fc092e43c7ed79653 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-01Merge "Update default value of LASTUPDATE in pdp table"Jim Hahn1-1/+1
2021-08-31Add CSIT test for consolidated healthcheckRam Krishna Verma3-0/+143
Adding CSIT test for consolidated healthcheck. Also, verifying the an external groups file can be mounted to replace PapDb.json present inside the docker image for database initialization. Issue-ID: POLICY-3609 Change-Id: Icf2585d9d9df7e820fbddfbd1fe044b5a9e29cb3 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-31Update default value of LASTUPDATE in pdp tablektimoney1-1/+1
Update LASTUPDATE column in pdp table to use CURRENT_TIMESTAMP as default value Issue-ID: POLICY-3608 Change-Id: I28d267729ab3959a0d4602a4129737d6d8029f86 Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-08-30Use env variables in drools/drools-apps CSITsjhh4-97/+6
Issue-ID: POLICY-3199 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iefd75ae810c7b91b8cc37469b1169031346b2c4e Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-08-26Merge "Bump docker to 2.3.1"Ajith Sreekumar8-8/+8
2021-08-26Merge "Update CSITs for metrics + refactoring"Ajith Sreekumar16-283/+253
2021-08-25Merge "Update pdp_enginestats records during upgrade/downgrade"Jim Hahn28-54/+98
2021-08-25Bump docker to 2.3.1Jim Hahn8-8/+8
Also changed db-migrator to base off of 2.3.0 jre-alpine version. (We have a "chicken and egg" problem where the migrator can't point to the current docker version, as it hasn't been released yet, thus pointing it to the latest released version, which is one back.) Issue-ID: POLICY-3587 Change-Id: Idf34e9c6a724e31f16636388e239bed059c5dd3e Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-25Release docker 2.3.0 imagesJim Hahn1-0/+12
Issue-ID: POLICY-3587 Change-Id: I27d917e77b32bb9bf405f45caf3b04f802e7ba6d Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-25Use release versions in docker2.3.0Jim Hahn1-1/+1
Issue-ID: POLICY-3587 Change-Id: I49396f998f623bdb384c67891d770de0caafc79c Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-25Update pdp_enginestats records during upgrade/downgradektimoney28-54/+98
Updates to pdpstatistics have a knock on effect on pdp_enginestats. Table data needs to updated to ensure records are in sync Issue-ID: POLICY-3583 Change-Id: Id7408beceb47e540e933e8ccc0ff05095f8da85b Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-08-25Update CSITs for metrics + refactoringa.sreekumar16-283/+253
Change-Id: I5d090765ff29143f689c6754a7a1ad55dae1c1b4 Issue-ID: POLICY-3524 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-08-24Fix drools-apps CSITJim Hahn2-3/+18
Appears the the drools-apps healthcheck server now launches with https disabled, by default. The CSITs expect it to be enabled, so added a property to enable it. Issue-ID: POLICY-3553 Change-Id: Ia10e103d4e3964c3dbf28b7f6db19f6dd6ddb9c1 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-23Update METADATA table names for policy/docker db-migratorktimoney1-2/+2
METADATA tables for policy/docker db-migrator should be different than counterpart in policy/drools-pdp seed Issue-ID: POLICY-3547 Change-Id: Ie0c6ebf286ed410433014106425626cee55f222e Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-08-20Update pdpstatistics with IDs for change of PK.adheli.tavares3-1/+5
Update the new created ID column with values when changing pdpstatistics PK composition. Issue-ID: POLICY-3546 Change-Id: I53939557700237ccc7ab21e4069bd82ec6a4a4cf Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-08-18Fix CSIT migrator versionJim Hahn1-1/+1
Modified the CSIT to only use the first two digits when selecting the db-migrator version. Issue-ID: POLICY-3535 Change-Id: Ic3539d87806ec9115fbad5e39498b3215cd25045 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-18Upgrade/downgrade on existent tables and indexes.adheli.tavares27-74/+340
Issue-ID: POLICY-3535 Change-Id: I755bb0f279f4255eb9c452b9f569a88de69e14f2 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-08-18Merge "Add db-migrator to CSIT tests"Jim Hahn3-2/+65
2021-08-17Remove EPL-1.0 licenseJim Hahn1-16/+18
ONAP does not allow code containing an EPL-1.0 license. To address this, the offending file was re-cloned, this time from ci-management, which does not contain the EPL-1.0 license. Issue-ID: POLICY-3431 Change-Id: Idd973e71beb57d55b7086f52abefd3bc5c5de65d Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-12Add db-migrator to CSIT testsktimoney3-2/+65
Issue-ID: POLICY-3491 Change-Id: I987986da7325a040b80b031ae4e7fbf9776c4c54 Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-08-10use url resource for docker-tag -- dockerTaka Cho4-58/+16
use groovy url resource from docker repo to identify the tag for docker With this change, the "SNAPSHOT-latest" docker tag will change from "2.3.0-SNAPSHOT-latest" to "2.3-SNAPSHOT-latest" for jdk/jre alpine base image as well as db_migrator docker. Also fix a bug in println groovy script. Issue-ID: POLICY-3378 Change-Id: I72bd15e2535f688629ee5f1a823409d8fe83cdb1 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-08-09Merge "Add db-migrator to CSIT"Ajith Sreekumar3-0/+0
2021-08-09Add db-migrator to CSITktimoney3-0/+0
Update file permissions for db-migrator scripts Issue-ID: POLICY-3491 Change-Id: I6895d27cb45dcdb9faa94ef5dc5e97b610ba3509 Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-08-06move docker-build groovy script to docker repoTaka Cho1-0/+34
For all docker builds, policy is using groovy-maven-plugin to run a groovy script to determine the tag for docker. The plan is: 1, move docker-tag groovy script to docker repo. 2, change source for groovy-maven-plugin to a URL below, that will point to the source code from step #1. <configuration> <source>https://raw.githubusercontent.com/onap /policy-docker/master/utils/groovy /docker-tag.groovy</source> </configuration> Issue-ID: POLICY-3378 Change-Id: Iff1f09e5ae47205240305b09602c49d403fad98f Signed-off-by: Taka Cho <takamune.cho@att.com>