ccsdk/sli.git
4 years agoMerge branch 'master' of /home/jwagantall/linuxfoundation/onap/IT-21112/sli-core
Jessica Wagantall [Tue, 1 Dec 2020 19:47:20 +0000 (11:47 -0800)]
Merge branch 'master' of /home/jwagantall/linuxfoundation/onap/IT-21112/sli-core

Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 years agoMigrate files from sli-plugins
Jessica Wagantall [Tue, 1 Dec 2020 19:33:35 +0000 (11:33 -0800)]
Migrate files from sli-plugins

Migrate sli-plugins repo into new
directory "plugins".

Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 years agoMerge branch 'master' of /home/jwagantall/linuxfoundation/onap/IT-21112/sli-plugins
Jessica Wagantall [Tue, 1 Dec 2020 19:31:55 +0000 (11:31 -0800)]
Merge branch 'master' of /home/jwagantall/linuxfoundation/onap/IT-21112/sli-plugins

Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 years agoMigrate sli-adaptor files
Jessica Wagantall [Tue, 1 Dec 2020 19:26:31 +0000 (11:26 -0800)]
Migrate sli-adaptor files

Migrate sli-adaptor repo files into
a new "adaptors" directory.

Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 years agoMerge branch 'master' of /home/jwagantall/linuxfoundation/onap/IT-21112/sli-adaptors
Jessica Wagantall [Tue, 1 Dec 2020 19:25:35 +0000 (11:25 -0800)]
Merge branch 'master' of /home/jwagantall/linuxfoundation/onap/IT-21112/sli-adaptors

Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 years agoAdd INFO.yaml for new ccsdk/sli repo 50/115550/1
Dan Timoney [Mon, 30 Nov 2020 15:54:04 +0000 (10:54 -0500)]
Add INFO.yaml for new ccsdk/sli repo

Add INFO.yaml for new ccsdk/sli repository

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

4 years agoAdd initial files for new ccsdk/sli repo 49/115549/1
Dan Timoney [Mon, 30 Nov 2020 15:35:19 +0000 (10:35 -0500)]
Add initial files for new ccsdk/sli repo

Add initial pom.xml for new ccsdk/sli repo

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

4 years agoRelease version 1.1.0 of sli/plugins
Dan Timoney [Wed, 25 Nov 2020 20:55:52 +0000 (15:55 -0500)]
Release version 1.1.0 of sli/plugins

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

Change-Id: I75d58fccc8ab0b5653d3160ed6f2e302c3ade8b9
Issue-ID: CCSDK-3002
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRelease version 1.1.0 of sli/adaptors
Dan Timoney [Wed, 25 Nov 2020 19:51:48 +0000 (14:51 -0500)]
Release version 1.1.0 of sli/adaptors

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

Change-Id: I3a59f29d7819e8d777dd02aede9a263ea0be8e36
Issue-ID: CCSDK-3002
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRelease version 1.1.0 of sli/core
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>
4 years agoFix NPE in toJsonString()
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>
4 years agoHandle properties file reference outside OSGi
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>
4 years agoFix handling of non-OSGi
Dan Timoney [Tue, 10 Nov 2020 17:54:21 +0000 (12:54 -0500)]
Fix handling of non-OSGi

Fixed handling of case where aai-service and netbox-client are
called outside OSGi container.

Change-Id: Ie83dd217a77a021a30d171e0964d9ac709e40cc8
Issue-ID: CCSDK-2976
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years ago- Adding the path for the newly introduced (i.e. in v21) network-route resource in...
Hesam Rahimi [Fri, 23 Oct 2020 19:44:13 +0000 (15:44 -0400)]
- Adding the path for the newly introduced (i.e. in v21) network-route resource in aai-schema, to the properties file.
- Adding tunnel-termination-points and te-link-attributes back into aai schema.

Issue-ID: CCSDK-2393
Change-Id: I80d21463c509c8caf802cf5681abc3434d6cf34a
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
4 years agoFix pattern validation
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>
4 years agoMerge changes I4a6cb477,I00d6a0c1
KAPIL SINGAL [Tue, 20 Oct 2020 20:36:59 +0000 (20:36 +0000)]
Merge changes I4a6cb477,I00d6a0c1

* changes:
  Support netbox-client outside OSGi container
  Address security issues

4 years agoSupport netbox-client outside OSGi container
Dan Timoney [Tue, 20 Oct 2020 20:26:49 +0000 (16:26 -0400)]
Support netbox-client outside OSGi container

Updated netbox-client initialization so that it works properly
when initialized outside an OSGi container (e.g springboot)

Change-Id: I4a6cb477206745eb4ca21f10a7fb54cc616ef4cd
Issue-ID: CCSDK-2923
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoUpdating AAI service adaptor to use version 21 (v21) of the schema model.
Hesam Rahimi [Tue, 20 Oct 2020 15:56:47 +0000 (11:56 -0400)]
Updating AAI service adaptor to use version 21 (v21) of the schema model.

Issue-ID: CCSDK-2393
Change-Id: I53369c73fd25c7f433fd99456e28fbe0fecbc59a
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
4 years agoDisable external entities reference
Dan Timoney [Mon, 19 Oct 2020 19:35:27 +0000 (15:35 -0400)]
Disable external entities reference

Disable external entities reference in properties node XML parser
to avoid XXE vulnerability.

Change-Id: I5136dc7edb575d944dfe9fbab334629ec18c5d47
Issue-ID: CCSDK-2918
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoAddress security issues
Dan Timoney [Mon, 19 Oct 2020 14:11:15 +0000 (10:11 -0400)]
Address security issues

Removed unused Mdsal activator class.
Added file name validation for ConnectionBuilder in ansible adaptor

Change-Id: I00d6a0c1edccae263520738f7a4685b1ad71b943
Issue-ID: CCSDK-2918
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoAdd file path validation
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>
4 years agoAdd code to validate path names.
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>
4 years agoRoll to initial Honolulu release version
Dan Timoney [Wed, 9 Sep 2020 21:41:55 +0000 (17:41 -0400)]
Roll to initial Honolulu release version

Roll master branch to initial Honolulu release version

Change-Id: I54ac03e89312555c06c11b8f5512393909cae786
Issue-ID: CCSDK-2742
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRoll to initial Honolulu release version
Dan Timoney [Wed, 9 Sep 2020 21:32:42 +0000 (17:32 -0400)]
Roll to initial Honolulu release version

Roll master branch to initial Honolulu release version

Change-Id: Id7829542cb5981c11b38367952e6bc29ffa4cfe8
Issue-ID: CCSDK-2742
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRelease M4 version of sli/plugins
Dan Timoney [Wed, 9 Sep 2020 18:40:05 +0000 (14:40 -0400)]
Release M4 version of sli/plugins

Release M4 version of sli/plugins

Change-Id: Iea28a5909720bf9f360ccd8f300808c7eb5c7d90
Issue-ID: CCSDK-2742
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRelease M4 version of sli/adaptors
Dan Timoney [Wed, 9 Sep 2020 18:31:01 +0000 (14:31 -0400)]
Release M4 version of sli/adaptors

Release M4 version of sli/adaptors

Change-Id: Ida253b4f6e20c6133bbd6226c510d5405a599ee5
Issue-ID: CCSDK-2742
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRoll to initial Honolulu release version
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>
4 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"

4 years agoRelease M4 version of sli/core
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>
4 years agoUpdate lifecycle state
Dan Timoney [Thu, 3 Sep 2020 14:06:24 +0000 (10:06 -0400)]
Update lifecycle state

Update lifecycle state to Mature

Change-Id: I9ff38a2780f54bd3e31379fb095b15a397edfeac
Issue-ID: CCSDK-2660
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoFix restconf-client provider dom4j issue
highstreetherbert [Mon, 7 Sep 2020 14:11:00 +0000 (16:11 +0200)]
Fix restconf-client provider dom4j issue

change groupid

Issue-ID: CCSDK-2738
Signed-off-by: highstreetherbert <herbert.eiselt@highstreet-technologies.com>
Change-Id: If981c7eec2e54d91142d0bec4aa06cfb35e61f70
Signed-off-by: highstreetherbert <herbert.eiselt@highstreet-technologies.com>
4 years agoUpdate lifecycle state
Dan Timoney [Thu, 3 Sep 2020 14:03:50 +0000 (10:03 -0400)]
Update lifecycle state

Update lifecycle state to Mature

Change-Id: I9e1988719dd02cdf0776b54c091009a10d076aa4
Issue-ID: CCSDK-2660
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoUpdate lifecycle state
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>
4 years agosecure printer changes
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

4 years agoAdd jaxb implementation dependencies
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

4 years agoRestapi-call-node: Fix setting truststore, should not set system properties
Kevin Smokowski [Mon, 31 Aug 2020 13:33:39 +0000 (13:33 +0000)]
Restapi-call-node: Fix setting truststore, should not set system properties

Issue-ID: CCSDK-2637
Change-Id: Ie677cca90d9ed946768e6d93187b20c29ecc2166
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
4 years agoRoll to next parent snapshot
Dan Timoney [Fri, 21 Aug 2020 18:05:59 +0000 (14:05 -0400)]
Roll to next parent snapshot

Update parent to next snapshot version

Change-Id: I09e961f337a208cf7d282c6f65ea8509438a6823
Issue-ID: CCSDK-2635
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agofix for J11
Michael Dürre [Wed, 19 Aug 2020 08:55:45 +0000 (10:55 +0200)]
fix for J11

add missing dependency in J11

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

4 years agofix for J11
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

4 years agomake logs quieter
Kevin Smokowski [Wed, 12 Aug 2020 14:07:10 +0000 (14:07 +0000)]
make logs quieter

make logs quieter

Issue-ID: CCSDK-2645
Change-Id: Id880be7d733234b63a81a60326f78470db4fd576
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
4 years agomake logs quieter
Kevin Smokowski [Wed, 12 Aug 2020 13:53:04 +0000 (13:53 +0000)]
make logs quieter

make logs quieter

Issue-ID: CCSDK-2645
Change-Id: I6fa80d511d27a334c2481b65ffb7ff2985c62df2
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
4 years agoadd new print methods
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>
4 years agoMerge "Restapi-call-node: Fix setting truststore, should not set system properties"
Dan Timoney [Fri, 7 Aug 2020 20:56:47 +0000 (20:56 +0000)]
Merge "Restapi-call-node: Fix setting truststore, should not set system properties"

4 years agoRestapi-call-node: Fix setting truststore, should not set system properties
sb5356 [Fri, 7 Aug 2020 18:29:24 +0000 (14:29 -0400)]
Restapi-call-node: Fix setting truststore, should not set system properties

Issue-ID: CCSDK-2637
Signed-off-by: sb5356 <sb5356@att.com>
Change-Id: Icbbb7eaa9f904e0d51199efd78e36b1fa1fa702b

4 years agoRoll to next snapshot
Dan Timoney [Thu, 6 Aug 2020 19:25:13 +0000 (15:25 -0400)]
Roll to next snapshot

Roll to snapshot version 1.0.1-SNAPSHOT

Change-Id: I4c7b248b45f485658a9c0135571a581edde62abb
Issue-ID: CCSDK-2635
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRoll to next snapshot
Dan Timoney [Thu, 6 Aug 2020 19:17:17 +0000 (15:17 -0400)]
Roll to next snapshot

Roll to snapshot version 1.0.1-SNAPSHOT

Change-Id: Ie09ba5c2bedcd8cddf3e8cca0eff8e05c2ad268a
Issue-ID: CCSDK-2635
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRoll to next snapshot
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>
4 years agoRelease version 1.0.0 of sli/plugins
Dan Timoney [Thu, 6 Aug 2020 19:24:25 +0000 (15:24 -0400)]
Release version 1.0.0 of sli/plugins

Release version 1.0.0 of ccsdk/sli/plugins

Change-Id: Iebb23e9d35eb50055401448c78adc2771f3043a5
Issue-ID: CCSDK-2635
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRelease version 1.0.0 of sli/adaptors
Dan Timoney [Thu, 6 Aug 2020 19:13:26 +0000 (15:13 -0400)]
Release version 1.0.0 of sli/adaptors

Release version 1.0.0 of ccsdk/sli/adaptors

Change-Id: I6bc171187c7761fd88450fa0df44adce12c89547
Issue-ID: CCSDK-2635
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRelease version 1.0.0 of ccsdk/sli/core
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>
4 years agoupgrade plugins to sodium
Michael Dürre [Fri, 10 Jul 2020 03:20:26 +0000 (05:20 +0200)]
upgrade plugins to sodium

fixed unit test and impl due changes in sodium

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

4 years agoUpdate adaptors to sodium
Dan Timoney [Tue, 14 Jul 2020 12:55:33 +0000 (08:55 -0400)]
Update adaptors to sodium

Update sli/adaptors to OpenDaylight Sodium release.  2 changes were
needed:

- mdsal-resource : needed to add unimplemented abstract methods in
inner anonymous BundleContext class in test case.
- resource-assignment: needed to correct unit test problems that were
ignored in earlier versions of h2

Change-Id: Ice63bfce64768e46c4376db55e3e9e97d0b934ad
Issue-ID: CCSDK-2551
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoAdd error handling for OSGi classes not found
Dan Timoney [Thu, 30 Jul 2020 17:44:53 +0000 (13:44 -0400)]
Add error handling for OSGi classes not found

Added error handling to correctly handle case where SqlResource is
used outside an OSGi container.

Change-Id: I0b5a526b01c151c4a7924f474bf7d21e783ac260
Issue-ID: CCSDK-2625
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoupgrade core to sodium
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

4 years agoRA: Add option for sequential number assignment from a range
stan-sb [Tue, 23 Jun 2020 14:21:23 +0000 (10:21 -0400)]
RA: Add option for sequential number assignment from a range

Fix case, when no previous numbers have been allocated

Change-Id: Iead3cb4fe4a8ed3f6de363d31677eb389e9f1329
Issue-ID: CCSDK-2416
Signed-off-by: Stan Bonev <sb5356@att.com>
4 years agoImplement new method to convert SvcLogicContext to JSON
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>
4 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"

4 years agoAdd sliapi-model-yang to sliapi installer
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>
4 years agoMetricLogger MDC changes
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

5 years agoRA: Add option for sequential number assignment from a range
sb5356 [Tue, 9 Jun 2020 21:11:26 +0000 (17:11 -0400)]
RA: Add option for sequential number assignment from a range

Change-Id: Ifc967676d7c78063ba9ba67706bd4b98ba1d9115
Issue-ID: CCSDK-2416
Signed-off-by: Stan Bonev <sb5356@att.com>
5 years agoRefactor sliapi springboot
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>
5 years agorestapicallnode fix
Smokowski, Kevin (ks6305) [Tue, 2 Jun 2020 19:21:04 +0000 (19:21 +0000)]
restapicallnode fix

restapicallnode should support commas in urls

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

5 years agoMerge "added assert statements in 3 test classes"
Dan Timoney [Mon, 1 Jun 2020 14:42:36 +0000 (14:42 +0000)]
Merge "added assert statements in 3 test classes"

5 years agoMerge "added assert statements in 7 test files"
Dan Timoney [Mon, 1 Jun 2020 14:41:50 +0000 (14:41 +0000)]
Merge "added assert statements in 7 test files"

5 years agoadded assert statements in 3 test classes
Rupinder [Thu, 28 May 2020 04:48:20 +0000 (10:18 +0530)]
added assert statements in 3 test classes

Issue-ID: CCSDK-2232
Change-Id: Ide54fa192c934dc40bb15034c8e5dbf2c2594f62
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
5 years agoadded assert statements in 7 test files
Rupinder [Wed, 27 May 2020 09:41:12 +0000 (15:11 +0530)]
added assert statements in 7 test files

Issue-ID: CCSDK-2232
Change-Id: I07e3806cac9a317130ad1d5fe4c9af4fb1a17a5d
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
5 years agoadded assert statements in 5 test files
Rupinder [Wed, 27 May 2020 09:00:04 +0000 (14:30 +0530)]
added assert statements in 5 test files

Issue-ID: CCSDK-2232
Change-Id: I31033bc267381cf9f07701e4ebacbd318d3070d9
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
5 years agoSOTN-NNI integration test issue fixed
sangu_3653 [Tue, 5 May 2020 11:42:25 +0000 (17:12 +0530)]
SOTN-NNI integration test issue fixed

ccsdk adaptor not able to process cVLAN and tpId attribute
Changed tpId to tp-id and cVLAN to cvlan

need cherrypick to frakfurt

Issue-ID: CCSDK-2359
Signed-off-by: sangu_3653 <sangappa.m@huawei.com>
Change-Id: I73ffbe503e082059b1bdb637dc4841102d92ca05

5 years agometric logger change
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

5 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"

5 years agoAdd special handling for BGP RouteDistinguisher
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>
5 years agoset auth perm for AAF Realm
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

5 years agoremoved code smells
Rupinder [Thu, 2 Apr 2020 07:21:23 +0000 (12:51 +0530)]
removed code smells

Reduced the code smells

Issue-ID: CCSDK-2232
Change-Id: I30eec021ba50f28dc1df2fd554c4e349c4a76dd6
Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
5 years agoSliPluginUtils jsonStringToCtx fix
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

5 years agoAdded code for decoding base64 encoded value
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

5 years agoremoved some unused imports
Rupinder [Tue, 31 Mar 2020 11:14:56 +0000 (16:44 +0530)]
removed some unused imports

Removed unused imports to reduce code smells

Issue-ID: CCSDK-2232
Change-Id: Id929b506c9030818a0b9daa975f526699e710270
Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
5 years agoRA: Add the allowed range in the return values
sb5356 [Wed, 25 Mar 2020 19:48:17 +0000 (15:48 -0400)]
RA: Add the allowed range in the return values

Change-Id: I18530c17ac78269c1b48ba499edfb3921d23f164
Issue-ID: CCSDK-2189
Signed-off-by: Stan Bonev <sb5356@att.com>
5 years agoUse MariaDB instead of Derby
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>
5 years agoAdd env var for svclogic props
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>
5 years agoRestapi-call-node: Restoring removal of empty context values
sb5356 [Tue, 24 Mar 2020 15:58:06 +0000 (11:58 -0400)]
Restapi-call-node: Restoring removal of empty context values

Issue-ID: CCSDK-2173
Signed-off-by: Stan Bonev <sb5356@att.com>
Change-Id: Ib95ad070cec6027192de71740a1400f6a1184488

5 years agoAAI v19 schema XSD merge to sdnc
shashikanth.vh@huawei.com [Sat, 21 Mar 2020 04:28:10 +0000 (09:58 +0530)]
AAI v19 schema XSD merge to sdnc

Merged AAI v19 schema XSD

Change-Id: I49e32b89369381c6a7cc25720415856ac0f40a1d
Issue-ID: CCSDK-2171
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
5 years agoSpringboot integration with AAF
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>
5 years agoMerge "Adding required v19 model resources"
Dan Timoney [Thu, 19 Mar 2020 19:00:05 +0000 (19:00 +0000)]
Merge "Adding required v19 model resources"

5 years agoMerge "Adding autogenerated files to gitignore list"
Dan Timoney [Thu, 19 Mar 2020 18:57:10 +0000 (18:57 +0000)]
Merge "Adding autogenerated files to gitignore list"

5 years agoUpdate processing of data of type List in AAIDeclarations
Rich Tabedzki [Wed, 11 Mar 2020 15:52:01 +0000 (11:52 -0400)]
Update processing of data of type List in AAIDeclarations

Changes made:
* Updated processing of data of type List in AAIDeclarations

Issue-ID: CCSDK-2170
Change-Id: I019eaba0315d1131ff3f5fe50d5d76f824f939b7
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
5 years agoupdate sliapi-springboot
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

5 years agoRestapi-call-node: Faster conversion of context data
sb5356 [Fri, 13 Mar 2020 14:24:03 +0000 (10:24 -0400)]
Restapi-call-node: Faster conversion of context data

Issue-ID: CCSDK-2173
Signed-off-by: Stan Bonev <sb5356@att.com>
Change-Id: I57ea81f3ee69b4185627d074e73a480833c60bae

5 years agoAdd data persistence
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>
5 years agoAdding required v19 model resources
Gaurav Agrawal [Thu, 12 Mar 2020 09:49:55 +0000 (15:19 +0530)]
Adding required v19 model resources

Adding new resources to path properties to make them available to SDNC.

Issue-ID: CCSDK-2171
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Change-Id: I2425bf7040d427a082c27b71bc57a78ae31cdc93

5 years agoAdding autogenerated files to gitignore list
Gaurav Agrawal [Thu, 12 Mar 2020 09:28:24 +0000 (14:58 +0530)]
Adding autogenerated files to gitignore list

Adding autogenerated files to gitignore list.

Issue-ID: CCSDK-2171
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Change-Id: I51d5179a27e85603156ed8a3a8d35df71d888857

5 years agoUpdating aai adapter to v19 model
Gaurav Agrawal [Thu, 12 Mar 2020 09:13:38 +0000 (14:43 +0530)]
Updating aai adapter to v19 model

Updated AAI XSD model to v19 to make new schema's available to SDNC.

Change-Id: I5b82d97e0c96e1593237e0d10d790115bf8be965
Issue-ID: CCSDK-2171
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
5 years agoupdate sliapi-springboot
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

5 years agoRoll master to Guilin
Dan Timoney [Thu, 5 Mar 2020 16:53:23 +0000 (11:53 -0500)]
Roll master to Guilin

Roll versions of master for early Guilin development

Change-Id: If777c42a3a6bf10589835b73b02f2fccdeca9490
Issue-ID: CCSDK-2152
Signed-off-by: Dan Timoney <dtimoney@att.com>
5 years agoRoll master to Guilin
Dan Timoney [Thu, 5 Mar 2020 16:51:01 +0000 (11:51 -0500)]
Roll master to Guilin

Roll versions of master for early Guilin development

Change-Id: Id725abd9ecb3c67b2687e15286cb2f2bcd50be1a
Issue-ID: CCSDK-2152
Signed-off-by: Dan Timoney <dtimoney@att.com>
5 years agoRoll master to Guilin
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>
5 years agoRelease version 0.7.1
Dan Timoney [Thu, 5 Mar 2020 15:32:43 +0000 (10:32 -0500)]
Release version 0.7.1

Release version 0.7.1 (Frankfurt M4)

Change-Id: I613836d98517a3877cce9a366c9a9796730aeec6
Issue-ID: CCSDK-2152
Signed-off-by: Dan Timoney <dtimoney@att.com>
5 years agoRelease version 0.7.1
Dan Timoney [Thu, 5 Mar 2020 15:31:20 +0000 (10:31 -0500)]
Release version 0.7.1

Release version 0.7.1 (Frankfurt M4)

Change-Id: Id86a87af3ce0a3f7062818a102d92646681797c5
Issue-ID: CCSDK-2152
Signed-off-by: Dan Timoney <dtimoney@att.com>
5 years agoRelease 0.7.1 version of sli/core
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>
5 years agoUse released 1.5.2 CCSDK parent
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>
5 years agoupdate sliapi-springboot
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