jhh [Sat, 1 Oct 2022 17:55:53 +0000 (12:55 -0500)]
Track configurable parameters in CSITs
Issue-ID: POLICY-3464
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I5cc0445eb811bb584bc29342157874eec04b9777
jhh [Mon, 26 Sep 2022 16:21:11 +0000 (11:21 -0500)]
db-migrator SQL compatibility mysql/mariadb
Issue-ID: POLICY-3464
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I6b1fd22062ca4f55c036bc2632307454a1f00840
Ramesh Murugan Iyer [Mon, 26 Sep 2022 05:22:42 +0000 (05:22 +0000)]
Merge "Support onap..tcagen2 v2.0.0 and mysql 8.x"
jhh [Fri, 23 Sep 2022 13:32:21 +0000 (08:32 -0500)]
Allow for mysql command flags in db-migrator
For example by setting the env var to
MYSQL_CMD="mysql --ssl"
Issue-ID: POLICY-4182
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: If7298fb2ea01f15324a526e49f2ec860d29f8d31
jhh [Thu, 18 Aug 2022 00:20:27 +0000 (19:20 -0500)]
Support onap..tcagen2 v2.0.0 and mysql 8.x
Issue-ID: POLICY-4317
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Idf1b05c11edd061cdd6f52e5051b7a6a0fd1884e
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
liamfallon [Thu, 22 Sep 2022 18:28:26 +0000 (19:28 +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-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I57d1adc21b8fedd6346edd467f524a6849632429
liamfallon [Thu, 22 Sep 2022 16:53:46 +0000 (17:53 +0100)]
Release docker images for policy/docker: 2.5.0
This commit releases docker images for repo policy/docker.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I1f49de3453d55956381da850c3df4bd993286c60
liamfallon [Thu, 22 Sep 2022 13:34:34 +0000 (14:34 +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-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I50a42992090a865fc5f78249a2e2258b761ec35d
adheli.tavares [Wed, 14 Sep 2022 19:34:03 +0000 (20:34 +0100)]
Change the properties column type to hibernate/postgres match.
- changing the type to bigint because pap was having side effects
errors with the bytea forced cast
Issue-ID: POLICY-4352
Change-Id: I368c3ba80fce0c10d9417deee8f9ac25c467d4e3
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Liam Fallon [Fri, 9 Sep 2022 13:12:47 +0000 (13:12 +0000)]
Merge "Fix minor issues with CSITs"
liamfallon [Thu, 8 Sep 2022 23:18:33 +0000 (00:18 +0100)]
Fix minor issues with CSITs
Issue-ID: POLICY-4350
Change-Id: I2bbc47122aa5984fbe3f03edc252ea56e47dba73
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Fri, 9 Sep 2022 08:59:23 +0000 (09:59 +0100)]
Remove inactive committers from INFO.yaml
Remove inactive committers from INFO.yaml
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4354
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I69e5ad6d76059d3ca16d748fb08fa0bc17f5ad93
Signed-off-by: liamfallon <liam.fallon@est.tech>
Liam Fallon [Thu, 8 Sep 2022 21:24:26 +0000 (21:24 +0000)]
Merge "Improve debugging support for CSITs"
liamfallon [Thu, 8 Sep 2022 16:32:59 +0000 (17:32 +0100)]
Build ONAP base image locally on ARM architecture
This commit forces a build o the ONAP images locally when a build is run
on ARM architecture.
Issue-ID: POLICY-4287
Change-Id: I47dd5293ef6bf0051ba074eff2a95d6b3266c871
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 8 Sep 2022 08:56:47 +0000 (09:56 +0100)]
Improve debugging support for CSITs
The following improvements are added:
- "docker ps" command added to the wait_for_port.sh script
tp show status of the containers coming up and down
- "docker-compose logs" added to the end of the test runs
to print out the standard output from the containers
- Add standard output logging to all containers
- Some cleanup and use of better names
Issue-ID: POLICY-4350
Change-Id: I3ae8c59dba64f9c267f310366bb4a2a6ffd5d418
Signed-off-by: liamfallon <liam.fallon@est.tech>
brunomilitzer [Tue, 30 Aug 2022 08:47:02 +0000 (09:47 +0100)]
Fixed Negative Heap Memory on Grafana Chart
- fixed unit to seconds (so it caulculates time)
- fixed formula with time-up variable
Issue-ID: POLICY-4326
Change-Id: I324b01d9abc92938027daafa1ebe73dccea5baba
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
adheli.tavares [Wed, 7 Sep 2022 12:02:06 +0000 (13:02 +0100)]
Fix casting of lob type on db-migrator for postgres installation
Issue-ID: POLICY-4352
Change-Id: Ib3aa68a512c1278920a8bdf1ed29914195d0e371
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
liamfallon [Wed, 7 Sep 2022 08:16:11 +0000 (09:16 +0100)]
Ensure robot framework is installed for CSITs
The script to install the robot framework for CSITs was not called due
to an incorrect path in its invocation. This commit ensures it is
called.
This bug has been in the CSIT scripts for a numebr of releases. It only
seems to have become an issue in the last few hours.
Issue-ID: POLICY-4338
Change-Id: I0c2c578b784732a4f2beed514512f8e8c558f726
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 1 Sep 2022 11:05:47 +0000 (12:05 +0100)]
Convert CSIT tests to use HTTP rather than HTTPS
This commit converts the CSITs from HTTPS to HTTP. It also does some
refactoring and didying up on the CSIT environment.
Issue-ID: POLICY-4338
Change-Id: Ie19908a8d2a457df3ae5f4e490d5528889f395c8
Signed-off-by: liamfallon <liam.fallon@est.tech>
danielhanrahan [Thu, 1 Sep 2022 14:17:18 +0000 (15:17 +0100)]
Allow setting external dockerfile for db-migrator
Added maven properties to allow overriding dockerfile during build e.g.
mvn clean install -Pdocker -Ddocker.dbm.dockerFile=/path/to/dockerfile
Issue-ID: POLICY-4334
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Idb282cd121f5bf4ec91764596a88fb28e3557256
Liam Fallon [Mon, 29 Aug 2022 07:24:22 +0000 (07:24 +0000)]
Merge "Added Dashboards for Policy Framework Components"
liamfallon [Sun, 31 Jul 2022 18:12:28 +0000 (19:12 +0100)]
Generate onap images locally on ARM architecture
The defailt ONAP base images are generated for X86 64 architecture. On
ARM architecture, these base images cannot be used locally because they
don't run properly in Docker on ARM architecture. Docker images based on
these images are also forced to X86 64 architecure.
In order to run the Policy Framework locally on a computer with ARM
architecture such as an Apple M1 Macbook, local Docker images should be
built that use ARM archtiecture.
The changes in this commit introduce a profile in the POMs for the
POLICY Framework base images. This profile is triggered only on builds
running on ARM architecture.
This new profile builds the onap-java and onap-pthon base images on ARM
architeclture locally when the build is run on a machine with ARM
architecture.
- The onap-java base image docker file does not build on ARM
architecture becasue its base image (an Alpine version with Java 11
preinstalled). Therefore, for this base image, a Dockerfile is
introduced that uses the Alpine base image and adds Java 11.
- The onap-python image docker file does build on ARM architecture so
the repo is simply checked out and built on ARM architecture
Once these ARM based ONAP base images are available locally, the rest
of the docker images in the Policy Framework build fine on a machine
with ARM architecture, and can be used to run docker-compose
compositions such as CSITs.
Issue-ID: POLICY-4287
Change-Id: I1938e232f6457f7ad1c18a0952c65fdee04d169b
Signed-off-by: liamfallon <liam.fallon@est.tech>
brunomilitzer [Thu, 11 Aug 2022 15:16:57 +0000 (16:16 +0100)]
Added Dashboards for Policy Framework Components
Issue-ID: POLICY-3967
Change-Id: I33f135da7dc49dc10b42902d96d8da21db36d19b
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
liamfallon [Fri, 29 Jul 2022 14:25:30 +0000 (15:25 +0100)]
Update docker base image to snapshot
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: I55c64b06282fb7fd920924351f2d471d59bcf403
brunomilitzer [Tue, 26 Jul 2022 13:26:43 +0000 (14:26 +0100)]
Updating python dependency to stop the timeout
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Issue-ID: POLICY-4288
Change-Id: Ie7526356fad59de167d8c376da4d48feda07e0b3
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
liamfallon [Fri, 15 Jul 2022 13:57:36 +0000 (14:57 +0100)]
Update parent references on docker files
Issue-ID: POLICY-4287
Change-Id: I9c6c59e264624d35b70b26640c2442f937419527
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 14 Jul 2022 12:29:58 +0000 (13:29 +0100)]
Move policy-gui CSIT config files
The policy-gui config files for CSIT are in the CLAMp directory, they
should be in their own directory.
Tweaked timings on PAP CSIT to stop it timing out on post undeploy test
Issue-ID: POLICY-4137
Change-Id: I43b9972b544b98fbe083942e7fd616386f08ce55
Signed-off-by: liamfallon <liam.fallon@est.tech>
Jorge Hernandez [Fri, 1 Jul 2022 16:00:21 +0000 (16:00 +0000)]
Merge "Update get version script for snapshots"
danielhanrahan [Tue, 28 Jun 2022 16:39:32 +0000 (17:39 +0100)]
OCI image spec labels for policy-docker images
Issue-ID: POLICY-4264
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I8ab51f82a441361b8aa6b5f9aa0b6917ceea5399
liamfallon [Tue, 28 Jun 2022 14:55:29 +0000 (15:55 +0100)]
Update get version script for snapshots
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: I7a9fe7ffc3abfc8044a2e0439e3fcd47c086d5f8
Signed-off-by: liamfallon <liam.fallon@est.tech>
danielhanrahan [Thu, 23 Jun 2022 10:48:09 +0000 (11:48 +0100)]
Duplicate volume mount for drools-apps in CSIT
drools-apps docker container copies feature-lifecycle.properties from
/tmp/policy-install/config to /opt/app/policy/config
Because docker-compose mounts this file twice, it causes OpenSuse
image to abort with error 'cp: X and Y are the same file'
Issue-ID: POLICY-4231
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I91a3b1d3d2b8ed1075fd3392aae9988475f92bf7
Jorge Hernandez [Thu, 23 Jun 2022 19:46:26 +0000 (19:46 +0000)]
Merge "SLA dashboard added to grafana setup"
jhh [Wed, 22 Jun 2022 16:19:21 +0000 (11:19 -0500)]
Set JDBC URL env var for drools-apps CSITs
Issue-ID: POLICY-4177
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ie9bb269e7a38d9e3f07191c301cfb171ef8ed8f3
adheli.tavares [Thu, 16 Jun 2022 08:21:46 +0000 (09:21 +0100)]
SLA dashboard added to grafana setup
Issue-ID: POLICY-4163
Change-Id: I2b996ff519f0b8f0207589ec4f1f629c79b614c0
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Jorge Hernandez [Fri, 17 Jun 2022 12:02:02 +0000 (12:02 +0000)]
Merge "Use proper currentInstanceCount in CSITs"
Jorge Hernandez [Fri, 17 Jun 2022 12:01:02 +0000 (12:01 +0000)]
Merge "Make CSIT scripts locally executable"
liamfallon [Fri, 17 Jun 2022 10:11:55 +0000 (11:11 +0100)]
Make CSIT scripts locally executable
The CSIT scripts do not have their executable flags set, this change
makes the scripts locally executable.
Issue-ID: POLICY-4233
Change-Id: Ia274481751076027c4224e791c3a35785b9d78a9
Signed-off-by: liamfallon <liam.fallon@est.tech>
waynedunican [Fri, 3 Jun 2022 08:07:59 +0000 (09:07 +0100)]
Use proper currentInstanceCount in CSITs
Issue-ID: POLICY-4086
Change-Id: I8d49acb66b798104f2cfbdc3765a68af866f9f6a
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
adheli.tavares [Tue, 7 Jun 2022 12:36:57 +0000 (13:36 +0100)]
Adding runtime-acm to grafana dashboard
Issue-ID: POLICY-4146
Change-Id: Iecd0cfa1a6e6162bb9a06345dfd12fb8375ae98b
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Liam Fallon [Thu, 2 Jun 2022 08:07:34 +0000 (08:07 +0000)]
Merge "Add Ramesh Murugan Iyer as a committer"
liamfallon [Wed, 1 Jun 2022 12:02:11 +0000 (13:02 +0100)]
Add Ramesh Murugan Iyer as a committer
Issue-ID: POLICY-4228
Change-Id: Ic3b59d3ccb8bf09514a8425019344480f9d33310
Signed-off-by: liamfallon <liam.fallon@est.tech>
danielhanrahan [Thu, 26 May 2022 14:59:00 +0000 (15:59 +0100)]
CSIT does not display logs for some containers
Fix container names in CSIT teardown scripts to match
docker-compose-all.yml
Issue-ID: POLICY-4220
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I99da5c45af4051afcc62924142201d9edc474780
liamfallon [Tue, 3 May 2022 16:21:35 +0000 (17:21 +0100)]
Set snapshot and/or references of policy/docker for new release
policy/docker updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4073
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ibc0b2ea07a80ece136ae81b6dec8bb457fc86fa9
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Wed, 27 Apr 2022 08:46:38 +0000 (09:46 +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: Ib1f5eaf1f685d3789375dc32fce07104fa4faf65
liamfallon [Tue, 26 Apr 2022 15:49:24 +0000 (16:49 +0100)]
Release docker images for policy/docker: 2.4.3
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: I81b18279cd8818c573a904cba2076eb1d80941a6
liamfallon [Tue, 26 Apr 2022 15:08:15 +0000 (16:08 +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: I94683404c6d0b4378412f077b6f8ef618d5bed66
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