aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-08Sonar MajorSP005016381-1/+1
Remove this useless assignment to local variable em PolicyDBDao.java:L361 Sonar Link: https://sonar.onap.org/issues?assignees=swapnalipode&open=AV2blOr_5bp_wwmIUQxy&resolved=false Location: src/main/java/org/onap/policy/pap/xacml/rest/components/PolicyDBDao.java Change-Id: I2ef3046c1902768589db51127aaf320f94342a9c Issue-ID: POLICY-679 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-08Sonar MajorSP005016381-1/+1
Remove this useless assignment to local variable xMessage ElkConnectorImpl.java:L169 Sonar Link: https://sonar.onap.org/issues?assignees=swapnalipode&open=AV2blOwt5bp_wwmIUREc&resolved=false Location: src/main/java/org/onap/policy/pap/xacml/rest/elk/client/ElkConnectorImpl.java Change-Id: Ia397ffa7cb93b8c1ce8f5f02a09685656c74ddc0 Issue-ID: POLICY-678 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-07Merge "Copy files for docker image in packages/docker/pom"Pamela Dragosh4-11/+49
2018-03-07Merge "Clean up pom.xml and fix CLM"Pamela Dragosh5-14/+16
2018-03-07Copy files for docker image in packages/docker/pommmis4-11/+49
Copying the files in the pom removes the need to do the copying in various locations the docker build is executed from and allows the docker image be built without building the entire repo (as the install.zip can be pulled from nexus) Issue-ID: POLICY-652 Change-Id: I90498f7e0c00e63381d746f80f937b31b3f7199d Signed-off-by: mmis <michael.morris@ericsson.com>
2018-03-06Merge "PolicyApiUtils junits"Jorge Hernandez1-0/+268
2018-03-06Merge "JUnit workaround for PAP-REST, sonar bug"Jorge Hernandez2-2/+3
2018-03-06Merge "Add new constructor"Jorge Hernandez3-26/+73
2018-03-06PolicyApiUtils junitsMagnusen, Drew (dm741q)1-0/+268
Added some junits for the PolicyApiUtils class. Issue-ID: POLICY-602 Change-Id: I393b636021c18d2406341f7fd8246fd342ab6f11 Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2018-03-06Add new constructorDeterme, Sebastien (sd378r)3-26/+73
Add a new constructor to PolicyEngine to support Properties parameters instead of a file. Issue-ID: CLAMP-136 Change-Id: Id82a736cac8ac5603ff3627a9ce2ac5af4197a45 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-06JUnit workaround for PAP-REST, sonar bugbobbymander2-2/+3
Issue-ID: POLICY-600 Change-Id: I9d4d986b0703c67f65b67eedabca8d0d56965f2d Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-06Added Junits for POLICY-SDK-APPrb71472-5/+93
Issue-ID: POLICY-600 Change-Id: Ib96b7ccede0fa09e71f02ff073c89682e9aa7089 Signed-off-by: rb7147 <rb7147@att.com>
2018-03-06Merge "Remove auto generated rule to the drl"Jorge Hernandez11-99/+78
2018-03-06Merge "JUnit additions for PAP-REST"Pamela Dragosh2-2/+149
2018-03-05Clean up pom.xml and fix CLMPamela Dragosh5-14/+16
This has some cleanup for overriding managed dependencies, a duplicate entry for mariadb, unnecessary inclusion of older EELF library, an upgrade of swagger tools to fix a security issue and lastly an override of a depedency to clear a security issue. Issue-ID: POLICY-507 Change-Id: I8767f6edc37551c559010d96d350afdd5961f13d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-03-05JUnit additions for PAP-RESTbobbymander2-2/+149
Issue-ID: POLICY-600 Change-Id: I59117fff52a2cd37c1260aafaae4ebe922053202 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-05Merge "Upgrade commons-collection for security fix"Jorge Hernandez2-0/+30
2018-03-05Merge "Upgrade dmaap client with security fix"Jorge Hernandez1-26/+1
2018-03-05Merge "Update Dockerfile and docker_*.sh"Jorge Hernandez1-1/+30
2018-03-05Update Dockerfile and docker_*.shmmis1-1/+30
Correction to previous commit "Move docker_*.sh scripts into policy/engine" as attempt to build docker image will result in failure to pull the policy-base image from nexus The policy-base and policy-os images are removed in favour of including the contents of those images directly in the policy-pe image Issue-ID: POLICY-624 Change-Id: Ie4a12407d4cb5a1d663cd11136c282a53f496ca3 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-03-05Remove auto generated rule to the drlpa834y11-99/+78
Issue-ID: POLICY-488 Change-Id: Id6915407a6f030b77ae2d18ad3665af9d0feb34b Signed-off-by: pa834y <pa834y@att.com>
2018-03-05Upgrade commons-collection for security fixPamela Dragosh2-0/+30
Force use of 3.2.2 to clear security issue for commons collections. Issue-ID: POLICY-507 Change-Id: Id9ac1e07b90dfb6594cde5ba4cec4e3867f43a76 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-03-05JUnit addition/fix for PAP-RESTbobbymander1-8/+21
Issue-ID: POLICY-600 Change-Id: I342bc97f85739f73b0dac6aaea19f6f4b2ded470 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-05Upgrade dmaap client with security fixPamela Dragosh1-26/+1
Dmaap removed security issues. Issue-ID: POLICY-618 Change-Id: Ied6051dd5eaec204a6d7806460410c3a3083c462 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-03-05Merge "JUnit additions for SDK-APP"Pamela Dragosh3-0/+164
2018-03-02JUnit additions for SDK-APPbobbymander3-0/+164
Issue-ID: POLICY-604 Change-Id: Ide34e02942a473c626b4f074113d235a3fdfccba Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-02Merge "Move docker_*.sh scripts into policy/engine"Jorge Hernandez10-0/+1216
2018-03-02Move docker_*.sh scripts into policy/enginemmis10-0/+1216
Add files for building policy-pe docker image Issue-ID: POLICY-614 Change-Id: Id3e999e652c7c7c6092eb9bde76709cfa1c06c7b Signed-off-by: mmis <michael.morris@ericsson.com>
2018-03-02JUnit remove one flaky test for nowbobbymander1-0/+2
Issue-ID: POLICY-600 Change-Id: I8b32cb3658e9a145a6493639787abc0145a04991 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-02Merge "Remove CLM issues with commons-collections"Jorge Hernandez2-0/+18
2018-03-02Merge "JUnit additions for PAP-REST,API"Jorge Hernandez3-0/+161
2018-03-02Merge "Added Junits for ONAP-SDK-APP"Jorge Hernandez4-16/+185
2018-03-01Remove CLM issues with commons-collectionsPamela Dragosh2-0/+18
We know that we are not configuring an LDAP PIP in our use of the XACML open source. The LDAP implementation uses Apache Velocity, which uses a very old version of commons-collections that has security issues. So we can exclude commons-collections from the build. Issue-ID: POLICY-507 Change-Id: I735eae4fe507ad016d9b0b49e67536415edb9820 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-03-01Merge "Added Junits for Policy PAP-REST"Jorge Hernandez13-242/+555
2018-03-01JUnit additions for PAP-REST,APIbobbymander3-0/+161
Issue-ID: POLICY-600 Change-Id: I68020230d370950c0323a544910ad54015e1a08a Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-01Added Junits for ONAP-SDK-APPrb71474-16/+185
Issue-ID: POLICY-604 Change-Id: Ice9264ff38d51c5801cfeedcf7169cc26ca780f5 Signed-off-by: rb7147 <rb7147@att.com>
2018-03-01Adding fix for BRMSGW issueMichael Mokry1-1/+1
This should fix the issue with the BRMSGW getting notification to create the rules jar Change-Id: Ie575a0b4717c999b8ab9deecc667ceaba99e7327 Issue-ID: POLICY-660 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-03-01Added Junits for Policy PAP-RESTrb714713-242/+555
Issue-ID: POLICY-600 Change-Id: Icb67ac587e614f663416b3ea0a03ca6e5b02c621 Signed-off-by: rb7147 <rb7147@att.com>
2018-03-01Merge "JUnit additions for PAP-REST,REST,XACML"Jorge Hernandez6-1/+139
2018-03-01JUnit additions for PAP-REST,REST,XACMLbobbymander6-1/+139
Issue-ID: POLICY-603 Change-Id: I78c5e302c474613cbb22a80e0d931b4f47dd3b63 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-01Merge "More junits for PDP-REST"Jorge Hernandez4-6/+512
2018-02-28Merge "JUnit additions for ONAP-PAP-REST"Jorge Hernandez3-0/+137
2018-02-28Merge "Added Junits for Policy PAP-REST"Jorge Hernandez30-483/+583
2018-02-28More junits for PDP-RESTMagnusen, Drew (dm741q)4-6/+512
More junits for the org.onap.policy.pdp.rest.impl/jmx packages. Issue-ID: POLICY-602 Change-Id: I2af2fc3280314a8d6c1e9c352eda042c7fea7932 Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2018-02-28JUnit additions for ONAP-PAP-RESTbobbymander3-0/+137
Issue-ID: POLICY-600 Change-Id: I6e458335b04b88146d88fea2f6fd908779d842fc Signed-off-by: bobbymander <bobby.mander@att.com>
2018-02-28Merge "remove mariadb superuser sql statements"Pamela Dragosh1-4/+1
2018-02-27Merge "JUnit additions for XACML,REST,POLICY-SDK"Jorge Hernandez3-0/+144
2018-02-27remove mariadb superuser sql statementsJorge Hernandez1-4/+1
PE installation as part of data upgrade invokes "set global" statements that are typically used by priviledged accounts as the "root" mariadb user. As part of the effort to clean up the mariadb docker install, only permissions to a regular mariadb user (policy_user by default) are given in 3 databases: onap_sdk, log, and support. This account cannot do changes outside those. In any case the usage of the global timeouts is questionable. We should keep an eye if there's any potential bad side effect, and correct it if it doesn't. It's preferable to keep "policy_user" with a restricted set of privileges, instead of being a superuser (otherwise can plainly user the root account). Change-Id: I17b1a6a2cb62a319464e1db4b3aafbc1dbf20d78 Issue-ID: POLICY-650 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-02-27Added Junits for Policy PAP-RESTrb714730-483/+583
Issue-ID: POLICY-600 Change-Id: I1d42a3a880c9d81115d48794a77fadb89562e136 Signed-off-by: rb7147 <rb7147@att.com>
2018-02-27Merge "Add Junit to policy/engine LogParser package"Pamela Dragosh4-2/+49