summaryrefslogtreecommitdiffstats
path: root/sliPluginUtils/provider/src
AgeCommit message (Collapse)AuthorFilesLines
2019-05-22add escape and unescape json to SliStringUtilsSmokowski, Kevin (ks6305)2-0/+58
Add escape and unescape json to SliStringUtils. Can be useful when creating payloads from escaped json or sending payloads that involved escaped json. Change-Id: I736024ef91b5e6fff75374802b0fee2370f12b2f Issue-ID: CCSDK-1353 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2019-05-10Remove DME2 pluginSmokowski, Kevin (ks6305)7-611/+1
dme2 plugin was used to create dme2ingress proxy urls. This class is not generic enough to be useful to a wide audience. Change-Id: Iadc68d8f22393c3a9a5d21754137cae22b23fafe Issue-ID: CCSDK-1323 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2018-12-21fixed sonar issues in SliPluginUtils.javaSandeep J1-6/+7
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: I6d48ed028e98c2fc9ce0cf6ae215dfd3fcc6c871 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-19Merge "fixed sonar issues in SliStringUtils.java"Dan Timoney1-26/+28
2018-12-19Merge "fixed sonar issues in SliPluginUtils.java"Dan Timoney1-6/+10
2018-12-19fixed sonar issues in SliStringUtils.javaSandeep J1-26/+28
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: Id1326402bca7207518ba35cf3f5139cef249c5e5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-19fixed sonar issues in SliPluginUtils.javaSandeep J1-6/+10
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: I672eb667887af1d5d25de4da7429299b414ef79f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-19fixed sonar issues in DME2.javaSandeep J1-2/+4
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: Ib6858f2ed802ca979f9098bf87c5536ba223ff5a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-10-04Merge "added test cases to CheckParametersTest"Dan Timoney1-1/+31
2018-10-04Merge "added test cases to SliStringUtilsTest"Dan Timoney1-243/+258
2018-10-03added test cases to SliStringUtilsTestSandeep J1-243/+258
to increase code coverage Issue-ID: CCSDK-595 Change-Id: Ice4f938166ab65ea316b683c3865dffc0483738c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-10-03added test case to SliPluginUtils_ctxSortListSandeep J1-103/+112
to increase code coverage Issue-ID: CCSDK-595 Change-Id: Idb51b525279916e5f7b6fe26dc9b4372243d163a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-10-03added test cases to CheckParametersTestSandeep J1-1/+31
to increase code coverage Issue-ID: CCSDK-595 Change-Id: Ibf5316cc567cacf52806ef57e69749006fe8b204 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-27Merge "added test case to SliStringUtilsTest"Dan Timoney1-5/+13
2018-09-27Merge "added test case to SliPluginUtils_ctxSortList"Dan Timoney1-61/+106
2018-09-26added test case to SliStringUtilsTestSandeep J1-5/+13
to increase code coverage Issue-ID: CCSDK-595 Change-Id: I3cc31ab404fa5ee26bcecd1a5617b2423a10a96c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-26added test case to SliPluginUtils_ctxSortListSandeep J1-61/+106
to increase code coverage Issue-ID: CCSDK-595 Change-Id: I0cfaac418d169542b92b6f60eb1b8c32a1a95f37 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-25added test cases to CheckParametersTest.javaSandeep J1-113/+146
to increase code coverage Issue-ID: CCSDK-595 Change-Id: I182eac676dd65c4ef68dd8a479d288615471c712 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-24Merge "added test case to Dme2Test.java"Dan Timoney1-1/+20
2018-09-24added test case to Dme2Test.javaSandeep J1-1/+20
to increase code coverage Issue-ID: CCSDK-595 Change-Id: Id3ae2ba9045d1308af2fb09f0c8aacdf5e40605b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-24added test cases to CheckParametersTestSandeep J1-82/+119
to increase code coverage Issue-ID: CCSDK-595 Change-Id: Ief8154612aff27cda10f57623b1cca6baac9a7a7 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-06-27filter partner outSmokowski, Kevin (ks6305)2-14/+15
filter partner out Change-Id: Ia23d5f484c52aed94500bb0bf50ae2654d8aa14b Issue-ID: CCSDK-323 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-06-21additional dme2 improvementsSmokowski, Kevin (ks6305)2-334/+451
add back convenience method to support legacy callers that don't want to switch to new function signature and additional small changes Change-Id: Idebc992c4ddf70feb11fc7faebb0f050c353a4a7 Issue-ID: CCSDK-308 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-06-12dme2 partner fixSmokowski, Kevin (ks6305)1-1/+1
update dme2 query parameter for partner it should be just partner not dme2.partner Change-Id: I2c4304cb2cce4d1def7f4b33bd17bfeca0f68fd3 Issue-ID: CCSDK-301 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-06-06dme2 plugin improvementsSmokowski, Kevin (ks6305)5-551/+462
DME2 plugin itself will be coded to generic properties object not any custom object. The code is flexible so new query parameters can easily be added without code changes. Default properties which could previously not be overridden can now be overridden if desired. Change-Id: I56b4dfd4dee350198a23ac57c775bd1adacb1a9a Issue-ID: CCSDK-274 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-04-25add replaceAll to slistringutilsv0.2.1Smokowski, Kevin (ks6305)2-0/+37
add replaceAll to slistringutils because it supports regular expressions and replace does not Change-Id: Ibff7acd339103a6bb897d14ca3d31736a5b568ef Issue-ID: CCSDK-253 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-02-09Upgrade sli/core to NitrogenDan Timoney2-183/+245
Use Apache derby for dblib SingleFeatureTest Change-Id: I6b41f7ede1a98b33824fceea9100e75c1ce8dda4 Issue-ID: CCSDK-175 Signed-off-by: Dan Timoney <dtimoney@att.com> Generalization of CCSDK core/utils framework Changes made: * Created generalized version of core/utils/dblib as core/utils/common * Deprecated core/utils/dblib package Change-Id: I0992c43910278fbe254674d1e39d7e4fcad0a592 Issue-ID: CCSDK-168 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com> Use Apache derby for dblib test Use Apache derby for dblib SingleFeatureTest Change-Id: Ie497557f162e203fa5c5c82c17ddc55ba0c11b38 Issue-ID: CCSDK-175 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-12-19New sliPluginUtils methodsDan Timoney2-6/+346
Add new sliPluginUtils methods to faciliate accessing data in context memory (SvcLogicContext). Change-Id: I70fe00fd60ac6da4804a41df0a2ef7c51e80f4a0 Issue-ID: CCSDK-158 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-03Add unit test for ccsdk/coresurya-huawei1-0/+12
*Add a unit test for SliStringUtils This is to test substring method of SliStringUtils and improve code coverage Issue-Id: CCSDK-106 Change-Id: I73c5af3b036a92fdcb1d3d1be7eb0b3abc44fd5a Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-28Merge "Fix major sonar issue"Dan Timoney1-0/+2
2017-09-27Add unit test for SliStringUtilssurya-huawei2-1/+7
*Made quotedOrNull method public This is done for accessing this in ut *Added a unit test for the SliStringUtils.quotedOrNull() This is done for increasing code coverage Issue-Id: CCSDK-106 Change-Id: I9d74c6645256227b23beded5179fbb28ac3d3c04 Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-27Fix major sonar issueshashikanth1-0/+2
Fix major sonar issues in ccsdk/sli/core module https://sonar.onap.org/component_issues?id=org.onap.ccsdk.sli.core%3Accsdk-sli-core#resolved=false|severities=MAJOR|rules=squid%3AS1161 Add the "@Override" annotation above this method signature. Issue-Id:CCSDK-67 Change-Id: Ie074574c7bbd2ca394d116e73aa6aab47ad5b8de Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-14Clean up public interfacesRyan Goulding1-1/+1
The Java programming language assigns certain defaults for methods and constants defined in interfaces. This change removes the unnecessary redundant modifiers appropriately. For example: * interface methods are public by default * interface constants are public by default * interface methods are abstract unless "default" is specifically used (as of JDK8+). This is really just to get rid of annoying warnings present in IDE(s). Issue-Id: SDNC-79 Change-Id: I2e6b3e4fa02bad1beee2cbb49d3766722eff1ba0 Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
2017-09-13Merge "Fix Sonar Issues"Dan Timoney2-3/+3
2017-09-13Merge "Fix Sonar Issues"Dan Timoney1-11/+11
2017-09-13Remove unused imports in java filesRyan Goulding6-6/+0
Code sanitation-- remove unused imports. Issue-Id: SDNC-79 Change-Id: I5306a9b90f302086459fcac98d04f541ba7c79a4 Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
2017-09-13Fix Sonar Issuessurya-huawei2-3/+3
few major issues in sli/core module Issue-Id: CCSDK-87 Change-Id: I1fb86f084d270906dcf61d33701da54a82f2c3a4 Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-12Fix Sonar Issuessurya-huawei1-11/+11
few major issues in sli/core module Issue-Id: CCSDK-87 Change-Id: Id563cd2fb31f477f96e14b180501feeb37fb24a7 Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-07Fix Sonar issues within SliPluginUtils moduleArun S. Yerra1-0/+34
Sonarqube report for SliPluginUtils identified some critical bugs. This fix will address these bugs. Issue-Id: CCSDK-81 Change-Id: I9a1738c02f1364b17a0895b94f26c373e4a19f1f Signed-off-by: Arun S. Yerra <arun.yerra@huawei.com>
2017-09-07Fix SDNC service registrationRyan Goulding1-2/+2
Fix the aaaUserName constant. Change-Id: I4d9272e476874f6a7747970bc67f8f88ff803f21 Issue-Id: SDNC-54 Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
2017-09-06Merge "Fix service registration for SDNC"Dan Timoney6-108/+290
2017-09-06Enable surefire unit testingMarcus G K Williams3-3/+17
Issue-Id: CCSDK-67 Change-Id: I3d03ff1a3e312edd4af7ab69508760d2fe49be78 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-09-06Fix service registration for SDNCRyan Goulding6-108/+290
sliPluginUtils was using a BundleActivator for Service Instantiation, which is prone to heisenbugs due to indeterminate service instantiation logic. This removes the BundleActivator and instantiates services using blueprint. Since dme2.properties are parsed using Properties instead of using a ManagedService, the decision was to just keep them immutable. Future work may involve making instance variables private in DME2, since currently Dme2Test performs direct member access on DME2 instance variables which is considered bad practices (violates encapsulation). Issue-Id: SDNC-54 Change-Id: Ib1155565e04e9a95d222bc4028a0845d9d81bd82 Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
2017-08-15Fix license headersDan Timoney15-15/+30
Licence headers were accidentally updated incorrectly by previous update. This commit restores the license headers for seed code to the wording from the original seed code Change-Id: Ie73bc836079be7eb1b310c472ee39b58ffeaa01c Issue-ID: CCSDK-31 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-07Refactor sliPluginUtils package namesDan Timoney15-17/+21
Update Java package names from org.openecomp to org.onap Issue: CCSDK-11 Change-Id: I7e318565197b5806f6a7d7131bd3118fbe9cf8e0 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-01Refactor dblibDan Timoney15-69/+54
Changed openecomp references in dblib, filters and sli to onap. Note: these must be committed together to get a clean compile. Issue: CCSDK-11 Change-Id: Ibe0f64fb20f3ae9cdda2f7ea969ca722bbde0d15 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-07-20Populate seed codeDan Timoney15-0/+2892
Add seed code for sli/core repository Issue: CCSDK-6 Change-Id: Iaeb54c6135a94a6ffec0c7fd96505d72d18aeb00 Signed-off-by: Dan Timoney <dtimoney@att.com>