summaryrefslogtreecommitdiffstats
path: root/ONAP-PAP-REST
AgeCommit message (Collapse)AuthorFilesLines
2017-11-08Update SNAPSHOT versionPamela Dragosh1-1/+1
Releasing v1.1.0 so need to update to v1.1.1 Issue-ID: POLICY-436 Change-Id: Ic575e75d0321c3de2074f8e23d2d0bbd11f6a229 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-11-02Updated the External Dependencies Versionrb71471-2/+2
Resolved the Blocker issue and removed snapshot version Issue-ID: POLICY-406 Change-Id: I1ca4b32aca571610a3d50ae8a105fb45803fd002 Signed-off-by: rb7147 <rb7147@att.com>
2017-10-11Added Policy GUI Cosmetic Fixesrb71471-3/+3
Fixed the Refresh cache issue. Fixed the Popup modal css issue. Fixed the cosmetic issues. Issue-Id: POLICY-310 Change-Id: Ib41713a6f9a6573667d7b4ae6836e411dc32c854 Signed-off-by: rb7147 <rb7147@att.com>
2017-10-10Fixing the BRMS rule generation issueTej, Tarun2-33/+29
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-10-06Fixed bug introduced by sql injeciton protection.Temoc Rodriguez1-1/+6
Added missing colon before the named parameters. Fixed a typo parameter name. Fixed bad cast by setParameter. This fixes issues encountered in the UI. Whenever a policy is moved, renamed, or deleted it makes a db call and that db call fails on setParameter method. This hibernate method is supposed to automatically detect the type of the object for the named parameters but it fails with type Long. It tries to convert to int and it fails. A check is now added for type Long. Issue-ID: POLICY-278 Change-Id: Idbb4067a5ec2cc9d9b040de9e574ba2564e1ee2c Signed-off-by: Temoc Rodriguez <cr056n@att.com>
2017-09-28Fix major sonar issuesshashikanth1-18/+16
Fix major sonar issues in policy/engine module https://sonar.onap.org/component_issues?id=org.onap.policy.engine%3APolicyEngineSuite#resolved=false|severities=MAJOR|rules=squid%3AS1132|fileUuids=AV2blNYr5bp_wwmIUP_g Move the "Duplicate" string literal on the left side of this string comparison. Issue-Id:POLICY-272 Change-Id: I78d4d627aa58fd90340c9e780728bae12a0b78bc Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-26Policy API support for Rainy Day Decision PolicyMichael Mokry7-9/+30
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, Tarun5-4/+463
additional tests for Policy engine PAP project Issue-Id: POLICY-52 Change-Id: I9a23ca758783e8f370c82a56143b53e3c858051c Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-21Merge "Added Junits for POLICY-SDK-APP"Pamela Dragosh2-4/+4
2017-09-21Added Junits for POLICY-SDK-APPrb71472-4/+4
Issue-Id: POLICY-52 Change-Id: I439c95736f50fe9140e71cad5a598c5b5239161b Signed-off-by: rb7147 <rb7147@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, Tarun12-249/+337
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-15Adding Junits for policy engineTej, Tarun5-123/+21
Adding Junits to Policy Engine Utils project, removed duplicates, fixed few defects along the way and fixes to projects. Issue-Id: POLICY-52 Change-Id: Ia0598300f9bd60f5372b9ef7d8984657478a1611 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-12Resolved Policy GUI Issuesrb71472-12/+4
Resolved the time to leave date issue field to support all browsers. Resolved Export and Import Policy Functionality. Added few GUI cosmetic fixes. Issue-Id : POLICY-221 Change-Id: I920a4d9c8e16ae1cffcd13df3319e109a992ba55 Signed-off-by: rb7147 <rb7147@att.com>
2017-09-11sonar blocker/critical fixesTej, Tarun2-21/+44
Fixes for sonar critical and blocker issues Issue-Id: POLICY-113 Change-Id: I33bf28abfc52bf289401c58409beaac01b5c2fa6 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-11Health check issue fixesTej, Tarun2-489/+590
Fixes to PDP log parser failure issues and sonar fixes Issue-Id: POLICY-211 Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab452ae7 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-11Merge "Sonar Blocker"Pamela Dragosh1-4/+1
2017-09-11Sonar Blockeramshegokar1-4/+1
Sonar Blocker for ONAP-PAP-REST Change-Id: Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbc9c Issue-ID: POLICY-217 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2017-09-11Merge "Fix critical sonar for ONAP-PAP-REST"Jorge Hernandez1-12/+15
2017-09-11Fix critical sonar for ONAP-PAP-RESTGuo Ruijing1-12/+15
This patch is to fix sonar issue for ONAP-PAP-REST. Change-Id: I71530f1f92e5eda479e04c495bb7858b9d995b73 Issue-Id: POLICY-174 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-08New commit to add Junits to PAP-RESTMichael Mokry5-32/+728
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, Tarun23-159/+228
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-09-06Sonar fixes for Policy engineAvinashS7-152/+149
Remaining critical and few major issues fix. Change-Id: I5e602e377bd52877b1c791d4e00f79feceec391f IssueId: POLICY-174 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-04Fix critical sonar for ONAP-PAP-RESTGuo Ruijing2-6/+35
This patch is to fix sonar issue for ONAP-PAP-REST. Change-Id: I81f316dbedc994486cce1331d3e9c406ea90aaa7 Issue-Id: POLICY-174 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-08-30ONAP-PAP-REST sonar fixesAvinashS3-39/+51
Few major and minor sonar issues fixes under policy engine. Change-Id: I3845ca4f050cdfada5c9e5cf2155a20974d6db37 IssueId: POLICY-174 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-08-30Sonar fixes for ONAP-PAP-RESTAvinashS15-1427/+1369
Critical, Major and minor issues fix. Change-Id: I7ae1ad11602f7d4dfe96c02c666c48057a8de2eb IssueId: POLICY-174 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-08-29Fix critical sonar for ONAP-PAP-RESTGuo Ruijing3-108/+113
This patch is to fix sonar issue for ONAP-PAP-REST. Change-Id: I91e9da0edbd5bb261a5c7491f6612c1136af561c Issue-Id: POLICY-174 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-08-24Fixes for missed sonar critical issuesTej, Tarun6-98/+85
Few fixes to the missed sonar critical issues and import warning fixes which are part of sonar critical fixes. Issue-Id: POLICY-113 Change-Id: If5010e984020b673e058cc1d01a8964a2354796d Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-08-24Merge "Fix critical sonar for ONAP-PAP-REST"Jorge Hernandez6-12/+15
2017-08-24Merge "Sonar fix forONAP-PAP-REST critical sonar issues"Pamela Dragosh27-679/+294
2017-08-24Fix critical sonar for ONAP-PAP-RESTGuo Ruijing6-12/+15
This patch is to fix error-handling sonar issue for ONAP-PAP-REST. Change-Id: Ic5755cc02f282938d098c3a5c9e869318429c2c6 Issue-Id: POLICY-174 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-08-24Sonar fix forONAP-PAP-REST critical sonar issuesAvinashS27-679/+294
Policy engine code cleanup for fixing exceptions, logger stream requirements. Change-Id: If641478dff698830d89ff4bb6ef8c698733ba0a6 Issue-Id: [POLICY-174] Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-08-23Fixes for sonar critical issuesTej, Tarun1-138/+175
Fixes for critical and blocker issues reported in sonar. Issue-Id: POLICY-113 Change-Id: I50969fe93a94b0497f3fb30864a6c45e63208fe6 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-08-16Remove policy-yaml from policy/engineTej, Tarun1-19/+19
Removed controlloopPolicy yaml sdk and asdc projects from policy/engine to eliminate redundancy. Issue-Id: POLICY-88 Change-Id: I9b87290cc27ba088424ecbb9d359a331527950fb Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-08-15Merge "Fixes for eclipse warnings unused variables"Pamela Dragosh5-151/+4
2017-08-14Fixes for eclipse warnings unused variablesTarun Tej Velaga5-151/+4
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-08-14Add fix for SQL injection.Rodriguez, Cuauhtemoctzin (cr056n)2-5/+17
Add fix for SQL injection by passing parameters into getDataByQuery method and binding parameters. Add junit test file. Override equals and hashcode methods for more thorough testing on ActionBodyEntity, ConfigurationDataEntity, PolicyEntity, PolicyVersion, WatchPolicyNotificationTable classes. Issue-Id: [POLICY-158] Change-Id: Icebe1ca1ff01c8ea7435729967f4d349a1026054 Signed-off-by: ITSERVICES\cr056n <cr056n@att.com>
2017-07-31[POLICY-73] replace openecomp for policy-engineGuo Ruijing92-0/+32951
Change-Id: I54072f6bcd388c0e05562614ee89b4ae7ad67004 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>