summaryrefslogtreecommitdiffstats
path: root/POLICY-SDK-APP/src/main
AgeCommit message (Collapse)AuthorFilesLines
2017-10-30Merge "Fixed a bug on view and editor screens"Jorge Hernandez1-38/+139
2017-10-30Fixed a bug on view and editor screensguangxingwang1-38/+146
Modified the code of view and editor functions Issue-ID: POLICY-403 Change-Id: I54c7454fd6beabfec7a24227310efa44c7dd1ec6 Signed-off-by: guangxingwang <gw1218@att.com>
2017-10-26Updated the DB Script with New TOSCA modelrb71471-0/+8
Added the caching issue while uploading the model to db. Issue-ID: POLICY-372 Change-Id: I10bfcead0a5cbcb1484858a79976b7c86fba3ece Signed-off-by: rb7147 <rb7147@att.com>
2017-10-11Added Policy GUI Cosmetic Fixesrb714715-22/+81
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, Tarun1-6/+6
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 Rodriguez2-61/+67
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-27Added R1 MS Tosca templaterb71471-1/+1
Added the MS Tosca template to db scripts and cleaned up old policies. Issue-Id: POLICY-264 Change-Id: I0ee5cffbb78d1f7df0379b71fe0f3368587aa9a6 Signed-off-by: rb7147 <rb7147@att.com>
2017-09-25String literal comparision on left siderama-huawei2-9/+9
Used isEmpty instead of size method Issue-ID: POLICY-239 Change-Id: I9007fa99b40e53000a972147079ec6db4ecc7a66 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-21Merge "Added Junits for POLICY-SDK-APP"Pamela Dragosh7-31/+46
2017-09-21Added Junits for POLICY-SDK-APPrb71477-31/+46
Issue-Id: POLICY-52 Change-Id: I439c95736f50fe9140e71cad5a598c5b5239161b Signed-off-by: rb7147 <rb7147@att.com>
2017-09-21Merge changes from topic '13891'Jorge Hernandez3-19/+22
* changes: String literal comparision on left side Used isEmpty to check collection is empty or not
2017-09-21String literal comparision on left siderama-huawei2-6/+12
Issue-ID: POLICY-239 Change-Id: Iee03160b28ffadb296f3926c7d7c5ac98fac535e Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-21Used isEmpty to check collection is empty or notrama-huawei1-13/+14
Issue-ID: POLICY-239 Change-Id: I5c6a43ac0f66e02b4f2f6644f0936a846708e2a5 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-20Merge "Fix for Sonar major issues"Pamela Dragosh3-26/+25
2017-09-20Fix for Sonar major issuesrama-huawei3-26/+25
Moved the string literal on the left side of the actual string comparison. Added the "@Override" annotation for method signature Removed the useless assignment to local variables Issue-ID: POLICY-239 Change-Id: I5fb84bb6109c03c8c0850100b69df095d865b404 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-19Added Junits for POLICY-SDK-APPrb71475-10/+83
Issue-Id: POLICY-52 Change-Id: Ic13cc5a6a32e65e301f1dcdc437f1de8ba6c00d8 Signed-off-by: rb7147 <rb7147@att.com>
2017-09-15Merge "Adding Junits for policy engine"Jorge Hernandez3-154/+30
2017-09-15Sonar MajorSwapnilPathak1-1/+1
Remove useless parentheses from CheckPDP.java Issue-ID: POLICY-224 Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab453ae7 Signed-off-by: SwapnilPathak <SP00494485@techmahindra.com>
2017-09-15Adding Junits for policy engineTej, Tarun3-154/+30
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-14Fix sonar blocker to close handlePamela Dragosh1-5/+8
Upgraded the dependency also. What was strange was the documentation that came up did not match with the existing dependency code implementation. Issue-ID: POLICY-113 Change-Id: Ide7830851cda6535ed335e89cdfc0e0a3964e3eb Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-09-14Sonar MajorSwapnilPathak1-3/+1
Merge this if statement with the enclosing one Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab453ae8 Issue-ID: POLICY-233 Signed-off-by: SwapnilPathak <SP00494485@techmahindra.com>
2017-09-13Removing binaries in Policy Reporb71471-0/+0
Issue-Id : POLICY-231 Change-Id: I917256637ae96c9c1ddf6e5c4e79c73d40d14d34 Signed-off-by: rb7147 <rb7147@att.com>
2017-09-12Resolved Policy GUI Issuesrb714728-129/+123
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-2/+2
Fixes for sonar critical and blocker issues Issue-Id: POLICY-113 Change-Id: I33bf28abfc52bf289401c58409beaac01b5c2fa6 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-11Enhanced MS JSON Generationguangxingwang1-5/+116
This enhancement excludes empty attributes and objects from creating MS Json file. Issure-Id: POLICY-193 Change-Id: I139012456fdc44b0ef6d58c208f1ee5db6bcf910 Signed-off-by: guangxingwang <gw1218@att.com>
2017-09-06Added missing license headersTej, Tarun1-0/+20
Added license headers for files missing them. Issue-Id: POLICY-205 Change-Id: If4124bbf0f7737df58b8289472e1f3c0d2bbf587 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-08-30Sonar Issue fixes for jsrb71475-38/+36
Resolved POLICY-SDK-APP js blockers and critical issues Issue-Id: POLICY-184 Change-Id: I2ec99b4d48fcc2f833c6fd6140fed6d926c3fd9e Signed-off-by: rb7147 <rb7147@att.com>
2017-08-23Fixes for sonar critical issuesTej, Tarun15-273/+312
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-14Add fix for SQL injection.Rodriguez, Cuauhtemoctzin (cr056n)8-133/+232
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-08-10Fix console issuesTej, Tarun8-27/+8
Reverted package names to org.openecomp to fix portal issues Issue-ID: POLICY-144 Change-Id: Ie108db431b9d211b15c59a29e564517c785e0da5 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-07-31[POLICY-73] replace openecomp for policy-engineGuo Ruijing286-837/+837
Change-Id: I54072f6bcd388c0e05562614ee89b4ae7ad67004 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-07-27[POLICY-122] Policy GUI Fixesrb714715-29/+136
Added few Policy GUI fixes for Export dictionary feature Added fix for Dashboard policy activitiy table. Change-Id: Ic4e3ef75f9cd26ab53d095c1dff8e29132304ed5 Signed-off-by: rb7147 <rb7147@att.com>
2017-07-26[POLICY-117] Resolve the Policy Critical issuesrb71472-2/+0
Change-Id: Ice72d7fa40151bff5db42f5dd632f04a3853b094 Signed-off-by: rb7147 <rb7147@att.com>
2017-07-25[Policy-52, Policy-92, Policy-93] Policy Enhancements and bugfixesTarun Tej Velaga24-463/+673
Change-Id: I5675cf4527e17963b3142cf7184c0df31a766197 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-07-17[Policy-68] Tosca parsing for nested objectsPerichiappan, Lakshmanan (lp576d)1-179/+281
Change-Id: I380fa82259c51fa532de5d39ac256e5a5ebf1e07 Signed-off-by: Perichiappan, Lakshmanan (lp576d) <lp576d@us.att.com>
2017-07-10[POLICY-67] Add new Rainy Day Decision PolicyMichael Mokry11-8/+546
Change-Id: I8fb730e4363c885ccbe3a05ae971c5de5608d70c Signed-off-by: Michael Mokry <mm117s@att.com>
2017-06-12[Policy-20] getConfig & Policy resolved blockersrb71477-247/+67
Change-Id: If08e4c90d419e8d6e1426d817a12dde5b7cafba3 Signed-off-by: rb7147 <rb7147@att.com>
2017-06-07Fixed the Policy API issues and BugfixesRavindra Bakkamanthala25-251/+472
Change-Id: I6e8b54442421b6ebd0ff88426fc6e5f3a36b0690 Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-31[Policy-17] Removed the sql scripts from sdk appRavindra Bakkamanthala21-670/+1076
Change-Id: I5b017aad569014c7f12eab35e1dbd1c215f90ebe Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-23Commit includes ControlLoopPolicy API and bugfixesRavindra Bakkamanthala43-507/+846
Change-Id: I3e18bb8b4c31a0d908bb0cff4c85e2a3fb450a63 Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-15Policy TestSuite EnabledRavindra Bakkamanthala28-174/+317
Change-Id: I9f98c7dcdcf98713d73544956d873a84fc82adf7 Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-09Policy 1707 Second commitITSERVICES\rb714746-349/+1381
Change-Id: I18f5b142238733d17280cf17c3d1dd28204d34e9 Signed-off-by: ITSERVICES\rb7147 <rb7147@att.com>
2017-05-03Policy 1707 commit to LFITSERVICES\rb7147789-0/+213232
Change-Id: Ibe6f01d92f9a434c040abb05d5386e89d675ae65 Signed-off-by: ITSERVICES\rb7147 <rb7147@att.com>