ccsdk/sli/core.git
5 years agoadded test case to TestSlipapiprovider 28/69628/1
Sandeep J [Mon, 1 Oct 2018 20:54:14 +0000 (02:24 +0530)]
added test case to TestSlipapiprovider

to increase code coverage

Issue-ID: CCSDK-595
Change-Id: If835e05bfd08db9c60ae15e924a9750c78d67763
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agoMerge "added test case to SliStringUtilsTest"
Dan Timoney [Thu, 27 Sep 2018 19:21:28 +0000 (19:21 +0000)]
Merge "added test case to SliStringUtilsTest"

6 years agoMerge "added test case to SliPluginUtils_ctxSortList"
Dan Timoney [Thu, 27 Sep 2018 17:54:11 +0000 (17:54 +0000)]
Merge "added test case to SliPluginUtils_ctxSortList"

6 years agoMerge "added test cases to CheckParametersTest.java"
Dan Timoney [Thu, 27 Sep 2018 17:53:51 +0000 (17:53 +0000)]
Merge "added test cases to CheckParametersTest.java"

6 years agoadded test case to SliStringUtilsTest 75/68975/3
Sandeep J [Tue, 25 Sep 2018 21:41:22 +0000 (03:11 +0530)]
added test case to SliStringUtilsTest

to increase code coverage

Issue-ID: CCSDK-595
Change-Id: I3cc31ab404fa5ee26bcecd1a5617b2423a10a96c
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agoadded test case to SliPluginUtils_ctxSortList 71/68971/3
Sandeep J [Tue, 25 Sep 2018 21:29:01 +0000 (02:59 +0530)]
added test case to SliPluginUtils_ctxSortList

to increase code coverage

Issue-ID: CCSDK-595
Change-Id: I0cfaac418d169542b92b6f60eb1b8c32a1a95f37
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agoRoll to 0.3.1-SNAPSHOT 93/68993/1
Timoney, Dan (dt5972) [Tue, 25 Sep 2018 23:09:31 +0000 (19:09 -0400)]
Roll to 0.3.1-SNAPSHOT

Roll to next snapshot version

Change-Id: I58ead1293d517f94bacca69407b22533840b0ee6
Issue-ID: CCSDK-597
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoCreate release version 65/68965/1 0.3.0
Timoney, Dan (dt5972) [Tue, 25 Sep 2018 20:56:10 +0000 (16:56 -0400)]
Create release version

Update sli/core to create release version

Change-Id: I0680e7b4c8bc08f7954b7b87ffc701289acd7893
Issue-ID: CCSDK-597
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoadded test cases to CheckParametersTest.java 45/68845/1
Sandeep J [Tue, 25 Sep 2018 11:59:03 +0000 (17:29 +0530)]
added test cases to CheckParametersTest.java

to increase code coverage

Issue-ID: CCSDK-595
Change-Id: I182eac676dd65c4ef68dd8a479d288615471c712
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agoMerge "added test case to Dme2Test.java"
Dan Timoney [Mon, 24 Sep 2018 13:19:03 +0000 (13:19 +0000)]
Merge "added test case to Dme2Test.java"

6 years agoMerge "added test cases to CheckParametersTest"
Dan Timoney [Mon, 24 Sep 2018 13:18:55 +0000 (13:18 +0000)]
Merge "added test cases to CheckParametersTest"

6 years agoMerge "added test cases to TestDBResourceManager"
Dan Timoney [Mon, 24 Sep 2018 13:18:46 +0000 (13:18 +0000)]
Merge "added test cases to TestDBResourceManager"

6 years agoadded test case to Dme2Test.java 93/68593/1
Sandeep J [Sun, 23 Sep 2018 21:13:20 +0000 (02:43 +0530)]
added test case to Dme2Test.java

to increase code coverage

Issue-ID: CCSDK-595
Change-Id: Id3ae2ba9045d1308af2fb09f0c8aacdf5e40605b
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agoadded test cases to CheckParametersTest 91/68591/1
Sandeep J [Sun, 23 Sep 2018 21:01:45 +0000 (02:31 +0530)]
added test cases to CheckParametersTest

to increase code coverage

Issue-ID: CCSDK-595
Change-Id: Ief8154612aff27cda10f57623b1cca6baac9a7a7
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agoadded test cases to TestDBResourceManager 89/68589/1
Sandeep J [Sun, 23 Sep 2018 19:58:16 +0000 (01:28 +0530)]
added test cases to TestDBResourceManager

to increase code coverage

Issue-ID: CCSDK-595
Change-Id: I8def1aa2e4108f48bc549e63e533f8a63e7a0377
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agoformatted code and added test case 87/68587/1
Sandeep J [Sun, 23 Sep 2018 19:33:37 +0000 (01:03 +0530)]
formatted  code and added test case

to increase code coverage in CachedDataSourceTest

Issue-ID: CCSDK-595
Change-Id: I10c2fec758bfb93587b4f5b096828a43a64039b0
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agoFix version of sli/core 67/66667/1
Timoney, Dan (dt5972) [Fri, 14 Sep 2018 14:10:26 +0000 (10:10 -0400)]
Fix version of sli/core

Fix version.properties to set version 0.3.0

Change-Id: I81dbfa0a50ad01573e0af7f753c3dcdd0460536f
Issue-ID: CCSDK-571
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoSvcLogicLoader Improvements 29/61129/4
Smokowski, Kevin (ks6305) [Fri, 17 Aug 2018 19:36:54 +0000 (19:36 +0000)]
SvcLogicLoader Improvements

restore storing md5sum and add bulkActivate

Change-Id: I27ea86c667d61f435bd2f0a77934d00db57bc218
Issue-ID: CCSDK-473
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agoRestore registering break node 11/64511/1
Smokowski, Kevin (ks6305) [Tue, 4 Sep 2018 20:10:42 +0000 (20:10 +0000)]
Restore registering break node

Restore registering break node, it was removed by accident

Change-Id: Ifd7fa68fae39c83e397105d84435be91cebada35
Issue-ID: CCSDK-513
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agoUse managed guava version 37/62537/2
Gary Wu [Fri, 24 Aug 2018 22:17:40 +0000 (15:17 -0700)]
Use managed guava version

Use centrally managed guava version specified in
oparent.  Includes upgrade to oparent 1.2.0.

This change was submitted by script and may include
additional whitespace or formatting changes.

Change-Id: I803cc7ebf2b9368f276e15af7153fa2bfa90ee40
Issue-ID: INT-619
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoUpdate swagger documentation 37/61337/1
Timoney, Dan (dt5972) [Mon, 20 Aug 2018 17:00:07 +0000 (13:00 -0400)]
Update swagger documentation

Re-generated converted swagger doc.  Note: ideally, it would be good
to generate this on the fly based on Yang model.  However, ODL
yangtools generates swagger 1.2, and readthedocs needs version 2.
Currently we convert this using api-spec-converter tool and store
converted version.  Tried automating this conversion, which works
fine in local compiles but does not work on ONAP Jenkins (tool is
node.js based).

Change-Id: Ic607bcdcc218489a45d616bb1d280675511a760d
Issue-ID: CCSDK-476
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agobreaknode executor tests added 49/61049/1
Ganesh Chandrasekaran [Fri, 17 Aug 2018 07:58:44 +0000 (16:58 +0900)]
breaknode executor tests added

Issue-ID: CCSDK-471

Change-Id: Ice1582299950332292c1fba6052ec85489477ab7
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
6 years agoUpdate sli/core for Oxygen SR3 39/60739/1
Timoney, Dan (dt5972) [Wed, 15 Aug 2018 15:22:55 +0000 (11:22 -0400)]
Update sli/core for Oxygen SR3

Removed version for yangtools dependency in sliapi so that it is
controlled by parent pom to resolve issue caused in Oxygen SR3 upgrade
due to hard-coded SR1 version.  Also, updated name of utils features
directory to match name of artifact (sdnc-slicore-utils renamed to
ccsdk-slicore-utils).

Change-Id: I32b3822e4ae0fdd4c07d5912e4674b19c8615d54
Issue-ID: CCSDK-453
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "Add site definition in distributionManagement"
Dan Timoney [Mon, 13 Aug 2018 19:15:28 +0000 (19:15 +0000)]
Merge "Add site definition in distributionManagement"

6 years agoAdd site definition in distributionManagement 79/60379/1
Timoney, Dan (dt5972) [Mon, 13 Aug 2018 18:55:59 +0000 (14:55 -0400)]
Add site definition in distributionManagement

Define site in distributionManagement to allow javadoc to be published
to ONAP nexus site.

Change-Id: I3f0ed9df6016cd8e9c3486fa92dea9132da7d63d
Issue-ID: CCSDK-455
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoremove dependency 11/59711/1
Smokowski, Kevin (ks6305) [Wed, 8 Aug 2018 17:46:34 +0000 (17:46 +0000)]
remove dependency

remove eelf dependency from sli-common, it isn't being used

Change-Id: Ic8cbb8d833137a0d32707b814dec56450b7129b3
Issue-ID: CCSDK-450
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agoMerge "add null check to format string"
Dan Timoney [Thu, 2 Aug 2018 20:59:50 +0000 (20:59 +0000)]
Merge "add null check to format string"

6 years agoadd null check to format string 45/58745/1
Smokowski, Kevin (ks6305) [Thu, 2 Aug 2018 14:37:21 +0000 (14:37 +0000)]
add null check to format string

add null check to format string

Change-Id: If82f751ec679189620e02fafdcd2e1af9258268f
Issue-ID: CCSDK-424
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agoremove static bool 75/58475/1
Smokowski, Kevin (ks6305) [Wed, 1 Aug 2018 18:04:04 +0000 (18:04 +0000)]
remove static bool

Don't use static boolean for legacy enumeration mapping, add additional parameter to the function

Change-Id: I5d8963a208f3ffdd3af83216aa55f7d34ee39eb9
Issue-ID: CCSDK-396
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agoMerge "support legacy enumeration mapping"
Dan Timoney [Wed, 25 Jul 2018 14:48:58 +0000 (14:48 +0000)]
Merge "support legacy enumeration mapping"

6 years agosupport legacy enumeration mapping 89/57389/3
Smokowski, Kevin (ks6305) [Tue, 24 Jul 2018 21:08:01 +0000 (21:08 +0000)]
support legacy enumeration mapping

support legacy enumeration mapping in MdsalHelper

Change-Id: I637f5dc368da75e24fb8cc3ebdebd002aae3f025
Issue-ID: CCSDK-396
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agoFix sonar issues 85/57285/2
Parshad Patel [Tue, 24 Jul 2018 10:15:27 +0000 (19:15 +0900)]
Fix sonar issues

Fix sonar issues in ccsdk/sli/core

Issue-ID: CCSDK-332
Change-Id: I2aee69cf410d8f9cb63f3a22aeb793a99e27d2c7
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
6 years agoSpecial handling for inet classes 03/56303/1
Timoney, Dan (dt5972) [Thu, 12 Jul 2018 16:29:42 +0000 (12:29 -0400)]
Special handling for inet classes

Add special handling for inet POJOs (which have different form
then POJOs generated from Yang by yangtools) in toList method.

Change-Id: Ie25527e6aacbf683965d7f24018fe066c74fb917
Issue-ID: CCSDK-362
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agosonar issue fix 45/55945/1
ONAP [Fri, 6 Jul 2018 09:57:23 +0000 (18:57 +0900)]
sonar issue fix

Issue-ID: CCSDK-332

Change-Id: Iec65b1ff600518b04ab13fb3508827864074a31b
Signed-off-by: ONAP <arind.mondal@samsung.com>
6 years agofilter partner out 15/55515/1
Smokowski, Kevin (ks6305) [Wed, 27 Jun 2018 20:15:40 +0000 (20:15 +0000)]
filter partner out
filter partner out

Change-Id: Ia23d5f484c52aed94500bb0bf50ae2654d8aa14b
Issue-ID: CCSDK-323
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agoMerge "Add feature aggregator"
Dan Timoney [Sat, 23 Jun 2018 00:50:34 +0000 (00:50 +0000)]
Merge "Add feature aggregator"

6 years agoAdd feature aggregator 81/55281/1
Timoney, Dan (dt5972) [Fri, 22 Jun 2018 19:48:39 +0000 (15:48 -0400)]
Add feature aggregator

Add feature aggregator ccsdk-sli-core-all to install all sli-core
features.

Change-Id: I11174fc693a9275d712312145c03abb0d4f88b41
Issue-ID: CCSDK-280
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoadditional dme2 improvements 09/55209/1
Smokowski, Kevin (ks6305) [Thu, 21 Jun 2018 14:40:27 +0000 (14:40 +0000)]
additional dme2 improvements

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>
6 years agoUpdate sli/core/utils version 31/55031/2
Timoney, Dan (dt5972) [Mon, 18 Jun 2018 21:11:56 +0000 (17:11 -0400)]
Update sli/core/utils version

Update sli/core/utils features versions to ODL Oxygen

Change-Id: Icef6bd776bf489b3991dc2406bccfea4104b1299
Issue-ID: CCSDK-280
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "Update sli/core to ODL Oxygen"
Dan Timoney [Mon, 18 Jun 2018 17:56:02 +0000 (17:56 +0000)]
Merge "Update sli/core to ODL Oxygen"

6 years agoUpdate sli/core to ODL Oxygen 87/54987/1
Timoney, Dan (dt5972) [Fri, 15 Jun 2018 20:13:55 +0000 (16:13 -0400)]
Update sli/core to ODL Oxygen

Update sli/core artifacts to compile cleanly against ODL Oxygen
version of CCSDK parent poms.

Change-Id: I9f3b4c40b1ae62cdda1c35836466f8faf7da3b39
Issue-ID: CCSDK-280
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "Reset root array length when using setnode"
Dan Timoney [Tue, 12 Jun 2018 17:03:44 +0000 (17:03 +0000)]
Merge "Reset root array length when using setnode"

6 years agoReset root array length when using setnode 23/51223/1
Smokowski, Kevin (ks6305) [Tue, 12 Jun 2018 15:51:30 +0000 (15:51 +0000)]
Reset root array length when using setnode

Reset root array length when using setnode shortcut to support backwards compatibility

Change-Id: I0a51e396a9c75a632759cefd82ef4c6c6ca3a384
Issue-ID: CCSDK-302
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agodme2 partner fix 13/51213/1
Smokowski, Kevin (ks6305) [Tue, 12 Jun 2018 14:12:26 +0000 (14:12 +0000)]
dme2 partner fix

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>
6 years agodme2 plugin improvements 03/47203/2
Smokowski, Kevin (ks6305) [Fri, 11 May 2018 14:27:15 +0000 (14:27 +0000)]
dme2 plugin improvements

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>
6 years agoRoll versions for Casablanca - sli/core 47/50747/1
Timoney, Dan (dt5972) [Wed, 6 Jun 2018 17:44:30 +0000 (13:44 -0400)]
Roll versions for Casablanca - sli/core

Update versions for Casablanca development

Change-Id: I0b9d30707033706b35afcd016687fc86c8f2a83e
Issue-ID: CCSDK-295
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoUse version 1.0.4 of parent 71/49671/1 2.0.0-ONAP beijing 2.0.0-ONAP v0.2.4
Timoney, Dan (dt5972) [Thu, 31 May 2018 00:55:48 +0000 (20:55 -0400)]
Use version 1.0.4 of parent

Use released version of parent pom

Change-Id: Iaf783c89e2afc6e974ba4ea2b286f380a6b84fd8
Issue-ID: CCSDK-291
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoRoll version to 0.2.4 13/49613/1
Timoney, Dan (dt5972) [Wed, 30 May 2018 20:55:58 +0000 (16:55 -0400)]
Roll version to 0.2.4

Roll version to 0.2.4-SNAPSHOT and version 1.0.4-SNAPSHOT of
parent

Change-Id: I7dda7fc4a25756e129d75e0a79b4d82f5622144f
Issue-ID: CCSDK-291
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoUpdate to release version parent 1.0.3 17/48817/1 v0.2.3
Stilwell, David (stilwelld) [Wed, 23 May 2018 21:07:16 +0000 (17:07 -0400)]
Update to release version parent 1.0.3

Update parent version to remove -SNAPSHOT (1.0.3)

Change-Id: Ie9680134a643c7cfec3fd774422d8c62637bdbc3
Issue-ID: CCSDK-290
Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
6 years agoRoll to the next snapshot and use new parent pom 31/48731/1
Stilwell, David (stilwelld) [Wed, 23 May 2018 16:34:18 +0000 (12:34 -0400)]
Roll to the next snapshot and use new parent pom

Updated version to 0.2.3-SNAPSHOT and 1.0.3-SNAPSHOT parent pom

Change-Id: I2ac80137aa409d0d13b4bec12beb2b7e74bdfa40
Issue-ID: CCSDK-290
Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
6 years agoRemove incorrect dblib ref in feature.xml 69/48369/1
Timoney, Dan (dt5972) [Mon, 21 May 2018 20:08:09 +0000 (13:08 -0700)]
Remove incorrect dblib ref in feature.xml

Generated feature.xml contained unnecessary reference to
dblib-provider with wrong version.  Suppressed by
explicitly declaring dblib-provider in features/pom.xml with
scope 'provided'.

Change-Id: I34571194fca3c24d710ad36c1a99f86ec6bcd9b1
Issue-ID: CCSDK-290
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoUpdate sli/core to use release 1.0.2 parents 19/48119/1
Timoney, Dan (dt5972) [Thu, 17 May 2018 22:30:51 +0000 (18:30 -0400)]
Update sli/core to use release 1.0.2 parents

Updated pom.xmls to use released version of parent pom.

Change-Id: Ib3d1c856691556cbd4c5f51852888f4bfc791a9f
Issue-ID: CCSDK-286
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoUpdate properties encryption change 43/47443/1
Rich Tabedzki [Mon, 14 May 2018 17:53:04 +0000 (13:53 -0400)]
Update properties encryption change

Changes made:
* updated version of org.apache.karaf.shell.console plugin

Change-Id: I4cb0f5cb9e5a515473d2c60f693efd8dfc872dff
Issue-ID: CCSDK-182
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoMerge "Provide support for properties encryption"
Dan Timoney [Fri, 11 May 2018 19:01:01 +0000 (19:01 +0000)]
Merge "Provide support for properties encryption"

6 years agoProvide support for properties encryption 35/46635/2
Rich Tabedzki [Tue, 8 May 2018 15:27:50 +0000 (11:27 -0400)]
Provide support for properties encryption

Changes made:
* Implemented code to decrypt password field in property file

Change-Id: I97e5f93fd1f8383c1e2a1e6170489dc1db9d6337
Issue-ID: CCSDK-182
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoAdd INFO.yaml file 01/46101/2
Jessica Wagantall [Fri, 4 May 2018 00:27:20 +0000 (17:27 -0700)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: Ib9f13169248d9208b7b334e4c8312304cc60cb3d
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoRemove erroneous license header 19/46619/1
Timoney, Dan (dt5972) [Tue, 8 May 2018 15:08:01 +0000 (11:08 -0400)]
Remove erroneous license header

Remove erroneous license headers from pom.xml files.  These should
be licensed under master license (no separate license header needed).

Change-Id: Icaab3bffec0490d2904aa2e9b0a7a6d588ec07a6
Issue-ID: CCSDK-269
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "SLI provider needs Dynamic-ImportPackage"
Dan Timoney [Fri, 4 May 2018 19:20:02 +0000 (19:20 +0000)]
Merge "SLI provider needs Dynamic-ImportPackage"

6 years agoSLI provider needs Dynamic-ImportPackage 73/46273/1
Timoney, Dan (dt5972) [Fri, 4 May 2018 18:02:50 +0000 (14:02 -0400)]
SLI provider needs Dynamic-ImportPackage

The SLI provider package needs the option Dynamic-ImportPackage set in
its manifest to allow it to bypass normal OSGi classpath isolation.

Change-Id: I93be9ed111f72197db16f1b486b2102cbb9bbcdb
Issue-ID: CCSDK-268
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "TestSvcLogicLoader for windows"
Dan Timoney [Thu, 3 May 2018 22:02:13 +0000 (22:02 +0000)]
Merge "TestSvcLogicLoader for windows"

6 years agoTestSvcLogicLoader for windows 63/45963/1
Smokowski, Kevin (ks6305) [Thu, 3 May 2018 19:11:40 +0000 (19:11 +0000)]
TestSvcLogicLoader for windows

TestSvcLogicLoader fails when run against a machine running windows

Change-Id: I3687ac21c50cde10b1e8a0ed816b67d48c5e77f9
Issue-ID: CCSDK-266
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agoSetNodeExecutor nulling feature enhancement 53/45953/2
Smokowski, Kevin (ks6305) [Thu, 3 May 2018 18:38:16 +0000 (18:38 +0000)]
SetNodeExecutor nulling feature enhancement

Add special handling for clear a single array element or an entire array

Change-Id: Ica73e2af32f4a566219e1487504753276bc98aa2
Issue-ID: CCSDK-265
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agoMerge "Roll versions step 2 : sli/core poms"
Dan Timoney [Mon, 30 Apr 2018 15:06:10 +0000 (15:06 +0000)]
Merge "Roll versions step 2 : sli/core poms"

6 years agoRoll versions step 2 : sli/core poms 11/45211/4
Timoney, Dan (dt5972) [Sun, 29 Apr 2018 22:45:28 +0000 (18:45 -0400)]
Roll versions step 2 : sli/core poms

Roll to next version for next release candidate.

Change-Id: I0a76316934afd79f4ecf3588453ed4d6e34fb615
Issue-ID: CCSDK-257
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoadd replaceAll to slistringutils 65/44765/1 v0.2.1
Smokowski, Kevin (ks6305) [Wed, 25 Apr 2018 21:13:56 +0000 (21:13 +0000)]
add replaceAll to slistringutils

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>
6 years agoFix release version 71/43471/1
Timoney, Dan (dt5972) [Wed, 18 Apr 2018 06:22:24 +0000 (02:22 -0400)]
Fix release version

Fix release version in version.properties

Change-Id: I4d354ac42260a4dcd17f516a413c036b85086db3
Issue-ID: CCSDK-242
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoURGENT : Add node executors 77/41977/1
Timoney, Dan (dt5972) [Tue, 10 Apr 2018 18:56:59 +0000 (14:56 -0400)]
URGENT : Add node executors

Need to register node executors on SvcServiceImpl start up.  This
was broken inadvertantly during move to Aries blueprint.
NOTE : This is a sev 1 fix for APP-C.  Please review and merge
ASAP.

Change-Id: Ic4ff7c91f2b46ed81fd78a35bf8ea9d37c098c68
Issue-ID: CCSDK-236
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "Fix EELF version"
Dan Timoney [Mon, 9 Apr 2018 16:26:33 +0000 (16:26 +0000)]
Merge "Fix EELF version"

6 years agoFix EELF version 27/41427/2
Timoney, Dan (dt5972) [Fri, 6 Apr 2018 18:17:48 +0000 (14:17 -0400)]
Fix EELF version

Load version 1.0.0 of EELF, based on parent property setting

Change-Id: I5e936b651f07ad9af8e4b41c80bbfed98bb67faa
Issue-ID: CCSDK-235
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "URGENT : Install logback"
Dan Timoney [Thu, 5 Apr 2018 13:47:21 +0000 (13:47 +0000)]
Merge "URGENT : Install logback"

6 years agocode coverage for ccsdk sli DG nodes 69/41169/1
prakash.e [Thu, 5 Apr 2018 05:22:45 +0000 (10:52 +0530)]
code coverage for ccsdk sli DG nodes

Coverage improvement for SqlResourcePropertiesProviderImpl
https://jira.onap.org/browse/CCSDK-213?jql=project%20%3D%20CCSDK%20AND%20text%20~%20coverage

Issue-ID: CCSDK-213
Change-Id: Ibc26c319801204df8ab9c7b64a1774eae0c59bd0
Signed-off-by: prakash.e <prakash.e@huawei.com>
6 years agoURGENT : Install logback 59/41059/5
Timoney, Dan (dt5972) [Wed, 4 Apr 2018 19:58:26 +0000 (15:58 -0400)]
URGENT : Install logback

Install logback packages needed by EELF as part of
sli common package. This is urgently needed, since CCSDK
is not coming up clean without this fix.

Change-Id: I4f47e6146e45e36752454100186851af3eba7491
Issue-ID: CCSDK-235
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "Simplify enumeration handling"
Dan Timoney [Wed, 28 Mar 2018 15:03:52 +0000 (15:03 +0000)]
Merge "Simplify enumeration handling"

6 years agoAdd unit tests for sli 63/38263/9
Timoney, Dan (dt5972) [Sat, 24 Mar 2018 23:11:10 +0000 (19:11 -0400)]
Add unit tests for sli

Added unit tests for ccsdk/sli/core/sli

Change-Id: I0d2408c43b9e56a78f3e01e87985aedb6cad5953
Issue-ID: CCSDK-213
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoSimplify enumeration handling 11/39211/1
Smokowski, Kevin (ks6305) [Tue, 27 Mar 2018 17:48:55 +0000 (17:48 +0000)]
Simplify enumeration handling

Use getName() on the java object instead of relying on a mapping file created by yang2props

Change-Id: Ie3405903af5211c019c93a9a0b49ba9159b0bbe2
Issue-ID: CCSDK-227
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agoAdd unit tests for sli/provider 09/37609/1
Timoney, Dan (dt5972) [Wed, 21 Mar 2018 23:15:29 +0000 (19:15 -0400)]
Add unit tests for sli/provider

Add additional unit testing for configure node

Change-Id: I867fd1aae54e956bdbe8a2f2fd406b46304b4a91
Issue-ID: CCSDK-213
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "Register sliapi RPC implementation"
Dan Timoney [Tue, 20 Mar 2018 18:27:58 +0000 (18:27 +0000)]
Merge "Register sliapi RPC implementation"

6 years agoRegister sliapi RPC implementation 07/37207/1
Timoney, Dan (dt5972) [Tue, 20 Mar 2018 18:00:22 +0000 (14:00 -0400)]
Register sliapi RPC implementation

When porting sliapi to use blueprints, neglected to update sliapiProvider
to register itself as RPC implementor.

Change-Id: I653ccf4db737e8745715d5e4b07352045c9c9c5e
Issue-ID: CCSDK-217
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoAdditional enum support 79/36279/6
Smokowski, Kevin (ks6305) [Fri, 16 Mar 2018 19:46:56 +0000 (19:46 +0000)]
Additional enum support

support enumerations containing whitespace

Change-Id: I91971a111e67e0faf757c954fb6658529e3020d2
Issue-ID: CCSDK-214
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agoMerge "Add test cases for sli"
Dan Timoney [Fri, 16 Mar 2018 18:10:32 +0000 (18:10 +0000)]
Merge "Add test cases for sli"

6 years agoAdd test cases for sli 59/36259/1
Timoney, Dan (dt5972) [Fri, 16 Mar 2018 17:58:47 +0000 (13:58 -0400)]
Add test cases for sli

Added test cases for sli in sli/core

Change-Id: Ic8614f199ae843a46ec3441f0ae247f065b33322
Issue-ID: CCSDK-213
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoCheck system property before environment variable 95/34995/2
Smokowski, Kevin (ks6305) [Fri, 9 Mar 2018 21:05:19 +0000 (21:05 +0000)]
Check system property before environment variable

Allow system property to take precedence over environment variable when searching for the properties file

Change-Id: I1c6f7099551d814ca388f4694a0bb24409a7167b
Issue-ID: CCSDK-209
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agoMerge "re-use parser instance"
Dan Timoney [Thu, 8 Mar 2018 21:20:35 +0000 (21:20 +0000)]
Merge "re-use parser instance"

6 years agoFix sonar related items 85/34785/2
Rich Tabedzki [Thu, 8 Mar 2018 14:50:22 +0000 (14:50 +0000)]
Fix sonar related items

Changes made:
* Optimized TerminatingCachedDataSource
* Added additional unit tests

Change-Id: I0a83c993898e2bee11b8d3c5df8f95b4b216e9b8
Issue-ID: CCSDK-151
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agore-use parser instance 73/34573/1
Smokowski, Kevin (ks6305) [Mon, 5 Mar 2018 21:41:54 +0000 (16:41 -0500)]
re-use parser instance

add an additional logging statement and save memory

Change-Id: Idc8bdefb00ac61317cc38848dce670d76b6d89f7
Issue-ID: CCSDK-204
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
6 years agofix setnode null feature 17/32717/5
Kevin Smokowski [Fri, 23 Feb 2018 20:51:21 +0000 (20:51 +0000)]
fix setnode null feature

short prefixes could cause bad behavior in the setnode null feature

Change-Id: I3876eaece8b8d695b0a98d8b5d69f955f2149402
Issue-ID: CCSDK-190
Signed-off-by: Kevin Smokowski <ks6305@att.com>
6 years agoMerge "Favor interfaces"
Dan Timoney [Fri, 2 Mar 2018 20:48:11 +0000 (20:48 +0000)]
Merge "Favor interfaces"

6 years agoFavor interfaces 01/32701/3
Kevin Smokowski [Fri, 23 Feb 2018 18:09:55 +0000 (18:09 +0000)]
Favor interfaces

Favor using interfaces over concrete implementations

Change-Id: Ie7541eeefa69671cc7ed39fba37fdd2e24380770
Issue-ID: CCSDK-189
Signed-off-by: Kevin Smokowski <ks6305@att.com>
Favor interfaces

Favor using interfaces over concrete implementations

Change-Id: Ie3b71833c0f31f67288430c25ca31ca07c0449e0
Issue-ID: CCSDK-189
Signed-off-by: Kevin Smokowski <ks6305@att.com>
6 years agoMerge "Updated master database detection algorithm"
Dan Timoney [Fri, 2 Mar 2018 20:15:36 +0000 (20:15 +0000)]
Merge "Updated master database detection algorithm"

6 years agoUpdated master database detection algorithm 25/33725/4
Rich Tabedzki [Fri, 2 Mar 2018 04:42:45 +0000 (04:42 +0000)]
Updated master database detection algorithm

Changes made:
* updated algorithm in DBResourceManager
* Updated CachedDataSource, JdbcDBCachedDataSource
* added new unit tests

Change-Id: I4f6bbeb3839f55d183d7e762743fbc9171b63b1a
Issue-ID: CCSDK-192
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoFix broken merge 89/33689/3
Timoney, Dan (dt5972) [Thu, 1 Mar 2018 22:18:50 +0000 (17:18 -0500)]
Fix broken merge

Fix antlr compile error.

Change-Id: Ibe7c897e4de2d6d34f842fb89fc27d210f6c8c27
Issue-ID: CCSDK-175
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoFixed antlr dependencies 19/32919/1
Dan Timoney [Mon, 26 Feb 2018 15:58:32 +0000 (10:58 -0500)]
Fixed antlr dependencies

Should depend on antlr4-runtime instead of antlr4 to avoid
unnecessary compile-time-only dependencies

Change-Id: I720628786676dfc81b4aadd4f3da752af2d92451
Issue-ID: CCSDK-175
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoFix install issues 61/31761/7
Dan Timoney [Wed, 14 Feb 2018 19:28:47 +0000 (14:28 -0500)]
Fix install issues

Fixed issues in installation scripts

Change-Id: I4bd59ab16b55555ded8d9c2b0e8486d3df88fb44
Issue-ID: CCSDK-175
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoFixed Java Code Conventions issue 35/31735/2
Rich Tabedzki [Wed, 14 Feb 2018 14:17:50 +0000 (14:17 +0000)]
Fixed Java Code Conventions issue

Changes made:
* corrected sonar related issue in CachedDataSource class

Change-Id: If84b9abcd115ad042f2cc0527b5ab8c8e12cae5a
Issue-ID: CCSDK-151
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoReset MDC after invoking node 19/31119/6
Kevin Smokowski [Fri, 9 Feb 2018 21:36:38 +0000 (21:36 +0000)]
Reset MDC after invoking node

collapse get node into a common metho, reset MDC right before getting next node for certain executor

Change-Id: I85b1cf0dfd595deee42dc93f4095ecbc6c831998
Issue-ID: CCSDK-187
Signed-off-by: Kevin Smokowski <ks6305@att.com>
6 years agoUpgrade sli/core to Nitrogen 67/30067/15
Dan Timoney [Thu, 1 Feb 2018 21:57:00 +0000 (16:57 -0500)]
Upgrade sli/core to Nitrogen

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>
6 years agoMerge "Iso8601 format fix"
Dan Timoney [Fri, 9 Feb 2018 15:28:31 +0000 (15:28 +0000)]
Merge "Iso8601 format fix"

6 years agoIso8601 format fix 95/31095/1
Kevin Smokowski [Fri, 9 Feb 2018 15:14:01 +0000 (15:14 +0000)]
Iso8601 format fix

fix format in method asIso8601 in metric logger

Change-Id: I50de2397231ff8b298e3a75b3220315c255c26db
Issue-ID: CCSDK-186
Signed-off-by: Kevin Smokowski <ks6305@att.com>
6 years agoCallNodeExecutor patch 81/31081/2
Kevin Smokowski [Fri, 9 Feb 2018 14:18:39 +0000 (14:18 +0000)]
CallNodeExecutor patch

Merging an old change that prevents a nullpointerexception when calledgraph is null

Change-Id: I936afec383fcf4ba98e1d9d0a00c0d1e492766ca
Issue-ID: CCSDK-185
Signed-off-by: Kevin Smokowski <ks6305@att.com>
6 years agoUpgrade sli/core to Nitrogen 93/29693/4
Rich Tabedzki [Tue, 30 Jan 2018 21:18:21 +0000 (21:18 +0000)]
Upgrade sli/core to Nitrogen

Changes made:
* Updated JREFileResolver to retrieve data file from Bundle instead of InputStream.

Change-Id: Ib2f93378117afaa2501b870aba513a77073b462f
Issue-ID: CCSDK-175
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>