summaryrefslogtreecommitdiffstats
path: root/PolicyEngineAPI
AgeCommit message (Collapse)AuthorFilesLines
2018-02-16New JUnit for PolicyEngineAPIbobbymander1-0/+75
Issue-ID: POLICY-338 Change-Id: I711bb0c219534a537c3d35331b8ef8703423ad63 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-02-07Upgrade dependencies to clear security issuesPamela Dragosh1-4/+4
A bit of consolidation too - which could use a lot more work. These were simple security upgrades for fixes identified by LF weekly LCM job. Added some missing license headers. Issue-ID: POLICY-507 Change-Id: If285b0f95d30a1084c9363bf6a41b48d52fb3aff Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-02-05Fix last technical debtPamela Dragosh1-1/+1
Last one that I dare to fix. Issue-ID: POLICY-477 Change-Id: Ieb1c159b781fa2f0dd80f7dea92dcbf72c3e8364 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-02-05Technical debt and fix JUnit testPamela Dragosh1-13/+0
* One statement per line * private constructor for class with statics * Fix silly JUnit test Issue-ID: POLICY-474 Change-Id: Ie760826879febbbc4db4f03079ae1f847f2194dd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-02-02Technical debt reductionPamela Dragosh7-19/+20
* empty constructor * Unnecessary imports * try-with-resources * missing @Override * useless parens * proper boolean detection * useless imports * Use Set vs HashSet * moving statements to separate lines Issue-ID: POLICY-477 Change-Id: I5fae9c5c8e7d30f731a1caefc8a5271cf382e0a0 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-02-01Reduce technical debt and add JUnitPamela Dragosh39-439/+921
* Addressed some very simple cyclic complexity * Added simple JUnit tests and finished others * Removed useless assignments Issue-ID: POLICY-477 Change-Id: Ic919bbf78ad2732a430c32f1feb3c88678be710d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-01-12Merge "Sonar cleanup for PolicyEngineUtils"Jorge Hernandez1-2/+3
2017-12-21Sonar cleanup for PolicyEngineUtilsMagnusen, Drew (dm741q)1-2/+3
Changes to resolve some sonar "major" issues in the PolicyEngineUtils module. Patch 2: Updated the NotificationStoreTest junit to account for the return of a "Collections.emptyList()" rather than "null" in StdPDPNotification class. Patch 3: Updated the StdPDPNotificationTest junit to account for the return of a "Collections.emptyList()" rather than "null" in StdPDPNotifaction class. Issue-ID: POLICY-474 Change-Id: I925774ac181fd38d1206637f47ab27ba499629ef Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2017-12-13Adding PolicyType to getConfig ResponseTej, Tarun5-1/+39
Adding a new parameter PolicyType so that getConfig Response can be known based on type of policy. Fixes for project warnings and unused imports. Issue-ID: POLICY-434 Change-Id: I0874abb7e986a8bb42ae18561064a8d7534eade6 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-11-21Bump minor versionJessica Wagantall1-1/+1
Bump minor version in preparation for Amsterdam branching. Change-Id: I61e0ae91e3ece54ed09a88dad9b8dac173ccae07 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-15Update to v1.1.2-SNAPSHOTPamela Dragosh1-1/+1
Release 1.1.1, moving patch to 1.1.2 Issue-ID: POLICY-436 Change-Id: Iabde3e56c04c68ca966efde09b5780e6275cb8a8 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
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-09-26Policy API support for Rainy Day Decision PolicyMichael Mokry2-2/+25
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-20Added the "@Override" annotationrama-huawei4-2/+6
1) Move the string literal on the left side of the actual string comparison. Issue-ID: POLICY-239 Change-Id: I3185a00c815aee8d25637d8646221eb87608f989 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-20Fix for Sonar major issuesrama-huawei7-1/+8
Change includes: 1) Add the "@Override" annotation for overriding methods 2) Move the string literal on the left side of the actual string comparison. Issue-ID: POLICY-239 Change-Id: I83b0cf41d630ef80f08eda35c9c37ae591332f74 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-15Adding Junits for policy engineTej, Tarun1-4/+0
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-06Added missing license headersTej, Tarun6-0/+120
Added license headers for files missing them. Issue-Id: POLICY-205 Change-Id: If4124bbf0f7737df58b8289472e1f3c0d2bbf587 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-08-24Fixes for missed sonar critical issuesTej, Tarun3-59/+57
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-23Fixes for sonar critical issuesTej, Tarun13-1427/+1104
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-11Fixes for Backward compatibility issuesTej, Tarun7-66/+137
Changes to the API interface and Java SDK to support backward compatibility. Issue-Id: POLICY-165 Change-Id: I2efe8196614cfbd8b733abceb505bd6b91aa97f7 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-07-31[POLICY-73] replace openecomp for policy-engineGuo Ruijing117-981/+981
Change-Id: I54072f6bcd388c0e05562614ee89b4ae7ad67004 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-07-25[Policy-52, Policy-92, Policy-93] Policy Enhancements and bugfixesTarun Tej Velaga2-2/+10
Change-Id: I5675cf4527e17963b3142cf7184c0df31a766197 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-06-12[Policy-20] getConfig & Policy resolved blockersrb71471-8/+8
Change-Id: If08e4c90d419e8d6e1426d817a12dde5b7cafba3 Signed-off-by: rb7147 <rb7147@att.com>
2017-06-07Fixed the Policy API issues and BugfixesRavindra Bakkamanthala2-10/+12
Change-Id: I6e8b54442421b6ebd0ff88426fc6e5f3a36b0690 Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-31[Policy-17] Removed the sql scripts from sdk appRavindra Bakkamanthala2-11/+7
Change-Id: I5b017aad569014c7f12eab35e1dbd1c215f90ebe Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-23Commit includes ControlLoopPolicy API and bugfixesRavindra Bakkamanthala9-35/+42
Change-Id: I3e18bb8b4c31a0d908bb0cff4c85e2a3fb450a63 Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-15Policy TestSuite EnabledRavindra Bakkamanthala14-234/+66
Change-Id: I9f98c7dcdcf98713d73544956d873a84fc82adf7 Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-09Policy 1707 Second commitITSERVICES\rb71472-9/+7
Change-Id: I18f5b142238733d17280cf17c3d1dd28204d34e9 Signed-off-by: ITSERVICES\rb7147 <rb7147@att.com>
2017-05-03Policy 1707 commit to LFITSERVICES\rb714783-5868/+4138
Change-Id: Ibe6f01d92f9a434c040abb05d5386e89d675ae65 Signed-off-by: ITSERVICES\rb7147 <rb7147@att.com>
2017-03-10v1.1.0-SNAPSHOTPamela Dragosh1-1/+1
Change-Id: Ic5ecc20d4024a52e2cd0549c11190d761238c8c6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-03-10release-1.0.0 changesPamela Dragosh1-1/+1
Change-Id: I29f63fb4d2bbb68aa4eeb590160675e0ee9ceb6b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-23fix pom.xml warning duplicate groupId versionIdPamela Dragosh1-1/+0
Change-Id: I605882d95b8cb61c0689a63ccf1b774f8dbae0d8 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-14Initial OpenECOMP policy/engine commitPamela Dragosh109-0/+25666
Change-Id: I7dbff37733b661643dd4d1caefa3d7dccc361b6e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>