summaryrefslogtreecommitdiffstats
path: root/ONAP-PAP-REST/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-02-19Fix Fortify Scan Issue:guangxingwang1-15/+0
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>
2018-02-12Added Junits for Policy PAP-RESTrb71475-148/+1603
Resolved the sonar issues. Added JUnits for ONAP-PAP-REST and ONAP-REST Component. Issue-ID: POLICY-338 Change-Id: Ibec2613f4f61e9ed426583af17c2a9d5b8c8d85d Signed-off-by: rb7147 <rb7147@att.com>
2018-02-09Added Junits for ONAP-PAP-RESTrb71473-0/+904
Cleaned up unused imports. Cleaned up unused code. Added Junits for Dictionary controllers. Issue-ID: POLICY-338 Change-Id: If29b934e95fdaf60dcf82300a95a23ac3c980419 Signed-off-by: rb7147 <rb7147@att.com>
2018-02-07Merge "Adding JUNITs for ONAP-PAP-REST"Pamela Dragosh1-0/+268
2018-02-06Adding JUNITs for ONAP-PAP-RESTuj426b1-0/+268
Issue-ID: POLICY-338 Change-Id: I123a92872a236b23144c59e87ea2dffc9ee7fc48 Signed-off-by: uj426b <uj426b@att.com>
2018-02-06Policy Resiliency Code Fixesrb71472-0/+155
Resolved the issue on updating the configuration files when rename/clone/export/move actions are done through GUI. Fixed the PolicyManagerServlet code. Added test cases for newly added files. Issue-ID: POLICY-609 Change-Id: I9d14f19fe20bbc0e3b3844f85d81f26e34bb26ec Signed-off-by: rb7147 <rb7147@att.com>
2018-02-01Resolve LF license header issuePamela Dragosh1-7/+7
These were simple, we just forgot to remove the old license headers. Also needed to add a missed fix for a JUnit test. Not sure how this made it past verify. Issue-ID: POLICY-552 Change-Id: I30610ba4f8440ee16d0a5c372985f50429d60a34 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-01-03Merge "Policy Elastic Search Validation Enhancements"Pamela Dragosh1-0/+100
2017-12-14Policy Elastic Search Validation Enhancementsrb71471-0/+100
Issue-ID: POLICY-497 Change-Id: If97fe30706bcdbeeafaf28e5cca8fae31998cb7c Signed-off-by: rb7147 <rb7147@att.com>
2017-12-11Adding SONAR fixes forMichael Mokry4-7/+4
- pushPolicy defect fixes for POLICY-486 - Common Policy Validation feature for POLIYC-449 Change-Id: I8d54aa5a9b819c6eb4427dfa47c4ce963a21c2e0 Issue-ID: POLICY-449,POLICY-486 Signed-off-by: Michael Mokry <mm117s@att.com>
2017-10-10Fixing the BRMS rule generation issueTej, Tarun1-1/+1
Fixing the rule params section to look for PapParams istead of Params. This will be a temporary solution for now. Issue-Id: POLICY-302 Change-Id: I4b6b415b3eacf121be374d2dfd50303049c35aba Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-26Policy API support for Rainy Day Decision PolicyMichael Mokry2-4/+4
Enhances the Rainy Day Decision Policy by providing API support to manage Rainy Day Decision policies and dictionaries Change-Id: Ia7c49199ac057fa8bcc9de74f5e0b8dba395d43a Issue-ID: POLICY-269 Signed-off-by: Michael Mokry <mm117s@att.com>
2017-09-22Additional Junit coverage for PAP RESTTej, Tarun2-2/+451
additional tests for Policy engine PAP project Issue-Id: POLICY-52 Change-Id: I9a23ca758783e8f370c82a56143b53e3c858051c Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-21Redundant code removal and hadrcoded stringsBharat saraswal1-1/+1
Issue-Id:POLICY-252 Change-Id: Ifeadfe6dfd0d428a0580c627eeca1fc19b58c856 Signed-off-by: Bharat saraswal <bharat.saraswal@huawei.com>
2017-09-20mysql connector to mariadb changesTej, Tarun6-4/+326
changes to mysql connector to mariadb connector along with additional Junits Issue-Id: POLICY-219 Change-Id: I26ee1cf733d49d10fccbcd159fe8fc380120efbf Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-15Update to new locationPamela Dragosh1-6/+9
This is due to the change in policy/common where the value was moved to a JUnit test for passwords. Please do not submit until the policy/common commit is submitted: dd1df5fdcc8fe69f7ae310d9ffb29c2116973bd0 Issue-ID: POLICY-237 Change-Id: I993c23da043c9253f3c3e8b6bc2948377a2fec00 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-09-08New commit to add Junits to PAP-RESTMichael Mokry4-0/+717
Updated the previous commit to resolve merge conflicts from another pull request being merged before this one. Change-Id: I488246061e9b29c75ac8fe45c167ed7afa8db3b8 Issue-ID: POLICY-32 Signed-off-by: Michael Mokry <mm117s@att.com>
2017-09-08Sonar FixesTej, Tarun1-2/+2
Fixes to the sonar issues along with some cleanup code to remove warnings. Issue-Id: POLICY-113 Change-Id: I826562f7509c346210ac865cc6b31bce26bee2cf Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-08-30Sonar fixes for ONAP-PAP-RESTAvinashS2-16/+16
Critical, Major and minor issues fix. Change-Id: I7ae1ad11602f7d4dfe96c02c666c48057a8de2eb IssueId: POLICY-174 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-08-14Fixes for eclipse warnings unused variablesTarun Tej Velaga2-24/+3
Removed unused code in PAP REST caused eclipse warnings Issue-Id: POLICY-154 Change-Id: I376a2a96cb0fffd1dc89af6088362c60158e9256 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-07-31[POLICY-73] replace openecomp for policy-engineGuo Ruijing5-0/+2901
Change-Id: I54072f6bcd388c0e05562614ee89b4ae7ad67004 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>