Age | Commit message (Collapse) | Author | Files | Lines |
|
Issue-ID: CCSDK-2111
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
Change-Id: Ide6bb06a05fcbb3b88e73cc0fbec6fd46bd29033
|
|
Replace deprecated org.apache.commons.lang3.StringEscapeUtils with org.apache.commons.text.StringEscapeUtils
Change-Id: Ib0303919d883a577effbb6fa15ddeb289cb936fc
Issue-ID: CCSDK-2104
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
|
|
add more unit testing, use constants for success/failure and improve some logging calls
Issue-ID: CCSDK-2064
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I2c7039c706de1172bd506a20e96eb987cc86f211
|
|
writeJsonToCtx now supports top level json arrays, add urlDecode to SliStringUtils, rename CheckParametersTest and move unrelated methods into another test class and Add test cases to improve test coverage
Issue-ID: CCSDK-2006
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: If1f654ea9c7046b00c977434f87740e54f15b7d3
|
|
additional functions in SliStringUtils added
Issue-ID: CCSDK-1847
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I2e38258abe57d4fcd49cf226877cd38e9dd947d6
|
|
Updated code for OpenDaylight Neon (using
ccsdk/parent/tools/fluorine2neon.sh)
Change-Id: Ic54b636f691cb2c9dd627dfc3b22b523c0f4f8da
Issue-ID: CCSDK-1389
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
|
|
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>
|
|
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>
|
|
fixed sonar issues
Issue-ID: CCSDK-525
Change-Id: I6d48ed028e98c2fc9ce0cf6ae215dfd3fcc6c871
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
|
|
|
|
fixed sonar issues
Issue-ID: CCSDK-525
Change-Id: Id1326402bca7207518ba35cf3f5139cef249c5e5
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
fixed sonar issues
Issue-ID: CCSDK-525
Change-Id: I672eb667887af1d5d25de4da7429299b414ef79f
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
fixed sonar issues
Issue-ID: CCSDK-525
Change-Id: Ib6858f2ed802ca979f9098bf87c5536ba223ff5a
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
|
|
|
|
to increase code coverage
Issue-ID: CCSDK-595
Change-Id: Ice4f938166ab65ea316b683c3865dffc0483738c
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
to increase code coverage
Issue-ID: CCSDK-595
Change-Id: Idb51b525279916e5f7b6fe26dc9b4372243d163a
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
to increase code coverage
Issue-ID: CCSDK-595
Change-Id: Ibf5316cc567cacf52806ef57e69749006fe8b204
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
|
|
|
|
to increase code coverage
Issue-ID: CCSDK-595
Change-Id: I3cc31ab404fa5ee26bcecd1a5617b2423a10a96c
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
to increase code coverage
Issue-ID: CCSDK-595
Change-Id: I0cfaac418d169542b92b6f60eb1b8c32a1a95f37
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
to increase code coverage
Issue-ID: CCSDK-595
Change-Id: I182eac676dd65c4ef68dd8a479d288615471c712
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
|
|
to increase code coverage
Issue-ID: CCSDK-595
Change-Id: Id3ae2ba9045d1308af2fb09f0c8aacdf5e40605b
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
to increase code coverage
Issue-ID: CCSDK-595
Change-Id: Ief8154612aff27cda10f57623b1cca6baac9a7a7
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
filter partner out
Change-Id: Ia23d5f484c52aed94500bb0bf50ae2654d8aa14b
Issue-ID: CCSDK-323
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
*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>
|
|
|
|
*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>
|
|
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>
|
|
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>
|
|
|
|
|
|
Code sanitation-- remove unused imports.
Issue-Id: SDNC-79
Change-Id: I5306a9b90f302086459fcac98d04f541ba7c79a4
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
|
|
few major issues in sli/core module
Issue-Id: CCSDK-87
Change-Id: I1fb86f084d270906dcf61d33701da54a82f2c3a4
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
|
|
few major issues in sli/core module
Issue-Id: CCSDK-87
Change-Id: Id563cd2fb31f477f96e14b180501feeb37fb24a7
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
|
|
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>
|
|
Fix the aaaUserName constant.
Change-Id: I4d9272e476874f6a7747970bc67f8f88ff803f21
Issue-Id: SDNC-54
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
|
|
|
|
Issue-Id: CCSDK-67
Change-Id: I3d03ff1a3e312edd4af7ab69508760d2fe49be78
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
|
|
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>
|
|
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>
|