liamfallon [Tue, 12 Apr 2022 15:50:02 +0000 (16:50 +0100)]
Update snapshot and/or references of policy/docker to latest snapshots
policy/docker updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Icf8d329eeb1713f6edd6cb94d45015c952b43a98
liamfallon [Tue, 12 Apr 2022 13:35:53 +0000 (14:35 +0100)]
Release docker images for policy/docker: 2.4.2
This commit releases docker images for repo policy/docker.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Iae849e2bec48513cfb66ccefc9ad1fcd83d6b409
liamfallon [Tue, 12 Apr 2022 12:10:56 +0000 (13:10 +0100)]
update parent references in policy/docker pom
updated the parent references in the policy/docker pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: If0a1895c5d0c0203bebf2ac99e6f9c1345bb8857
Rashmi Pujar [Fri, 8 Apr 2022 19:45:32 +0000 (15:45 -0400)]
Update apex-pdp CSIT tests to include metrics
Validate metrics as documented in
https://wiki.onap.org/display/DW/Policy+Framework%3A+Key+metrics+to+monitor
Issue-ID: POLICY-3766
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: Iac1c0298c8e9a35c5ef25aec15e3b9bcbabebf7e
waynedunican [Wed, 16 Mar 2022 08:10:54 +0000 (08:10 +0000)]
CSITs for db-migrator
- Added test to confirm databases are created
- Added test for api healthcehck
Issue-ID: POLICY-2715
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
Change-Id: I8ef9f67bf50d2fcbf7c7db2c78370f6b277e5993
adheli.tavares [Mon, 28 Mar 2022 11:29:01 +0000 (12:29 +0100)]
DB migrator fixes after smoke test
Issue-ID: POLICY-3999
Change-Id: I65d95cbfab4b49245bb68f2ca5067fda9437b531
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Ajith Sreekumar [Mon, 28 Mar 2022 09:12:20 +0000 (09:12 +0000)]
Merge "Add CSIT Test cases for api metrics"
Liam Fallon [Sat, 26 Mar 2022 17:48:33 +0000 (17:48 +0000)]
Merge "Start Participant containers after Runtime starts"
Prakhar Pandey [Fri, 25 Mar 2022 19:46:19 +0000 (15:46 -0400)]
Add CSIT Test cases for api metrics
Adding csit test cases for application level metrics exposed by api component.
Issue-ID: POLICY-3966
Signed-off-by: Prakhar Pandey <prakhar.pandey@bell.ca>
Change-Id: Iccaa1c8e55ddc5b9961371c85aa41a5371ada560
rameshiyer27 [Wed, 16 Mar 2022 10:36:33 +0000 (10:36 +0000)]
Add CSIT for metadataSet handling in api, pap, apex-pdp
Issue-ID: POLICY-3934
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Ieae62434a3477a7dc1bffccd829385df06592cec
Liam Fallon [Thu, 24 Mar 2022 21:29:15 +0000 (21:29 +0000)]
Merge "Add db migrator changes for tosca node templates"
Sirisha_Manchikanti [Tue, 22 Mar 2022 16:20:18 +0000 (16:20 +0000)]
Start Participant containers after Runtime starts
PARTICIPANT_REGISTER message from participants is getting lost, as
RUNTIME_ACM is not started completely. Adjusted CSIT bringup of
containers accordingly. This needs a correction in Participant
Intermediary for next release, Jira raised for the same
https://jira.onap.org/browse/POLICY-4042
Issue-ID: POLICY-4003
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I146fa5c2ae2090d504b7e665905ff2dba61097ef
Liam Fallon [Thu, 24 Mar 2022 09:17:46 +0000 (09:17 +0000)]
Merge "Fix postgres scripts"
Liam Fallon [Thu, 24 Mar 2022 09:17:33 +0000 (09:17 +0000)]
Merge "Added scripts for manual smoke testing"
rameshiyer27 [Wed, 23 Mar 2022 17:38:57 +0000 (17:38 +0000)]
Add db migrator changes for tosca node templates
Issue-ID: POLICY-3934
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Ie59a0658a42fb0ae2a3a289c35df0ffcf30d518e
waynedunican [Wed, 23 Mar 2022 08:28:21 +0000 (08:28 +0000)]
Fix postgres scripts
Fix for syntax errors in postgres scripts
Issue-ID: POLICY-2715
Change-Id: I109056f7ee37b439f914fbd5d1d0ca87df550e4e
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
saul.gill [Tue, 15 Mar 2022 11:56:01 +0000 (11:56 +0000)]
Added scripts for manual smoke testing
Added some scripts, docker compose and config files
This is to aid in manual smoke testing
Policy gui and policy backend have been added
Issue-ID: POLICY-4000
Change-Id: Ia89cab416b02ab034c65ba8224536cde2f65c0c5
Signed-off-by: saul.gill <saul.gill@est.tech>
jhh [Thu, 17 Mar 2022 22:40:24 +0000 (17:40 -0500)]
Reuse https environment flags drools csits
Issue-ID: POLICY-3995
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ic5eb0397c5f58169845bd07f4fb2d9ab5b039b6d
liamfallon [Wed, 9 Mar 2022 15:49:22 +0000 (15:49 +0000)]
Update snapshot and/or references of policy/docker to latest snapshots
policy/docker updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I5779febc813b6a2c663c1f2cd863df150f2c9837
liamfallon [Wed, 9 Mar 2022 15:33:37 +0000 (15:33 +0000)]
Release docker images for policy/docker: 2.4.1
This commit releases docker images for repo policy/docker.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I58560cab0e0ce75f72e46a2ee520959a5484e228
liamfallon [Wed, 9 Mar 2022 14:30:32 +0000 (14:30 +0000)]
update parent references in policy/docker pom
updated the parent references in the policy/docker pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I8c34842d1e73e9df4659d0b56c7e0d403cf7457f
jhh [Wed, 2 Mar 2022 16:13:38 +0000 (10:13 -0600)]
correct healthcheck parameters for drools apps
Issue-ID: POLICY-3977
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ib022569138c7ebcc37bc56838f5123188ba2fa43
Liam Fallon [Tue, 1 Mar 2022 19:44:46 +0000 (19:44 +0000)]
Merge "Update ACM Schema in db migrator"
a.sreekumar [Tue, 1 Mar 2022 11:03:17 +0000 (11:03 +0000)]
Configure aaf using a parameter in policy-pap
Change-Id: I1505f5a04da93de3f0f4c349080480625c4a377d
Issue-ID: POLICY-3975
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Lathish [Wed, 23 Feb 2022 10:49:41 +0000 (10:49 +0000)]
Update ACM Schema in db migrator
Issue-ID: POLICY-3944
Change-Id: If22c95d0fae99e6312ca7b079a5663476d3e06f0
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
Ram Krishna Verma [Fri, 25 Feb 2022 18:06:26 +0000 (13:06 -0500)]
Add csit tests for pap metrics
Adding csit tests for applications level metrics
exposed by pap component.
Issue-ID: POLICY-3965
Change-Id: I50cd37941514d2d18809d29f4c5447434bd5b180
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
adheli.tavares [Thu, 24 Feb 2022 09:54:30 +0000 (09:54 +0000)]
Provisioning of prometheus datasource and dashboards
- dashboard with details for micrometer(jvm, hikari, http requests) stats.
- dashboard with details for JVM consumption on basic levels.
Issue-ID: POLICY-3892
Change-Id: Ibe9c220c35755b9c60f2ef5d6c4b56849a9ba59a
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Liam Fallon [Thu, 24 Feb 2022 16:53:24 +0000 (16:53 +0000)]
Merge "Fix CLAMP controlloop CSIT testcases"
a.sreekumar [Thu, 24 Feb 2022 11:04:04 +0000 (11:04 +0000)]
Adding spring data properties to apiParameters
Change-Id: If95561b0d5fb01251458a0ce52880b836922c0ae
Issue-ID: POLICY-3923
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Sirisha_Manchikanti [Thu, 17 Feb 2022 17:55:21 +0000 (17:55 +0000)]
Fix CLAMP controlloop CSIT testcases
Made corrections according to the application yaml to fix CLAMP CSIT
testcases
Issue-ID: POLICY-3933
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I9dfb4ecb1a4dd1fa967aeafe341cddb38049d312
Ram Krishna Verma [Wed, 16 Feb 2022 17:16:50 +0000 (12:16 -0500)]
Use classes from policy/common
Use CustomImplicitNamingStrategy from policy/common.
Issue-ID: POLICY-3931
Change-Id: I69f556e0e5a6bdf60a0cef6b2d49a77289c4bb8d
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Liam Fallon [Thu, 17 Feb 2022 12:57:59 +0000 (12:57 +0000)]
Merge "Add docker configuration for Prometheus and Grafana"
a.sreekumar [Tue, 15 Feb 2022 18:20:01 +0000 (18:20 +0000)]
Fix issue with GeneratedValue in PfGeneratedIdKey
Until now, 'ID, name and version' was used as the primary key in
jpapolicyaudit and pdpstatistics tables. With this change, only ID will
be used as the PK.
The applications works with or without this change, as ID was the only
field which was always unique. "name" and "version" are mostly
duplicates (policyName in case of jpapolicyaudit & pdpName in case of
pdpstatistics table).
Pushing this change anyway to keep the tables consistent
with the entity classes.
Change-Id: I34a7582ed9c74fa0ead8fce2e86ac2ce1ecacf1e
Issue-ID: POLICY-3897
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
adheli.tavares [Wed, 2 Feb 2022 14:53:10 +0000 (14:53 +0000)]
Add docker configuration for Prometheus and Grafana
- docker compose file with the policy components
- configuration files for components to allow usage of http
- basic prometheus configuration to connect to api, pap, drools (apps/pdp), xaclm and apex
- examples of metrics to be added to a dashboard in Grafana
Issue-ID: POLICY-3886
Change-Id: Ic377b69b1a296017a85cb08ccdbbf9b8b281d8e3
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Lathish [Tue, 15 Feb 2022 13:57:28 +0000 (19:27 +0530)]
Disable helm endpoints by default in csit
Issue-ID: POLICY-3894
Change-Id: I83684c6d75ab4bfd5b6a5dfb1c5caabf6ae70d2a
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
a.sreekumar [Mon, 14 Feb 2022 13:51:34 +0000 (13:51 +0000)]
Fix policy-api CSIT test
Change-Id: Idd7fd933f10dabaa203ec498996aa772facddac9
Issue-ID: POLICY-3753
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
a.sreekumar [Wed, 9 Feb 2022 12:19:54 +0000 (12:19 +0000)]
Move PAP database provider to spring boot default
Change-Id: I5a743a8e666978c0aa0a7fc833e846379780c94b
Issue-ID: POLICY-3867
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Liam Fallon [Mon, 7 Feb 2022 17:19:31 +0000 (17:19 +0000)]
Merge "Fix spring datasource configuration for pap container"
Liam Fallon [Mon, 7 Feb 2022 17:18:21 +0000 (17:18 +0000)]
Merge "Fix failing build in jdk base image"
adheli.tavares [Mon, 7 Feb 2022 08:52:04 +0000 (08:52 +0000)]
Fix spring datasource configuration for pap container
Issue-ID: POLICY-3914
Change-Id: Iddb985161ecd51ad3f2b17ae6ac13d2825b67bec
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Liam Fallon [Mon, 7 Feb 2022 11:56:21 +0000 (11:56 +0000)]
Merge "Modified db-migrator to allow configuration of database"
saul.gill [Mon, 7 Feb 2022 09:19:55 +0000 (09:19 +0000)]
Fix failing build in jdk base image
Fix originally put in drools-pdp
Upgraded Python pip package as was causing build failure
Issue-ID: POLICY-3905
Change-Id: Ib5320790914a6a1344ae0548aeda3c7cf4585734
Signed-off-by: saul.gill <saul.gill@est.tech>
waynedunican [Fri, 4 Feb 2022 08:36:13 +0000 (08:36 +0000)]
Add upgrade/downgrade scripts for postgres in db-migrator
- Jakarta upgrade scripts
- Jakarta downgrade scripts
Issue-ID: POLICY-2715
Change-Id: I1dbe902644ce392ef0823022a256cf37cc499a3e
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
Liam Fallon [Wed, 2 Feb 2022 12:35:59 +0000 (12:35 +0000)]
Merge "Add upgrade/downgrade scripts for postgres in db-migrator"
Liam Fallon [Wed, 2 Feb 2022 12:35:47 +0000 (12:35 +0000)]
Merge "Add upgrade/downgrade scripts for postgres in db-migrator"
Liam Fallon [Wed, 2 Feb 2022 12:35:32 +0000 (12:35 +0000)]
Merge "Add upgrade/downgrade scripts for postgres in db-migrator"
waynedunican [Tue, 4 Jan 2022 19:48:11 +0000 (19:48 +0000)]
Modified db-migrator to allow configuration of database
- Updated the Dockerfile to include postgres sql
and to copy postgres scripts
- Added db-migrator-pg script for postgres installation
- Updated prepare upgrade/downgrade scripts
Issue-ID: POLICY-2715
Change-Id: Ib8d3523e8445ad1528fe225c96acdac5ca61535d
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
Ram Krishna Verma [Mon, 24 Jan 2022 21:53:04 +0000 (16:53 -0500)]
Add testcase for app metrics exposed by distribution
Adding testcases to verify the application level
metrics exposed by policy-distribution component.
Issue-ID: POLICY-3759
Change-Id: I3cbc36011c358dc9f52aa01c663eb8ff02a6323a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
waynedunican [Fri, 7 Jan 2022 09:33:06 +0000 (09:33 +0000)]
Add upgrade/downgrade scripts for postgres in db-migrator
- Honolulu upgrade scripts
Issue-ID: POLICY-2715
Change-Id: I1cec6f16c4797bd1ce34d506173d28ae48e36801
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
waynedunican [Thu, 6 Jan 2022 14:22:57 +0000 (14:22 +0000)]
Add upgrade/downgrade scripts for postgres in db-migrator
- Honolulu downgrade scripts
Issue-ID: POLICY-2715
Change-Id: Id3c242311868898d32c3d2e92427cf687a1d7cc1
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
waynedunican [Tue, 11 Jan 2022 09:20:28 +0000 (09:20 +0000)]
Add upgrade/downgrade scripts for postgres in db-migrator
- Istanbul upgrade scripts
- Istanbul downgrade scripts
Issue-ID: POLICY-2715
Change-Id: I0dcfd11acaf5971581db081f2ff18b7657d0c7af
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
a.sreekumar [Mon, 10 Jan 2022 14:42:00 +0000 (14:42 +0000)]
Fix issues in existing entity classes
Change-Id: I862a5c413f5cf4d0e472a527cd6dc5a32c28459c
Issue-ID: POLICY-3871
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
a.sreekumar [Fri, 10 Dec 2021 17:17:20 +0000 (17:17 +0000)]
PAP CSIT changes for spring boot migration
Change-Id: I0b0df4769240e4ca1512b6c2acba25d59734ffe3
Issue-ID: POLICY-3754
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
liamfallon [Thu, 2 Dec 2021 15:53:51 +0000 (15:53 +0000)]
Update snapshot and/or references of policy/docker to latest snapshots
*** This commit is generated by a PF release script ***
policy/docker updated to its latest own and reference snapshots
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ida135b26a2480447b083582e5def0b5ef7bb71ec
liamfallon [Wed, 24 Nov 2021 16:34:17 +0000 (16:34 +0000)]
Update snapshot of policy/docker to 2.4.1-SNAPSHOT
*** This commit is generated by a PF release script ***
This commit updates the snapshot of the repo to the next patch version.
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I838765b413507978fff7dffce324df3f9f7e9dcf
liamfallon [Tue, 23 Nov 2021 15:21:08 +0000 (15:21 +0000)]
Release policy/docker: 2.4.0
*** Release Phase 4: This commit is generated by a PF release script ***
This is the fourth phase in releasing images, it releases policy/docker.
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ifde13f3194bba4290c7635ca23180086d5d12684
liamfallon [Tue, 23 Nov 2021 11:50:07 +0000 (11:50 +0000)]
Update policy/parent to 3.5.0 on policy/docker
*** This commit is generated by a PF release script ***
This commit updates the version of policy/parent
to the latest released version.
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I3a036abb092ec6bf6ae6f61d82c1da7cf5c15df1
saul.gill [Wed, 10 Nov 2021 14:44:57 +0000 (14:44 +0000)]
Fixed policy participant config to use https
Changed to use "useHttps" instead of "https"
Changed username for api and pap from "healthcheck" to "policyadmin"
Added config to bind mount for policy participant
Issue-ID: POLICY-3817
Change-Id: I7470ea45ebb769a8781b76422626e13b5eb515bd
Signed-off-by: saul.gill <saul.gill@est.tech>
adheli.tavares [Mon, 1 Nov 2021 10:40:32 +0000 (10:40 +0000)]
Rename username for API and PAP operations.
Use an account other than healthcheck in API and PAP for provisioning of policies.
Issue-ID: POLICY-2744
Change-Id: Id2cbba8e5e5095996622572fbf42383bb854fb43
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Ram Krishna Verma [Mon, 25 Oct 2021 22:22:45 +0000 (18:22 -0400)]
Point to snapshot dependency
Issue-ID: POLICY-3788
Change-Id: Ic9e9da13fc7cfdedebf81d8a6cc2a7190d8790b2
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
a.sreekumar [Wed, 20 Oct 2021 16:28:04 +0000 (17:28 +0100)]
Improving APEX-PDP CSIT tests
Change-Id: I06023f9b7555b23b007aadd20e87fb4e59c9980c
Issue-ID: POLICY-3709
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
a.sreekumar [Tue, 19 Oct 2021 11:38:04 +0000 (12:38 +0100)]
Fixing the version fetch problem in Policy CSITs
The script that fetches the latest version in policy-docker/csit
currently support only the image versions in format:
<1 digit major version>.<1 digit minor version>-SNAPSHOT-latest
But this started failing now as drool jakarta version is "1.10.0".
This is fixed.
Change-Id: I1cba3beaa00628ec435f2aaef527a7f6318193bf
Issue-ID: POLICY-3749
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
liamfallon [Thu, 14 Oct 2021 09:31:43 +0000 (10:31 +0100)]
Bump policy/docker to Jakarta 2.4.0-SNAPSHOT
Issue-ID: POLICY-3696
Change-Id: I48777921ed97ec578fb797521c6dd1240a116d4b
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 14 Oct 2021 08:46:20 +0000 (09:46 +0100)]
Bump policy/docker to 2.3.2-SNAPSHOT
Issue-ID: POLICY-3696
Change-Id: Id00233078bb6add59e5c90311cc78d7a4f29490d
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Tue, 12 Oct 2021 21:56:21 +0000 (22:56 +0100)]
Release policy/docker images version 2.3.1
Issue-ID: POLICY-3696
Change-Id: I90cf8e4064b77e530b88d4a88c19caadc574ba23
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Tue, 12 Oct 2021 16:22:22 +0000 (17:22 +0100)]
Update parent version, jdk version in db-migrator
Issue-ID: POLICY-3696
Change-Id: I827bdd238ab51a1798dab3d83f088377be7949ff
Signed-off-by: liamfallon <liam.fallon@est.tech>
a.sreekumar [Fri, 8 Oct 2021 09:17:42 +0000 (10:17 +0100)]
Fixing policy-models-simulators helm chart
Change-Id: I137be6241f934729d3452e308e24c454500ec86a
Issue-ID: POLICY-3655
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Sirisha_Manchikanti [Fri, 17 Sep 2021 16:33:11 +0000 (17:33 +0100)]
Add http and k8s participant to CSIT
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
ktimoney [Tue, 28 Sep 2021 09:37:39 +0000 (10:37 +0100)]
Retain datetime precision on downgrade
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>
ktimoney [Fri, 24 Sep 2021 07:07:55 +0000 (08:07 +0100)]
Modify pdpstatistics to prevent duplicate keys
Update timeStamp column in pdpstatistics to include microseconds.
Issue-ID: POLICY-3679
Change-Id: Ibf622b090b1cd914413f79c663db8128263c4ac2
Signed-off-by: ktimoney <kevin.timoney@est.tech>
ktimoney [Mon, 20 Sep 2021 16:20:51 +0000 (17:20 +0100)]
Update db-migrator version checks
DB-Migrator job completes even during failed upgrade
Issue-ID: POLICY-3660
Change-Id: I7295c740853e4dd533e989faa3dddebab4d4ccab
Signed-off-by: ktimoney <kevin.timoney@est.tech>
liamfallon [Thu, 9 Sep 2021 20:53:58 +0000 (21:53 +0100)]
Remove blank line from INFO.yaml
Issue-ID: POLICY-3587
Change-Id: Ie5f862a6030b2db250b0bdf39ec89d58213093c5
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 9 Sep 2021 15:13:29 +0000 (16:13 +0100)]
Point at released policy-parent
Issue-ID: POLICY-3587
Change-Id: I36ba5d9d3ccedd5ce256fdfa3b23a52b3b150f55
Signed-off-by: liamfallon <liam.fallon@est.tech>
Pamela Dragosh [Thu, 9 Sep 2021 13:38:35 +0000 (13:38 +0000)]
Merge "Update INFO.yaml"
liamfallon [Wed, 8 Sep 2021 12:07:41 +0000 (13:07 +0100)]
Update INFO.yaml
Update the INFO.yaml file with latest information.
Issue-ID: POLICY-3552
Change-Id: Ie57f51e435b0e8caaf56524fc092e43c7ed79653
Signed-off-by: liamfallon <liam.fallon@est.tech>
Jim Hahn [Wed, 1 Sep 2021 16:59:49 +0000 (16:59 +0000)]
Merge "Update default value of LASTUPDATE in pdp table"
Ram Krishna Verma [Tue, 31 Aug 2021 21:11:06 +0000 (17:11 -0400)]
Add CSIT test for consolidated healthcheck
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>
ktimoney [Tue, 31 Aug 2021 14:17:53 +0000 (15:17 +0100)]
Update default value of LASTUPDATE in pdp table
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>
jhh [Mon, 30 Aug 2021 22:24:59 +0000 (17:24 -0500)]
Use env variables in drools/drools-apps CSITs
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>
Ajith Sreekumar [Thu, 26 Aug 2021 11:32:58 +0000 (11:32 +0000)]
Merge "Bump docker to 2.3.1"
Ajith Sreekumar [Thu, 26 Aug 2021 08:52:57 +0000 (08:52 +0000)]
Merge "Update CSITs for metrics + refactoring"
Jim Hahn [Wed, 25 Aug 2021 22:10:32 +0000 (22:10 +0000)]
Merge "Update pdp_enginestats records during upgrade/downgrade"
Jim Hahn [Wed, 25 Aug 2021 16:38:21 +0000 (12:38 -0400)]
Bump docker to 2.3.1
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>
Jim Hahn [Wed, 25 Aug 2021 16:28:31 +0000 (12:28 -0400)]
Release docker 2.3.0 images
Issue-ID: POLICY-3587
Change-Id: I27d917e77b32bb9bf405f45caf3b04f802e7ba6d
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Wed, 25 Aug 2021 14:03:50 +0000 (10:03 -0400)]
Use release versions in docker
Issue-ID: POLICY-3587
Change-Id: I49396f998f623bdb384c67891d770de0caafc79c
Signed-off-by: Jim Hahn <jrh3@att.com>
ktimoney [Wed, 25 Aug 2021 11:14:54 +0000 (12:14 +0100)]
Update pdp_enginestats records during upgrade/downgrade
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>
a.sreekumar [Fri, 20 Aug 2021 16:39:53 +0000 (17:39 +0100)]
Update CSITs for metrics + refactoring
Change-Id: I5d090765ff29143f689c6754a7a1ad55dae1c1b4
Issue-ID: POLICY-3524
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Jim Hahn [Tue, 24 Aug 2021 21:13:35 +0000 (17:13 -0400)]
Fix drools-apps CSIT
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>
ktimoney [Mon, 23 Aug 2021 14:07:18 +0000 (15:07 +0100)]
Update METADATA table names for policy/docker db-migrator
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>
adheli.tavares [Fri, 20 Aug 2021 13:44:30 +0000 (14:44 +0100)]
Update pdpstatistics with IDs for change of PK.
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>
Jim Hahn [Wed, 18 Aug 2021 21:12:56 +0000 (17:12 -0400)]
Fix CSIT migrator version
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>
adheli.tavares [Thu, 12 Aug 2021 15:51:19 +0000 (16:51 +0100)]
Upgrade/downgrade on existent tables and indexes.
Issue-ID: POLICY-3535
Change-Id: I755bb0f279f4255eb9c452b9f569a88de69e14f2
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Jim Hahn [Wed, 18 Aug 2021 13:26:49 +0000 (13:26 +0000)]
Merge "Add db-migrator to CSIT tests"
Jim Hahn [Tue, 17 Aug 2021 14:40:25 +0000 (10:40 -0400)]
Remove EPL-1.0 license
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>
ktimoney [Mon, 9 Aug 2021 16:23:35 +0000 (17:23 +0100)]
Add db-migrator to CSIT tests
Issue-ID: POLICY-3491
Change-Id: I987986da7325a040b80b031ae4e7fbf9776c4c54
Signed-off-by: ktimoney <kevin.timoney@est.tech>
Taka Cho [Tue, 10 Aug 2021 17:38:45 +0000 (13:38 -0400)]
use url resource for docker-tag -- docker
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>
Ajith Sreekumar [Mon, 9 Aug 2021 14:18:15 +0000 (14:18 +0000)]
Merge "Add db-migrator to CSIT"
ktimoney [Mon, 9 Aug 2021 09:39:10 +0000 (10:39 +0100)]
Add db-migrator to CSIT
Update file permissions for db-migrator scripts
Issue-ID: POLICY-3491
Change-Id: I6895d27cb45dcdb9faa94ef5dc5e97b610ba3509
Signed-off-by: ktimoney <kevin.timoney@est.tech>
Taka Cho [Thu, 5 Aug 2021 18:23:13 +0000 (14:23 -0400)]
move docker-build groovy script to docker repo
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>
Ram Krishna Verma [Tue, 3 Aug 2021 14:14:46 +0000 (10:14 -0400)]
Refactor pap csit test cases
Refactored pap csit test cases to
* remove code duplication
* create methods for rest call
* improve assertions
* make it easy to add new test cases
Issue-ID: POLICY-3525
Change-Id: I60a5a9128ca6e97044d5de13fb14610d721c78d2
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>