summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-20Fix all bugs reported by Sonar in policy/engineeramkve15-127/+183
Code fixes for 27 bugs reported by Sonar in policy/engine Change-Id: I96da96b38a2e2954ec549e5cdf6ed3ad1d76722c Issue-ID: POLICY-662 Signed-off-by: eramkve <ram.krishna.verma@ericsson.com>
2018-03-14Merge "Policy:Blocker"Pamela Dragosh1-9/+11
2018-03-14JUnit addition for SDK-APPbobbymander1-0/+164
Issue-ID: POLICY-604 Change-Id: Ib48f22dfe0db68348cb820d4186e7d3a79864b3f Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-14Policy:BlockerManamohan Satapathy1-9/+11
Use try-with-resources to close this JarFile:L590 L617 Issue-ID: POLICY-688 Sonar link:https://sonar.onap.org/issues?myIssues=true&open=AWF91iXI8TZzbCgU6anv&resolved=false&severities=BLOCKER Location:BRMSGateway\src\main\java\org\onap\policy\brmsInterface\BRMSPush.java Change-Id: I11f07325e78d6c7a9760496db4685546d2910595 Signed-off-by: Manamohan Satapathy <MS00534989@techmahindra.com>
2018-03-14Upgrade dmaap release 1.1.3Pamela Dragosh1-1/+1
Dmaap released their artifact as the snapshot is no longer available. Issue-ID: POLICY-694 Change-Id: Iaeeed2266a00271967334cb33e79d4c42a33f90a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-03-13Merge "Upgrade to latest elasticsearch"Pamela Dragosh2-2/+2
2018-03-13Merge "Upgrade log4j to clear security issue"Pamela Dragosh1-1/+1
2018-03-13Merge "JUnit additions for PAP-REST,SDK-APP"Jorge Hernandez3-2/+78
2018-03-13Merge "Fixed the SDK Junits and cleaned unused code"Jorge Hernandez5-542/+10
2018-03-13Upgrade to latest elasticsearchPamela Dragosh2-2/+2
Will not clear any CLM issue but this for uses a version that is using the latest lucene-queryparser. It is noted in the CVE for lucene-queryparser that elasticsearch is not affected by the issue. We will upgrade to keep up with the latest code. Issue-ID: POLICY-507 Change-Id: I8580dbc704c48245faf298304b8aec76c9e773c4 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-03-13Upgrade log4j to clear security issuePamela Dragosh1-1/+1
Vulnerability id is CVE-2017-5645 Issue-ID: POLICY-507 Change-Id: Ifed6ae8991edfa1d0e9b8c38afe19f5b43cf0b46 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-03-13Merge "Policy:Blocker"Pamela Dragosh1-4/+1
2018-03-13JUnit additions for PAP-REST,SDK-APPbobbymander3-2/+78
Issue-ID: POLICY-600 Change-Id: Ie2a3257e26382f68d8cb008dc5ac512d6ac49c8b Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-13Merge "Sonar Major"Pamela Dragosh1-1/+1
2018-03-13Merge "Sonar Major"Pamela Dragosh1-1/+1
2018-03-13Merge "Sonar Blocker"Pamela Dragosh1-20/+9
2018-03-13Sonar MajorSP005016381-1/+1
Move the api string literal on the left side of this string comparison XACMLPapServlet.java:L1179 Sonar Link: https://sonar.onap.org/issues?myIssues=true&open=AV2blOo25bp_wwmIUQnh&resolved=false&severities=MAJOR Location: ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/XACMLPapServlet.java Line Number:1179 Change-Id: I937caaca01107d2a11be4050ff7be5e5dc66acb6 Issue-ID: POLICY-690 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-13Sonar MajorSP005016381-1/+1
Move the GUARD_BL_YAML string literal on the left side of this string comparison DecisionPolicyController.java:L208 Sonar Link: https://sonar.onap.org/issues?myIssues=true&open=AV2blO9u5bp_wwmIURef&resolved=false&severities=CRITICAL%2CMAJOR Location: POLICY-SDK-APP/src/main/java/org/onap/policy/controller/DecisionPolicyController.java Line Number:208 Change-Id: I04199190cbb4afd50bcfa0a2725e6f2fef8dddba Issue-ID: POLICY-689 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-13Merge "Sonar Major"Pamela Dragosh1-1/+1
2018-03-13Policy:BlockerManamohan Satapathy1-4/+1
Use try-with-resources to close this JarFile:L264 L265 Issue-ID: POLICY-683 Sonar Link: https://sonar.onap.org/issues?myIssues=true&open=AWF91iwf8TZzbCgU6arv&resolved=false Location:ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/ActionPolicy.java Change-Id: Ie9adb5b50dbb61c923bf73fa107fd19366f24304 Signed-off-by: Manamohan Satapathy <MS00534989@techmahindra.com>
2018-03-13Sonar BlockerSP005016381-20/+9
Use try-with-resources or close this BufferedWriter in a finally clause FirewallConfigPolicy.java:107 Sonar Link: https://sonar.onap.org/project/issues?id=org.onap.policy.engine%3APolicyEngineSuite&myIssues=true&open=AWF91ixe8TZzbCgU6ar2&resolved=false&severities=BLOCKER Location: ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/FirewallConfigPolicy.java Change-Id: I0ab8bf61fb9a6eb32ebdb5fccb66a67a8ac36b77 Issue-ID: POLICY-687 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-13Sonar MajorSP005016381-3/+1
Merge this if statement with the enclosing one CreateBrmsParamPolicy.java:L218 Sonar Link: hhttps://sonar.onap.org/project/issues?id=org.onap.policy.engine%3APolicyEngineSuite&myIssues=true&open=AV2blOqK5bp_wwmIUQqX&resolved=false&severities=MAJOR Location: ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/CreateBrmsParamPolicy.java Change-Id: I0f9885a2491735878d688a2c812afd15a052f481 Issue-ID: POLICY-686 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-13Fixed the SDK Junits and cleaned unused coderb71475-542/+10
Moved file tmp object from try resources block. due to not closing the stream the inputstream read by xacmlpolicyscanner ended with premature file error. Cleaned unused code. Issue-ID: POLICY-584 Change-Id: I92c4d000d94a144736d9ac46db384785a7512593 Signed-off-by: rb7147 <rb7147@att.com>
2018-03-12Sonar MajorSP005016381-1/+1
Move the null string literal on the left side of this string comparison CreateFirewallController.java:L347 Sonar Link: https://sonar.onap.org/project/issues?id=org.onap.policy.engine%3APolicyEngineSuite&myIssues=true&open=AWBFphN0-08if2a6vI7H&resolved=false&severities=MAJOR Location: POLICY-SDK-APP/src/main/java/org/onap/policy/controller/CreateFirewallController.java Change-Id: I744a66f3622fb7db0933c7c7dabc520e859cff4d Issue-ID: POLICY-685 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-09JUnit additions for BRMSGWbobbymander1-0/+127
Issue-ID: POLICY-598 Change-Id: I90bee429a303b6fbc27272f3a1aa38d89d473e50 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-09Merge "Use org.onap.aaf dependencies"Jorge Hernandez5-89/+20
2018-03-09Merge "Fix brmsgw regex handling for dependecies"Jorge Hernandez1-2/+3
2018-03-09Use org.onap.aaf dependenciesPamela Dragosh5-89/+20
Move from github version to the onap version. Issue-ID: POLICY-568 Change-Id: I30f91b07cb690e50e829c14725c1bf05a1f4200b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-03-09Merge "Junits for ONAP-PDP module"Pamela Dragosh4-4/+361
2018-03-09Fix brmsgw regex handling for dependeciespa834y1-2/+3
Issue-ID: POLICY-684 Change-Id: I3a8fbbaebf4fdfcd097edcc367e06ef8807aa3bc Signed-off-by: pa834y <pa834y@att.com>
2018-03-09Merge "JUnit additions for PAP-REST"Pamela Dragosh3-0/+178
2018-03-09Merge "ClientEndpoint needs to be instantiabe"Jorge Hernandez1-4/+0
2018-03-09Merge "Policy:Blocker"Jorge Hernandez1-8/+11
2018-03-09Junits for ONAP-PDP moduleMagnusen, Drew (dm741q)4-4/+361
Added coverage for the FindAction class. Issue-ID: POLICY-601 Change-Id: Id7fc2a75de65ff6182f662d2330095cd371d2c7e Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2018-03-09JUnit additions for PAP-RESTbobbymander3-0/+178
Issue-ID: POLICY-600 Change-Id: Id705865614faf42dfc604b1b88066122614f866c Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-09Merge "Sonar Major"Jorge Hernandez1-1/+1
2018-03-09Merge "JUnit additions for PDP-REST,ONAP-SDK-APP"Jorge Hernandez4-0/+196
2018-03-09Merge "Change default log location per logging guidelines"Pamela Dragosh1-1/+1
2018-03-09Merge "Sonar Major"Pamela Dragosh1-1/+1
2018-03-09Sonar MajorSP005016381-1/+1
Remove this useless assignment to local variable temp CreateNewMicroServiceModel.java:L195 Sonar Link: https://sonar.onap.org/issues?assignees=swapnalipode&open=AV2blOqq5bp_wwmIUQr6&resolved=false Location: src/main/java/org/onap/policy/pap/xacml/rest/components/CreateNewMicroServiceModel.java Change-Id: Icdd79502962e1173d83bca442d2d739b058932ba Issue-ID: POLICY-682 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-08ClientEndpoint needs to be instantiabepa834y1-4/+0
Issue-ID: POLICY-660 Change-Id: I0d377eb9d500218933217faeb224929548da0e5a Signed-off-by: pa834y <pa834y@att.com>
2018-03-08JUnit additions for PDP-REST,ONAP-SDK-APPbobbymander4-0/+196
Issue-ID: POLICY-602 Change-Id: I354415df7292656d60ce573fb5b004f5de25899a Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-08Merge "JUnit additions for BRMS,POLICY-SDK-APP"Jorge Hernandez4-0/+275
2018-03-08Merge "Sonar Major"Jorge Hernandez1-1/+1
2018-03-08Change default log location per logging guidelinesJorge Hernandez1-1/+1
Change-Id: Ib45bbede0330c6bf5dd6461b2642321d8fdb49ad Issue-ID: POLICY-554 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-08Merge "configurable logs dir and creation as root"Pamela Dragosh1-1/+4
2018-03-08Remove filtering from packages/docker/pommmis1-1/+0
Filtering should not be applied in the maven-resources-plugin execution as this incorecttly modifes the scripts copied by this plugin Issue-ID: POLICY-652 Change-Id: I92c73af6830f81ee3fbcdda68333a67378ce08a2 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-03-08JUnit additions for BRMS,POLICY-SDK-APPbobbymander4-0/+275
Issue-ID: POLICY-598 Change-Id: Ic3d9ca2a5f6c29f772bd747612d6c7caeb15eb7f Signed-off-by: bobbymander <bobby.mander@att.com>
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>