summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-05-03support for PAP delta updatesjhh8-120/+200
Issue-ID: POLICY-3187 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I91b343feb28fdff6b2391387e51defbdcfbe7b0f Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-04-21Merge "Make skipping of deployment configurable"Liam Fallon1-1/+2
2021-04-20Fix no-lock service loader incorrect metadatajhh4-7/+17
Issue-ID: POLICY-3202 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iac6d9c7459718df1aae97e0b56f51178cd6b172e
2021-04-19Make skipping of deployment configurableliamfallon1-1/+2
This change makse skipping of deployment configurable so that its setting can be overridden. Issue-ID: POLICY-2971 Change-Id: I963c5cae831d10ac7ab1e220ebbba91ec3369188 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-04-14Add legacy-config new featurejhh18-15/+775
This feature makes the legacy configuration optional. It was used by brmsgw and other tooling to provision via its DMaaP channel. The capability to configure via PdpConfiguration object is kept in the core preserving backwards compatibility, but the DMaaP provisioning channel(s) are optional. Issue-ID: POLICY-2618 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia7198ac3b2810d85133c06ba5217a9c28e07ac4c Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-04-07Use sh instead of ash in drools-pdpJim Hahn25-49/+49
Issue-ID: POLICY-3160 Change-Id: I37b2b75d010781108e40ae39d3742bc2c2e2fd7e Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-23Update cert stores configurationjhh3-13/+17
Issue-ID: POLICY-3158 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iee453ea70e0ebd9a82c0126ffedd8f5632783d6f Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-03-19Delete keystores from droolsJim Hahn1-0/+0
The Keystore is no longer needed in the tarball, as it is supplied externally by the CSITs and Helm charts. Deleted that file. Issue-ID: POLICY-3143 Change-Id: I5f80f7e25a86b903fd67080adbf15ab090c4b346 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-17Change Dockerfile httpie version to fix telemetryjhh1-1/+1
telemetry based tools do not work as the http-prompt version installed has changed in alpine repositories. Issue-ID: POLICY-3138 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib838dabedacd03a72bd018f1d66ace95cbb0c511
2021-03-16Update policy-keystore with newer certificatesjhh1-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I4b0cc4e1a1f6de36857f3e6e73b3dc6b1f9d8b87
2021-03-12Address plugin-not-found issuesJim Hahn10-379/+18
Removed references to archetype-packaging and lifecycle-mapping, where unnecessary due to pom inheritance. Also removed unnecessary checkstyle plugins. Issue-ID: POLICY-3126 Change-Id: Ia2bc398c7adbf13e925dd6329411310472c7ee35 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-11bump pom versions to 1.9.0-SNAPSHOTjhh25-29/+29
Issue-ID: POLICY-3105 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0686675cdddf6fb5ce78f792484486f39d705a58
2021-03-10bump poms to 1.8.2-SNAPSHOTjhh25-25/+25
Issue-ID: POLICY-3127 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0cf960650fbd2010a7c747d4932fdf8226c1fa07
2021-03-10docker image release 1.8.1jhh1-0/+8
Issue-ID: POLICY-3127 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iec454c8c56fbb6cd0a3b6f3d9066bec050370365
2021-03-10maven release 1.8.1jhh1-0/+5
Issue-ID: POLICY-3127 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I5273c846164413c510209605b8d6845fb740002d
2021-03-10point to released models 2.4.1jhh1-1/+1
Issue-ID: POLICY-3127 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ifa9e15c24245f195f7def2b831db9e24bbc108ce
2021-03-09add no locking featurejhh14-60/+606
It provides an interface to applications for locking purposes that always succeeds. It does not deny acquiring resource locks. Issue-ID: POLICY-3114 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6aebb5f40e4176e0ff7b0e6c6d4042a79dd0b7a3 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-03-05modify filename and path for csitTaka Cho2-2/+2
after doing a test in jenkins sandbox found some errors have to be fixed. Issue-ID: POLICY-2895 Change-Id: I2bd6d79c71070ef7ce9ec179a1838d51b886b2ae Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-03-04Merge "Fix default timestamp in upgrade script"Jorge Hernandez2-10/+10
2021-03-04Fix default timestamp in upgrade scriptJim Hahn2-10/+10
The 1811 upgrade script for distributed locking is failing, because the default timestamp value is invalid for the new column type. Modified the value and also added one for the downgrade script. Issue-ID: POLICY-3117 Change-Id: I8dff748cb089db551820418b1d597a1be207c9b5 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-03enable viewing lifecycle statistics with telemetryjhh3-4/+20
Issue-ID: POLICY-3121 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I25e8c4439c0a6beabe532c17cc58919f369f17f0 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-03-02Add quotes around variable in db scriptJim Hahn2-7/+7
Apparently, ash doesn't like "[ -z ${xxx} ]" if the content of $xxx contains spaces. Added quotes around ${xxx}. Also fixed: - a couple of "[" "]" mismatches - a logic error in the selection of upgrade scripts Issue-ID: POLICY-3117 Change-Id: I99c977825fe9df8a44c288b6307cd3e55c504f86 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-26move drools-pdp csit to project levelTaka Cho4-0/+85
move tests/plans from csit repot to drools-pdp repo Issue-ID: POLICY-2895 Change-Id: I8fd43ca763d74d6db7950b1b5d3502f3da73e09e Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-02-24Update info.yaml in drools-pdpRam Krishna Verma1-2/+2
Issue-ID: POLICY-3028 Change-Id: I951ae73be6a42184f9fa72e4bac4432ae9b552b1 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-24bump poms to 1.8.1-SNAPSHOTjhh24-24/+24
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2210fcc34c9f69c3ea42c07543ffb9834f719620
2021-02-23docker image release 1.8.0jhh1-0/+8
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I54d4c113e558f8392ad10a7e4e8aff3d9b9ff508
2021-02-23maven release 1.8.0jhh1-0/+5
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If9d4eedc7d2710143588b0c2313628c2d9634c13
2021-02-23Upgrade hibernate dependency version in drools-pdpJim Hahn1-1/+1
The FOSS report for drools-pdp showed that hibernate-commons-annotations uses the LGPL 2 license, which means it should be kept up to date, if possible. However, it is still version 5.0.1.Final, which was released in 2015, while 5.1.2.Final was released in 2020. Upgraded to the new version. Verified junits still pass in both drools-pdp & drools-apps. Issue-ID: POLICY-3005 Change-Id: I1c42b14cfa812299797de002a7fa2e20b49dea6e Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-23rearrange asserts in DroolsRunnable testsjhh1-2/+2
There are consistent failures when doing staging builds in policy-core junits. This problem shows only in stage builds. It is suspected to be a race conditioning with the internal scheduling of rules and insertion of events. Issue-ID: POLICY-3097 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0f2df770dfdda6d23e9cb29253f4152a0365d33a
2021-02-23use policy-jdk-alpine:2.2.1 base imagejhh1-2/+2
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2c891acddcce74297cf03d696af8472c127d27ea
2021-02-23versions: 1.8.0 common, 2.4.0 models, 3.3.0 parentjhh1-3/+3
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I34009c5916b04d1272b1d528272945fabe22a56c
2021-02-22Deprecate feature-simulators from droolsJim Hahn5-647/+0
feature-simulators was only used by server-pool. Now that server-pool has been deprecated, the simulators can be deprecated, too. Issue-ID: POLICY-3079 Change-Id: I4555432d90f99735de2f189ce626befb414027cb Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-22Merge "support policy execution counts in lifecycle"Ram Krishna Verma2-2/+28
2021-02-22support policy execution counts in lifecyclejhh2-2/+28
Issue-ID: POLICY-3033 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ic9150b9b76a04ee39cb0c0a78081ad22b21dcd02
2021-02-22Merge "convert date to instant for statistics"Jorge Hernandez1-2/+2
2021-02-22convert date to instant for statisticsjhh1-2/+2
Issue-ID: POLICY-3069 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I72f9db0cd70fc24a21425ad071717fc0e704bb59
2021-02-19deprecate server-pool in droolspdpTaka Cho47-15564/+0
deprecate server-pool in droolspdp Issue-ID: POLICY-3079 Change-Id: Id25aea57cc4d119bba73de22c6dc77ab9a56c95f Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-02-19Merge "remove TransMetric - not needed"Ram Krishna Verma9-129/+22
2021-02-19remove TransMetric - not neededjhh9-129/+22
Issue-ID: POLICY-3033 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I626de45b528bb891c79900085bfe783fe248b3fa Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-02-18support pdp-type configuration for PAP statusjhh7-9/+28
Issue-ID: POLICY-3070 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iaddd9bac102cbe79626fe91d78a457dcfd4cb1fb Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-02-18Merge "deploy stats in lifecycle module"Jorge Hernandez10-54/+221
2021-02-18Merge "Upgrade dependencies in drools-pdp for IQ issues"Ram Krishna Verma4-6/+6
2021-02-18deploy stats in lifecycle modulejhh10-54/+221
Issue-ID: POLICY-3033 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iaa78aa48064e8288265aeb498279e9d8324538d8 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-02-17expose metric from mdctransactionjhh2-100/+106
Issue-ID: POLICY-3033 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I484174ae3a09e6706a36984aa2708f8ffef17808
2021-02-17Upgrade dependencies in drools-pdp for IQ issuesJim Hahn4-6/+6
IQ reports identified a couple of vulnerabilities in various dependencies. Upgraded to the latest version of them per SECCOM. Issue-ID: POLICY-3005 Change-Id: I52f1137bfaeee0d715ee438b69e98f2d06849d38 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-12Merge "Fix sonars from dependency upgrade"Pamela Dragosh8-35/+31
2021-02-12Merge "support transaction reports in engine"Ram Krishna Verma14-66/+472
2021-02-12Fix sonars from dependency upgradeJim Hahn8-35/+31
The dependency upgrades in policy-parent caused some new sonars. In particular, initMocks() has been deprecated - replaced with calls to the Mockito Runner. Changed one to openMocks() because using the Runner caused it to fail on jenkins, but not in the local eclipse. Also fixed a type safety issue with EMPTY_LIST. Issue-ID: POLICY-2909 Change-Id: Iea9420190f208d7de3bf3ad531515c92e0fab83f Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-11support transaction reports in enginejhh14-66/+472
Issue-ID: POLICY-3033 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id1f02c86be491d5145e74725f76953e294e2975c Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-02-10More sonars in drools-pdpJim Hahn3-5/+5
Addressed the following issues: - log user-controlled data; moved the "NOSONAR" to a different line - make constructors protected Issue-ID: POLICY-2909 Change-Id: Ic69c100af777779e791c38cc444dd2ea726258f2 Signed-off-by: Jim Hahn <jrh3@att.com>