Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
In HA environment, different types of health check are needed
for load balancers (which care about state of each node in cluster)
vs external applications (which case about state of entire cluster).
So, separate APIs are needed for these 2 types of needs.
Change-Id: I99cd21cef7a7e2b4b8c96c1f22c0d6210bb91e96
Issue-ID: CCSDK-157
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
Update logging filters package to handle X-Forwarded-For header and
to correct timestamp format.
Change-Id: I6b4dba94cc93d0936598a9b8cd568b6386a447a5
Issue-ID: CCSDK-155
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
Support additional IETF types in MdsalHelper.
Change-Id: I1d0b4ab28645435d1ef72bc30a053d796aea44c8
Issue-ID: CCSDK-155
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
Update MetricLogger class to properly escape characters within body
of response. Also, used SvcLogicGraph.toString method to simplify
logging call.
Change-Id: I6bcaaf3c67032df041c6d37372016990ff0199d3
Issue-ID: CCSDK-152
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
Update SLI parser to remove validation based on NODE_TYPE table, which
is no longer needed (was introduced prior to use of XSD schema
validation). Also, use checksums to avoid needless recompilation
if version being loaded already exists in database.
Change-Id: Idfcba94de8fb71b17d5e0c5e69e04dee266988b1
Issue-ID: CCSDK-152
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
Reset patch version in version.properties to zero
Change-Id: If331cd45026f27b1232621535b2d7facf3bbd387
Issue-ID: CIMAN-120
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
Parent version should be 1.2.0, not 1.2.1-SNAPSHOT
Change-Id: I678f264135223d45bb632df86d2854bbb51307e3
Issue-ID: CIMAN-120
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
Bump minor version in preparation for Amsterdam
branching. (part 2)
Change-Id: Ib9f7cf7f98feb159ce1b136a3cd792820c99e659
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
|
|
Bump minor version in preparation for Amsterdam
branching.
Change-Id: Ifa47aa1d818d4a632afb02ec342124678ad855e1
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
|
|
Change-Id: I573779aa46dfbf9f1c7956ecf0e4eedf16184417
Issue-ID: DOC-130
Signed-off-by: Rich Bennett <rb2745@att.com>
|
|
|
|
Change version.properties to next release
Change-Id: I99fc70938511254d126a9220f4cef71fce551efe
Issue-ID: CCSDK-141
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
|
|
Roll to next snapshot version to prepare for release cut
Change-Id: I2a4c8395630b461314291bc8e0f83bf114a21f61
Issue-ID: CCSDK-141
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
JIRA: CCSDK-139
Change-Id: I5b48d4189ae9fdd72bb85a4d98be7798452249df
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Update to use version 0.1.0 (released version) of parent pom
Change-Id: I3b62a0cab11425ae9eb7e074aa1c23585aede1c4
Issue-ID: CCSDK-80
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
Add junit testing for PrintYangToProp
Change-Id: I8c377bb51c812ea9ead32d8e9d5ef871157162a8
Issue-ID: CCSDK-129
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
utils/provider parent should be utils, not ccsdk-sli-core. This was
breaking release build.
Change-Id: I3910189f9a989f93a0a8af4cb5a8512f0e9aca7a
Issue-ID: CCSDK-80
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
version.properties contains wrong setting for release version
Change-Id: Id76da3e2ad9009845e99ac1442cb66514733461c
Issue-ID: CCSDK-80
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
this code is used by dgbuilder to convert the yang to context property names
Change-Id: Ib53f57df6e8bd32a3a1b7ba6fa7854497c1f5c6c
Issue-ID: SDNC-81
Signed-off-by: Sheshi Chinthakayala <sc2914@att.com>
|
|
*This is improve readability of source code
Issue-Id: CCSDK-117
Change-Id: I4bb73a6e4b440ae861045c7548a7e985d1fbf02c
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
|
|
Add additional information to sli/core readthedocs documentation.
Change-Id: I9fe5e6185061ed6a05f373b6667f686e11d5f0aa
Issue-ID: CCSDK-107
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
Add readthedocs templates for sli/core
Change-Id: I2efaad7720997ef51c4dcb9036de5011bc6a1c4b
Issue-ID: CCSDK-107
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
|
|
|
|
Add unit test case for dblib/provider, using MariaDB4J as database.
Change-Id: I18492595a9d54999c3d52b56ecfe33d0d2cae019
Issue-ID: CCSDK-106
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>
|
|
Fix test case for loadProperties, and added test cases for IpAddress
types
Change-Id: Iabf182d32ae3937871dc9656105fdda0c1a9411f
Issue-ID: CCSDK-106
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
Add test cases for MdsalHelper methods toBuilder() and toProperties().
This requires a Yang model, so added a copy of sliapi/model to sli, since
could not use sliapi directly otherwise would create circular
dependency (since sliapi depends on sli).
Change-Id: I4824afe250f93428c73dbeec9f4a4c36ee4f76e6
Issue-ID: CCSDK-106
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
Issue-ID: CCSDK-107
Change-Id: Ic4a41466288229140ae3cad79e650d14c7877cc9
Signed-off-by: Brian Freeman <bf1936@att.com>
|
|
|
|
|
|
Issue-ID: CCSDK-107
Change-Id: I6f09524c02f899bd4e6df82e6eda8e94518fe8ec
Signed-off-by: Brian Freeman <bf1936@att.com>
|
|
|
|
*Remove unnecessary cast to "CachedDataSource"
These unnecessary casting expressions maked the
code harder to read and understand
*Replace type specification with diamond operator
This is to reduce the verbosity of generics code
Issue-Id: CCSDK-87
Change-Id: I6cd2f7d16886ffa6cc26e5dd300b8376705d9366
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: I233be3f88547049a5f78c438e87f2f8c0129df78
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
|
|
Changes made:
1. updated DBLibService definition by registering service on two interfaces:
a) javax.sql.DataSource
b) org.onap.ccsdk.sli.core.dblib.DbLibService
Change-Id: If187b07db83ebca5428c809a83f546d9178a2b7f
Issue-ID: CCSDK-102
Signed-off-by: Rich Tabedzki <richard.tabedzki@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>
|
|
Changes includes:
1. Simplifying the test cases.
2. Critical Sonar issue fix for MdsalHelper
3. Critical sonar issue fix for SvcLogicServiceImpl
4. Use logger in-built formatting.
https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.core%3Accsdk-sli-core#resolved=false|severities=CRITICAL
Change-Id: Ib85637fcd2351970f8d96bf6b855db05cf7d9834
Issue-Id: CCSDK-67
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
|
|
|
|
|
|
|
|
|
|
Major sonar issue in sli/core module
*Using static method to reduce
memory and cycles
Issue-Id: CCSDK-87
Change-Id: Iaf255892a4bd698934f865a707e54f8e740370ab
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
|
|
Changes made:
1. updated DBLibService definition by adding javax.sql.DataSource
Change-Id: I5dd63a81420f451b0ce9bbbc878d351d62ccd819
Issue-ID: CCSDK-102
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
|
|
*Remove useless braces while logging exception stack trace
*Register all DG nodes in SvcLogicParser Test file
Change-Id: I7916bec20e36e1def15c24806da2f7e01e79bf4b
Issue-Id: CCSDK-106
Signed-off-by: Ramu N <ramu.n@huawei.com>
|