ccsdk/sli.git
6 years agoMerge "clean up legacy files"
Dan Timoney [Tue, 11 Dec 2018 14:53:30 +0000 (14:53 +0000)]
Merge "clean up legacy files"

6 years agoSonar Fix: sshapi-call-node-provider-XmlParer.java
Arundathi Patil [Sat, 8 Dec 2018 07:12:29 +0000 (12:42 +0530)]
Sonar Fix: sshapi-call-node-provider-XmlParer.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-802
Change-Id: I5be30cd2270cda66108489456ac6566b1aa6dec7
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
6 years agoSonar Fix: TemplateNode.java
Arundathi Patil [Sat, 8 Dec 2018 06:19:24 +0000 (11:49 +0530)]
Sonar Fix: TemplateNode.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-801
Change-Id: Ic1c7302faa64af37333335a8f4790af87195485d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
6 years agoSonar Fix: XmlParser.java
Arundathi Patil [Sat, 8 Dec 2018 05:45:53 +0000 (11:15 +0530)]
Sonar Fix: XmlParser.java

Fixed sonar issues/code-smells across this file.

Issue-ID: CCSDK-800
Change-Id: I19a6ed3632201200b7d0e32885be6fb932bcd724
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
6 years agominor changes to sli
Smokowski, Kevin (ks6305) [Wed, 5 Dec 2018 21:56:41 +0000 (21:56 +0000)]
minor changes to sli

minor changes to sli, move around classes to avoid classnotfound in junit suite

Change-Id: Ie7eeb023c46644ee03e05a6bef7817eec27a7ea3
Issue-ID: CCSDK-792
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoSonar issues fix in SVcLogicPropertiesProviderImpl
ezhil [Fri, 7 Dec 2018 18:10:29 +0000 (23:40 +0530)]
Sonar issues fix in SVcLogicPropertiesProviderImpl

Fixed critical and minor issues
Issue-ID: CCSDK-798
Change-Id: I86ae8741b3eda5729d2c6169d0342b585cea68ad
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
6 years agofixed sonar issues in SvcLogicNode.java
Sandeep J [Fri, 7 Dec 2018 11:09:13 +0000 (16:39 +0530)]
fixed sonar issues in SvcLogicNode.java

fixed sonar issues

Issue-ID: CCSDK-525
Change-Id: I2f7e33601cac898069836bc5461e92dc5fe5d442
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agofixed sonar issue in SvcLogicLoader.java
Sandeep J [Fri, 7 Dec 2018 11:02:26 +0000 (16:32 +0530)]
fixed sonar issue in SvcLogicLoader.java

fixed sonar issues

Issue-ID: CCSDK-525
Change-Id: I515fcdbae28518e0a25f1370173b1dd4f77b816e
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agofixed sonar issue in SvcLogicGraoh.java
Sandeep J [Fri, 7 Dec 2018 10:54:21 +0000 (16:24 +0530)]
fixed sonar issue in SvcLogicGraoh.java

fixed sonar issues

Issue-ID: CCSDK-525
Change-Id: If14288410ad7be50d8fdfb942f11383a9f58eab0
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agofixed sonar issues in SvcLogicDblibStore.java
Sandeep J [Fri, 7 Dec 2018 10:45:32 +0000 (16:15 +0530)]
fixed sonar issues in SvcLogicDblibStore.java

fixed sonar issue

Issue-ID: CCSDK-525
Change-Id: Ia1ddf9787311b786c71b19e651730b65c2c0835e
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agofixed sonar issue in SvcLogicBinaryExpression
Sandeep J [Fri, 7 Dec 2018 10:36:55 +0000 (16:06 +0530)]
fixed sonar issue in SvcLogicBinaryExpression

fixed sonar issue

Issue-ID: CCSDK-525
Change-Id: Iea683bb51d07daa0f7f3b48b4c83642a427edfbd
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agofixed sonar issues in PrintYangToProp.java
Sandeep J [Fri, 7 Dec 2018 10:29:45 +0000 (15:59 +0530)]
fixed sonar issues in PrintYangToProp.java

fixed sonar issues

Issue-ID: CCSDK-525
Change-Id: Ie44b6710411605e262fd74fa7e4947eb3bd05a90
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agoAdd missing dependency
Timoney, Dan (dt5972) [Thu, 6 Dec 2018 14:41:59 +0000 (09:41 -0500)]
Add missing dependency

Needed to add dependency on new sli-provider-base artifact to clear
compile error in LCM jUnit test case.

Change-Id: Ifc272e47628fd674d860277b80085aee91beb00a
Issue-ID: CCSDK-793
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agofixed sonar issues in RequestResponseLoggingFilter
Sandeep J [Thu, 6 Dec 2018 18:46:43 +0000 (00:16 +0530)]
fixed sonar issues in RequestResponseLoggingFilter

fixed sonar issues

Issue-ID: CCSDK-525
Change-Id: Icaccda30e0386614dd7cd601a8c93fd32597c213
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agoUpdate INFO.yaml file
Jessica Wagantall [Thu, 6 Dec 2018 01:37:42 +0000 (17:37 -0800)]
Update INFO.yaml file

Remove Ryan Goulding

Change-Id: I02032dcf5aa951f0e605be9ea2331062cb5326ce
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoUpdate INFO.yaml file
Jessica Wagantall [Thu, 6 Dec 2018 01:37:36 +0000 (17:37 -0800)]
Update INFO.yaml file

Remove Ryan Goulding

Change-Id: I5af561ecade10cfe299d524848e0bbec57d1d37d
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoUpdate INFO.yaml file
Jessica Wagantall [Thu, 6 Dec 2018 01:37:32 +0000 (17:37 -0800)]
Update INFO.yaml file

Remove Ryan Goulding

Change-Id: I075e572a64294c43df13c79fcbd17a64ea8a5e3f
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoFixed sonar issues in PollingWorker.java
ezhil [Wed, 5 Dec 2018 15:03:08 +0000 (20:33 +0530)]
Fixed sonar issues in PollingWorker.java

Fixed logger issues
Issue-ID: CCSDK-791
Change-Id: Ie1759c8778ff896b2cff3e187308e6a10265e966
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
6 years agofixed sonar issues in LogFilter.java
Sandeep J [Wed, 5 Dec 2018 11:19:25 +0000 (16:49 +0530)]
fixed sonar issues in LogFilter.java

to increase code coverage

Issue-ID: CCSDK-525
Change-Id: If9ad798ad5e5fc7b4ad97cb83ad79ff379ccb933
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agofixed sonar issue in DBConfigFactory
Sandeep J [Wed, 5 Dec 2018 11:07:42 +0000 (16:37 +0530)]
fixed sonar issue in DBConfigFactory

fixed sonar issue

Issue-ID: CCSDK-525
Change-Id: I64adc9bc11c7e4fcac2c1caec614745ebe6887be
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agofixed sonar issues in DbConfigPool.java
Sandeep J [Wed, 5 Dec 2018 11:04:19 +0000 (16:34 +0530)]
fixed sonar issues in DbConfigPool.java

fixed sonar issue

Issue-ID: CCSDK-525
Change-Id: Ibf082dc71b49b8d657dfbb79ac0ef396eb3f4aa8
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agofixed sonar issues in DBResourceManager.java
Sandeep J [Wed, 5 Dec 2018 10:59:35 +0000 (16:29 +0530)]
fixed sonar issues in DBResourceManager.java

fixed sonar issue

Issue-ID: CCSDK-525
Change-Id: I29b85aa6066c6a940818443602e3e0e02fad59ab
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agofixed sonar issues in CachedDataSourceFactory
Sandeep J [Wed, 5 Dec 2018 10:46:59 +0000 (16:16 +0530)]
fixed sonar issues in CachedDataSourceFactory

removed unnecessary cast to object

Issue-ID: CCSDK-525
Change-Id: Iccd4430cdbbadfabbdc21820c1f0f962b7635444
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
6 years agoclean up legacy files
Smokowski, Kevin (ks6305) [Tue, 4 Dec 2018 21:57:10 +0000 (21:57 +0000)]
clean up legacy files

clean up legacy files, these files do not belong in sli-common

Change-Id: Iba801e0b8e098fc88d80f8d2d3da47b6184e88af
Issue-ID: CCSDK-789
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agorefactor sli-provider
Smokowski, Kevin (ks6305) [Fri, 30 Nov 2018 18:00:42 +0000 (18:00 +0000)]
refactor sli-provider

split sli-provider into sli-provider and sli-provider-base

Change-Id: I7b7edb767c04c9a6caf72a9172f49518655e33b7
Issue-ID: CCSDK-778
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoMerge "Added fix for potential nullpointerexception"
Dan Timoney [Fri, 30 Nov 2018 23:40:16 +0000 (23:40 +0000)]
Merge "Added fix for potential nullpointerexception"

6 years agoMerge "Fixed Sonar issue in DeleteNodeExecutor.java"
Dan Timoney [Fri, 30 Nov 2018 23:31:27 +0000 (23:31 +0000)]
Merge "Fixed Sonar issue in DeleteNodeExecutor.java"

6 years agoMerge "Fixed Sonar issue in BaseDBConfiguration.java"
Dan Timoney [Fri, 30 Nov 2018 23:15:57 +0000 (23:15 +0000)]
Merge "Fixed Sonar issue in BaseDBConfiguration.java"

6 years agoMerge "Added fix for potential nullpointer exception"
Dan Timoney [Fri, 30 Nov 2018 20:17:39 +0000 (20:17 +0000)]
Merge "Added fix for potential nullpointer exception"

6 years agoFixed Sonar issue in DeleteNodeExecutor.java
ezhil [Fri, 30 Nov 2018 12:58:29 +0000 (18:28 +0530)]
Fixed Sonar issue in DeleteNodeExecutor.java

Replaced litrals with constant
Issue-ID: CCSDK-776
Change-Id: I58c02ec0ee78e9e4b852aa11266dc720fffbd172
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
6 years agoFixed Sonar issue in BaseDBConfiguration.java
ezhil [Fri, 30 Nov 2018 11:32:27 +0000 (17:02 +0530)]
Fixed Sonar issue in BaseDBConfiguration.java

Logged exception in Logger
Issue-ID: CCSDK-774
Change-Id: I28d10215daafd9f0dcaf7e0d765afbe72c184053
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
6 years agoAdded fix for potential nullpointerexception
Chandan Ghosh [Thu, 29 Nov 2018 11:51:37 +0000 (17:21 +0530)]
Added fix for potential nullpointerexception

Added fix for potential nullpointerexception reported in sonar

Issue-ID: CCSDK-767
Change-Id: I92a363ded79ea282c24216b525c8567492a53e17
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
6 years agoAdded fix for potential nullpointer exception
Chandan Ghosh [Thu, 29 Nov 2018 11:29:38 +0000 (16:59 +0530)]
Added fix for potential nullpointer exception

Added fix for potential nullpointerexception reported in sonar

Issue-ID: CCSDK-767
Change-Id: Ifebf7a57f27cb0de83d3cd5e805e0547b28ee845
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
6 years agoadded log for exception block
Chandan Ghosh [Thu, 29 Nov 2018 10:38:46 +0000 (16:08 +0530)]
added log for exception block

Added log for exception block reported in sonar

Issue-ID: CCSDK-767
Change-Id: I71d5cc7df8a0b3aefb2046a2d2860339f16216d0
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
6 years agoMerge "Add DG name to debug"
Dan Timoney [Wed, 28 Nov 2018 22:45:56 +0000 (22:45 +0000)]
Merge "Add DG name to debug"

6 years agoMerge "RA: Release resources on specific target"
Dan Timoney [Wed, 28 Nov 2018 22:42:03 +0000 (22:42 +0000)]
Merge "RA: Release resources on specific target"

6 years agoMerge "Fixed Sonar issue in FileRecorder"
Dan Timoney [Wed, 28 Nov 2018 22:33:52 +0000 (22:33 +0000)]
Merge "Fixed Sonar issue in FileRecorder"

6 years agoMerge "Fixed Sonar issue in SvcLogicServiceImpl"
Dan Timoney [Wed, 28 Nov 2018 22:33:30 +0000 (22:33 +0000)]
Merge "Fixed Sonar issue in SvcLogicServiceImpl"

6 years agoAdd DG name to debug
Brandon, Bruce (bb2697) [Wed, 28 Nov 2018 22:10:56 +0000 (22:10 +0000)]
Add DG name to debug

Add DG name to debug line giving node ID execution

Change-Id: I95ef74982694ab53068339cce88ec3ea8ccf2258
Issue-ID: SDNC-538
Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com>
6 years agoRA: Release resources on specific target
Stan Bonev [Wed, 28 Nov 2018 16:04:03 +0000 (11:04 -0500)]
RA: Release resources on specific target

Change-Id: I695a916a3d527f61b9483bbb27977695fb1e094c
Issue-ID: CCSDK-766
Signed-off-by: Stan Bonev <sb5356@att.com>
6 years agoUpdate sdc-tosca version to 1.4.7
lalena.aria [Tue, 27 Nov 2018 20:55:14 +0000 (15:55 -0500)]
Update sdc-tosca version to 1.4.7

Changes made:
Update sdc-tosca version to 1.4.7.
Replace org.onap.sdc.tosca.parser.impl.SdcTypes with org.onap.sdc.tosca.parser.enums.SdcTypes.
Replace getNodeTemplatePropertyAsObject with getNodeTemplatePropertyValueAsObject.

Change-Id: I9482cad49e2baae1c1383afabff9377c72441246
Issue-ID: CCSDK-758
Signed-off-by: lalena.aria <lalena.aria@att.com>
6 years agoFixed Sonar issue in FileRecorder
ezhil [Tue, 27 Nov 2018 11:35:37 +0000 (17:05 +0530)]
Fixed Sonar issue in FileRecorder

Removed unused imports
Issue-ID: CCSDK-755
Change-Id: I1e303a0490e0da0f1ca998197524d4400ad80eb5
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
6 years agoFixed Sonar issue in SvcLogicServiceImpl
ezhil [Tue, 27 Nov 2018 11:26:28 +0000 (16:56 +0530)]
Fixed Sonar issue in SvcLogicServiceImpl

Removed unused imports and duplicate literals
Issue-ID: CCSDK-754
Change-Id: I797475aec7519928f3676af189a45790a9b84a29
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
6 years agoSonar fix in SvcLogicNodeExecutor
ezhil [Tue, 27 Nov 2018 11:14:40 +0000 (16:44 +0530)]
Sonar fix in SvcLogicNodeExecutor

Remove unused imports
Issue-ID: CCSDK-753
Change-Id: I790c095924d35f2be6fcb92c8fcfbbb43464b9c5
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
6 years agoRestconf Discovery Node bug fix
janani b [Mon, 26 Nov 2018 07:29:03 +0000 (12:59 +0530)]
Restconf Discovery Node bug fix

COLON removal while updating to ctx param from JSON reply of notification

Issue-ID: CCSDK-745

Change-Id: I4af4de47a550a7f6b47216409484d9a0ab3acdfb
Signed-off-by: janani b <janani.b@huawei.com>
6 years agoRestore inventory-response-item in XSD Model
Rich Tabedzki [Wed, 21 Nov 2018 20:49:23 +0000 (15:49 -0500)]
Restore inventory-response-item in XSD Model

Changes made:
* Restored the original definition of inventory-response-item to include supported data types

Change-Id: Ib7b708660635539c04a77d5e2aa5f4d2ab8a8f13
Issue-ID: CCSDK-740
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoMerge "Sonar fixes for PrintYangToProp.java"
Dan Timoney [Mon, 19 Nov 2018 22:50:32 +0000 (22:50 +0000)]
Merge "Sonar fixes for PrintYangToProp.java"

6 years agoMerge "Fix blocker sonar issue in sli/core"
Dan Timoney [Mon, 19 Nov 2018 22:44:45 +0000 (22:44 +0000)]
Merge "Fix blocker sonar issue in sli/core"

6 years agoMerge "fix typos"
Dan Timoney [Mon, 19 Nov 2018 22:33:34 +0000 (22:33 +0000)]
Merge "fix typos"

6 years agoMerge "Add logic for ingesting related_network_role data"
Dan Timoney [Mon, 19 Nov 2018 22:32:57 +0000 (22:32 +0000)]
Merge "Add logic for ingesting related_network_role data"

6 years agoMerge "Replace logic for subinterface_indicator ingestion"
Dan Timoney [Mon, 19 Nov 2018 22:32:32 +0000 (22:32 +0000)]
Merge "Replace logic for subinterface_indicator ingestion"

6 years agoSonar fixes for PrintYangToProp.java
ezhil [Mon, 19 Nov 2018 12:28:22 +0000 (17:58 +0530)]
Sonar fixes for PrintYangToProp.java

Fixed sonar issues in PrintYangToProp class
Issue-ID: CCSDK-730
Change-Id: If344af657356ee0d2499fbd061e23fbd06617d2b
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
6 years agoFix blocker sonar issue in sli/core
Parshad Patel [Wed, 7 Nov 2018 06:58:19 +0000 (15:58 +0900)]
Fix blocker sonar issue in sli/core

Fix use try with resources issue in FileRecorder.java

Issue-ID: CCSDK-647
Change-Id: Ibe8afb5873b3af681def5310cc53ea0172608f1a
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
6 years agofixed restapicall JsonParser to handle :
shashikanth.vh [Tue, 13 Nov 2018 15:50:31 +0000 (21:20 +0530)]
fixed restapicall JsonParser to handle :

Fixed Restapicall JsonParser to process ":" if it
exist in the response body, this change is required
for casablanca too.

Change-Id: I83b0769eb13eb8d286cc70adc0e85823d6517dcd
Issue-ID: SDNC-519
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
6 years agoRemove netbox.propeties as provided by OOM
Alexis de Talhouët [Thu, 8 Nov 2018 20:06:09 +0000 (15:06 -0500)]
Remove netbox.propeties as provided by OOM

Change-Id: I1e1a36a955c5b5ba4ba28d086141c6d3e7b0c7c0
Issue-ID: CCSDK-655
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
6 years agoFix node id / type in log entry
Timoney, Dan (dt5972) [Fri, 9 Nov 2018 20:48:47 +0000 (15:48 -0500)]
Fix node id / type in log entry

Node id and type in log entries are not correct for nodes within a block,
for example.

Change-Id: I4023de08215ba6de5bfdd2a561048d9fe84201e5
Issue-ID: CCSDK-657
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agofix typos
Stanislav Chlebec [Thu, 8 Nov 2018 13:04:43 +0000 (14:04 +0100)]
fix typos

Change-Id: I3a7a4e5b19ac6a54f637fc459d34f3abe7cf4a69
Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>
Issue-ID: AAF-582

6 years agoAdd logic for ingesting related_network_role data
lalena.aria [Tue, 6 Nov 2018 20:56:35 +0000 (15:56 -0500)]
Add logic for ingesting related_network_role data

Changes made:
Add ingestion for related_network_role data
at VL, FV and VFC.
Add ingestion for trunk_network_indicator on VL.
Fix ATTRIBUTE_VALUE_PAIR insertion for VFC
Instance Group properties.

Change-Id: Ifd46bad5963a430ed55aacad369ab64b723a11fd
Issue-ID: CCSDK-649
Signed-off-by: lalena.aria <lalena.aria@att.com>
6 years agopackaging changes
Smokowski, Kevin (ks6305) [Tue, 6 Nov 2018 16:34:46 +0000 (16:34 +0000)]
packaging changes

don't embed sli provider, sli common or db lib in sql resource or resource assignment

Change-Id: I9a8a2a53455287ee60322785da9e4e7ca0614b96
Issue-ID: CCSDK-653
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoFix misplaced if
Timoney, Dan (dt5972) [Tue, 6 Nov 2018 16:30:49 +0000 (11:30 -0500)]
Fix misplaced if

Updated main loop of ueb-listener to recreate client on each iteration
rather than using client created outside loop.

Change-Id: I5c5b9f26e472dfbffefdd49a870a293159f72b10
Issue-ID: SDNC-472
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agotemplate node packaging
Smokowski, Kevin (ks6305) [Tue, 6 Nov 2018 16:22:19 +0000 (16:22 +0000)]
template node packaging

do not embed sli provider or sli common in template node

Change-Id: I90c3e7c6ebee254823bb6b309792ba753a8e01b7
Issue-ID: CCSDK-652
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoReplace logic for subinterface_indicator ingestion
lalena.aria [Tue, 6 Nov 2018 16:09:55 +0000 (11:09 -0500)]
Replace logic for subinterface_indicator ingestion

Changes made:
Replace ingestion logic for VFC_TO_NETWORK_ROLE_MAPPING.subinterface_indicator
with alternate logic suggested by ASDC.

Change-Id: Ied21e9361091c3fe4c05c6d9a2ee35c6491a7e10
Issue-ID: CCSDK-630
Signed-off-by: lalena.aria <lalena.aria@att.com>
6 years agoFix sonar blocker issue in sli/plugins
Parshad Patel [Mon, 5 Nov 2018 04:23:21 +0000 (13:23 +0900)]
Fix sonar blocker issue in sli/plugins

Fix use try with resources issue in PropertiesNode.java

Issue-ID: CCSDK-647
Change-Id: I62f2c0ecae65efb9d53022518fe36931ba5991e3
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
6 years agoExplicitly exit on timeout
Timoney, Dan (dt5972) [Fri, 2 Nov 2018 14:11:48 +0000 (10:11 -0400)]
Explicitly exit on timeout

Previously, when timeout occurs trying to connect successfully to
SDC, code just dropped out of loop in main() method, expecting
to exit.  However, if the SDC client left any threads hanging,
that might not cause process to exit.  Instead, process should
explicitly exit via System.exit().

Change-Id: I28316550cbfc2bbddeaadf080c0afa52a1eae350
Issue-ID: SDNC-472
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoSetNode patch
Smokowski, Kevin (ks6305) [Wed, 31 Oct 2018 15:57:51 +0000 (15:57 +0000)]
SetNode patch

Support nested array removal with setnode

Change-Id: Ie70ef2ff7b84d35c9352c7597aef0f636128439b
Issue-ID: CCSDK-643
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoRA: Enhance query for allocated resources
Stan Bonev [Thu, 1 Nov 2018 13:43:40 +0000 (09:43 -0400)]
RA: Enhance query for allocated resources

Change-Id: I97d724910d1caac8d7b16455296a41fef1669310
Issue-ID: CCSDK-644
Signed-off-by: Stan Bonev <sb5356@att.com>
6 years agoFix error handling
Timoney, Dan (dt5972) [Wed, 31 Oct 2018 19:50:33 +0000 (15:50 -0400)]
Fix error handling

Recreate client objects after failure is returned by SDC before
retrying.

Change-Id: Ib165fc1220a010a0443a7dab4014aaba8c9f29f8
Issue-ID: SDNC-472
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoRA: Add timeout parameters to the lock API
Stan Bonev [Tue, 30 Oct 2018 14:02:42 +0000 (10:02 -0400)]
RA: Add timeout parameters to the lock API

Change-Id: I5f8cd856d245829036ed563969fe75887e443467
Issue-ID: CCSDK-642
Signed-off-by: Stan Bonev <sb5356@att.com>
6 years agoFix sonar blocker issue in sli/adapters
Parshad Patel [Fri, 26 Oct 2018 06:24:33 +0000 (15:24 +0900)]
Fix sonar blocker issue in sli/adapters

Fix use try-with-resources issues in ansible-adapter,salstack-adapter

Issue-ID: CCSDK-629
Change-Id: Ie8457751c155aa95fdfcdf2faad4cd8089a58ad3
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
6 years agomdsalhelper patch
Smokowski, Kevin (ks6305) [Wed, 24 Oct 2018 21:26:12 +0000 (21:26 +0000)]
mdsalhelper patch

fix mdsalhelper handling of certain types when calling to builder

Change-Id: I01c1df75ad71426a891ea885ac3f7631d1b28c1b
Issue-ID: CCSDK-626
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoRA: New criteria for querying allocated resources
Stan Bonev [Fri, 19 Oct 2018 14:24:06 +0000 (10:24 -0400)]
RA: New criteria for querying allocated resources

Change-Id: Ia3a4b162ea4eca51ba7c500ad5daaa3865e26314
Issue-ID: CCSDK-620
Signed-off-by: Stan Bonev <sb5356@att.com>
6 years agoMerge "update handling of dmaap errors"
Dan Timoney [Thu, 25 Oct 2018 13:22:42 +0000 (13:22 +0000)]
Merge "update handling of dmaap errors"

6 years agoAdd authorization header in SSE request
Vidyashree Rama [Thu, 25 Oct 2018 09:20:31 +0000 (14:50 +0530)]
Add authorization header in SSE request

Add authorization header in SSE request to support https

Issue-ID: CCSDK-628

Change-Id: I031cbed94e21e1f6d90bc0b00b2d70905d47bd69
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
6 years agoRoll to initial Dublin snapshot
Timoney, Dan (dt5972) [Tue, 23 Oct 2018 12:46:38 +0000 (08:46 -0400)]
Roll to initial Dublin snapshot

Roll version to initial Dublin snapshot

Change-Id: I48713fcb744f895842a52b2d48ba28cccd06817c
Issue-ID: CCSDK-617
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoRoll to initial Dublin snapshot
Timoney, Dan (dt5972) [Tue, 23 Oct 2018 12:36:33 +0000 (08:36 -0400)]
Roll to initial Dublin snapshot

Roll version to initial Dublin snapshot

Change-Id: Ic33e690da810cca17d7ff8cd028bb5028558fd17
Issue-ID: CCSDK-617
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoRoll to initial Dublin snapshot
Timoney, Dan (dt5972) [Tue, 23 Oct 2018 12:30:01 +0000 (08:30 -0400)]
Roll to initial Dublin snapshot

Roll version to initial Dublin snapshot

Change-Id: I2b1b5aaa6919c9259d46d2988fb65836f47a3bf9
Issue-ID: CCSDK-617
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoRoll to first Dublin snapshot
Timoney, Dan (dt5972) [Mon, 22 Oct 2018 13:32:19 +0000 (09:32 -0400)]
Roll to first Dublin snapshot

Roll to first Dublin snapshot

Change-Id: I7066b4c4359f6c700c2b8036fd67a1a3bd66cf1e
Issue-ID: CCSDK-617
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoPrepare for RC0 release
Timoney, Dan (dt5972) [Thu, 11 Oct 2018 20:25:06 +0000 (16:25 -0400)]
Prepare for RC0 release

Update to prepare for RC0 release build: remove -STAGING tag from
release version and use released parent poms.

Change-Id: I4411cbd86164f0e2739196d78fd1670f92bc1edd
Issue-ID: CCSDK-617
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoPrepare for RC0 release
Timoney, Dan (dt5972) [Thu, 11 Oct 2018 20:20:15 +0000 (16:20 -0400)]
Prepare for RC0 release

Update to prepare for RC0 release build: remove -STAGING tag from
release version and use released parent poms.

Change-Id: I45e31eca955943ca66ec90db826a50d42f1f1d69
Issue-ID: CCSDK-617
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoPrepare for RC0 release
Timoney, Dan (dt5972) [Thu, 11 Oct 2018 20:14:59 +0000 (16:14 -0400)]
Prepare for RC0 release

Update to prepare for RC0 release build: remove -STAGING tag from
release version and use released parent poms.

Change-Id: I5e07d7af8381af1f22b8288965d400f95eb92abf
Issue-ID: CCSDK-617
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoPrepare sli/core for RC0 release
Timoney, Dan (dt5972) [Wed, 10 Oct 2018 20:20:50 +0000 (16:20 -0400)]
Prepare sli/core for RC0 release

Remove -STAGING tag and update parent poms to correct release version (1.1.1)

Change-Id: I16d4a5c07fe6e3e2bf997fff417242aa6184f89e
Issue-ID: CCSDK-617
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoupdate handling of dmaap errors
Smokowski, Kevin (ks6305) [Wed, 10 Oct 2018 20:19:50 +0000 (20:19 +0000)]
update handling of dmaap errors

Update handling of dmaap errors in MessageRouterHttpClient. Instead of calling processMessage just log the error body message because the downstream client can't handle these type of exceptions.

Change-Id: I3cee7f81ecbc316226a38908fb4f07ab04c1b64e
Issue-ID: CCSDK-618
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoFix UEB client error handling
Timoney, Dan (dt5972) [Tue, 9 Oct 2018 17:03:09 +0000 (13:03 -0400)]
Fix UEB client error handling

Changed ueb-listener to retry start of client if it returns failure

Change-Id: Ieda78615a38925824cb78d63939da00818bf4452
Issue-ID: SDNC-472
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoUpdate to latest Tosca parser
Timoney, Dan (dt5972) [Tue, 9 Oct 2018 15:26:12 +0000 (11:26 -0400)]
Update to latest Tosca parser

Use version 1.4.4 of Tosca parser, since version 1.4.3 does not exist.

Change-Id: Ibf90c4fa3f36d783847aca9f30d69b96013e8017
Issue-ID: CCSDK-616
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoMerge "Issue fix"
Dan Timoney [Tue, 9 Oct 2018 13:47:46 +0000 (13:47 +0000)]
Merge "Issue fix"

6 years agoIssue fix
janani b [Mon, 8 Oct 2018 14:20:02 +0000 (19:50 +0530)]
Issue fix

Factory pattern constructor issue fix

Issue-ID: CCSDK-614

Change-Id: I3aee79894cfddd47273289878e5ba079926b8054
Signed-off-by: janani b <janani.b@huawei.com>
6 years agoPUT and PATCH operation support
janani b [Mon, 8 Oct 2018 13:41:02 +0000 (19:11 +0530)]
PUT and PATCH operation support

Changes to add a additional root node to the data format req to support PUT and PATCH operations in RestconfApiCallNode

Issue-ID: CCSDK-614

Change-Id: If094810861f8152a2a6d6ee86e9f81c8812b8ad6
Signed-off-by: janani b <janani.b@huawei.com>
6 years agoAppending dummy root node to XML data format
janani b [Mon, 8 Oct 2018 10:43:36 +0000 (16:13 +0530)]
Appending dummy root node to XML data format

To hold all the children in XML message a dummy root node is added

Issue-ID: CCSDK-324

Change-Id: I7cf0266d15e6bfaa2b9207e77d8bd5372a164b4f
Signed-off-by: janani b <janani.b@huawei.com>
6 years agoResolving root level augment nodes
janani b [Mon, 8 Oct 2018 08:47:51 +0000 (14:17 +0530)]
Resolving root level augment nodes

Issue fix for root level augment nodes being added to the data format

Issue-ID: CCSDK-324

Change-Id: I1c69f97739c6cb56c74b5f22bc4283f2f927719b
Signed-off-by: janani b <janani.b@huawei.com>
6 years agoMerge "callnode handling updates"
Dan Timoney [Fri, 5 Oct 2018 19:06:33 +0000 (19:06 +0000)]
Merge "callnode handling updates"

6 years agocallnode handling updates
Smokowski, Kevin (ks6305) [Thu, 4 Oct 2018 18:55:57 +0000 (18:55 +0000)]
callnode handling updates

throw an exception if graph isnt found when executing a call node

Change-Id: I10158cbcd5ba5787e710bfb6161e7e04cbf46577
Issue-ID: CCSDK-609
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoimplement exit node
Smokowski, Kevin (ks6305) [Thu, 4 Oct 2018 20:12:40 +0000 (20:12 +0000)]
implement exit node

exit node functions similar to a return statement in most programming languages

Change-Id: I2991590fb700b03a9f3d72ae0bc7b5dd9bb25f74
Issue-ID: CCSDK-611
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agothrow an exception if an executor is missing
Smokowski, Kevin (ks6305) [Thu, 4 Oct 2018 19:18:28 +0000 (19:18 +0000)]
throw an exception if an executor is missing

If trying to execute a node of a type which has no registered executor throw an exception instead of continuing to execute

Change-Id: Ic0a785e97ad85eb886f822e87a78347d9ea6563a
Issue-ID: CCSDK-610
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoMerge "added test cases to CheckParametersTest"
Dan Timoney [Thu, 4 Oct 2018 13:23:43 +0000 (13:23 +0000)]
Merge "added test cases to CheckParametersTest"

6 years agoMerge "added test cases to SliStringUtilsTest"
Dan Timoney [Thu, 4 Oct 2018 13:23:32 +0000 (13:23 +0000)]
Merge "added test cases to SliStringUtilsTest"

6 years agoMerge "added test case to SliPluginUtils_ctxSortList"
Dan Timoney [Thu, 4 Oct 2018 13:23:21 +0000 (13:23 +0000)]
Merge "added test case to SliPluginUtils_ctxSortList"

6 years agoMerge "added test case to TestSlipapiprovider"
Dan Timoney [Thu, 4 Oct 2018 13:23:01 +0000 (13:23 +0000)]
Merge "added test case to TestSlipapiprovider"

6 years agoMerge "added tes file to cover SliapiHelper"
Dan Timoney [Thu, 4 Oct 2018 13:22:51 +0000 (13:22 +0000)]
Merge "added tes file to cover SliapiHelper"

6 years agoMerge "added test case to TestFileRecorder"
Dan Timoney [Thu, 4 Oct 2018 13:22:42 +0000 (13:22 +0000)]
Merge "added test case to TestFileRecorder"

6 years agoMerge "added test cases to MdsalHelperTest"
Dan Timoney [Thu, 4 Oct 2018 13:22:32 +0000 (13:22 +0000)]
Merge "added test cases to MdsalHelperTest"