summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-02-14Update Dockerfile for PF base imageliamfallon1-1/+2
The Policy Framework base image run under the "onap" user rather than under the "root" user. This means that root access has to be enabled in child Dockerfiles for configuraiton that requires root access. Root access is turned off again later in the Dockerfile so that the image will run under another user. Issue-ID: POLICY-4558 Change-Id: I2c4268e78219a77991c7e0dcdea49e193cc873cd Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-01-31Upgrade and clean up dependenciesliamfallon1-2/+3
- Upgrade Hibernate - Upgrade Mockito - Upgrade Mockserver - Remove Powermock (no longer supported) and replace with spring-test ReflectionTestUtils - Upgrade Spring Framework - Add spring-security to allow authentication on unit tests using MockMVC Minor clean-up - Replace deprecated authorization configuraiton on spring boot applications with SecurityFilterChain bean - Change @LocalPort include on tests to use test include rather than runtime include - Remove unused imports - Remove unused constants and variables - Add deprecation annotations where required Issue-ID: POLICY-4482 Change-Id: I29724050290e283670a21e16cb69743b0be18e7a Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-15Update snapshot and/or references of policy/distribution to latest snapshotsliamfallon16-19/+19
policy/distribution 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: I1024bd52eee2ece83698ff596152a4f895070def
2022-12-15Release docker images for policy/distribution: 2.9.0liamfallon1-0/+8
This commit releases docker images for repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I6d966d547f6ae2a75dac8b69ae965d33d271fef9
2022-12-15Release policy/distribution: 2.9.0liamfallon1-0/+5
This commit releases repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7a92bd0cd9c351dc3b6e56a509588352b62e481c
2022-12-15update references in policy/distribution pomliamfallon2-4/+4
updated references in the policy/distribution pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I3653868f8b245012d04c479ff399c1e57ff922c8
2022-11-25Move git-commit-id-maven-plugin to parent pomdanielhanrahan1-19/+0
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: Ifd0f0a838fdca88698d3936093365355f791d909
2022-11-17Update version of SDC-Client to 2.0.0david.mcweeney8-47/+39
Signed-off-by: david.mcweeney <david.mcweeney@est.tech> Issue-ID: DMAAP-1790 Change-Id: I21edcdafe965a3e17b863e5f8766eeb764cf6bc5
2022-10-21Set snapshot and/or references of policy/distribution for new releaseliamfallon16-20/+20
policy/distribution 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: If6eb2139641fdcf56a3947787b9926e6e9b16101
2022-10-21Update snapshot and/or references of policy/distribution to latest snapshotsliamfallon16-19/+19
policy/distribution 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: Id7693e348e4b9ecffed4977bbc2c1cc0ce738a8f
2022-10-21Release docker images for policy/distribution: 2.8.1liamfallon1-0/+8
This commit releases docker images for repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ib5da5576898682a9966a9a89d22230fa795aaac9
2022-10-21Release policy/distribution: 2.8.1liamfallon1-0/+5
This commit releases repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic826a42824f5a33e09fac5bc778a9425530c9d7e
2022-10-21update references in policy/distribution pomliamfallon2-4/+4
updated references in the policy/distribution pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I2f9a3c9b71a3ec76a1fb89e146616ba0b43e3ca0
2022-09-23Update snapshot and/or references of policy/distribution to latest snapshotsliamfallon16-19/+19
policy/distribution 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: I336d2ce4d4eea7bf2ea423b41d771d718814d3e2
2022-09-23Release docker images for policy/distribution: 2.8.0liamfallon1-0/+8
This commit releases docker images for repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I3228afa3df3c17b2bbf8b29c4ba6cdd44710a0a4
2022-09-23Release policy/distribution: 2.8.0liamfallon1-0/+5
This commit releases repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7b7f16b07250192d217b2ed260cf7798c8185453
2022-09-22update references in policy/distribution pomliamfallon2-4/+4
updated references in the policy/distribution pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0b1bf3705dfbc8d77a0eb4f846a73f502a350e7c
2022-09-16Fix minor warnings in codeliamfallon1-1/+0
Issue-ID: POLICY-4045 Change-Id: Idc6de6988541af7f115f5d13505d735d0927a6f2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-09Remove inactive committers from INFO.yamlliamfallon1-7/+5
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: I6da08fe7b6357b30fcbba01d772e3fc319f26307
2022-09-01Allow setting external dockerfile for distributiondanielhanrahan1-0/+2
If building with an external dockerfile, e.g. using mvn clean install -Pdocker -DdockerFile=/path/to/dockerfile docker will look for project files in the same directory as the new dockerfile. A new property is added for setting the context path, to allow using existing project files in src/main/docker. Issue-ID: POLICY-4334 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ic6851e77e4b5bb8d8dc51bc4824560270806987b
2022-08-23Fix Sdc configurationRam Krishna Verma4-1/+9
Fixing the SdcConfiguration class to accomodate the parameter for switching http vs https communication between Sdc client & server. So that distribution component is compatible with Service Mesh (Istio) initiative in OOM. For more details - https://jira.onap.org/browse/POLICY-4226 Issue-ID: POLICY-4226 Change-Id: Ia3956832d37953e1b6149303ca685d4b82c30f5d Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-07-29Update docker base image to snapshotliamfallon1-1/+1
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: I9d52cc2a11309e6d1dd4dae18fcaccf0406d73ba
2022-07-13Reduce size of docker images for distributiondanielhanrahan2-17/+21
Avoid creating extra layers when extracting tarball Remove redundant chown commands Reduce size of Alpine image by 37% (357MB to 226MB) Reduce size of OpenSuse image by 26% (525MB to 389MB) Issue-ID: POLICY-4276 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ieb4faceef2264059dd868ecd04581e29b436c75a
2022-07-11Upgrade OpenSuse version to 15.4 for distributiondanielhanrahan1-1/+1
Issue-ID: POLICY-4278 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I0543844d2f5840e9939752af452bb668770345bc
2022-06-28OCI image spec labels for distributiondanielhanrahan3-0/+41
Issue-ID: POLICY-4260 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I9c1e3e48c80298330177e310f73b4473fba8f436
2022-06-03Merge "OpenSuse docker file for policy-distribution"Liam Fallon4-3/+67
2022-06-01OpenSuse docker file for policy-distributiondanielhanrahan4-3/+67
Issue-ID: POLICY-4192 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I3b3f886f60ed17f9ab54d3b9e915d7921a5642ba
2022-06-01Add Ramesh Murugan Iyer as a committerliamfallon1-0/+8
Issue-ID: POLICY-4228 Change-Id: I0d1e4e4e79346a34541175660de1341bd96339b1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-12Security issues from sonar cloud fixesadheli.tavares17-263/+242
Issue-ID: POLICY-4168 Change-Id: Iedac6c95be452be81e8c73055193b4707735ef56 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-05-03Set snapshot and/or references of policy/distribution for new releaseliamfallon15-19/+19
policy/distribution 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: I8c95ff6bf590b4ad610e6c992d1443ca629b438f Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-28Update snapshot and/or references of policy/distribution to latest snapshotsliamfallon15-18/+18
policy/distribution 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: I0eddbc948be35873d6d15300d4c832868994e3f5
2022-04-28Release docker images for policy/distribution: 2.7.3liamfallon1-0/+8
This commit releases docker images for repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I05f4423eac83648c7f40aaaa99e831e6662dbccf
2022-04-28Release policy/distribution: 2.7.3liamfallon1-0/+5
This commit releases repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I501e9c74066de3de6ed1d6488938687deba6e128
2022-04-27update references in policy/distribution pomliamfallon2-4/+4
updated references in the policy/distribution pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic7cea2a8d8483fda8cb88fceae5cb9cb719b78c1
2022-04-19sp3 tests update on setupadheli.tavares17-420/+535
- versions of images updated - fix run_tests with extra slash - add call to metrics on stability and performance tests Issue-ID: POLICY-4006 Change-Id: Idad63e9d256e149b224796c486f7322ecbc6ff61 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-04-13Remove generated test file from gitliamfallon1-64/+0
This test file was checked into source control but it is a test file. Issue-ID: POLICY-4070 Change-Id: Iecb43ca32c5de7013a0566ca208b977b5bac60a5 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-12Update snapshot and/or references of policy/distribution to latest snapshotsliamfallon15-18/+18
policy/distribution 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: Ibb4d26c98e11547fc62d2613d5df9afb4ac77ce9
2022-04-12Release docker images for policy/distribution: 2.7.2liamfallon1-0/+8
This commit releases docker images for repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I655dd26cc801bd55d5f17e979d31cbcd802a7bb3
2022-04-12Release policy/distribution: 2.7.2liamfallon1-0/+5
This commit releases repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: If5666ce1daf9e5093862fb9a28067a32cae36be2
2022-04-12update references in policy/distribution pomliamfallon2-4/+4
updated references in the policy/distribution pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Iad3b16598014463b331c891c599f1a4c380bb757
2022-04-06Error handling when a decoder fails to parse policyadheli.tavares6-71/+122
- catch exception only if it was a parse error (still raises exception when no decoder found) - reducing of complexity on acm decoding for sonar - added some debug logging and exception messages for better tracking of issues Issue-ID: POLICY-4006 Change-Id: Ie09aaf541fc06244b84477ecbfe70fc837438a86 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-03-11Update snapshot and/or references of policy/distribution to latest snapshotsliamfallon15-18/+18
policy/distribution 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: I0b6c27012f6ef893b664bb7297c9a5744f6b6d02
2022-03-11Release docker images for policy/distribution: 2.7.1liamfallon1-0/+8
This commit releases docker images for repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1115347e36b812342831d051a35b9caa1b14dec6
2022-03-11Release policy/distribution: 2.7.1liamfallon1-0/+5
This commit releases repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7c8a3a32350f241271bdf94b8643d82e0fcddf5d
2022-03-10update references in policy/distribution pomliamfallon2-4/+4
updated references in the policy/distribution pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8b6677eda5a64493d7b353826ec4fbe7c2908249 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-02Rename ControlLoop to AutomationCompsitionSirisha_Manchikanti29-295/+302
Issue-ID: POLICY-3938 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I63188fa9bc5d634d3aeb7e2d7051c4d67b5a202c
2022-02-14Fix distribution to accommodate object values in policy metadatarameshiyer271-3/+5
Issue-ID: POLICY-3832 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I1cb539156acee3a63c9ffa432ec2371941bf9acd
2022-01-12Add distribution app metrics to prometheusRam Krishna Verma2-36/+54
Adding the distribution application level metrics to prometheus. Adapted the changes so that existing test cases for DistributionStatisticsManager are not affected and still provides the full coverage. Issue-ID: POLICY-3759 Change-Id: I972f107e4ac46c2769dfaeb9bcefa0731bb879ca Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-01-06Add ControlLoop distribution to runtimeSirisha_Manchikanti22-81/+2130
This commit unpacks the csar received either from SDC or for local verification from file-system, prepares the toscaservicetemplate with needed node-types and data-types, forwards the template to controlloop runtime components for commisioning of controlloop. Issue-ID: POLICY-3808 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Ib3600542aca7b32ae19242c2f924bdaf2ab870a8
2021-12-08Moving @NotNull annotation to field levellapentafd3-17/+58
KeyStorePassword and KeyStorePath values can be expressed as simply null instead of "null" Issue-ID: POLICY-3604 Change-Id: I839bce33df4829fcc8d604f8ed1e52e6f50ef988 Signed-off-by: lapentafd <francesco.lapenta@est.tech>