summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2021-08-05Use lombok in drools-pdp #2Jim Hahn26-335/+141
Updated feature-session-persistence thru drools-domains. Issue-ID: POLICY-3397 Change-Id: I0b1c6da8b2301c00dd792675e8cf1f49888edb9f Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-05Use lombok in drools-pdpJim Hahn41-867/+262
Updated policy-management thru policy-utils. Issue-ID: POLICY-3397 Change-Id: Ie9498fe912e8338ddc32a40774c3cb63d84f079a Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-20Use docker registry properties in drools-pdpJim Hahn1-3/+1
Issue-ID: POLICY-3374 Change-Id: I2439fd5680c7828f6d20e4a884167333aedf9f49 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-08Update pdp statistics to count deploy/undeploy separately.adheli.tavares3-128/+172
Issue-ID: POLICY-3383 Change-Id: If8f1555aa0c509a35f4dd1821ddc5dd2f7294d2f Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-07-07nosonar on admin logging level functionjhh2-8/+13
Issue-ID: POLICY-3077 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ieae80c77db297271c9de3958d321bfe4b88acce3 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-06-30Merge "Remove unused property from pom"Ram Krishna Verma1-5/+0
2021-06-30Remove unused property from pomliamfallon1-5/+0
The swagger.version property is unused in drools-pdp. Issue-ID: POLICY-3209 Change-Id: Ie64e8462bb316f71d555e3b394d3c615b5c6c3a1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-29Use unique name in drools PdpMessagesJim Hahn10-37/+41
Also modified distributed locking to use the unique name, in case the DB is shared. Issue-ID: POLICY-3410 Change-Id: I046a9ffdcb62f3d84d7d388a1e64bcf025fbbf75 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-28Update policy-drools-pdp for checkstyle 8.43liamfallon2-42/+44
Updates are indentation changes on annotations. Issue-ID: POLICY-3209 Change-Id: I7b55b2affa3e16afb0c0f8398b902a04f13c4db0 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-18Fix new checkstyle issues in drools-pdpJim Hahn5-26/+25
The new version of checkstyle identified new issues. Fixed those. Also addressed sonar "var" issues. Issue-ID: POLICY-3289 Change-Id: I3a18d3988202dca6f3c87f2aa1810bf803a9d14d Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-16use lombok NonNull instead of other leaked importsjhh3-3/+3
Issue-ID: POLICY-3397 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ie0f2009e9c9d219405f5ccbdd648304c66460b1e
2021-06-15filter logging input data per sonar security issuejhh3-12/+19
Issue-ID: POLICY-3289 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iad22a581a6bd98e7e210162d30ec7741972669d2
2021-06-14Use re2j pattern for sonar vulnerabilitiesjhh4-27/+28
Issue-ID: POLICY-3289 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id6d58b5c8ac5f7715286f21274ccf5eea9155fd2
2021-06-07Add global dmaap https flag for configurationjhh3-3/+4
Since drools-pdp and derived applications typicall share the same dmaap, this map will make easy to toggle between https and http for those systems that need it. https remains the default. Issue-ID: POLICY-3366 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib3556ed5f73e8a5485bc5c84a161753b1a50ce95
2021-05-31Remove policies field references from testswaynedunican4-9/+4
Remove policies field references from drools-pdp as this has since been removed from the PdpUpdate class in policy-models Issue-ID: POLICY-3339 Change-Id: Ib47408f54318a861fc569beed683e5cffcb2738e Signed-off-by: waynedunican <wayne.dunican@est.tech> Signed-off-by: WayneDunican <wayne.dunican@est.tech>
2021-05-18Fix sonar vulnerabilities logging user inputjhh1-2/+2
Issue-ID: POLICY-3230 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I05fb50ef3c4b6da0603e75084554e061a27a2202
2021-05-14Merge "fix telemetry related sonar security issues"Jim Hahn3-15/+56
2021-05-13Remove csit folder from policy/drools-pdpRam Krishna Verma4-84/+0
The csit test files for all repos have been consolidated in policy/docker to maintain them at single place and allow us to trigger verify jobs in gerrit reviews. Issue-ID: POLICY-3257 Change-Id: I8c3476ec9056f71c288784b73ef68d323cd9d4f2 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-12disable https server default for telemetryjhh4-88/+11
Issue-ID: POLICY-3230 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2fd74011b649bca1acbef217bbf6ee222a6352eb
2021-05-12fix telemetry related sonar security issuesjhh3-15/+56
Issue-ID: POLICY-3257 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ic599b593abbc999c4e6a6fd4bc72acd5ec6e09f9
2021-05-10interrupted exception and var usage sonarsjhh3-50/+66
Issue-ID: POLICY-3230 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I50a4ee81f0a1c97df25732a4e4507e8b7f8c8e4d
2021-05-10Merge "sonars policy-utils and feature-lifecycle"Ram Krishna Verma10-83/+60
2021-05-10Merge "support no https or authentication in telemetry"Jorge Hernandez1-2/+13
2021-05-10support no https or authentication in telemetryjhh1-2/+13
Issue-ID: POLICY-3230 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I86a5f1081293a6b3d5f52c4462b947facbd9ee88 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-05-07sonars policy-utils and feature-lifecyclejhh10-83/+60
Issue-ID: POLICY-3289 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iaf7423f840fb39a27c3e5fd293159d1336d5557a
2021-05-07Remove deprecated method from drools-pdp csitRam Krishna Verma1-13/+12
Issue-ID: POLICY-3257 Change-Id: I1051063677921a04ba536deac6ddedf04d360fd2 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
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>