summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-23Merge "Add database initialization to XACML PDP test"Pamela Dragosh1-1/+50
2018-03-23Merge "Resolved the Policy Removal issue from PDP"Jorge Hernandez1-1/+1
2018-03-22Add database initialization to XACML PDP testliamfallon1-1/+50
This issue arose due to the order of execution of JUnit tests. The tests in XACMLPAPTest failed becasue the database was not initialized. Up till now, the @Before method in the test class org.onap.policy.pap.ia.DbAuditCompareEntriesTesti initiated the database. THis bug fix adds a similar @Before method to the XACMLPAPTest class to initialize the database. All other classes in the module were tested with both @Before methods commented out to ensure that no other tests will fail due to this issue. Issue-ID: POLICY-707 Change-Id: Ibce5fad5c006f7a92b3ef77bde4dc5ed6f7039ed Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-03-22Merge "Fix vulnerabilities and bugs in policy/engine"Jorge Hernandez11-75/+87
2018-03-22Merge "JUnit additions for PDP-REST,REST,SDK-APP"Jorge Hernandez4-5/+200
2018-03-22Resolved the Policy Removal issue from PDPrb71471-1/+1
Issue-ID: POLICY-706 Change-Id: I2425e305ed660ea07662e0a26e713cc91ed92e72 Signed-off-by: rb7147 <rb7147@att.com>
2018-03-22Release NotesSaryu Shah1-4/+111
Initial release notes for Beijing ------------------------------------------------------------- Issue-ID: POLICY-535 Change-Id: Ia1da3b07fd305927a92c08225df452ee43d505f6 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-03-21JUnit additions for PDP-REST,REST,SDK-APPbobbymander4-5/+200
Issue-ID: POLICY-584 Change-Id: I3b16e2a957e67ecfe5c28d2afaa09771ae891216 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-21Fix vulnerabilities and bugs in policy/engineeramkve11-75/+87
Code fixes for 1 bug and 17 vulnerabilities reported by Sonar in policy/engine Change-Id: I7b641795c790ec15418bd9ae3a414279e1b0f733 Issue-ID: POLICY-662 Signed-off-by: eramkve <ram.krishna.verma@ericsson.com>
2018-03-21Merge "JUnit additions for PAP-REST,REST,Utils"Pamela Dragosh4-59/+266
2018-03-21Merge "Fix all bugs reported by Sonar in policy/engine"Pamela Dragosh15-127/+183
2018-03-21JUnit additions for PAP-REST,REST,Utilsbobbymander4-59/+266
Issue-ID: POLICY-600 Change-Id: I9a432f9e8af43184d116d5eeb2fbbac65472564e Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-20Add Matching Fields For MS ModelWang,Frank(gw1218)2-4/+35
Fixed the missing function of matching fields for TOSCA Model Issue-ID: POLICY-655 Change-Id: I41017a4cf01df7f4c36e086f76d169e3e216dc34 Signed-off-by: guangxingwang <gw1218@att.com> Signed-off-by: Wang,Frank(gw1218) <gw1218@att.com>
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-20cookbook, updated architecture docSaryu Shah7-0/+134
policy documentation - cookbook, updated architecture ------------------------------------------------------------- Issue-ID: POLICY-535 Change-Id: I7d13c145993692b8669f4855b0b23cc73eaa8142 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-03-20Merge "JUnit additions for SDK-APP"Pamela Dragosh1-33/+76
2018-03-20Merge "Fix Another Typo in dependency.json"Pamela Dragosh1-1/+1
2018-03-20Merge "Policy Release Notes Updates"Pamela Dragosh1-3/+23
2018-03-19Fix Another Typo in dependency.jsondc443y1-1/+1
Unresolveable maven coordinates when building the rules jar caused by a missing s in drools-applications. Issue-ID: POLICY-660 Change-Id: I3e78fec9c9e58c10f2a9366d15447e8a3998d343 Signed-off-by: dc443y <dc443y@att.com>
2018-03-19Merge "Update oparent version to 1.1.0"Pamela Dragosh9-4/+22
2018-03-16Policy Release Notes UpdatesSaryu Shah1-3/+23
Updated Policy Release Notes for Amsterdam Maintenance Release ------------------------------------------------------------- Change-Id: I748a9233fa1be1cf6ef729f3f78d39cba181d18c Issue-ID: POLICY-486 Signed-off-by: Saryu Shah <ss3917@att.com> (cherry picked from commit 374caf1b9b38893ee3efac301b5f81c2d64b1d08)
2018-03-16Fix type in dependency.jsondc443y1-1/+1
The BRMSGW was unable to generate rules artifacts during docker installation due to an unresolved dependency. A typo was discovered in the problematic dependency which was causing the error. Issue-ID: POLICY-660 Change-Id: If4dbe5e640f10d063fa5643112338b10fd29187d Signed-off-by: Daniel Cruz <dc443y@att.com>
2018-03-16JUnit additions for SDK-APPbobbymander1-33/+76
Issue-ID: POLICY-604 Change-Id: I2e2cdb3037a70af7d8d85a4a6274b3e361510bc1 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-16Merge "Exclude httpclient to resolve CLM issue"Pamela Dragosh1-0/+4
2018-03-16Merge "JUnit addition for SDK-APP"Pamela Dragosh2-59/+117
2018-03-16Merge "Renamed policy-pe docker image"Pamela Dragosh3-15/+15
2018-03-15JUnit addition for SDK-APPbobbymander2-59/+117
Issue-ID: POLICY-604 Change-Id: I9abc8418ddab1f487385c38c0424db601f8746e2 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-14Update oparent version to 1.1.0liamfallon9-4/+22
Directive from ONAP project that all repos should be updated. Change vierified with a build with .m2 /org/onap cleared. The test cases are updated becasue changing the oparent version changed the order of test execution and tests failed due to the static data in PAPServices not being cleared. Clearing of PAPServices data in those test cases is now done in an @After method. The test case in the test below has a test dependency: ONAP-PDP-REST/src/test/java/org/onap/policy/pdp/rest/notifications/test/NotificationTest.java depends on com.att.aft.dme2 version 3.1.200-oss That dependency was added to the POM of ONAP-PDP-REST Issue-ID: POLICY-693 Change-Id: Ie070f9e94216f4a81f114380782a834ce8663fd5 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-03-14Exclude httpclient to resolve CLM issuePamela Dragosh1-0/+4
v4.5.1 is being ommitted via maven depedency resolution. So we will exclude to help clear the CLM issue being flagged. Issue-ID: POLICY-507 Change-Id: I5636da0a8109fa66cf00eb9205d89d7437517955 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-03-14Merge "Policy:Blocker"Pamela Dragosh1-9/+11
2018-03-14Renamed policy-pe docker imagemmis3-15/+15
Renamed from: onap/policy/policy-pe to onap/policy-pe to enable consistent naming across nexus3 and docker hub Issue-ID: POLICY-674 Change-Id: I1ace3e6034a17afa1ed68198b367e17981ec388b Signed-off-by: mmis <michael.morris@ericsson.com>
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>