summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-03-01Add controllers and remote servers healthchecksjhh16-542/+1708
Issue-ID: POLICY-3977 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I4fd4db29f99989a2ef11b08f66f28535bfd15a36 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2022-02-15Fix intermittent failure in metrics testrameshiyer271-2/+1
When the registry is cleared, it removes the Prometheus counters that are initialized by static definition causing the metrics test to fail. This issue occurs when this test is not invoked first in the order of test execution in feature-lifecycle. Issue-ID: POLICY-3832 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I9a55910bc39dbe1ad9f1153809bdf78bac3040b1
2022-02-14Handle metadata policy-id as objectjhh3-15/+22
Issue-ID: POLICY-3832 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I60b4c3b9f8d6f74161d2e9532b3c3adba10cdc6b
2022-02-11Merge "remove unused state-management related modules"Liam Fallon60-8564/+2
2022-02-10restore coders toolset toStringjhh2-37/+53
This is to reduce verbosity introduced by lombok @ToString, Issue-ID: POLICY-3895 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I7b6b3490b508e6ccb094da87d6f0f64a7e859277 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2022-02-10remove unused state-management related modulesjhh60-8564/+2
Issue-ID: POLICY-3922 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ie8164a482cce4598c621b58af612ab3a45d848ae
2022-02-09add policy_executions_latency_seconds summaryjhh2-6/+70
Issue-ID: POLICY-3761 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I9867472784d8f153b6955ce95b34de250f60f558
2022-02-07Alter base image of drools-pdp Dockerfilesaul.gill1-2/+1
Previously the pip package was upgraded in this file Now the upgrade is done in the parent docker image The parent image version is changed The pip package upgrade is removed Issue-ID: POLICY-3905 Change-Id: I709286e18373a613cf63ac4de90db541f7e47177 Signed-off-by: saul.gill <saul.gill@est.tech>
2022-02-07Merge "add prometheus deploy counts"Liam Fallon2-4/+52
2022-02-04Fix for failing merge jobsaul.gill1-0/+2
Upgraded version of pip being used by Dockerfile Error was reproduced and fixed locally Issue-ID: POLICY-3905 Change-Id: I535b3bbc9cab66411932d725c9210e0a4739378d Signed-off-by: saul.gill <saul.gill@est.tech>
2022-02-02add prometheus deploy countsjhh2-4/+52
Issue-ID: POLICY-3761 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib5dd109457049ac30269d68fcb803cb4a0426c92 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2022-01-26restore manual toString coder methodsjhh2-12/+17
The changes to use the generic lombok ToString caused excessive verbosity when the coder objects are logged, hence restoring the older manual toString() methods back. Issue-ID: POLICY-3895 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Idd875172cbb066d13294aeb31fb85577dad127c1 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2022-01-18Update to SECCOM recommended dependenciesliamfallon1-2/+2
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: I77a8212bbfd8a899f46f437b1d0d2b9dc6dc79c7 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-12-02Update snapshot and/or references of policy/drools-pdp to latest snapshotsliamfallon1-3/+3
*** This commit is generated by a PF release script *** policy/drools-pdp updated to its latest own and reference snapshots Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Idec0095de08c9a8cd813b66ab516382a28905391
2021-11-29Update snapshot of policy/drools-pdp to 1.10.1-SNAPSHOTliamfallon26-26/+26
*** This commit is generated by a PF release script *** policy/drools-pdp is update from 1.10.0-SNAPSHOT to 1.10.1-SNAPSHOT Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id6f59849b88c0f98d874cf853f249738e784316f
2021-11-26Release docker images for policy/drools-pdp: 1.10.0liamfallon1-0/+8
*** This commit is generated by a PF release script *** This commit releases the docker images for repo policy/drools-pdp. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic1ac8dfd346b88f7975811de1612333f12f6028b
2021-11-26Release policy/drools-pdp: 1.10.0liamfallon1-0/+5
*** Release Phase 8: This commit is generated by a PF release script *** This is the eigth phase in releasing images, it releases policy/drools-pdp. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ibe32aeeb4efc08374e25fb6a60bcfe6bf0639a92
2021-11-25Update parent and common referencesliamfallon2-4/+4
*** Release Phase 7: This commit is generated by a PF release script *** This is the seventh release phase, it updates parent, common and models references in policy/drools-pdp. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I93cb2b0d14490c5bf637fc119257d70eee8a0944 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-25Point to snapshot dependencyRam Krishna Verma1-3/+3
Issue-ID: POLICY-3788 Change-Id: I51dbde008585f73b4690a91d66a97c17ca9ee223 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-14Bump policy/drools-pdp to Jakarta 1.10.0-SNAPSHOTliamfallon26-27/+27
Issue-ID: POLICY-3696 Change-Id: Id7723b73aa472c45271e6e1488cc3f0f08349924 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/drools-pdp to 1.9.2-SNAPSHOTliamfallon26-26/+26
Issue-ID: POLICY-3696 Change-Id: I8fc7e6a7c6e9a2f20409a84a1c517e49c9468eb8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13release docker image 1.9.1jhh1-0/+8
Issue-ID: POLICY-3696 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia4ec45b2ccb614e812eaeccc4c52df7bbb8c77a0
2021-10-13release maven artifactsjhh1-0/+5
Issue-ID: POLICY-3696 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I723e34d329bf2ab9e58dcfcf2da10d10fe16eeaa
2021-10-13Update parent/common/models/docker referencesliamfallon2-4/+4
Issue-ID: POLICY-3696 Change-Id: Icf1f9497e53c41f89081e86b45866882a7c25a45 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-06Check https environment var in telemetry tooljhh1-0/+7
Issue-ID: POLICY-3706 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I4f473cd8a3852deefee6e449931eabde66bedeba Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-09-20Additional tests for Telemetryjhh2-167/+114
Increasing coverage for drools to >= 80%. Issue-ID: POLICY-3453 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I9d8550a80b87b8c6f68da06246d392260eba1e65
2021-09-15Bump versions to 1.9.1-SNAPSHOTjhh26-26/+26
Issue-ID: POLICY-3587 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6d38adccfbee1274ce416cfadbfe306343f5d607
2021-09-14Docker release 1.9.0jhh1-0/+8
Issue-ID: POLICY-3587 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I93e7ef3a4e50ed74982d75275a69335ab963834d
2021-09-14Release 1.9.0 maven artifactsjhh1-0/+5
Issue-ID: POLICY-3587 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id2e161b9defcc07c286573ee15253856be77c827
2021-09-13Use released common and modelsliamfallon1-2/+2
Issue-ID: POLICY-3587 Change-Id: Ia686adb3f8e3b73ca6543b7c8b0b404811cff1fd Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Update INFO.yamlliamfallon1-11/+14
Update the INFO.yaml file with latest information. Issue-ID: POLICY-3552 Change-Id: If33f4de23325838a374f5b93b8347afa8d6e6471 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Point at released policy-parentliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: I16547beccbce104d38395c8c0e5510c06731265b Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-06Correct paths to logback filtersjhh2-3/+3
Issue-ID: POLICY-3610 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id3011e07045fd485df75184f4a766ca91274f56b
2021-09-03Merge "Reduce coder verbosity in logs"Jorge Hernandez1-2/+13
2021-09-03Reduce coder verbosity in logsJim Hahn1-2/+13
After switching to lombok ToString, the log messages for the coder class have become very long. Switched back to the original toString() method, which only logs the keysets rather than the whole content of the coder maps. Left the other additions of lombok ToString in drools-pdp as is, because they all looked appropriate, upon further review. Addressed review comments: - added comment about why lombok isn't used Issue-ID: POLICY-3397 Change-Id: I08ea8c49908b33fc3b8c8ba6de4ac4bd1474660a Signed-off-by: Jim Hahn <jrh3@att.com>
2021-09-03Fix sonar security issues in drools-pdpJim Hahn1-13/+3
Fixed sonar security issues: - set permissions of temporary files; modified to use utility from policy-common Issue-ID: POLICY-3289 Change-Id: I55b70175429052e0dfaf5939fa6b940f191d9267 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-09-01Don't create world-writeable directoryJim Hahn1-32/+11
Fix sonar: - world-writeable directory Issue-ID: POLICY-3289 Change-Id: I421dd9722d8642992ff8f5991f41a341c834ba1d Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-26Fix sonars in drools-pdpJim Hahn32-167/+139
Fixed sonars: - use "var" - override "equals" - unused imports Also changed some of the JPA queries to make them typed queries. Issue-ID: POLICY-3289 Change-Id: Ib3a00be322d8d00ba492673708439cacfe2c7fc4 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-25Remove GPLv3 components from drools-pdpJim Hahn1-9/+5
The drools-pdp docker image includes GNU tar, which is GPLv3 and is therefore disallowed by ONAP. Appears to be included with "dpkg", which isn't needed anymore, so just removed it. Switched to newer policy/docker image, which includes python3, thus no longer need to install it. Also stopped installing httpie via apk and only install it via pip, now. Issue-ID: POLICY-2845 Change-Id: I08b97b90aef6820135b052c20f270f8b487c94a9 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-23Add prometheus + https in https server configsjhh3-5/+14
Issue-ID: POLICY-3553 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I9d5d36e35b69a7f47efd2cc4b2abfdd0ba8f2192
2021-08-23Fixing drools junits as per policy/common changesa.sreekumar2-2/+4
Change-Id: I2dc7f988654d8f7d1b822233e1fbe66e6fbf767d Issue-ID: POLICY-3538 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-08-12Merge "Add SQL_PORT configuration"Jorge Hernandez7-53/+62
2021-08-10Add SQL_PORT configurationjhh7-53/+62
Issue-ID: POLICY-3533 Change-Id: I03fc41332d4739d5a4d6cee5f86ba823714336d6 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-08-09use url resource for docker-tag -- drools-pdpTaka Cho1-18/+4
use groovy url resource from docker repo to identify the tag for docker Issue-ID: POLICY-3378 Change-Id: I1400967096a5b61b89c6298aee7377e2eeaaa47d Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-08-09Merge "Use lombok in drools-pdp #4"Ram Krishna Verma9-98/+48
2021-08-09Merge "Use lombok in drools-pdp #3"Ram Krishna Verma29-492/+176
2021-08-09Merge "Use lombok in drools-pdp #2"Ram Krishna Verma26-335/+141
2021-08-06Use slf4j Marker from common repoTaka Cho18-182/+71
using slf4j Marker from common repo Issue-ID: POLICY-3087 Change-Id: Iefbd6fa9ab2dfa6388508cb6ffd6cf1358b45ccc Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-08-06Use lombok in drools-pdp #4Jim Hahn9-98/+48
Updated thru feature-eelf. Issue-ID: POLICY-3397 Change-Id: Iad12f5f921374775fb5436cb7d13746256cd6d81 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-05Use lombok in drools-pdp #3Jim Hahn29-492/+176
Updated feature-healthcheck thru feature-pooling-dmaap. Issue-ID: POLICY-3397 Change-Id: Ia7b00a521cdb82ed0eb22bdaed03d02665fbbff1 Signed-off-by: Jim Hahn <jrh3@att.com>