ccsdk/sli/core.git
3 years agoRelease version 1.1.0 of sli/core 04/115404/1 master
Dan Timoney [Wed, 25 Nov 2020 18:50:31 +0000 (13:50 -0500)]
Release version 1.1.0 of sli/core

Release initial Honolulu version of sli/core and roll
version to next snapshot

Change-Id: Id65539a7e275c57fce0bc23e88bbc2eaf641cf05
Issue-ID: CCSDK-3002
Signed-off-by: Dan Timoney <dtimoney@att.com>
3 years agoFix NPE in toJsonString() 98/114998/1
Dan Timoney [Tue, 17 Nov 2020 13:37:28 +0000 (08:37 -0500)]
Fix NPE in toJsonString()

Fixed SvcLogicContext.toJsonString() to return the empty string ()
if it cannot find the requested prefix in the service logic context.

Change-Id: I5e36864f961b36b6c82a3db8d20483df6686ed15
Issue-ID: CCSDK-2990
Signed-off-by: Dan Timoney <dtimoney@att.com>
3 years agoHandle properties file reference outside OSGi 74/114774/2
Dan Timoney [Tue, 10 Nov 2020 17:53:16 +0000 (12:53 -0500)]
Handle properties file reference outside OSGi

Update properties file resolves for OSGi to handle ClassNotFoundError
exception correctly.

Change-Id: I511213e447d07576c9a44654956b207174ed6638
Issue-ID: CCSDK-2976
Signed-off-by: Dan Timoney <dtimoney@att.com>
3 years agoFix pattern validation 34/114134/1
Dan Timoney [Wed, 21 Oct 2020 20:16:06 +0000 (16:16 -0400)]
Fix pattern validation

Pattern validation incorrectly disallows period as part of file
name

Change-Id: I3b3692093e16c41c312b326246a5dee83f674ee0
Issue-ID: CCSDK-2918
Signed-off-by: Dan Timoney <dtimoney@att.com>
3 years agoAdd file path validation 04/114004/1
Dan Timoney [Mon, 19 Oct 2020 14:05:16 +0000 (10:05 -0400)]
Add file path validation

Add file path validation for EnvVarFileResolver.  Refactored
PathValidator to org.onap.ccsdk.sli.core.utils so it can be used here.

Change-Id: Ibb50df0ad020cf376c1ce20e7b598f7ad7223d48
Issue-ID: CCSDK-2918
Signed-off-by: Dan Timoney <dtimoney@att.com>
3 years agoAdd code to validate path names. 49/113949/2
Dan Timoney [Fri, 16 Oct 2020 15:22:11 +0000 (11:22 -0400)]
Add code to validate path names.

Added code to validate path names to avoid possible attacks
due to hidden/special characters and/or embedded new lines.

Change-Id: I53d7266e44fbada1d9d5f458dfcdbc452801672c
Issue-ID: CCSDK-2918
Signed-off-by: Dan Timoney <dtimoney@att.com>
3 years agoRoll to initial Honolulu release version 07/112407/1
Dan Timoney [Wed, 9 Sep 2020 18:21:38 +0000 (14:21 -0400)]
Roll to initial Honolulu release version

Roll master branch to initial Honolulu release version

Change-Id: I5abee4ba661e665251e7d03e7705096ff9103b5d
Issue-ID: CCSDK-2742
Signed-off-by: Dan Timoney <dtimoney@att.com>
3 years agoMerge "Release M4 version of sli/core"
Dan Timoney [Wed, 9 Sep 2020 17:49:05 +0000 (17:49 +0000)]
Merge "Release M4 version of sli/core"

3 years agoRelease M4 version of sli/core 93/112393/1
Dan Timoney [Wed, 9 Sep 2020 16:38:05 +0000 (12:38 -0400)]
Release M4 version of sli/core

Release M4 version (1.0.1) of sli/core

Change-Id: I3c2c839bfc88b3795eebdfb97396ab3b53eb9698
Issue-ID: CCSDK-2742
Signed-off-by: Dan Timoney <dtimoney@att.com>
3 years agoUpdate lifecycle state 10/112110/1
Dan Timoney [Thu, 3 Sep 2020 14:03:15 +0000 (10:03 -0400)]
Update lifecycle state

Update lifecycle state to Mature

Change-Id: I98504f658e58d10185b3c781b77bec1176ec1831
Issue-ID: CCSDK-2660
Signed-off-by: Dan Timoney <dtimoney@att.com>
3 years agosecure printer changes 62/112062/4
Smokowski, Kevin (ks6305) [Wed, 2 Sep 2020 18:35:29 +0000 (13:35 -0500)]
secure printer changes

add method to print properties alphabetically

Issue-ID: CCSDK-2721
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I3bcb46a1f45dc74a2bc97acff08fa8c2c29d0ba7

3 years agoAdd jaxb implementation dependencies 87/111887/1
Dan Timoney [Mon, 31 Aug 2020 13:47:31 +0000 (13:47 +0000)]
Add jaxb implementation dependencies

Add JAXB implementation dependencies (needed for Java 11).

Issue-ID: CCSDK-2710
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I27b5c50425aa9c2091486e087542de16cb254e0c

3 years agofix for J11 09/111409/2
Michael Dürre [Wed, 19 Aug 2020 09:02:04 +0000 (11:02 +0200)]
fix for J11

add missing dependency in J11

Issue-ID: CCSDK-2669
Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
Change-Id: Iea66c3658e3d7e847bdb996567402c66ab2ab9a3

3 years agoadd new print methods 46/111146/3
Kevin Smokowski [Tue, 11 Aug 2020 20:07:22 +0000 (20:07 +0000)]
add new print methods

create filtered print method for svclogic context

Issue-ID: CCSDK-2643
Change-Id: I59261b1e581130d0fbe7d6735f96ee4c6e90ae75
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
3 years agoRoll to next snapshot 98/110998/2
Dan Timoney [Thu, 6 Aug 2020 18:33:28 +0000 (14:33 -0400)]
Roll to next snapshot

Roll to snapshot version 1.0.1-SNAPSHOT

Change-Id: Ifd7092ac65b40311336f1e696d2198576c5fba85
Issue-ID: CCSDK-2635
Signed-off-by: Dan Timoney <dtimoney@att.com>
3 years agoRelease version 1.0.0 of ccsdk/sli/core 95/110995/1
Dan Timoney [Thu, 6 Aug 2020 17:07:27 +0000 (13:07 -0400)]
Release version 1.0.0 of ccsdk/sli/core

Release initial Guilin version of ccsdk/sli/core

Change-Id: Ia7cb35209964905348529730e4f8ec870459afec
Issue-ID: CCSDK-2635
Signed-off-by: Dan Timoney <dtimoney@att.com>
3 years agoupgrade core to sodium 48/110048/1
Michael Dürre [Fri, 10 Jul 2020 02:51:09 +0000 (04:51 +0200)]
upgrade core to sodium

fixed unit test due changes in sodium

Issue-ID: CCSDK-2543
Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
Change-Id: I65b725686b480554cec974c05a6b2814901d1d5e

3 years agoImplement new method to convert SvcLogicContext to JSON 97/109197/11
Dan Timoney [Tue, 16 Jun 2020 14:15:13 +0000 (10:15 -0400)]
Implement new method to convert SvcLogicContext to JSON

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>
3 years agoMerge "Add sliapi-model-yang to sliapi installer"
Dan Timoney [Thu, 18 Jun 2020 14:29:02 +0000 (14:29 +0000)]
Merge "Add sliapi-model-yang to sliapi installer"

3 years agoAdd sliapi-model-yang to sliapi installer 53/109253/4
Dan Timoney [Wed, 17 Jun 2020 12:08:23 +0000 (08:08 -0400)]
Add sliapi-model-yang to sliapi installer

Add sliapi-model-yang as dependency to installer so that jar will
be included in distribution bundle.

Change-Id: I6b20e8bb13fb786c92a73d4149125a8e7082570a
Issue-ID: CCSDK-2453
Signed-off-by: Dan Timoney <dtimoney@att.com>
3 years agoMetricLogger MDC changes 66/109266/4
Smokowski, Kevin (ks6305) [Wed, 17 Jun 2020 14:22:15 +0000 (09:22 -0500)]
MetricLogger MDC changes

Generate RequestID if not previously set. Generate a unique InvocationID for each request.

Issue-ID: CCSDK-2455
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I3bd8f90efbf98b4bf2a6464d94682bcd80cdd948

3 years agoRefactor sliapi springboot 84/108784/1
Dan Timoney [Thu, 4 Jun 2020 19:10:06 +0000 (15:10 -0400)]
Refactor sliapi springboot

Move springboot implementation of sliapi from sli/core to apps
repository.

Change-Id: I6e1dfdc39704935ba7e46d047149071defc101a6
Issue-ID: CCSDK-2096
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agometric logger change 14/106614/2
Smokowski, Kevin (ks6305) [Fri, 24 Apr 2020 18:53:31 +0000 (18:53 +0000)]
metric logger change

fix elapsed time in metric logger

Issue-ID: CCSDK-2337
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I81c27bbead8614e2927aa9eddef3621559eb7cc0

4 years agoMerge "Add special handling for BGP RouteDistinguisher"
Dan Timoney [Fri, 24 Apr 2020 13:46:03 +0000 (13:46 +0000)]
Merge "Add special handling for BGP RouteDistinguisher"

4 years agoAdd special handling for BGP RouteDistinguisher 04/105704/4
Dan Timoney [Thu, 9 Apr 2020 17:56:45 +0000 (13:56 -0400)]
Add special handling for BGP RouteDistinguisher

Add special case code in MdsalHelper for BGP RouteDistinguisher class -
a custom class implemented by OpenDaylight that does NOT follow
the pattern of data object classes generated from Yang models
by Yangtools

Note: this depends on the following ccsdk/parent change to add
OpenDaylight BGP dependencies to the dependencyManagement
section of our parent poms:
https://gerrit.onap.org/r/c/ccsdk/parent/+/105774

Change-Id: Ifebd03091d9ed9225e37c7242ecf7810abca1feb
Issue-ID: CCSDK-2307
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoset auth perm for AAF Realm 86/105686/1
Agarwal, Ruchira (ra1926) [Thu, 9 Apr 2020 15:05:09 +0000 (15:05 +0000)]
set auth perm for AAF Realm

set spring SLI container shiro filter perms for authorization

Issue-ID: CCSDK-2304
Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com>
Change-Id: Ib99223ba1921f656a0e64f62745271bc6aa0bdf7

4 years agoSliPluginUtils jsonStringToCtx fix 13/104913/2
Smokowski, Kevin (ks6305) [Wed, 1 Apr 2020 19:58:23 +0000 (19:58 +0000)]
SliPluginUtils jsonStringToCtx fix

Support null values in jsonStringToCtx in Slipluginutils

Issue-ID: CCSDK-2250
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I3316fa9e80c9e684fc27d83356bbfad9b1151992

4 years agoAdded code for decoding base64 encoded value 42/104842/1
Rahul_cool [Wed, 1 Apr 2020 10:19:25 +0000 (15:49 +0530)]
Added code for decoding base64 encoded value

Issue-ID: SDNC-899
Signed-off-by: Rahul_cool <rahul.tamrkar@huawei.com>
Change-Id: I231f891118dabf59518bcf4dbe456df97cd3e5b2

4 years agoUse MariaDB instead of Derby 01/104501/1
Dan Timoney [Tue, 24 Mar 2020 18:30:24 +0000 (14:30 -0400)]
Use MariaDB instead of Derby

Use MariaDB instead of Derby as backing store for sliboot

Change-Id: Ib9fa4abaaf88bcb1eac2276bc974474f067a06d3
Issue-ID: CCSDK-2188
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoAdd env var for svclogic props 86/104286/2
Dan Timoney [Tue, 24 Mar 2020 18:30:24 +0000 (14:30 -0400)]
Add env var for svclogic props

Added system property serviceLogicProperties to specify location
of svclogic.properties.  If unset, check environment variable
SVCLOGIC_PROPERTIES for the same.  If both are unset, defaults to
src/main/resources/svclogic.properties

Change-Id: I8c31a58b69131b08c95a673e0071976f013f941a
Issue-ID: CCSDK-2179
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoSpringboot integration with AAF 70/103870/3
David Stilwell [Wed, 18 Mar 2020 14:02:50 +0000 (10:02 -0400)]
Springboot integration with AAF

Changes made: pom.xml updates, App.java add Beans for realm and filterchain

Issue-ID: CCSDK-2178
Change-Id: I29aa242ceff6a2f840b93a8d18ca5385190ca6d2
Signed-off-by: David Stilwell <stilwelld@att.com>
4 years agoupdate sliapi-springboot 87/103887/1
Smokowski, Kevin (ks6305) [Wed, 18 Mar 2020 15:58:52 +0000 (15:58 +0000)]
update sliapi-springboot

add base plugins to spring boot sli

Issue-ID: CCSDK-2179
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I1e80e3a8b67ced5c2ff72c9569d6aac970c72ddf

4 years agoAdd data persistence 55/103555/3
Dan Timoney [Wed, 11 Mar 2020 19:54:10 +0000 (15:54 -0400)]
Add data persistence

Add code to persist MD-SAL data (test-results)

Change-Id: I2c6d3e94e9e46ccbfad479c6d89507ec37939496
Issue-ID: CCSDK-2096
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoupdate sliapi-springboot 38/103138/6
Smokowski, Kevin (ks6305) [Thu, 5 Mar 2020 15:30:45 +0000 (15:30 +0000)]
update sliapi-springboot

add sample log4j2 config for spring boot sli api

Issue-ID: CCSDK-2161
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: If24315ad6cad1061d1e65e080f4122605b05df47

4 years agoRoll master to Guilin 56/103156/3
Dan Timoney [Thu, 5 Mar 2020 16:48:38 +0000 (11:48 -0500)]
Roll master to Guilin

Roll versions of master for early Guilin development

Change-Id: I9ad7859eb294120542bce6faadb83b383e963fa7
Issue-ID: CCSDK-2152
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRelease 0.7.1 version of sli/core 65/103065/1
Dan Timoney [Wed, 4 Mar 2020 20:53:31 +0000 (15:53 -0500)]
Release 0.7.1 version of sli/core

Release Frankfurt M4 version of sli/core

Change-Id: Id3b0e3bf00287288a55fccb94ea841d8f7e80c3e
Issue-ID: CCSDK-2152
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoUse released 1.5.2 CCSDK parent 77/102877/5
Dan Timoney [Tue, 3 Mar 2020 15:56:20 +0000 (10:56 -0500)]
Use released 1.5.2 CCSDK parent

Update to use released version of CCSDK parent pom

Change-Id: I573d5c30a799c1bf828b195aa0dff1b85c9a44ad
Issue-ID: CCSDK-2152
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoupdate sliapi-springboot 14/102914/2
Smokowski, Kevin (ks6305) [Tue, 3 Mar 2020 21:53:18 +0000 (21:53 +0000)]
update sliapi-springboot

organize sli api spring boot project

Issue-ID: CCSDK-2154
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: Ic1690b8addf0134220b49a01d04e41eaeabf7bb6

4 years agoSupport merge JSON to SvcLogicContext 27/102527/4
Dan Timoney [Thu, 27 Feb 2020 21:27:37 +0000 (16:27 -0500)]
Support merge JSON to SvcLogicContext

Add support for merging JSON into SvcLogicContext

Change-Id: If13fd6328a36ccff6393d0829319bbd99cd2a1f0
Issue-ID: CCSDK-2096
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoAdding missing parent relativePath and name tag 12/102612/1
Singal, Kapil (ks220y) [Fri, 28 Feb 2020 15:43:35 +0000 (10:43 -0500)]
Adding missing parent relativePath and name tag

Change-Id: Id093df2ca432b91f7003196bdeceb928caf60010
Issue-ID: CCSDK-2128
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
4 years agoFixed junit testing 23/102523/2
Dan Timoney [Thu, 27 Feb 2020 19:54:42 +0000 (14:54 -0500)]
Fixed junit testing

Fixed junit testing (was incorrectly mocking the class to be tested)

Change-Id: I275a6aca53b9a14fb151b020d1b7287f3e234417
Issue-ID: CCSDK-2096
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoAdd execute-graph and vlbcheck to swagger-codegen code 07/102507/4
Dan Timoney [Wed, 26 Feb 2020 21:07:53 +0000 (16:07 -0500)]
Add execute-graph and vlbcheck to swagger-codegen code

Add implementation for execute-graph and vlbcheck RPCs.  Also,
added junit tests.

Change-Id: Id2a31c033d25ef12c455bfee98c5aea8439fc2f9
Issue-ID: CCSDK-2096
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoupdate sliapi-springboot 38/102438/2
Smokowski, Kevin (ks6305) [Wed, 26 Feb 2020 18:42:16 +0000 (18:42 +0000)]
update sliapi-springboot

format source, use provider base and minor changes

Issue-ID: CCSDK-2121
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I4066ce5e15b1fa298b6e3de6ed8d7d1794b12013

4 years agominor logging updates 59/102259/1
Smokowski, Kevin (ks6305) [Mon, 24 Feb 2020 18:33:27 +0000 (18:33 +0000)]
minor logging updates

create error logger, integrate with record node and improve slf4jrecorder

Issue-ID: CCSDK-2115
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I857ce0fac070278a195204195eaae0c53d2d0d52

4 years agoSupport updating JSON object string for sliPluginUtils 19/102119/2
Enbo Wang [Fri, 21 Feb 2020 06:57:01 +0000 (14:57 +0800)]
Support updating JSON object string for sliPluginUtils

Issue-ID: CCSDK-2111
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
Change-Id: Ide6bb06a05fcbb3b88e73cc0fbec6fd46bd29033

4 years agoMerge "Springboot-based SLI-API"
Dan Timoney [Fri, 21 Feb 2020 19:26:35 +0000 (19:26 +0000)]
Merge "Springboot-based SLI-API"

4 years agoSpringboot-based SLI-API 49/101849/9
Smokowski, Kevin (ks6305) [Mon, 3 Feb 2020 16:02:18 +0000 (16:02 +0000)]
Springboot-based SLI-API

Implement SLI-API RESTCONF in springboot

Change-Id: I8b9b07e3b1aeb4a5adac977307c6f95c905ea038
Issue-ID: CCSDK-2096
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agounit test for MdsalHelper 00/102000/2
Smokowski, Kevin (ks6305) [Wed, 19 Feb 2020 14:55:39 +0000 (14:55 +0000)]
unit test for MdsalHelper

 add testToLowerHyphen to MdsalHelper

Issue-ID: CCSDK-2106
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I851c3887d61ec2ce520a7fa187a1b65dc3616e6c

4 years agoRefactoring deprecated lang3.StringEscapeUtils 55/101855/1
Singal, Kapil (ks220y) [Mon, 17 Feb 2020 22:46:59 +0000 (17:46 -0500)]
Refactoring deprecated lang3.StringEscapeUtils

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>
4 years agoMdsalHelper testing and loggingh 59/101059/2
Smokowski, Kevin (ks6305) [Mon, 3 Feb 2020 16:02:18 +0000 (16:02 +0000)]
MdsalHelper testing and loggingh

make one log statement quieter and add unit tests for MdsalHelper

Issue-ID: CCSDK-2071
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I7af1b2c0dce47c2d5970de4950c951c58fa4fb65

4 years agominor sli provider base changes 89/100989/5
Smokowski, Kevin (ks6305) [Fri, 31 Jan 2020 17:52:01 +0000 (17:52 +0000)]
minor sli provider base changes

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

4 years agoRoll versions to next snapshot 77/100777/2
Dan Timoney [Fri, 24 Jan 2020 20:56:59 +0000 (15:56 -0500)]
Roll versions to next snapshot

Roll CCSDK to next snapshot version

Change-Id: I24f5470165522a4311c611785b323c1f81d41a8a
Issue-ID: CCSDK-1963
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRelease CCSDK version 0.7.0 60/100760/1
Dan Timoney [Fri, 24 Jan 2020 15:26:40 +0000 (10:26 -0500)]
Release CCSDK version 0.7.0

Release version 0.7.0 of CCSDK maven artifacts.

Change-Id: Iebe198f06a3f09c0743c3191939a891b15220f9e
Issue-ID: CCSDK-1963
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoUse released parent pom 10/100710/1
Dan Timoney [Thu, 23 Jan 2020 19:32:19 +0000 (14:32 -0500)]
Use released parent pom

Use released version of ccsdk/parent poms

Change-Id: Ice9f18ee402e42f8e26c46640aeb0ae79343d105
Issue-ID: CCSDK-1963
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoAdd report aggregator 44/100544/1
Dan Timoney [Tue, 21 Jan 2020 13:52:37 +0000 (08:52 -0500)]
Add report aggregator

For new Sonar scanner, need to add report aggregate so that tests
run in sli/provider against classes in sli/provider-base will be
counted correctly.

Change-Id: I0a73a0a50353f995ea4b90c09649e55b057f024a
Issue-ID: CCSDK-2029
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoFix issue of converting camel case to lower hyphen format 24/100324/1
Enbo Wang [Wed, 15 Jan 2020 15:58:22 +0000 (23:58 +0800)]
Fix issue of converting camel case to lower hyphen format

Fix issue of converting camel case to lower hyphen format when there are continuous capital letters.

Issue-ID: CCSDK-2026
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
Change-Id: Ifd10b1e82c1f10476bbc6e15689e6025de57bbf4

4 years agoenhance SliPluginUtils 36/99736/2
Smokowski, Kevin (ks6305) [Tue, 17 Dec 2019 18:27:42 +0000 (18:27 +0000)]
enhance SliPluginUtils

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

4 years agoRefactor features to separate installer 10/99610/1
Timoney, Dan (dt5972) [Fri, 13 Dec 2019 15:24:29 +0000 (10:24 -0500)]
Refactor features to separate installer

Refactor karaf feature.xml files to separate installer

Change-Id: I2afade9862227175853d9fe36c5bc9b113e3d582
Issue-ID: CCSDK-1754
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoGenerate dependency list 24/99424/2
Timoney, Dan (dt5972) [Tue, 10 Dec 2019 14:56:35 +0000 (09:56 -0500)]
Generate dependency list

Generate list of direct dependencies for repository and publish to Nexus.

Change-Id: Ibce710d925b127353a7ca502809514c286969350
Issue-ID: CCSDK-1986
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoClean up installers 57/99157/1
Timoney, Dan (dt5972) [Wed, 4 Dec 2019 16:08:46 +0000 (11:08 -0500)]
Clean up installers

Clean up installers to install only ONAP code, not third party
dependencies.  Third party dependencies should be installed
in ccsdk/distribution/dependencies only.

Change-Id: I3459d2d5a82899ad21b1b25daae6f6d182d972af
Issue-ID: CCSDK-1979
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoUse 1.5.1-SNAPSHOT version of parent pom 20/99020/2
Timoney, Dan (dt5972) [Mon, 2 Dec 2019 16:09:18 +0000 (11:09 -0500)]
Use 1.5.1-SNAPSHOT version of parent pom

Fixed version of parent pom to use snapshot version

Change-Id: I128d3b55d0ae3adb4a1255a9b00fc129a9c9bc44
Issue-ID: CCSDK-1935
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoAdd id for Kapil 18/98618/1
Timoney, Dan (dt5972) [Tue, 19 Nov 2019 17:41:26 +0000 (12:41 -0500)]
Add id for Kapil

Add Kapil's ATT id as committer

Change-Id: I429f58b13c9e38e6522ce1b3733af1a7baa78321
Issue-ID: CCSDK-1934
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoMerge "Minor Logging Changes"
Dan Timoney [Mon, 18 Nov 2019 13:41:01 +0000 (13:41 +0000)]
Merge "Minor Logging Changes"

4 years agoFix merge build 75/98475/1
Timoney, Dan (dt5972) [Fri, 15 Nov 2019 20:34:02 +0000 (15:34 -0500)]
Fix merge build

Added missing <version> tag to correct build error

Change-Id: I5bb431f52a6e0336cf1e55675955c1a9894da9a6
Issue-ID: CCSDK-1935
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoAdd new committers Kevin and Kapil 65/98465/1
Timoney, Dan (dt5972) [Fri, 15 Nov 2019 19:54:24 +0000 (14:54 -0500)]
Add new committers Kevin and Kapil

Add new committers Kevin Smokowski and Kapil Singal

Change-Id: I2cd5cf5a50b9927dfd7c3e752fb90758aac66f31
Issue-ID: CCSDK-1934
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoUse 1.5.0 parent pom 61/98361/1
Timoney, Dan (dt5972) [Wed, 13 Nov 2019 14:37:28 +0000 (09:37 -0500)]
Use 1.5.0 parent pom

Use released 1.5.0 version of parent pom

Change-Id: I92e2f71000a7d651f6a20167dd3861942ea27ced
Issue-ID: CCSDK-1920
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoMinor Logging Changes 18/98218/2
Singal, Kapil (ks220y) [Sat, 9 Nov 2019 16:07:30 +0000 (11:07 -0500)]
Minor Logging Changes

Change-Id: I3ecefccbd1bd5041b9d9b62fe1a0587e72b26c8a
Issue-ID: CCSDK-1915
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
4 years agominor updates to clean up code 80/97980/1
Agarwal, Ruchira (ra1926) [Tue, 5 Nov 2019 19:50:30 +0000 (19:50 +0000)]
minor updates to clean up code

clean up code to sync with internal

Issue-ID: CCSDK-1873
Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com>
Change-Id: I1043e3f34176aebf2531bf0581b207694264d6f2

4 years agoSliProviderBaseUpdates 59/97859/7
Smokowski, Kevin (ks6305) [Fri, 1 Nov 2019 14:38:49 +0000 (14:38 +0000)]
SliProviderBaseUpdates

SvcLogicServiceImplBase constructor should have SvcLogicResolver as a parameter,Added HashMapResolver to map svclogic instances without osgi,Added InMemorySvcLogicStore useful for simple demos or junit test

Issue-ID: CCSDK-1891
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I3c3cdd33177ef10133db2672ddd4b308becefc90

4 years agopom updates 96/97796/1
Smokowski, Kevin (ks6305) [Thu, 31 Oct 2019 14:36:33 +0000 (14:36 +0000)]
pom updates

inherit version for org.onap.logging-analytics artifacts

Issue-ID: CCSDK-1882
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I9ab3e996f5f951dae8a00c9c7cf6fcd054905146

4 years agoMerge "remove EncShellCommand"
Dan Timoney [Wed, 30 Oct 2019 20:38:16 +0000 (20:38 +0000)]
Merge "remove EncShellCommand"

4 years agoMerge "remove ODL/karaf from common"
Dan Timoney [Wed, 30 Oct 2019 20:35:21 +0000 (20:35 +0000)]
Merge "remove ODL/karaf from common"

4 years agoremove EncShellCommand 82/97282/4
Smokowski, Kevin (ks6305) [Thu, 17 Oct 2019 19:15:42 +0000 (19:15 +0000)]
remove EncShellCommand

remove EncShellCommand to separate dblib from karaf and odl

Issue-ID: CCSDK-1848
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: If43abeceb556b4075d2866a18b8c9e92765e14a2

4 years agoSliStringUtils 81/97281/3
Smokowski, Kevin (ks6305) [Thu, 17 Oct 2019 19:03:35 +0000 (19:03 +0000)]
SliStringUtils

additional functions in SliStringUtils added

Issue-ID: CCSDK-1847
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I2e38258abe57d4fcd49cf226877cd38e9dd947d6

4 years agoremove ODL/karaf from common 47/97747/2
Smokowski, Kevin (ks6305) [Wed, 30 Oct 2019 14:07:38 +0000 (14:07 +0000)]
remove ODL/karaf from common

Don't let sli common use odl or karaf classes

Issue-ID: CCSDK-1723
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I740fa32b9c40a7efdf7ef9ce25b26cf43353c559

4 years agoMerge "Update metric logger"
Dan Timoney [Wed, 23 Oct 2019 16:36:50 +0000 (16:36 +0000)]
Merge "Update metric logger"

4 years agoUpdate metric logger 77/97277/2
Smokowski, Kevin (ks6305) [Thu, 17 Oct 2019 18:16:10 +0000 (18:16 +0000)]
Update metric logger

set status during invoke and escape certain characters

Issue-ID: CCSDK-1845
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I3928364f480545ccdcce0af67e198d93152cfbd8

4 years agoRefactor class/instance loading and resolving in the SLI module 39/94939/6
Samuel Kontris [Wed, 4 Sep 2019 13:31:48 +0000 (15:31 +0200)]
Refactor class/instance loading and resolving in the SLI module

Code from the static class SvcLogicAdaptorFactory is moved
to the SvcLogicClassResolver class.

Class SvcLogicClassResolver is created as a bean in the blueprint xml
file, not as singleton directly in the code. Then is injected via
blueprint into the SvcLogicServiceImpl.

Methods registerExecutor and unregisterExecutor from
the SvcLogicServiceImpl class are removed - are not used anywhere.

This change causes compilation error in the northbound repository.
Fix for this error is here:
https://gerrit.onap.org/r/#/c/ccsdk/sli/northbound/+/95053/

Issue-ID: CCSDK-1688
Change-Id: I26ce01b761ab5d17f1cc19e39af581b1963658a5
Signed-off-by: Samuel Kontris <samuel.kontris@pantheon.tech>
4 years agoRemoving Extra space from POM 34/96334/2
Singal, Kapil (ks220y) [Fri, 27 Sep 2019 14:23:36 +0000 (10:23 -0400)]
Removing Extra space from POM

SLI Filters Provider POM having space before XML Tag, which will cause issue in maven set:version goal

Change-Id: Icbe00187ac9f6730f43d5359c16ce364b5627348
Issue-ID: CCSDK-1761
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
4 years agoMerge "update filters"
Dan Timoney [Thu, 19 Sep 2019 16:22:35 +0000 (16:22 +0000)]
Merge "update filters"

4 years agoupdate filters 73/95273/5
Smokowski, Kevin (ks6305) [Mon, 9 Sep 2019 20:55:15 +0000 (20:55 +0000)]
update filters

replace legacy filters with common filters

Issue-ID: CCSDK-1698
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: Id6b1f003f19105956d221d5bfd31390ac096c9bc

4 years agoReturnNodeExecutor Fixing Logger Statement 39/95939/1
Singal, Kapil (ks220y) [Wed, 18 Sep 2019 17:30:20 +0000 (13:30 -0400)]
ReturnNodeExecutor Fixing Logger Statement

Adding third variable to the logger so that Expression prints properly

Change-Id: I2e4a74ace199506698abede88778e6314b226e59
Issue-ID: CCSDK-1745
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
4 years agoMerge "prevent duplicate bundle startup"
Dan Timoney [Tue, 17 Sep 2019 13:44:10 +0000 (13:44 +0000)]
Merge "prevent duplicate bundle startup"

4 years agoRoll version for Frankfurt release 11/95411/1
Timoney, Dan (dt5972) [Tue, 10 Sep 2019 18:59:46 +0000 (14:59 -0400)]
Roll version for Frankfurt release

Roll version in master branch to Frankfurt version (1.5.0-SNAPSHOT)

Change-Id: Ic2b3afb65d780360a056d50a1cfd0b32555ae32a
Issue-ID: CCSDK-1701
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoRelease version 1.6.1 95/95395/1
Timoney, Dan (dt5972) [Tue, 10 Sep 2019 15:57:17 +0000 (11:57 -0400)]
Release version 1.6.1

Release CCSDK version 1.6.1

Change-Id: Iad4a69cf48ae0a198fbbe0900f0b535b82685cce
Issue-ID: CCSDK-1701
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoprevent duplicate bundle startup 77/95277/1
Smokowski, Kevin (ks6305) [Mon, 9 Sep 2019 21:44:30 +0000 (21:44 +0000)]
prevent duplicate bundle startup

prevent duplicate bundle startup

Issue-ID: CCSDK-1699
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I678845701a0bd2c1756d367fdf1bf3dbe02792d2

4 years agoMerge "Fix errors in INFO.yaml"
Dan Timoney [Fri, 6 Sep 2019 15:41:23 +0000 (15:41 +0000)]
Merge "Fix errors in INFO.yaml"

4 years agoFix errors in INFO.yaml 49/95149/2
Timoney, Dan (dt5972) [Fri, 6 Sep 2019 13:49:08 +0000 (09:49 -0400)]
Fix errors in INFO.yaml

Fix errors in INFO.yaml file

Change-Id: I48a0645f97d23f5175d8af5b9a28d447031822f7
Issue-ID: CCSDK-1696
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agologging changes 89/95089/1
Smokowski, Kevin (ks6305) [Thu, 5 Sep 2019 20:10:01 +0000 (20:10 +0000)]
logging changes

remove old logging statements, add a few helpful ones

Issue-ID: CCSDK-1665
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I2272f54b447647c8beab6d2053413c57e816eeac

4 years agoMerge "remove useless log lines"
Dan Timoney [Wed, 4 Sep 2019 15:31:28 +0000 (15:31 +0000)]
Merge "remove useless log lines"

4 years agoMerge "logging changes"
Dan Timoney [Wed, 4 Sep 2019 15:21:48 +0000 (15:21 +0000)]
Merge "logging changes"

4 years agoremove useless log lines 13/94713/2
Smokowski, Kevin (ks6305) [Fri, 30 Aug 2019 21:29:32 +0000 (21:29 +0000)]
remove useless log lines

delete excess log statements from sli core

Issue-ID: CCSDK-1665
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: Iccf1e5eec024b5d5ba0a63d4a6a9cc45c931ea8a

4 years agoRevert "Proposal to remove OSGi dependencies from the CCSDK project" 06/94606/1
Timoney, Dan (dt5972) [Thu, 29 Aug 2019 15:11:24 +0000 (11:11 -0400)]
Revert "Proposal to remove OSGi dependencies from the CCSDK project"

This reverts commit 85041dd8795b84a48d0b48dd746bfbcb230c8794.
This needs to be reverted due to insufficient testing (no
jUnit tests provided)

Change-Id: I011f3eb7ab27ba9946f04d4d528dd4d91b593685
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agologging changes 83/94383/2
Smokowski, Kevin (ks6305) [Tue, 27 Aug 2019 20:59:58 +0000 (20:59 +0000)]
logging changes

Synchronize metric logger with casablanca logging spec

Issue-ID: CCSDK-1658
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I2d4e6af9eebdd0521792f03bbbaf25736b1b698e

4 years agoRoll versions 59/94459/1
Timoney, Dan (dt5972) [Wed, 28 Aug 2019 17:12:38 +0000 (13:12 -0400)]
Roll versions

Roll versions in master branch

Change-Id: I15535fec1da460f7227b855a4700e7b93aae93ea
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoRelease version 0.6.0 76/94376/1
Timoney, Dan (dt5972) [Tue, 27 Aug 2019 19:47:29 +0000 (15:47 -0400)]
Release version 0.6.0

Release version 0.6.0 of ccsdk artifacts

Change-Id: I8ad418bd911ed0d70efc4329635d570f976f45de
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoAdd the odlparent-lite to the lighty.io artifacts without any parent 98/94198/3
Samuel Kontris [Fri, 23 Aug 2019 11:51:37 +0000 (13:51 +0200)]
Add the odlparent-lite to the lighty.io artifacts without any parent

This addition should fix failing merge job. Error log from merge job:
"Deployment failed: repository element was not specified in the POM
inside distributionManagement element"

Signed-off-by: Samuel Kontris <samuel.kontris@pantheon.tech>
Change-Id: I0a0cc6fc59dbb5645ca9f3a5b3b250a0581763da

4 years agoProposal to remove OSGi dependencies from the CCSDK project 48/84048/18
Matej Perina [Wed, 3 Apr 2019 07:09:00 +0000 (09:09 +0200)]
Proposal to remove OSGi dependencies from the CCSDK project

Dependencies on the OSGi frameworks and libraries are removed
by integrating the CCSDK project with the lighty.io.
It's a toolkit that allows to use ODL services (in this case
core services and the Restconf) without the dependency
on the Karaf framework and the Blueprint DI.

In this change are created the lighty.io modules which
initialize and expose same services as the Blueprint DI in
the blueprint.xml files.

More info about the lighty.io - https://lighty.io

Change-Id: I38171e83b018a18bfd8eaec95d4dc2fa2e3f5b36
Signed-off-by: Matej Perina <matej.perina@pantheon.tech>
Signed-off-by: Samuel Kontris <samuel.kontris@pantheon.tech>
4 years agoCode changes for OpenDaylight Neon 47/90847/9
Timoney, Dan (dt5972) [Wed, 3 Jul 2019 17:53:18 +0000 (13:53 -0400)]
Code changes for OpenDaylight Neon

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>
4 years agoRelease version 0.5.2 15/93515/1
Timoney, Dan (dt5972) [Wed, 14 Aug 2019 12:55:22 +0000 (08:55 -0400)]
Release version 0.5.2

Release version 0.5.2 (last Fluorine SR2 version of CCSDK)

Change-Id: I50196bf7df12ca48858889becd0688ae6b045892
Issue-ID: CCSDK-1401
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>