summaryrefslogtreecommitdiffstats
path: root/integration
AgeCommit message (Collapse)AuthorFilesLines
2022-01-19Merge "Add postgres dependency to integration pom.xml"Liam Fallon1-0/+8
2022-01-19Merge "Add release script, fix sed for MacOS"Jorge Hernandez9-39/+292
2022-01-19Add postgres dependency to integration pom.xmlwaynedunican1-0/+8
Issue-ID: POLICY-2086 Change-Id: I97828a378131f975fca339add198d943c15844c2 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-01-17Update to SECCOM recommended dependenciesliamfallon1-4/+4
SECCOM has issued a directive on which dependencies should be used, see this wiki page: https://wiki.onap.org/display/SV/Jakarta+Policy This is the policy parent review to comply with the SECCOM directive. Issue-ID: POLICY-3849 Change-Id: I1e69f84990ac6e3ca4d732db3af768a547caf952 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-17Add release script, fix sed for MacOSliamfallon9-39/+292
This commit: - Adds a releease phase script that somewhat automates releases - updates the scritps to use GNU sed on MacOS Issue-ID: POLICY-3835 Change-Id: I2b79c6a3cc3476280ac00a2288e3cb8686ee976a Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-11sed inline linux format/data header fixedliamfallon3-12/+12
Bug fixes discovered doing documentation:: - Scripts should use the linux sed inline format, not MacOS - Repo column header missing in data file Issue-ID: POLICY-3835 Change-Id: Icd51fecac4b19b0354f5a792e1ed2d0eff3829a9 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-06Merge "Update log4j version due to security vulnerability"Liam Fallon1-1/+1
2022-01-06Release scripts for repos, images, OOM, refsliamfallon10-5/+1069
bumpSnapshots.sh: Steps the patch version of snapshot images based on the data in the policy release data file. generateCommit.sh: At the suggestion of OOM, the order of the generated messages is changed. releaseRepo.sh: Generates the release yaml file and the commit to release the maven artifacts of a repo releaseRepoImages.sh: Generates the release yaml fole and the commit to release the docker images from a repo updateOomImages.sh: Generates a commit that updats the references to Policy Framework docker images in OOM updateRefs.sh: Updates the parent. common, models., drools-pdp, and Docker base images in Docker files for reselases or snapshots. Issue-ID: POLICY-3835 Change-Id: I0766a779c2217a57a33ed37725f11acdfb07a16d Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-06Update log4j version due to security vulnerabilityliamfallon1-1/+1
SECCOM has recommended going to log4j 2.17.1. Issue-ID: POLICY-3862 Change-Id: I9ce6e99db114aeef5d474219e0556727eb1b433e Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-05Update log4j version due to security vulnerabilityliamfallon1-2/+2
SECCOM has recommended going to log4j 2.17.1. Issue-ID: POLICY-3862 Change-Id: I804307f46de9e9f270bbc81b079f8621d1bcba0e Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-12-15Revert camel version upgradeliamfallon1-1/+1
Bumping the camel version from 3.7.3 to 3.13.0 breaks the CLAMP integration tests. The version of camel was bumped due to the log4j security issue but because the new versions of the log4j libraries are now managed in the parent POM, the old versions of log4j libs used by camel will be overridden anyhow. There is no need to step the camel version. Issue-ID: POLICY-3862 Change-Id: I2f94e539a7aa4d8b91e4756a052df9bee3f725fd Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-12-14Merge "Script to update a POM parent reference"Jorge Hernandez1-0/+118
2021-12-14Update log4j version due to security vulnerabilityliamfallon1-3/+21
This change excludes old log4j libraries and includes newer versions that are not tagged with a security vulnerability. Issue-ID: POLICY-3862 Change-Id: I92dea9bef6d207db92caa6eb0bc20f863c93b1be Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-12-13Script to update a POM parent referenceliamfallon1-0/+118
This script changes teh parent reference in a POM file to use the group ID, artifact ID and version specified on flags that are input to the script. Issue-ID: POLICY-3835 Change-Id: I0970f94d3acfc2a3d8d01fdfcb923b8f38442bf4 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-12-03Add script to gather data on release processliamfallon2-1/+168
This script gathers the latest tag version, the master snapshot version, the number of changed files since the last release, and the docker image names from each of the Policy Framework repos and stores that data in a CSV file. That CSV file is used by other scripts to do release process steps and to generate commits for the release process. Issue-ID: POLICY-3835 Change-Id: I2a282286c673bd690b6467cc5617f554f0c6de75 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-12-02Add script to generate release commitsliamfallon1-0/+163
This script generates a commit on an existing changed policy framework repo. It is called by other scripts in the release process. Issue-ID: POLICY-3835 Change-Id: I457e1bea7d9319250fde729e82a7006f5b1da4eb Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-12-02Merge "Extract Prometheus Client libraries into parent POM"Liam Fallon1-1/+19
2021-11-30Extract Prometheus Client libraries into parent POMRashmi Pujar1-1/+19
Issue-ID: POLICY-3760 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: I1e7c911dfbb8a9e15b6090ccc08c6be7a22e811e
2021-11-30Add scripts to generate release Yaml filesliamfallon2-0/+256
These two scripts create the releases/x.y.z.yaml and releases/x.y.z-container.yaml files. These scripts were developed by Jim Hahn and were stored on the ONAP wilik. THey are being placed in this directory so that they are under source control. Further scripts will be added here to cover more of the ONAP release proecess. Issue-ID: POLICY-3835 Change-Id: I48167b2970bd041a58fe3d0b6e037cd2dbe38f7c Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-11-23Update snapshot of policy/parent to 3.5.1-SNAPSHOTliamfallon1-1/+1
*** 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: I02cac4f46aa69771b26de4f944d931c37e6a586a
2021-11-19Update parent resources version: 3.4.3-->3.5.0liamfallon1-1/+1
*** Release Phase 1: This commit is generated by a PF release script *** This is the first step in releasing images, it updates the release version for resources for policy parent. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I40e0c53dc235c4689133e63eaea79ac48ff78bfe
2021-10-12Bump master to 3.5.0-SNAPSHOT (Jakarta)liamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I7b839d4678e61a78a924c88bb523063ee27d46ae Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-12Bump policy/parent to 3.4.4-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: Icd4f8eca9cacc2f0a9f70272c0ed1c29b30097dd Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-12Update parent resources version for next releaseliamfallon1-1/+1
This is the first step in releasing images, it updates the release version for resources for policy parent. Issue-ID: POLICY-3696 Change-Id: I5080a6ecb3ec5c3357b4a5c39767b72bac295307 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Bunp policy-parent snapshot versionliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: I831785eafe0f31cc551449fdaed0be2983000098 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Bump parent to next snapshot versionliamfallon1-2/+2
Issue-ID: POLICY-3587 Change-Id: I72a376efbb5df6491aee86970066014e574513c2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-08-30Merge "Define version property for prometheus"Liam Fallon1-0/+1
2021-08-27Define version property for prometheusFrancescoFioraEst1-0/+1
Issue-ID: POLICY-3591 Change-Id: I643ffc6606193f6cf1f0d49d7a883d3450fdbc3c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-08-27Merge "Upgrade netty to clear apex-pdp security issue"Jim Hahn1-1/+1
2021-08-27Upgrade netty to clear apex-pdp security issueliamfallon1-1/+1
Netty 4.1.63 has security violations, 4.1.67 clears them. Issue-ID: POLICY-3590 Change-Id: I6c6553bd0093f033de87ca1a06fa4bcc7b2b8482 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-08-25Bump parent to 3.4.1Jim Hahn1-1/+1
Issue-ID: POLICY-3587 Change-Id: Iaa1e9afc467fbd4ace2c243b7a5fa79c783ce365 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-03Upgrade to CDS 1.1.5Ram Krishna Verma1-1/+1
Issue-ID: POLICY-3516 Change-Id: Ie9e03fcefb5baf492cabe982fe09bfc6c00e108f Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-02Upgrade to cds 1.1.5-SNAPSHOTRam Krishna Verma1-1/+1
Upgrading policy components to cds 1.1.5-SNAPSHOT to verify the contract and fixes coming up in the next released version. Issue-ID: POLICY-3516 Change-Id: Ib847dc48b863591a30cfc4594329aabe57caf250 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-07-21Merge "Upgrade the CDS dependency"Ram Krishna Verma1-2/+2
2021-07-21Upgrade the CDS dependencyk.kedron1-2/+2
The newest CDS client libraries are available in different group Issue-ID: POLICY-3507 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Ia7932949d4093db1dd192c028def14f7ffeb61f7
2021-07-20Merge "Add profile for generating Swagger documents"Liam Fallon1-0/+164
2021-07-19Define docker registry propertiesJim Hahn1-0/+2
Issue-ID: POLICY-3374 Change-Id: I754d69b7efe155417bb1562a75a5e35572a2ce24 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-19Add profile for generating Swagger documentsliamfallon1-0/+164
This commit adds a profile for generating Swagger documents and creating a tarball containing the swagger.json, swagger.html, and swagger.pdf files. The profile is triggered in any module when tsts are enabled (In other words when the skipTests flag is off), and when the following proerty is set: <swagger.generation.phase>post-integration-test</swagger.generation.phase> This profile assumes that a unit test exists that creates the following file: target/swagger/swagger.json If this file does not exist, the build will fail if the profile is invoked. Therefore, to generate the Swagger documentation tarball, a module must set the swagger.generation.phase propety AND have a unit test that generates the swagger.json file. Issue-ID: POLICY-3424 Change-Id: I8ff769e7a28bf0e00969d1bc677fee6908951d8a Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-07-06Add swagger models for swagger endpoint generationliamfallon1-0/+7
The swagger models dependency is required to generate the swagger for the Swagger endpoint in Springboot applications. Issue-ID: POLICY-3424 Change-Id: I83a3976ee2513ab24d97b1594a29bf0a80f62d4c Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-07-02Address some vulnerabilities from IQ reportJim Hahn1-1/+6
Upgraded the version of a couple of items reported in IQ. The new versions are likely to have the same issues, but at least it should be good for a moment. Verified that the change to json-smart did not cause the CDS Actor tests to break. (Though it should eventually be tested with a real CDS.) Verified that the change to xstream did not cause any tests in drools-pdp or drools-apps to break. Issue-ID: POLICY-3431 Change-Id: I1419871577174fd986c9eebf2ce35134bd4bda93 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-29New jetty needs new jacksonJim Hahn1-1/+1
The upgrade of jetty (or possibly jackson) in oparent necessitated a new version of jackson in policy. Issue-ID: POLICY-3300 Change-Id: I5cf629a7c0719941fc5c4afa81009ccdd89722bb Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-28Update parent pom to fix springboot/checkstyleliamfallon1-6/+34
This patch swithes the Policy Framework to use the snapshot version of oparent. The spring boot dependency management is added. Issue-ID: POLICY-3209 Change-Id: Ie9ab5b001ed9636fa5b4d96f2d54a7e3e800fec6 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-22Adding dependencies from clamp participants to parent/integrationFrancescoFioraEst1-0/+6
Issue-ID: POLICY-3308 Change-Id: I457bf935675638621f56c44899699d691899837a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-06-16Fix build of modelsJim Hahn1-17/+0
A new dependency in policy-parent broke the build in policy-models. Removed the problematic dependency. Actually, removed both "bom" dependencies since they would otherwise override policy's dependency management. Note: this may require adding them back into policy-gui and policy-clamp. Issue-ID: POLICY-3308 Change-Id: I898b1104081d6cf46a50d65e9f228c966d847559 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-16Merge "Adding dependencies and plugins from clamp to parent/integration"Liam Fallon1-0/+159
2021-06-15Merge "Update plugins in Lifecycle Mapping for CLAMP"Liam Fallon1-1/+14
2021-06-15Adding dependencies and plugins from clamp to parent/integrationryanSheehan1-0/+159
Move dependencies and plugins from clamp participants and runtime Inherit versioning from integration pom Issue-ID: POLICY-3308 Change-Id: I32a3e60a3b8f76b82e92c9ae870c195285f622ee Signed-off-by: ryanSheehan <ryansheehan.est@gmail.com>
2021-06-07Update plugins in Lifecycle Mapping for CLAMPliamfallon1-1/+14
The lowest version in the lifecycle mapping for the hibernate52-ddl-maven-plugin was 2.3.0, it should have been 2.2.0. The plugin for npm is added. Issue-ID: POLICY-3258 Change-Id: I63d997b57c68830bc3dca2b2d62e950d2042c0d1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-04Adding properties to parent integration pomryanSheehan1-0/+7
Take properties declared in clamp poms and inherit them from integration pom Issue-ID: POLICY-3215 Change-Id: I51993ffc1734b5c83ec7276f527ca18ead7c22d3 Signed-off-by: ryanSheehan <ryansheehan.est@gmail.com>
2021-06-01Upgrade the CDS dependencyRashmi Pujar1-5/+11
The CDS client libraries are now exposed via a different maven module. Issue-ID: POLICY-3338 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: I9ecfc8852f129dd231b3008fb4c59b2e8b7b673f