adheli.tavares [Tue, 7 Mar 2023 18:59:55 +0000 (18:59 +0000)]
Fix groups.json to have xacml supported policies for CSIT.
Issue-ID: POLICY-4125
Change-Id: Id0900117f051e560515e1def40e86e144a4f7740
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
rameshiyer27 [Tue, 7 Mar 2023 01:32:28 +0000 (01:32 +0000)]
Add helm charts for distribution and http-ppnt in CSIT
Issue-ID: POLICY-4542
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I18453af111dff7943c65c8b1113df0ded23b6f99
adheli.tavares [Thu, 2 Mar 2023 12:55:19 +0000 (12:55 +0000)]
Fix drools-pdp helm charts to run csit test
Issue-ID: POLICY-4125
Change-Id: I50ad9e44081faf52744dbb6fd491980225a3a754
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
adheli.tavares [Tue, 28 Feb 2023 12:59:37 +0000 (12:59 +0000)]
New Test Development
- api, pap (except consolidated HC), apex and acm runtime passing
on both docker and helm environment
- other simulators exposed on simulator service
- topics are checked on test with robot http support
- apex temp engine port exposed
- xacml readiness added
Issue-ID: POLICY-4125
Change-Id: I39ee8c38e70dd3a4ad26ba69d7c62e61a211469e
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Liam Fallon [Wed, 1 Mar 2023 09:38:05 +0000 (09:38 +0000)]
Merge "Add helm charts for drools,xacml pdps"
Liam Fallon [Wed, 1 Mar 2023 09:36:34 +0000 (09:36 +0000)]
Merge "Add SLA validations to API"
saul.gill [Tue, 28 Feb 2023 13:30:45 +0000 (13:30 +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-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: Ie7cebf3963d13081b4ec1c31e454c7026370aef3
Signed-off-by: saul.gill <saul.gill@est.tech>
saul.gill [Tue, 28 Feb 2023 12:57:56 +0000 (12:57 +0000)]
Release docker images for policy/docker: 2.6.1
This commit releases docker images for repo policy/docker.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: Ib7db310517aac4c4202277f562c44883c799bbb8
saul.gill [Tue, 28 Feb 2023 11:58:30 +0000 (11:58 +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-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: I527246c9df1f9dcd34a1d2c31301e39650fdc598
rameshiyer27 [Thu, 23 Feb 2023 10:42:55 +0000 (10:42 +0000)]
Add helm charts for drools,xacml pdps
Robot test files will be included in a common directory as part of the CSIT refactoring work.
Issue-ID: POLICY-4542
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I0915bb9801d483a9ce382a8c6978de6138c86d72
waynedunican [Fri, 24 Feb 2023 08:44:58 +0000 (08:44 +0000)]
Add SLA validations to API
Issue-ID: POLICY-4528
Change-Id: I517cb477bbccb36d5e2000b60450a2c015d4940b
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
adheli.tavares [Fri, 17 Feb 2023 15:14:07 +0000 (15:14 +0000)]
Restructure of csit files to be used both by docker and k8s config
Issue-ID: POLICY-4125
Change-Id: Id63b3badb1b451b36e3226970dcafaa5a62d860f
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Ram Krishna Verma [Tue, 21 Feb 2023 15:15:21 +0000 (15:15 +0000)]
Merge "Add volume mount for storing k8s robot logs to the host"
Ramesh Murugan Iyer [Fri, 17 Feb 2023 16:40:09 +0000 (16:40 +0000)]
Merge "Remove integration base images from PF base images"
rameshiyer27 [Tue, 14 Feb 2023 17:52:49 +0000 (17:52 +0000)]
Add volume mount for storing k8s robot logs to the host
Issue-ID: POLICY-4546
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I498aa9db39d6b04e685a893c9bca41c6bb108265
adheli.tavares [Thu, 9 Feb 2023 11:56:27 +0000 (11:56 +0000)]
Add SLAs validations to docker csit robot tests
Issue-ID: POLICY-4529
Change-Id: I197a51892e9135d20c2e8a49ce7787df3bfbd4fa
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
liamfallon [Tue, 14 Feb 2023 11:20:40 +0000 (11:20 +0000)]
Remove integration base images from PF base images
The Docker base image from the integration project is now unmaintained.
We replace the Integration base image by updating our own base image to
work directly off Alpine.
Issue-ID: POLICY-4558
Change-Id: I00097cede2536c88ade3f318479eab309695b41e
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Fri, 10 Feb 2023 22:01:43 +0000 (22:01 +0000)]
Refactor CSITs to use exposed ports
The CSITs were using the ports in the Docker environment directly. This
commit changes the CSITs to use published ports.
Issue-ID: POLICY-4533
Change-Id: I17d60c8bceae71f1bf2175dcb6addf032f14a899
Signed-off-by: liamfallon <liam.fallon@est.tech>
Liam Fallon [Fri, 10 Feb 2023 23:38:01 +0000 (23:38 +0000)]
Merge "Fix test failures in K8s CSIT"
Ram Krishna Verma [Fri, 10 Feb 2023 18:59:20 +0000 (18:59 +0000)]
Merge "Add scripts to automate S3P tests"
rameshiyer27 [Thu, 9 Feb 2023 14:46:18 +0000 (14:46 +0000)]
Fix test failures in K8s CSIT
Apex-pdp - Add json response files, update sim hostnames
Api,Pap - Update context paths for prometheus metrics
Print console logs of test execution
Issue-ID: POLICY-4546
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I1bed6e4077c7e52b986bcb927204819ec0d95d99
Liam Fallon [Thu, 9 Feb 2023 15:02:20 +0000 (15:02 +0000)]
Merge "Add sequence tables for Hibernate"
liamfallon [Thu, 9 Feb 2023 11:11:55 +0000 (11:11 +0000)]
Add sequence tables for Hibernate
Hibernate does not allow the same sequence table to be used for more
than one sequence number generator JPA class.
Issue-ID: POLICY-4533
Change-Id: If7e70164a5da7e0678aeb192d563bafc213f8bb6
Signed-off-by: liamfallon <liam.fallon@est.tech>
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
adheli.tavares [Wed, 8 Feb 2023 09:24:26 +0000 (09:24 +0000)]
Improve MariaDB Sqls for db-migrator tool
Issue-ID: POLICY-4549
Change-Id: I4a1cd6514ae8025726ca015081632633ea49361a
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Liam Fallon [Wed, 8 Feb 2023 09:05:32 +0000 (09:05 +0000)]
Merge "Fix robot failures in kubernetes CSITs"
waynedunican [Wed, 25 Jan 2023 08:47:15 +0000 (08:47 +0000)]
Add scripts to automate S3P tests
- Add script to setup k8s cluster, install JMeter and run S3P tests
- Add script to alter the installed cluster to work towards the S3P test plans
Issue-ID: POLICY-4156
Change-Id: I966055c8ff41025033b5b6435c42508bc3377371
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
rameshiyer27 [Wed, 1 Feb 2023 15:06:45 +0000 (15:06 +0000)]
Fix robot failures in kubernetes CSITs
Api, Pap, Clamp configurations are fixed
Update Readiness containers as a list entity to wait for more than one component.
Issue-ID: POLICY-4546
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I8598ddc01905b072edd9eb3030a83d3d806a14eb
adheli.tavares [Thu, 2 Feb 2023 08:44:51 +0000 (08:44 +0000)]
Add configurations to run SLAs validations on CSITs
Issue-ID: POLICY-4531
Change-Id: Idf69fe888828fabd4ec0cd3c18fea7aff96caac8
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
rameshiyer27 [Mon, 23 Jan 2023 11:50:01 +0000 (11:50 +0000)]
Add robot framework helm chart for CSIT
Steps to run policy csit in kubernetes is updated in the README.md
Issue-ID: POLICY-4532
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I116658dfafd4e70bd256173f046da72af6803eaa
liamfallon [Mon, 23 Jan 2023 09:52:24 +0000 (09:52 +0000)]
Make API context path configurable in CSITs
Issue-ID: POLICY-4143
Change-Id: I17010b16b03a002130b5a8d619f561c9deab19c8
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 19 Jan 2023 15:30:30 +0000 (15:30 +0000)]
Fix context paths in CSITs
THe context path for API and PAP is now configurable.
Issue-ID: POLICY-4482
Change-Id: If6b53c8163cc9f377005a665eca7cb6c146156af
Signed-off-by: liamfallon <liam.fallon@est.tech>
Liam Fallon [Fri, 13 Jan 2023 17:31:40 +0000 (17:31 +0000)]
Merge "Add CSIT helm charts for policy"
adheli.tavares [Fri, 13 Jan 2023 09:14:23 +0000 (09:14 +0000)]
Fix metrics calculations for engine uptime
and remove unused variables.
Issue-ID: POLICY-4147
Change-Id: I09996770cdb3571c48f51bc0ee1b04094a3112b1
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
rameshiyer27 [Wed, 11 Jan 2023 17:02:00 +0000 (17:02 +0000)]
Add CSIT helm charts for policy
Added helm charts for api, pap, apex-pdp and policy-participant.
Issue-ID: POLICY-4457
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I10d721d17d773b3226dbd0473c3d55dae3be42a4
Liam Fallon [Tue, 10 Jan 2023 16:03:12 +0000 (16:03 +0000)]
Merge "Adding apex-pdp metrics to SLAs dashboard."
Liam Fallon [Tue, 10 Jan 2023 16:02:46 +0000 (16:02 +0000)]
Merge "Add helm charts for policy CSIT"
adheli.tavares [Mon, 9 Jan 2023 11:28:25 +0000 (11:28 +0000)]
Adding apex-pdp metrics to SLAs dashboard.
Issue-ID: POLICY-4147
Change-Id: I8ae2d5f63fe36a436578c677af3252fbfe151805
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
rameshiyer27 [Mon, 14 Nov 2022 06:00:12 +0000 (06:00 +0000)]
Add helm charts for policy CSIT
Added script run-k8s-csit.sh to spin and delete kubernetes cluster in Microk8s.
Added helm charts for mariadb, k8s-participant, runtime-acm and dmaap-simulator.
Issue-ID: POLICY-4457
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I456cb7f291d116dbd5b68a067171214a0e08fb37
adheli.tavares [Thu, 15 Dec 2022 10:15:08 +0000 (10:15 +0000)]
Update on SLA metrics dashboard to reflect deployment stats
Issue-ID: POLICY-4469
Change-Id: Ide93bd46e8452ddc7453b8ad8347cea6ec0144ac
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
saul.gill [Tue, 20 Dec 2022 16:24:05 +0000 (16:24 +0000)]
Temporarily disable ACM CSITs
Healthcheck CSIT added
Other CSITs disabled while ACM updates are ongoing
Issue-ID: POLICY-4490
Change-Id: I3f8b4ca0f686fe979228004922e4c79154bb28b4
Signed-off-by: saul.gill <saul.gill@est.tech>
liamfallon [Sun, 18 Dec 2022 02:24:07 +0000 (02:24 +0000)]
Changes for H2 database upgrade
The latest verison of H2 does not allow colums called "user" or indexes
using an underscore in their name.
Issue-ID: POLICY-4488
Change-Id: I632f0715d597da1d306002e6079efc98bba0487f
Signed-off-by: liamfallon <liam.fallon@est.tech>
saul.gill [Thu, 15 Dec 2022 08:51:09 +0000 (08:51 +0000)]
Fix clamp CSITs for master
CSIT fails due to new composition endpoint structure
Altering CSIT spec to reflect changes
Issue-ID: POLICY-4485
Change-Id: I942c18564a9c2c82676e3f269a736103f5c74d14
Signed-off-by: saul.gill <saul.gill@est.tech>
liamfallon [Thu, 15 Dec 2022 11:04:53 +0000 (11:04 +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-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Id9c0499baef561e5c48688c5071d07f4f2d08c3a
liamfallon [Thu, 15 Dec 2022 10:33:27 +0000 (10:33 +0000)]
Release docker images for policy/docker: 2.6.0
This commit releases docker images for repo policy/docker.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I08e0ee5b561c7863dcde6b2dedcb96a6fd78067b
liamfallon [Thu, 15 Dec 2022 09:58:00 +0000 (09:58 +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-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ied0e7cb66a66220b4566a5a7f4d9f026f128a177
aravind.est [Thu, 1 Dec 2022 07:54:35 +0000 (07:54 +0000)]
Add A1PMS participant in CSIT
Issue-ID: CCSDK-3816
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: Ic5b49f6e4b3ca1652cf33efc0adfab9d0c754821
aravind.est [Fri, 2 Dec 2022 12:57:22 +0000 (12:57 +0000)]
Fix clamp CSIT failures
Issue-ID: CCSDK-3816
Change-Id: I56360db410cf3daa6ba5acae43fee9be580b6f88
Signed-off-by: aravind.est <aravindhan.a@est.tech>
danielhanrahan [Fri, 25 Nov 2022 14:39:50 +0000 (14:39 +0000)]
Move git-commit-id-maven-plugin to parent pom
The POM config for git-commit-id-maven-plugin is duplicated in each
repo, so the config is moved to policy/parent
Issue-ID: POLICY-4466
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I840092730d026e10f1e8b6464757ceef98a28eba
adheli.tavares [Wed, 23 Nov 2022 11:01:10 +0000 (11:01 +0000)]
Fix CSIT failures
- fix for pap with topic changes
- fix the response code for clamp
Issue-ID: POLICY-4463
Change-Id: Ifd55122863fd93cc90a55dd354b941dcffa160b3
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
liamfallon [Fri, 21 Oct 2022 16:31:11 +0000 (17:31 +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-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Id900a74168359265a327fa652d958edc56e15214
liamfallon [Thu, 20 Oct 2022 19:11:54 +0000 (20:11 +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-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic99f4fe294722c669639aebc362b96b25b1ed07c
liamfallon [Thu, 20 Oct 2022 18:28:32 +0000 (19:28 +0100)]
Release docker images for policy/docker: 2.5.1
This commit releases docker images for repo policy/docker.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I84cf2b5d5e1aec9119575a662bf5528bb4744005
liamfallon [Thu, 20 Oct 2022 14:53:15 +0000 (15:53 +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-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I75c221301140aba485a3d80f072be134ce0ec615
adheli.tavares [Thu, 20 Oct 2022 13:34:53 +0000 (14:34 +0100)]
Adding Khon as latest db version.
- no schema changes, adding a simple message for completion.
Issue-ID: POLICY-4408
Change-Id: I293278b242cc263443933393ca99eab2bef207be
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Liam Fallon [Wed, 19 Oct 2022 15:08:47 +0000 (15:08 +0000)]
Merge "Extend delay on PAP test to allow undeploy to end"
liamfallon [Wed, 19 Oct 2022 12:48:17 +0000 (13:48 +0100)]
Extend delay on PAP test to allow undeploy to end
Issue-ID: POLICY-4393
Change-Id: I847a9bceec748e757dc7b05ce0228c6912308c9c
Signed-off-by: liamfallon <liam.fallon@est.tech>
danielhanrahan [Tue, 18 Oct 2022 12:20:13 +0000 (13:20 +0100)]
OpenSuse docker file for db-migrator
Create OpenSuse docker file
Add build profile for OpenSuse docker image
Issue-ID: POLICY-4309
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I80ec31c62096f9aefa2b729a4e024f63d04e62ad
liamfallon [Tue, 18 Oct 2022 13:04:06 +0000 (14:04 +0100)]
Fix CSITs for Kohn release
Newer versions of dependencies brought in some small updates to
configuraiton.
Also a script called start-container.sh has been added to bring up a
single Policy Framework container and its dependencies.
Issue-ID: POLICY-4393
Change-Id: I17bac4d75600431fdee74592be4700761a3f8fe7
Signed-off-by: liamfallon <liam.fallon@est.tech>
rameshiyer27 [Wed, 12 Oct 2022 13:58:43 +0000 (14:58 +0100)]
Fix CSIT failure in CLAMP, API and PAP tests
ACM servlet context path is updated to the CLAMP config file.
Fixed prometheus endpoints in API and PAP.
Issue-ID: POLICY-4394
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Id4fafd016beb8614ce99e0c1a5985dec52d69270
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>