Age | Commit message (Collapse) | Author | Files | Lines |
|
Migrate sli-core repo files into new
directory "core".
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
|
|
create filtered print method for svclogic context
Issue-ID: CCSDK-2643
Change-Id: I59261b1e581130d0fbe7d6735f96ee4c6e90ae75
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
|
|
Added new method toJsonString() to SvcLogicContext class to write out
service logic context properties as a JSON string
Refactored static method SliPluginUtils.writeJsonToCtx to SvcLogicContext.mergeJson method
Change-Id: I4fe134976f93c7d116bc54ad2bae6e486c6fac2c
Issue-ID: CCSDK-1760
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
Support null values in jsonStringToCtx in Slipluginutils
Issue-ID: CCSDK-2250
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I3316fa9e80c9e684fc27d83356bbfad9b1151992
|
|
Issue-ID: SDNC-899
Signed-off-by: Rahul_cool <rahul.tamrkar@huawei.com>
Change-Id: I231f891118dabf59518bcf4dbe456df97cd3e5b2
|
|
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
|
|
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>
|
|
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>
|
|
|
|
*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>
|
|
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>
|
|
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>
|
|
Update Java package names from org.openecomp to org.onap
Issue: CCSDK-11
Change-Id: I7e318565197b5806f6a7d7131bd3118fbe9cf8e0
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
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>
|
|
Add seed code for sli/core repository
Issue: CCSDK-6
Change-Id: Iaeb54c6135a94a6ffec0c7fd96505d72d18aeb00
Signed-off-by: Dan Timoney <dtimoney@att.com>
|