summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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
2018-02-27Merge "Policy:Major"Pamela Dragosh1-6/+6
2018-02-27JUnit additions for XACML,REST,POLICY-SDKbobbymander3-0/+144
Issue-ID: POLICY-584 Change-Id: I4bb91b18122c7f61bb71b1a9e39d51cd65af70bd Signed-off-by: bobbymander <bobby.mander@att.com>
2018-02-27Code Clean Up for Policy PAP-RESTrb714726-5305/+2215
Cleaned the duplicate code for all dictionary controllers and created Utils class. Issue-ID: POLICY-600 Change-Id: I65b8574d9f667758407515a5c55bc28f636be477 Signed-off-by: rb7147 <rb7147@att.com>
2018-02-27Policy:MajorManamohan Satapathy1-6/+6
Local variables should not shadow class field:L992 L1719 Issue-ID: POLICY-649 Sonar Link: https://sonar.onap.org/issues?myIssues=true&projectUuids=AV2blNLJ5bp_wwmIUP3L&resolved=false&severities=CRITICAL%2CMAJOR&types=CODE_SMELL Location:POLICY-SDK-APP\src\main\java\org\onap\policy\controller\CreateDcaeMicroServiceController.java Change-Id: I1d038829867c7d019473909650946a9539b5e736 Signed-off-by: Manamohan Satapathy <MS00534989@techmahindra.com>
2018-02-27Add Junit to policy/engine LogParser packageramverma4-2/+49
Test cases to improve the coverage of LogParser to 72% Change-Id: Idbf9dbbc7254d2ba4d6953852d7847b5070dd4d4 Issue-ID: POLICY-599 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-02-26Merge "Added junits to increase coverage"Pamela Dragosh4-15/+512
2018-02-26Added junits to increase coverageMAGNUSEN4-15/+512
This commit adds some junits which touch several classes in the notifications package in the ONAP-PDP-REST project. Issue-ID: POLICY-602 Change-Id: Ie99ddd03841d4063aba64781bf08a38d2a25f0ed Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2018-02-26JUnit additions for BRMS,PDP-REST,RESTbobbymander8-4/+257
Issue-ID: POLICY-598 Change-Id: I397ed925bdb43a4b2f7a94cc4692b6506f650ede Signed-off-by: bobbymander <bobby.mander@att.com>
2018-02-26JUnit additions for PDP,PDP-RESTbobbymander2-0/+106
Issue-ID: POLICY-600 Change-Id: Ia5584011cbd42b9b49953d714efbeb5956b9b295 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-02-23Merge "Fix Fortify Issue - External Entity Injection"Jorge Hernandez1-2/+5
2018-02-23Merge "Add JUnit tests policy/engine PolicyEngineAPI"Jorge Hernandez7-613/+1910
2018-02-23Fix Fortify Issue - External Entity Injectionguangxingwang1-2/+5
Fix Fortify Issue by setting secure process of factory as true Issue-ID: POLICY-551 Change-Id: I46890d2664d0ae9ed9540ba830d0f4b27136a6e9 Signed-off-by: guangxingwang <gw1218@att.com>
2018-02-23Add JUnit tests policy/engine PolicyEngineAPIwaqas.ikram7-613/+1910
Change-Id: I8d7a76836759b042c83349c2b875fb77085b531c Issue-ID: POLICY-606 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-02-22JUnit small additions for PAP-REST,PDP-REST,XACMLbobbymander3-3/+146
Issue-ID: POLICY-600 Change-Id: I1b012dd1dbc49c10cd47b5f100e8ccef6c92f70b Signed-off-by: bobbymander <bobby.mander@att.com>
2018-02-22Merge "JUnit additions for ONAP-PAP-REST xacml.rest"Jorge Hernandez2-0/+142
2018-02-22Merge "Fix Fortify Path Manipulation Issue"Jorge Hernandez4-2/+196
2018-02-22Fix Fortify Path Manipulation Issueguangxingwang4-2/+196
Fix Fortify path manipulation issue by adding a validation on dictionary name. Issue-ID: POLICY-541 Change-Id: I87492b0d80bf96bebfc029d7d164cdd20ca5ef0f Signed-off-by: guangxingwang <gw1218@att.com>
2018-02-22JUnit additions for ONAP-PAP-REST xacml.restbobbymander2-0/+142
Issue-ID: POLICY-600 Change-Id: Ia6ccc2904efd7c1e7ec206caaedd8552c83d92a5 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-02-21Updated the Policy Logging Patternrb71475-303/+158
Updated the logback.xml to save logs for 30 days. Issue-ID: POLICY-644 Change-Id: I578570fa5a7f86ba464c37cddab43a2fabcdae7f Signed-off-by: rb7147 <rb7147@att.com>
2018-02-21Upgraded SDK version in Policyrb71472-2/+2
Issue-ID: POLICY-645 Change-Id: Ie83b4c91c8186433e582cccadf5c3d32209a88f4 Signed-off-by: rb7147 <rb7147@att.com>
2018-02-21Merge "Added Junits for POLICY-SDK-APP controllers"Jorge Hernandez7-3/+270
2018-02-21Merge "Fix Fortify Log Forging Issue"Jorge Hernandez1-3/+3
2018-02-21Merge "JUnit test for policy/engine PolicyEngineAPI"Jorge Hernandez26-3293/+2973
2018-02-21Added Junits for POLICY-SDK-APP controllersuj426b7-3/+270
Issue-ID: POLICY-584 Change-Id: I306f3484f466accf11ca4fd59864a4b402dcb733 Signed-off-by: uj426b <uj426b@att.com>
2018-02-21Fix Fortify Log Forging Issueguangxingwang1-3/+3
Fix Fortify log forging issue by removing properties info from logging. Issue-ID: POLICY-544 Change-Id: I6e7d39abe18698f864564844963d7bbddedd2e3b Signed-off-by: guangxingwang <gw1218@att.com>
2018-02-21Merge "JUnit additions for ONAP-PAP-REST"Pamela Dragosh4-1/+322
2018-02-21JUnit additions for ONAP-PAP-RESTbobbymander4-1/+322
Issue-ID: POLICY-600 Change-Id: I2e6d0d656a9be77b038a08568d43d1bb7efefe57 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-02-20Added Junits for Policy PAP-RESTrb714728-1880/+721
Clenaed the unsued code. Cleaned the duplication of code and moved to ONAP-REST. Added Junits for PAP-REST Issue-ID: POLICY-600 Change-Id: I56e6e8f2f547def9eaf8624a9e0dd52dc05ad136 Signed-off-by: rb7147 <rb7147@att.com>
2018-02-20Fix for h2 missing from testingPamela Dragosh5-0/+40
First submit for re-organizing pom.xml dependencies. H2 is ONLY used for testing and should be loaded otherwise. We removed it from policy/common so that is affecting these test. Issue-ID: POLICY-626 Change-Id: Iba86e89f2cb26581b2b465091e829d6bdd66a37b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-02-20Merge "Add Junit to policy/engine LogParser"Jorge Hernandez3-0/+133
2018-02-20Merge "Added Junits to ONAP-PDP-REST"Jorge Hernandez6-0/+606
2018-02-20Add Junit to policy/engine LogParserramverma3-0/+133
Junits to improve the coverage of LogParser to 55% Change-Id: Icddecd7a2904d5a679910f7d5fcac891b3698c66 Issue-ID: POLICY-599 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-02-20JUnit test for policy/engine PolicyEngineAPIwaqas.ikram26-3293/+2973
Change-Id: I31991245bb5cc877722f7ce14530222a102d6472 Issue-ID: POLICY-606 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-02-20Merge "Fix Fortify Scan Issue:"Pamela Dragosh10-104/+104
2018-02-20Added Junits to ONAP-PDP-RESTMichael Mokry6-0/+606
Junits to cover classes in the api/services package that were at 0% coverage Change-Id: Ic92b9db4a8beea827b9b85de826da909b02ea1bd Issue-ID: POLICY-338 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-02-19Fix Fortify Scan Issue:guangxingwang10-104/+104
1) Fix Fortify Header Manipulation issue by checking the format of the message before adding it response header. 2) Fix Fortify Hardcoded Password issue by using encryption and decryption Issue-ID: POLICY-543 Change-Id: I16b44b9b0670b1af75094c9ae9d1f7d352fa894a Signed-off-by: guangxingwang <gw1218@att.com>