ccsdk/sli/core.git
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 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>
4 years agoupdate metric logger name to be consistent 42/92942/3
Smokowski, Kevin (ks6305) [Wed, 7 Aug 2019 19:01:10 +0000 (19:01 +0000)]
update metric logger name to be consistent

update metric logger name to be consistent with convention of the other loggers

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

4 years agoRelease 0.5.1 CCSDK artifact 25/92825/3 elalto-ed
Timoney, Dan (dt5972) [Tue, 6 Aug 2019 15:41:25 +0000 (11:41 -0400)]
Release 0.5.1 CCSDK artifact

Release version 0.5.1 of CCSDK artifacts

Issue-ID: CCSDK-1563
Change-Id: Idda8465c70f2c11182b9149ae00b1781a63d65f0
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoAdd missing version tag 12/92912/1
Timoney, Dan (dt5972) [Tue, 6 Aug 2019 17:51:40 +0000 (13:51 -0400)]
Add missing version tag

Add missing version tag to project pom.xml

Change-Id: I5dad3bbb9e1d91959304b7e86e1d5bc618b7fbaa
Issue-ID: CCSDK-1563
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoAdd missing version tag 28/92828/1
Timoney, Dan (dt5972) [Tue, 6 Aug 2019 15:56:06 +0000 (11:56 -0400)]
Add missing version tag

Add missing version tag to project pom.xml

Change-Id: Ic26f795190b1d543963d3c98256e81531816debc
Issue-ID: CCSDK-1563
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoRoll version to recreate release artifacts 07/92807/1
Timoney, Dan (dt5972) [Tue, 6 Aug 2019 13:54:45 +0000 (09:54 -0400)]
Roll version to recreate release artifacts

Roll versions to 0.5.1 - need to re-release El Alto early release

Change-Id: Id56175e77fe52596059aa072b8a64c35c1ccba06
Issue-ID: CCSDK-1563
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoRelease sli/core version 0.5.0 04/92404/1
Timoney, Dan (dt5972) [Wed, 31 Jul 2019 19:10:19 +0000 (15:10 -0400)]
Release sli/core version 0.5.0

Release sli/core version 0.5.0 via new self release process

Change-Id: Ieefb18eaecc1d2c11f4466175e165638735e83d6
Issue-ID: CCSDK-1563
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoMerge "Junit-SvcLogicParserException.java"
Dan Timoney [Thu, 25 Jul 2019 13:56:27 +0000 (13:56 +0000)]
Merge "Junit-SvcLogicParserException.java"

4 years agoMerge "JUNIT-ExitNodeException.java"
Dan Timoney [Thu, 25 Jul 2019 13:56:15 +0000 (13:56 +0000)]
Merge "JUNIT-ExitNodeException.java"

4 years agoMerge "JUNIT-ConfigurationException.java"
Dan Timoney [Thu, 25 Jul 2019 13:44:20 +0000 (13:44 +0000)]
Merge "JUNIT-ConfigurationException.java"

4 years agoJunit-SvcLogicParserException.java 23/91923/3
anushadasari [Wed, 24 Jul 2019 07:40:51 +0000 (13:10 +0530)]
Junit-SvcLogicParserException.java

JUNIT for file SvcLogicParserException.java

Issue-ID: CCSDK-1525
Change-Id: I64cebc8a692b2c1700a7a28206c30d1ba4e66fc1
Signed-off-by: anushadasari <danush10@in.ibm.com>
4 years agoJUNIT-ExitNodeException.java 21/91921/4
anushadasari [Wed, 24 Jul 2019 07:37:23 +0000 (13:07 +0530)]
JUNIT-ExitNodeException.java

Junit for file ExitNodeException.java

Issue-ID: CCSDK-1524
Change-Id: If94b520053f47db083779dd38c7117a978bd6ae5
Signed-off-by: anushadasari <danush10@in.ibm.com>
4 years agoMerge "JUNIT- DuplicateValueException.java"
Dan Timoney [Thu, 25 Jul 2019 13:41:43 +0000 (13:41 +0000)]
Merge "JUNIT- DuplicateValueException.java"

4 years agoJUNIT-ConfigurationException.java 89/91889/2
anushadasari [Tue, 23 Jul 2019 17:36:04 +0000 (23:06 +0530)]
JUNIT-ConfigurationException.java

JUNIT for ConfigurationException.java

Issue-ID: CCSDK-1520
Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e
Signed-off-by: anushadasari <danush10@in.ibm.com>
4 years agoJUNIT- DuplicateValueException.java 20/91920/2
anushadasari [Wed, 24 Jul 2019 07:33:00 +0000 (13:03 +0530)]
JUNIT- DuplicateValueException.java

JUNIT for file DuplicateValueException.java

Issue-ID: CCSDK-1523
Change-Id: I08cb7cca1d02cfac5517ec603273b441b7311ff5
Signed-off-by: anushadasari <danush10@in.ibm.com>
4 years agoAdding a test model 92/91892/1
Smokowski, Kevin (ks6305) [Tue, 23 Jul 2019 18:26:55 +0000 (18:26 +0000)]
Adding a test model

This test model will be helpful in unit tests

Change-Id: I62f7aa2ed6d1e1ba71c20700a4d29bdca204b4f0
Issue-ID: CCSDK-1521
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
4 years agoUpdate parent version to 1.3.1 05/91605/1
Timoney, Dan (dt5972) [Wed, 17 Jul 2019 14:54:34 +0000 (10:54 -0400)]
Update parent version to 1.3.1

Update parent poms to version 1.3.1-SNAPSHOT

Change-Id: I822e73287adcf0edca3283264600a2cbcd4f53b6
Issue-ID: CCSDK-1496
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoAdd Brinda as committer 60/91360/2
Timoney, Dan (dt5972) [Fri, 12 Jul 2019 12:29:53 +0000 (08:29 -0400)]
Add Brinda as committer

Added Brinda as committer to INFO.yaml

Change-Id: If012bf5ab89fdf7bf680b1cb0e208191e35b5f6c
Issue-ID: CCSDK-1480
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoChange log level for parameter print 67/91167/2
Timoney, Dan (dt5972) [Wed, 10 Jul 2019 15:03:36 +0000 (11:03 -0400)]
Change log level for parameter print

Change execute node so that values of parameters are only printed
at TRACE level.

Change-Id: I458e77819eef2f14a9e56db44544c3fd945a5a44
Issue-ID: CCSDK-1465
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoMerge "support yang enumerations with underscores"
Dan Timoney [Tue, 25 Jun 2019 18:37:46 +0000 (18:37 +0000)]
Merge "support yang enumerations with underscores"

4 years agosupport yang enumerations with underscores 70/90470/1
Smokowski, Kevin (ks6305) [Tue, 25 Jun 2019 16:40:05 +0000 (16:40 +0000)]
support yang enumerations with underscores

underscores should be stripeed before Enum.valueOf is called

Change-Id: Ie69e16dbf515b9fc8375bb9be2597198ccbd3c65
Issue-ID: CCSDK-1434
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
4 years agoRemove versions from project poms 13/90113/1
Timoney, Dan (dt5972) [Tue, 18 Jun 2019 19:43:26 +0000 (15:43 -0400)]
Remove versions from project poms

Remove versions from dependencies in project poms and rely instead on
dependencyManagement in parent pom.

Change-Id: I15a8b25281854dfc84e5dafab79ca522b5dc5c0a
Issue-ID: CCSDK-1416
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoMdsalhelper toBuilder performance issue 70/89070/1
Smokowski, Kevin (ks6305) [Fri, 31 May 2019 18:58:41 +0000 (18:58 +0000)]
Mdsalhelper toBuilder performance issue

Mdsalhelper toBuilder performance issue, no impact

Change-Id: I2788352b0f25f970380f15653008026f8a12a233
Issue-ID: CCSDK-1374
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
4 years agoMerge "Add additional SvcLogicParser junit"
Dan Timoney [Fri, 24 May 2019 15:28:45 +0000 (15:28 +0000)]
Merge "Add additional SvcLogicParser junit"

4 years agoAdd additional SvcLogicParser junit 82/88382/4
Smokowski, Kevin (ks6305) [Thu, 23 May 2019 15:50:35 +0000 (15:50 +0000)]
Add additional SvcLogicParser junit

Add additional SvcLogicParser junit

Change-Id: I3186d2ce0981ac20c5655e5f88d8cb2e4ed55b9f
Issue-ID: CCSDK-1361
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
4 years agoadd escape and unescape json to SliStringUtils 72/88272/2
Smokowski, Kevin (ks6305) [Wed, 22 May 2019 15:31:08 +0000 (15:31 +0000)]
add escape and unescape json to SliStringUtils

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>
5 years agoMake MdsalHelper.getFullPropertiesPath generic 31/88031/1
Smokowski, Kevin (ks6305) [Fri, 17 May 2019 20:41:13 +0000 (20:41 +0000)]
Make MdsalHelper.getFullPropertiesPath generic

Make MdsalHelper.getFullPropertiesPath generic and have a default for backwards compatibility

Change-Id: I0d5006b895691d2f0fb2b71803324d58c8819956
Issue-ID: CCSDK-1342
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
5 years agoRemove DME2 plugin 82/87482/1
Smokowski, Kevin (ks6305) [Fri, 10 May 2019 18:41:59 +0000 (18:41 +0000)]
Remove DME2 plugin

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>
5 years agoRoll master to El Alto 24/86624/1
Timoney, Dan (dt5972) [Tue, 30 Apr 2019 13:57:41 +0000 (09:57 -0400)]
Roll master to El Alto

Roll master version to El Alto versions

Change-Id: If761a69b069ab05a6aa598cd583ac4275665e425
Issue-ID: CCSDK-1222
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoUpdate to use released 1.2.2 parent 65/86165/1 0.4.2
Timoney, Dan (dt5972) [Wed, 24 Apr 2019 16:03:12 +0000 (12:03 -0400)]
Update to use released 1.2.2 parent

Update to use released 1.2.2 version of parent poms.

Change-Id: I2edaa726e871ec3ad3bf1aa1cc3d592c79ca6c92
Issue-ID: CCSDK-1222
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoadd support for SendError in LoggingFilter 78/84578/2
Agarwal, Ruchira (ra1926) [Tue, 9 Apr 2019 00:08:10 +0000 (00:08 +0000)]
add support for SendError in LoggingFilter

Fix for illegalStateException in loggingFilter

Change-Id: I357266468a3a9ed11c1d1aeeeb31b52dc653c432
Issue-ID: CCSDK-1198
Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com>
5 years agoFixing Log Filter Exception in Finally Block 48/84148/1
Singal, Kapil (ks220y) [Wed, 3 Apr 2019 22:24:45 +0000 (18:24 -0400)]
Fixing Log Filter Exception in Finally Block

sli-core filters: Fixing RequestResponseLoggingFilter.java which throws Exception in Finally Block

Change-Id: Id5beb4ed320b85a4ffcaff603bacb4b1789d501e
Issue-ID: CCSDK-1198
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
5 years agoSupport system variables in property values 50/83050/3
Rich Tabedzki [Fri, 22 Mar 2019 15:01:50 +0000 (11:01 -0400)]
Support system variables in property values

Changes made:
* Added code in DBResourceManager to replace  with its value
* Expanded debug statement by adding processing time

Change-Id: I22748daed50063e8e0ac7201e88d69a2609c1788
Issue-ID: CCSDK-1133
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
5 years agoCompile against Fluorine SR2 74/82474/2
Timoney, Dan (dt5972) [Fri, 15 Mar 2019 18:34:26 +0000 (14:34 -0400)]
Compile against Fluorine SR2

Compile against ODL Fluorine SR2

Change-Id: I9554aaa76d76f7ba7efb961e5ee1cbbb2b1768d5
Issue-ID: CCSDK-1156
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoPrepare for release 0.4.1 59/82259/1 0.4.1
Timoney, Dan (dt5972) [Thu, 14 Mar 2019 14:35:03 +0000 (10:35 -0400)]
Prepare for release 0.4.1

Prepare to create release version 0.4.1 by using released version
of parent pom

Change-Id: If211c26cdbb7caa9033b511a9719851f9edcfcdc
Issue-ID: CCSDK-1156
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoAdd junit test cases 24/79724/1
Timoney, Dan (dt5972) [Tue, 5 Mar 2019 17:06:50 +0000 (12:06 -0500)]
Add junit test cases

Add junit test cases for sli/core repository.

Change-Id: Ifcec596cf9f835249a7967c9c7830253b53d2ef6
Issue-ID: CCSDK-1128
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoIncrease code coverage 89/78889/2
Timoney, Dan (dt5972) [Thu, 21 Feb 2019 01:10:35 +0000 (20:10 -0500)]
Increase code coverage

Added junit test cases, and updated jacoco config in provider/base
to include provider tests as well

Change-Id: I8f384b3a4dd7362f004eaa959cd0c634edf0ddbe
Issue-ID: CCSDK-1096
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoRestore default vlbcheck RPC 16/78416/1
Timoney, Dan (dt5972) [Wed, 13 Feb 2019 17:07:44 +0000 (12:07 -0500)]
Restore default vlbcheck RPC

Restore default implementation of vlbcheck in case where no DG
exists.

Change-Id: I6371e8e26e14e66bf252ee8d1f08d18101b290f5
Issue-ID: CCSDK-1064
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "Add dummy input"
Dan Timoney [Tue, 5 Feb 2019 18:18:26 +0000 (18:18 +0000)]
Merge "Add dummy input"

5 years agoMerge "Junit for EncShellCommand.java"
Dan Timoney [Tue, 5 Feb 2019 17:21:51 +0000 (17:21 +0000)]
Merge "Junit for EncShellCommand.java"

5 years agoAdd dummy input 86/77886/1
Timoney, Dan (dt5972) [Tue, 5 Feb 2019 16:17:44 +0000 (11:17 -0500)]
Add dummy input

Fluorine version of restconf does not handle RPCs with no input
correctly.  So, need to work around that by defining dummy input
for SLI-API vlbcheck and healthcheck APIs

Change-Id: I6a78a899937e1bb9bd7674530166a493875ca3bf
Issue-ID: CCSDK-1035
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoHack to force classloader t find mariadb driver 39/77739/1
Timoney, Dan (dt5972) [Fri, 1 Feb 2019 20:45:52 +0000 (15:45 -0500)]
Hack to force classloader t find mariadb driver

Container is not coming up because dblib is getting
ClassNotFoundException for mariadb driver, even though
it is installed.  To correct this temporarily, updated
code to explicitly create a driver object.

Change-Id: I210d042be2c71a4392781ad26f858c916dbd7364
Issue-ID: CCSDK-489
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoJunit for EncShellCommand.java 90/77690/3
Driptaroop Das [Fri, 1 Feb 2019 07:12:36 +0000 (12:42 +0530)]
Junit for EncShellCommand.java

Junit for EncShellCommand.java

Issue-ID: CCSDK-1016
Change-Id: I7cbdb49b6e04ce6a69a48f9a507c7db959698140
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
5 years agoCode changes to sli/core for ODL Fluorine 15/75015/6
Timoney, Dan (dt5972) [Thu, 20 Dec 2018 18:44:40 +0000 (13:44 -0500)]
Code changes to sli/core for ODL Fluorine

Code changes needed to support port to ODL Fluorine.

Change-Id: I539aeaabeab1056cd109b6bee12046d91d61cab1
Issue-ID: CCSDK-870
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "Prepare for release build" 0.4.0
Dan Timoney [Wed, 9 Jan 2019 18:58:21 +0000 (18:58 +0000)]
Merge "Prepare for release build"

5 years agoFix sonar issues in ccsdk-sli-core 84/75484/1
Rich Tabedzki [Tue, 8 Jan 2019 17:21:23 +0000 (12:21 -0500)]
Fix sonar issues in ccsdk-sli-core

Changes made:
* Updated message template handling in CachedDataSource

Change-Id: I9a082753d80f790b77448a5b3de957b404d737fb
Issue-ID: CCSDK-647
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
5 years agoPrepare for release build 77/75477/1
Timoney, Dan (dt5972) [Tue, 8 Jan 2019 15:55:33 +0000 (10:55 -0500)]
Prepare for release build

Prepare for release of early ODL-Oxygen based CCSDK Dublin

Change-Id: Ia1fb4b7211619be726857b0333c1f75985ff1a64
Issue-ID: CCSDK-870
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agofixed sonar issue in JdbcCachedDataSource 13/75413/3
Rich Tabedzki [Mon, 7 Jan 2019 20:10:11 +0000 (15:10 -0500)]
fixed sonar issue in JdbcCachedDataSource

Changes made:
* updated cleanup code
* added TerminatingConfiguration class

Change-Id: Iee16116a5fc419065915b9f84488874dd192af7c
Issue-ID: CCSDK-913
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
5 years agoMerge "fixed sonar issues in PrintYangToProp.java"
Dan Timoney [Mon, 7 Jan 2019 16:44:46 +0000 (16:44 +0000)]
Merge "fixed sonar issues in PrintYangToProp.java"

5 years agoMerge "Fixed sonar fix in DbConfigPool.java"
Dan Timoney [Mon, 7 Jan 2019 15:49:41 +0000 (15:49 +0000)]
Merge "Fixed sonar fix in DbConfigPool.java"

5 years agofixed sonar issues in PrintYangToProp.java 51/74951/2
Sandeep J [Thu, 20 Dec 2018 07:38:04 +0000 (13:08 +0530)]
fixed sonar issues in PrintYangToProp.java

fixed sonar issues

Issue-ID: CCSDK-525
Change-Id: Ifb7328c8b3cf40d412a0efffad6cb55673cf83dc
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agoFixed sonar fix in DbConfigPool.java 90/75090/2
ezhil [Wed, 26 Dec 2018 11:19:07 +0000 (16:49 +0530)]
Fixed sonar fix in DbConfigPool.java

Fixed major sonar issue
Issue-ID: CCSDK-796
Change-Id: Id8a655875c972bb3df1f12f211b6a0068922b21d
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
5 years agoMerge "fixed sonar issues in SliPluginUtils.java"
Dan Timoney [Fri, 28 Dec 2018 02:45:03 +0000 (02:45 +0000)]
Merge "fixed sonar issues in SliPluginUtils.java"

5 years agoMerge "fixed sonar issues in sliapiProvider.java"
Dan Timoney [Fri, 28 Dec 2018 02:44:39 +0000 (02:44 +0000)]
Merge "fixed sonar issues in sliapiProvider.java"

5 years agoMerge "fixed sonar issues in ConfigureNodeExecutor.java"
Dan Timoney [Fri, 28 Dec 2018 02:44:17 +0000 (02:44 +0000)]
Merge "fixed sonar issues in ConfigureNodeExecutor.java"

5 years agoMerge "fixed sonar issues in MdsalHelper.java"
Dan Timoney [Fri, 28 Dec 2018 02:35:42 +0000 (02:35 +0000)]
Merge "fixed sonar issues in MdsalHelper.java"

5 years agoMerge "fixed sonar issues in SvcLogicServiceImpl.java"
Dan Timoney [Fri, 28 Dec 2018 02:34:54 +0000 (02:34 +0000)]
Merge "fixed sonar issues in SvcLogicServiceImpl.java"

5 years agoMerge "fixed sonar issue in PollingWorker.java"
Dan Timoney [Fri, 28 Dec 2018 02:34:22 +0000 (02:34 +0000)]
Merge "fixed sonar issue in PollingWorker.java"

5 years agofixed sonar issues in SliPluginUtils.java 55/75055/1
Sandeep J [Fri, 21 Dec 2018 12:16:01 +0000 (17:46 +0530)]
fixed sonar issues in SliPluginUtils.java

fixed sonar issues

Issue-ID: CCSDK-525
Change-Id: I6d48ed028e98c2fc9ce0cf6ae215dfd3fcc6c871
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agofixed sonar issues in sliapiProvider.java 54/75054/1
Sandeep J [Fri, 21 Dec 2018 12:12:53 +0000 (17:42 +0530)]
fixed sonar issues in sliapiProvider.java

fixed sonar issues

Issue-ID: CCSDK-525
Change-Id: I4f2c19ea603782730866772687f338757e72612e
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agofixed sonar issues in ConfigureNodeExecutor.java 53/75053/1
Sandeep J [Fri, 21 Dec 2018 12:07:26 +0000 (17:37 +0530)]
fixed sonar issues in ConfigureNodeExecutor.java

fixed sonar issues

Issue-ID: CCSDK-525
Change-Id: I14e357eeab5aaa2736f6c6492925e860e9029f80
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agofixed sonar issues in MdsalHelper.java 53/74953/1
Sandeep J [Thu, 20 Dec 2018 07:48:09 +0000 (13:18 +0530)]
fixed sonar issues in MdsalHelper.java

fixed sonar issues

Issue-ID: CCSDK-525
Change-Id: I0b77ad983305da8b19fa6e3587da8ea3fe1bca95
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agofixed sonar issues in SvcLogicServiceImpl.java 52/74952/1
Sandeep J [Thu, 20 Dec 2018 07:51:21 +0000 (13:21 +0530)]
fixed sonar issues in SvcLogicServiceImpl.java

fixed sonar issues and formatted code

Issue-ID: CCSDK-525
Change-Id: I8fd20f55e225aeac37a5c763857c00228ef5a58a
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agofixed sonar issue in PollingWorker.java 50/74950/1
Sandeep J [Thu, 20 Dec 2018 07:29:36 +0000 (12:59 +0530)]
fixed sonar issue in PollingWorker.java

fixed sonar issue

Issue-ID: CCSDK-525
Change-Id: If242b9995469c0b0a25b1285db1536ff52adce2c
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
5 years agofixed sonar issues in DBResourceManager.java 49/74949/1
Sandeep J [Thu, 20 Dec 2018 07:25:00 +0000 (12:55 +0530)]
fixed sonar issues in DBResourceManager.java

fixed sonar issues

Issue-ID: CCSDK-525
Change-Id: I169df48b14e1288271356a972c36e678da1ffa04
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>