summaryrefslogtreecommitdiffstats
path: root/integration
AgeCommit message (Collapse)AuthorFilesLines
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
2021-05-28Add life cycle mappings for plugins in CLAMPliamfallon1-22/+74
Added some life cycle mappings to ignore, these cause errors on the POMs in eclipse. Issue-ID: POLICY-3258 Change-Id: If8a3a40d94af9d5060fb66b884523abc4fdd119e Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-05-10Upgrade dependenciesJim Hahn1-1/+1
Upgraded dependencies per SECCOM. Jetty will be upgraded as part of oparent. Issue-ID: POLICY-3300 Change-Id: I2ccf69eba8d2b21100569b96ce813dcf42226856 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-09Specify alternate repo from which to download npmJim Hahn1-0/+1
Issue-ID: POLICY-3182 Change-Id: I07797f1e2f58830c180303eeb1286b9564c3e4f8 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-12Skip sonar build in eclipseJim Hahn1-0/+13
Let developers in eclipse trigger sonarlint manually rather than automatically as part of m2e, as the latter really slows things down. Issue-ID: POLICY-3126 Change-Id: I6fceafc0cee85312f47b6030f47d088868912ff1 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-12Move common profile to parent pomJim Hahn1-0/+43
The "m2e" lifecycle-mappings appear in all of the policy repos. Moved it to parent so that it only has to be managed in one place. Also embedded it within a profile, per discussions on the web: https://stackoverflow.com/questions/7409823/m2e-lifecycle-mapping-not-found Issue-ID: POLICY-3126 Change-Id: I90f4abdc72b7344dd262077fad8869f8963f4313 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-11Address plugin-not-found issuesJim Hahn1-5/+7
Make archetype an extension instead of a plug-in per various web comments: https://github.com/oracle/helidon/issues/1025 Issue-ID: POLICY-3126 Change-Id: I6703d832065d3b08fbc3c6613e049c30d2ee2c50 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-10Bump version to 3.4.0 in parentJim Hahn1-1/+1
Issue-ID: POLICY-3105 Change-Id: Idae28ee3bf7caa53d288410d9bec3f22658663c3 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-22Bump version to 3.3.1-SNAPSHOT in parentJim Hahn1-1/+1
Issue-ID: POLICY-3088 Change-Id: Ia1cdeed8cd822122287dd47ae19947a3ec397a46 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-22Mojo plugin missingJim Hahn1-1/+1
Version 2.8 is missing; modified the pom to refer to 2.8.1. Issue-ID: POLICY-3088 Change-Id: Ib2a8d68ffba62c73ebbc2db7c15d327d21b8ae12 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-11Match version of jackson with oparentJim Hahn1-1/+1
Oparent uses 2.11.3, thus the version here should match it. Issue-ID: POLICY-3005 Change-Id: I5f27f0714f1257c13e73d5efc495cfbb67b3f36d Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-08Upgrade dependency versions in parentJim Hahn1-43/+35
Also removed javax.persistence, as the classes can be found in eclipselink instead; both cannot be used together as the jar signatures are incompatible. Issue-ID: POLICY-3005 Change-Id: I72d32cf7942383b12a78e014c685d9cac6e7b78b Signed-off-by: Jim Hahn <jrh3@att.com>
2021-01-20Upgrade io.netty to fix security issuesRam Krishna Verma1-1/+1
Issue-ID: POLICY-2943 Change-Id: I03ea86e71a7f7d5d4b72222b70ff4b911fec5955 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-29Add jackson annotationsJim Hahn1-0/+8
Several builds broke when jackson was removed. Traced it down to a dependency in glassfish.jersey which is used by dmaap client. Added the one jackson component that appears to be needed. Issue-ID: POLICY-2878 Change-Id: I89fd44a5a44d2fa52618b86c78a1bf9edf81b3d8 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-27Remove jackson from policy/parentJim Hahn1-34/+7
Had to upgrade swagger version before removing references to jackson. Issue-ID: POLICY-2878 Change-Id: I9f754328bcd53dc775f0996c49f3f85f55d75285 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-26Bump parent master to 3.3.0 SNAPSHOTJim Hahn1-1/+1
Bumping minor version now that guilin branch has been created. Issue-ID: POLICY-2875 Change-Id: Ia0f4cad92dc81c9cbdc98bc40af68480bf2afa08 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-08-27Revert "Remove jackson from policy/parent"Jim Hahn1-0/+38
This reverts commit 9e3da30ff0fb5586de39c62516f464b714456201. Reason for revert: policy-endpoints fails with v2.11.0 Issue-ID: POLICY-2726 Change-Id: Ia841fbfcfb3539da88462b825a37061d00b69401 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-27Remove jackson from policy/parentJim Hahn1-38/+0
Issue-ID: POLICY-2726 Change-Id: Ib4402b83205a220ceaa95ccdea3e96587ba68111 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-09Bump policy/parent to 3.2.1-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2695 Change-Id: Ieff53fa51f83d5c32094ac427544beb87cdf9dab Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-02Revert mariadb jdbc versionJim Hahn1-1/+1
The new mariadb jdbc version is causing intermittent CSIT errors in PAP. Reverted to previous version. [EL Warning]: 2020-07-02 15:08:48.318--ServerSession(404947798)--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.5.v20191016-ea124dd158): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLSyntaxErrorException: (conn=11) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' derived_from_name VARCHAR, derived_from_version VARCHAR, name VARCHAR(120) NOT ' at line 1 Error Code: 1064 Call: CREATE TABLE ToscaDataType (DESCRIPTION VARCHAR, derived_from_name VARCHAR, derived_from_version VARCHAR, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY (name, version)) Issue-ID: POLICY-2387 Change-Id: I138f4d395f150563474afe719966927789ae1f6e Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-30Revert javax.persistence versionJim Hahn1-1/+1
The new javax.persistence version is not compatible with the version of eclipselink that is in use, thus had to revert the former back. Issue-ID: POLICY-2387 Change-Id: I24a6bee1abb1e11f5527e54e4498016348ac48d3 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-30Merge "Updating org.json and removing json version tag"Pamela Dragosh1-1/+5
2020-06-30Updating org.json and removing json version tagRossC1-1/+5
Issue-ID: POLICY-2387 Change-Id: Ia994c8be15058d8cf5f6e8f2271be5dec4efacc3 Signed-off-by: RossC <ross.carter@est.tech>
2020-06-29Updating dependencies and Adding Slf4j-ext into parentRossC1-15/+20
Issue-ID: POLICY-2387 Change-Id: I4c56ade98e21ee07c254208d58590f865e6e5edc Signed-off-by: RossC <ross.carter@est.tech>
2020-06-24AAF Version upgrade to 2.1.21Utkarsh Jauhari1-1/+7
Issue-ID: POLICY-2623 Signed-off-by: Utkarsh Jauhari <uj426b@att.com> Change-Id: I84d5bf257555844d096a30b82c63145114a8df81
2020-06-22Merge "Removing log4j from policy/parent"Pamela Dragosh1-5/+0
2020-06-22Security issue with Java-WebSocket:1.3.8liamfallon1-1/+1
Stepping org.java-websocket:Java-WebSocket version 1.3.8 to version 1.5.1 removes the issue. apex-pdp needs a corresponding change due to a change in an enum in the new version of java-websocket. Issue-ID: POLICY-2668 Change-Id: I3827cee6d7569f7343ec32942b5504d7714412eb Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-06-20Removing log4j from policy/parentUtkarsh Jauhari1-5/+0
Issue-ID: POLICY-2623 Signed-off-by: Utkarsh Jauhari <uj426b@att.com> Change-Id: I0a3d9d0a1d677d88ceb90c6358de942ea1e0a90b
2020-06-19Merge "Revert "AAF Version change for log4j""Jim Hahn1-1/+6
2020-06-19Revert "AAF Version change for log4j"Pamela Dragosh1-1/+6
This reverts commit 5014e05e9d93248854d1473d795ec671e2e7ba6b. Reason for revert: version doesn't exist Issue-ID: POLICY-2623 Change-Id: I6a4972a3491864fa6072eb493900022c44a85c1f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-06-19Merge "AAF Version change for log4j"Pamela Dragosh1-6/+1
2020-06-19AAF Version change for log4jUtkarsh Jauhari1-6/+1
Issue-ID: POLICY-2623 Signed-off-by: Utkarsh Jauhari <uj426b@att.com> Change-Id: I30d33c82c15118a7305ea3a8b794aa48a61e06d1
2020-06-19Merge "Moving commons-lang dependency to parent"Pamela Dragosh1-0/+14
2020-06-18Moving commons-lang dependency to parentRossC1-0/+14
Issue-ID: POLICY-2387 Change-Id: Iaa93cc815a0f21cb046a9f4ec6ca941d1d227c19 Signed-off-by: RossC <ross.carter@est.tech>
2020-06-18Consolidate checkstyle plugin into policy parentliamfallon1-2/+57
At the moment, the checkstyle plugin definitions are repeated separately in all the policy components. This review adds the checkstyle plugin defintions into policy parent. Subsequent reviews will remove it from the individual component repos. Issue-ID: POLICY-2188 Change-Id: I7e786e82086d31df8597c08382bfe839e60074e3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-06-17Upgrade jackson 2.10.4Pamela Dragosh1-1/+1
To clear security issues. Issue-ID: POLICY-2553 Change-Id: I1c39f53aa57ba936eb700d13abef37f3cab5b89a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-06-02Upgrade version of dmaap-client to 1.1.11Jim Hahn1-1/+1
Issue-ID: POLICY-1996 Change-Id: I297563bd014de1a7a9be92ce4eaa24f6f2d03861 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-19Bump parent 3.2.0 on masterPamela Dragosh1-1/+1
Issue-ID: POLICY-2514 Change-Id: I22902bd8b7a0c1e021870b441259950f9ac96970 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>