ccsdk/sli.git
3 years agoCCSDK-3480 Allow empty variables. 76/124676/1
Oleg Mitsura [Tue, 5 Oct 2021 00:43:47 +0000 (20:43 -0400)]
CCSDK-3480 Allow empty variables.

Issue-ID: CCSDK-3480

Empty variables should be allowed, else they will not be
found in MDSAL at a later time. Current RestapiCallNode removes
them.

Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I22167fa9dbdef37fa70dc42c03799a05d5c38705

3 years agosaltstack adaptor improve test coverage 60/124560/1
Test [Wed, 29 Sep 2021 11:09:00 +0000 (16:39 +0530)]
saltstack adaptor improve test coverage

Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
Issue-ID: CCSDK-3476
Change-Id: Ic11d786fea1464a859667f77bc72af0c02c0d4ac

3 years agominor logging change 55/124455/3
nullop [Thu, 23 Sep 2021 15:14:51 +0000 (11:14 -0400)]
minor logging change

MdsalHelper.java logging should be more consistent

Issue-ID: CCSDK-3473
Signed-off-by: nullop <kevin.smokowski@att.com>
Change-Id: I9535921abd8f0a8951a210da867f071f14041fd4

3 years agoRoll versions for Jakarta 88/124388/1
Dan Timoney [Tue, 21 Sep 2021 14:00:10 +0000 (10:00 -0400)]
Roll versions for Jakarta

Roll versions to set up for Jakarta release

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

3 years agoRelease version 1.3.1 of ccsdk/sli 06/124006/1
Dan Timoney [Thu, 9 Sep 2021 15:19:02 +0000 (11:19 -0400)]
Release version 1.3.1 of ccsdk/sli

Release version 1.3.1 of ccsdk/sli and roll to next snapshot

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

3 years agoFix Proxy support for A1 adapter southbound 44/123944/2
ychacon [Wed, 1 Sep 2021 10:48:09 +0000 (12:48 +0200)]
Fix Proxy support for A1 adapter southbound

Issue-ID: CCSDK-3438

Signed-off-by: ychacon <yennifer.chacon@est.tech>
Change-Id: I587d8ddcaa9697a10bc7bb3d73ba801bf3e59cd5

3 years agoRelease initial Istanbul ccsdk/sli 20/123720/3
Dan Timoney [Tue, 31 Aug 2021 11:55:11 +0000 (07:55 -0400)]
Release initial Istanbul ccsdk/sli

Release initial Istanbul release (1.3.0) of ccsdk/sli

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

3 years agoVersion updates 64/123464/1
Dan Timoney [Mon, 23 Aug 2021 15:37:36 +0000 (11:37 -0400)]
Version updates

Update package versions to install security fixes

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

3 years agoPackage upgrades for Istanbul 73/123173/2
Dan Timoney [Fri, 6 Aug 2021 20:42:10 +0000 (16:42 -0400)]
Package upgrades for Istanbul

Code updates to support package upgrades in Istanbul

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

3 years agoMerge "Fix weak crypto issue in restconf adaptor"
KAPIL SINGAL [Wed, 21 Jul 2021 13:55:15 +0000 (13:55 +0000)]
Merge "Fix weak crypto issue in restconf adaptor"

3 years agoUpdating ccsdk sli adaptor for aai to use v24 of the aai-schema. 68/122768/1
Hesam Rahimi [Tue, 20 Jul 2021 21:55:09 +0000 (21:55 +0000)]
Updating ccsdk sli adaptor for aai to use v24 of the aai-schema.

Issue-ID: CCSDK-3377
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: Ib35ad8b90660c9c62ffdf1911fff0da023772071

3 years agoFix weak crypto issue in restconf adaptor 67/122767/1
Dan Timoney [Tue, 20 Jul 2021 20:29:15 +0000 (16:29 -0400)]
Fix weak crypto issue in restconf adaptor

Added new capability to disable host name verification on a per-connection
basis in restapi-call-node and restconf adaptors, and use custom
hostname verifier to handle IP addresses and localhost as exception
cases.

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

3 years agoMerge "Fix zip slip vulnerability (CCSDK-3376)"
Dan Timoney [Tue, 20 Jul 2021 15:57:02 +0000 (15:57 +0000)]
Merge "Fix zip slip vulnerability (CCSDK-3376)"

3 years agoFix zip slip vulnerability (CCSDK-3376) 25/122725/2
Jonathan Platt [Mon, 19 Jul 2021 16:20:41 +0000 (12:20 -0400)]
Fix zip slip vulnerability (CCSDK-3376)

Check and enforce canonical destination path of new file to resolve zip
slip vulnerability in 'DaeximOffsiteBackupProvider.java'

Issue-ID: CCSDK-3376
Signed-off-by: Jonathan Platt <jonathan.platt@att.com>
Change-Id: I249752d7a8bb1a8075502b5130f94c32986ab8ee

3 years agoFix XML external entity vulnerability (CCSDK-3324) 20/122720/1
Jonathan Platt [Thu, 15 Jul 2021 16:38:16 +0000 (12:38 -0400)]
Fix XML external entity vulnerability (CCSDK-3324)

Disabled XML external entity references to resolve XML external entity
vulnerability in 'SdncUebCallback.java'

Issue-ID: CCSDK-3324
Signed-off-by: Jonathan Platt <jonathan.platt@att.com>
Change-Id: If959e915921042fdd0ba2ff16e167005ba1beed8

3 years agoMerge "RA: Add 2 fields in RA parameters from DG context"
Dan Timoney [Thu, 15 Jul 2021 18:09:46 +0000 (18:09 +0000)]
Merge "RA: Add 2 fields in RA parameters from DG context"

3 years agoRA: Add 2 fields in RA parameters from DG context 66/122666/1
Stan Bonev (sb5356) [Thu, 15 Jul 2021 17:47:22 +0000 (13:47 -0400)]
RA: Add 2 fields in RA parameters from DG context

Issue-ID: CCSDK-3372
Signed-off-by: Stan Bonev (sb5356) <sb5356@att.com>
Change-Id: I7e107c1b1c15dc0336c604b102b11293ee4b8920

3 years agoFix XML external entity vulnerability (CCSDK-3327) 11/122611/1
Jonathan Platt [Tue, 13 Jul 2021 17:57:07 +0000 (13:57 -0400)]
Fix XML external entity vulnerability (CCSDK-3327)

Disabled XML external entity references to resolve XML external entity
vulnerability in 'XmlParser.java'

Issue-ID: CCSDK-3327
Issue-ID: CCSDK-3317
Signed-off-by: Jonathan Platt <jonathan.platt@att.com>
Change-Id: I7bae80f3e5858e05d6782c6a290fba33bc7a38ed

3 years agoFix XML external entity vulnerability (CCSDK-3323) 10/122610/1
Jonathan Platt [Tue, 13 Jul 2021 17:55:12 +0000 (13:55 -0400)]
Fix XML external entity vulnerability (CCSDK-3323)

Disabled XML external entity references to resolve XML external entity
vulnerability in 'SvcLogicParser.java'

Issue-ID: CCSDK-3323

Signed-off-by: Jonathan Platt <jonathan.platt@att.com>
Change-Id: Ic4a6a13e228a699abf60181a537198913900cec7

3 years agoFix XML external entity vulnerability (CCSDK-3322) 09/122609/1
Jonathan Platt [Tue, 13 Jul 2021 17:54:35 +0000 (13:54 -0400)]
Fix XML external entity vulnerability (CCSDK-3322)

Disabled XML external entity references to resolve XML external entity
vulnerability in 'VNFOperationalStateValidatorImpl.java'

Issue-ID: CCSDK-3322
Signed-off-by: Jonathan Platt <jonathan.platt@att.com>
Change-Id: I88dc0a0ef8e9a587e8f9b3be15ef55e70c687b6e

3 years agoAdd host name verifier that accepts IP addresses 48/122548/3
Dan Timoney [Fri, 9 Jul 2021 14:20:56 +0000 (10:20 -0400)]
Add host name verifier that accepts IP addresses

Add a host name verifier that handles IP addresses as special cases,
so that they can be safely ignored in lab environments

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

3 years agoFix XML external entity vulnerability 42/122542/2
Dan Timoney [Fri, 9 Jul 2021 11:54:44 +0000 (07:54 -0400)]
Fix XML external entity vulnerability

Disabled XML external entity references to resolve XML external entity
vulnerability.

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

3 years agoChanging slf4j-simple dependency from compile to test 31/122531/1
Singal, Kapil (ks220y) [Fri, 9 Jul 2021 02:15:12 +0000 (22:15 -0400)]
Changing slf4j-simple dependency from compile to test

features.xml for ccsdk-sql-resource is adding sll4f-simple which shouldn't be there

Issue-ID: CCSDK-3368
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I2c24aa10b91300ba9fbdc4e66ffe6e289582a7cf

3 years agoRemoving accidental addition of chef-adaptor 28/122528/1
Singal, Kapil (ks220y) [Thu, 8 Jul 2021 20:47:53 +0000 (16:47 -0400)]
Removing accidental addition of chef-adaptor

Issue-ID: CCSDK-3368
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I6a0ff315488454d27f217e1ad1fa8cb63e605908

3 years agoSynching artifacts and features-all poms 10/122510/5
Singal, Kapil (ks220y) [Wed, 7 Jul 2021 22:22:28 +0000 (18:22 -0400)]
Synching artifacts and features-all poms

Issue-ID: CCSDK-3368
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I0876bdc0c5ee704f6194691341df313248bdcf0a

3 years agoAllow env variables to be used in MSO adaptor 86/122286/1
TIMONEY, DANIEL [Fri, 2 Jul 2021 13:51:13 +0000 (13:51 +0000)]
Allow env variables to be used in MSO adaptor

Allow env variables to be used in MSO adaptor properties file

Issue-ID: CCSDK-3360
Signed-off-by: lalena.aria <lalena.aria@att.com>
Change-Id: Ifd7abee6380c82bdde38b2476b977a91d3cbcf7f
(cherry picked from commit dd477ba94c66fd9c5fd1a73b57a64348ac073023)

3 years agoDeleting an extra loop which causes exponentially repeating of some operations. 88/121888/2
Hesam Rahimi [Fri, 11 Jun 2021 20:42:23 +0000 (20:42 +0000)]
Deleting an extra loop which causes exponentially repeating of some operations.

Issue-ID: CCSDK-3336
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: I6501c22c2e89c451a6f9d6de62d4f802df471050

3 years agoUpdate dmaap client package declaration 81/121781/2
Dan Timoney [Wed, 9 Jun 2021 21:01:18 +0000 (17:01 -0400)]
Update dmaap client package declaration

Update java package name to org.onap.dmaap for dmaap client class
references.

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

3 years agoUpgrading akka cluster dependency 86/121786/3
Singal, Kapil (ks220y) [Thu, 10 Jun 2021 03:22:53 +0000 (23:22 -0400)]
Upgrading akka cluster dependency

Issue-ID: CCSDK-3333
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: Ia5da682990acbf99a2026393f8dea511ccca4420

4 years agoMoving IAAS Adaptor from APPC to CCSDK SLI 43/121343/4
Singal, Kapil (ks220y) [Thu, 13 May 2021 19:09:28 +0000 (15:09 -0400)]
Moving IAAS Adaptor from APPC to CCSDK SLI

Issue-ID: CCSDK-3198
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I24c21a9bebe87bb87eb14bd903ee558c20b45277

4 years agoMoving Rest Adaptor from APPC to CCSDK 78/121078/1
Singal, Kapil (ks220y) [Tue, 4 May 2021 16:22:25 +0000 (12:22 -0400)]
Moving Rest Adaptor from APPC to CCSDK

Issue-ID: CCSDK-3198
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I70868423761ce9b8bf04fba2a46913d6e153a30b

4 years agoFix handling of list of enums 77/120977/1
Dan Timoney [Wed, 28 Apr 2021 20:24:38 +0000 (16:24 -0400)]
Fix handling of list of enums

Fixed MdsalHelper to add special case handling of lists of enums

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

4 years agoMoving Netconf-adaptor from APPC to CCSDK SLI 09/120909/9
Singal, Kapil (ks220y) [Mon, 26 Apr 2021 17:41:57 +0000 (13:41 -0400)]
Moving Netconf-adaptor from APPC to CCSDK SLI

Issue-ID: CCSDK-3198
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I638d57729d100211325f4e3121970d6737b9a50c

4 years agoFix context memory reading issue in sliPluginUtils.SliTopologyUtils; 20/120620/5
Decheng Zhang [Fri, 16 Apr 2021 21:51:15 +0000 (17:51 -0400)]
Fix context memory reading issue in sliPluginUtils.SliTopologyUtils;
Moving the fix from SliTopologyutils to sli-common/SvcLogicContext,
and reorgnizing methods in SvcLogicContext.

recheck
Issue-ID: CCSDK-3270

Signed-off-by: Decheng Zhang <decheng.zhang@huawei.com>
Change-Id: I423f13b72bd02c77b3a652def276f49d298245ab
Signed-off-by: Decheng Zhang <decheng.zhang@huawei.com>
4 years agoFix yangparser invocation 66/120666/1
Dan Timoney [Wed, 14 Apr 2021 18:15:41 +0000 (14:15 -0400)]
Fix yangparser invocation

Fix YangParser invocation in restconf-provider to address breaking
change in ODL Aluminum release.

Issue-ID: SDNC-1515
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I9974889bfa9bbd11077c95275c0cb8ba59b1b0bb

4 years agoMoving ssh-adaptor from APPC to CCSDK 75/120375/2
Singal, Kapil (ks220y) [Fri, 9 Apr 2021 20:13:38 +0000 (16:13 -0400)]
Moving ssh-adaptor from APPC to CCSDK

Issue-ID: CCSDK-3198
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: Icb363093d49595fba8d60045cb7cab49ce4198bc

4 years agoavoid potential NPE in RestapiCallNode 12/120212/1
Smokowski, Kevin (ks6305) [Mon, 5 Apr 2021 15:29:14 +0000 (15:29 +0000)]
avoid potential NPE in RestapiCallNode

avoid potential NPE in class sendRequest method sendRequest

Issue-ID: CCSDK-3246
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@us.att.com>
Change-Id: I3b378336887b43c55ec2a3cdb8a82a4578eb6260

4 years agoMoving chef-adaptor from APPC 66/119766/3
Singal, Kapil (ks220y) [Wed, 24 Mar 2021 18:54:47 +0000 (14:54 -0400)]
Moving chef-adaptor from APPC

Issue-ID: CCSDK-3198
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I416450c0de9951fe4d5c62cd7cea201c25feb562

4 years agoFix null pointer exception 34/119734/1
Dan Timoney [Wed, 24 Mar 2021 14:33:13 +0000 (10:33 -0400)]
Fix null pointer exception

Fix null pointer exception in case of empty list

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

4 years agomodernizing propertyProvider by replacing Vector to ArrayList 46/119346/1
Singal, Kapil (ks220y) [Tue, 16 Mar 2021 04:37:42 +0000 (00:37 -0400)]
modernizing propertyProvider by replacing Vector to ArrayList

Issue-ID: CCSDK-3213
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: Ifcc3f618512f1f5a347b8045e54ba82d0e21d6dd

4 years agoRenaming ansible and saltstanck adapter to adaptor 45/119345/1
Singal, Kapil (ks220y) [Tue, 16 Mar 2021 04:30:22 +0000 (00:30 -0400)]
Renaming ansible and saltstanck adapter to adaptor

Issue-ID: CCSDK-3212
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: Ibf0366b31a37173050602bd692627647f4f29bb7

4 years agoMoving and merging Ansible adaptor from appc to ccsdk/sli 72/119272/6
Singal, Kapil (ks220y) [Fri, 12 Mar 2021 21:32:54 +0000 (16:32 -0500)]
Moving and merging Ansible adaptor from appc to ccsdk/sli

Issue-ID: CCSDK-3198
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I5b2c8a3aff7b0e874a659122264be06f412945be

4 years agoRoll master version for Istanbul 83/118983/5
Dan Timoney [Tue, 9 Mar 2021 16:47:09 +0000 (11:47 -0500)]
Roll master version for Istanbul

Roll versions of ccskd parent poms to 2.2.0-SNAPSHOT and of ccsdk/sli
to 1.3.0-SNAPSHOT for Istanbul release

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

4 years agoRefactoring pom's name tag 34/118734/4
Singal, Kapil (ks220y) [Wed, 3 Mar 2021 01:00:49 +0000 (20:00 -0500)]
Refactoring pom's name tag

Indenting pom's and running mvn tidy:pom to rearrange items

Issue-ID: CCSDK-3198

Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: Ic9c7cfd76bd98e6a101ec7788841d96316508735

4 years agoRoll to next Honolulu snapshot 89/118289/1
Dan Timoney [Tue, 23 Feb 2021 16:37:18 +0000 (11:37 -0500)]
Roll to next Honolulu snapshot

Roll to next Honolulu snapshot

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

4 years agoRelease version 1.2.0 of ccsdk/sli 61/118261/1
Dan Timoney [Tue, 23 Feb 2021 15:15:48 +0000 (10:15 -0500)]
Release version 1.2.0 of ccsdk/sli

Release version 1.2.0 of ccsdk/sli

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

4 years agoFix error in artifacts parent 36/118236/1
Dan Timoney [Tue, 23 Feb 2021 12:59:35 +0000 (07:59 -0500)]
Fix error in artifacts parent

The artifacts modules are using wrong parent pom, which is causing
compile issues in some local builds.

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

4 years agoImplementation graph search for slitopologyutils, includes graph building and path... 17/118117/2
Decheng Zhang [Fri, 19 Feb 2021 13:27:28 +0000 (08:27 -0500)]
Implementation graph search for slitopologyutils, includes graph building and path search

Change-Id: I2496fcf971fb3f5ac9cbd63f4432cf7edafc1cee
Signed-off-by: Decheng Zhang <decheng.zhang@huawei.com>
4 years agoFix CCSDK-3168, issue that toJsonString doesn't work properly for large array attributes. 10/117910/5
Decheng Zhang [Tue, 16 Feb 2021 15:22:08 +0000 (10:22 -0500)]
Fix CCSDK-3168, issue that toJsonString doesn't work properly for large array attributes.

Issue-Id: CCSDK-3168
Signed-off-by: Decheng Zhang <decheng.zhang@huawei.com>
Change-Id: I0aba52ea194dfe52db09a19da2f67d03619bb912
Signed-off-by: Decheng Zhang <decheng.zhang@huawei.com>
4 years agoCreating prototype of SliTopologyUtils, a topology utility for simple topology manipu... 04/118104/2
Decheng Zhang [Fri, 19 Feb 2021 13:49:21 +0000 (08:49 -0500)]
Creating prototype of SliTopologyUtils, a topology utility for simple topology manipulation.

Change-Id: I3c83eeb9c44f04a8d7b0e45429594de96f162c3d
Signed-off-by: Decheng Zhang <decheng.zhang@huawei.com>
4 years agoUse released version of parent poms 94/118194/1
Dan Timoney [Mon, 22 Feb 2021 19:11:46 +0000 (14:11 -0500)]
Use released version of parent poms

Use released version 2.1.1 of parent poms

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

4 years agoAdd new EnvProperties class 97/117997/4
Dan Timoney [Wed, 17 Feb 2021 20:25:45 +0000 (15:25 -0500)]
Add new EnvProperties class

Added new class EnvProperties, which extends java.util.Properties
and supports property values containing embedded environment
variable references.  Updated code to use this class to load
svclogic.properties, and updated dmaap listener to use
that class to load dmaap listener configuration.

Issue-ID: SDNC-1482
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I7538b719631d8c10c27d059aeb4f70ce92760ebd

4 years agomigrate sli to alu-SR1 56/117256/2
Michael DÜrre [Mon, 18 Jan 2021 04:41:16 +0000 (05:41 +0100)]
migrate sli to alu-SR1

migrate ODL interfaces and fix code for changes in alu-SR1

Issue-ID: CCSDK-3089
Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com>
Change-Id: Id48dcfc517585f2ce6b30047113cd1d173c3c9dc
Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com>
4 years agoRevert "migrate sli to alu-SR1" 60/117260/1
Dan Timoney [Fri, 29 Jan 2021 17:42:42 +0000 (17:42 +0000)]
Revert "migrate sli to alu-SR1"

This reverts commit ce4e5f9a00d2677495240ad367b9bfc4b74752d0.

Reason for revert: ODL upgrade changes need to be backed out until issues in ccsdk/features are resolved.

Change-Id: I168e2519e37f3eee61609d0da890c14db49ec49e

4 years agomigrate sli to alu-SR1 37/116937/4
Michael DÜrre [Mon, 18 Jan 2021 04:41:16 +0000 (05:41 +0100)]
migrate sli to alu-SR1

migrate ODL interfaces and fix code for changes in alu-SR1

Issue-ID: CCSDK-3089
Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com>
Change-Id: Iad824627c581c902b639a2f0246e3133d4e38c48

4 years agoRevert "Limit use of odlparent poms" 41/117141/2
Dan Timoney [Tue, 26 Jan 2021 18:15:47 +0000 (13:15 -0500)]
Revert "Limit use of odlparent poms"

This reverts commit 7de29bfea89ff53a446bea07d8f74d1aaa87045b,
due to issues encountered in the odlsli container in ccsdk/distribution.

Issue-ID: CCSDK-3001
Issue-ID: CCSDK-3099
Change-Id: I79252b74693895f483eb390c575bb244195fe7ed
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoLimit use of odlparent poms 58/116258/3
Dan Timoney [Wed, 25 Nov 2020 13:29:23 +0000 (08:29 -0500)]
Limit use of odlparent poms

Updated pom.xmls to use standard maven project structure (i.e. parent
of pom is pom in directory above), and updated top level pom to
use org.ccsdk.parent:oparent as parent - EXCEPT in cases where
module has true OpenDaylight dependencies and therefore needs
to use ODL parent pom.

Change-Id: I50429f28225152251ac2086235c14bb00f09c05c
Issue-ID: CCSDK-3001
Signed-off-by: Dan Timoney <dtimoney@att.com>
4 years agoRemove references to indivdual repo version properties 82/116182/1
Dan Timoney [Mon, 7 Dec 2020 17:23:05 +0000 (12:23 -0500)]
Remove references to indivdual repo version properties

Updated combined ccsdl/sli repo to replace references to old
repo versions (e.g. ccsdk.sli.core.version) with build-in
maven property project.version.

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

4 years agoUpdated aai-path.properties with AAI API'S 71/116071/1
Mehreen Kaleem [Thu, 3 Dec 2020 05:12:17 +0000 (05:12 +0000)]
Updated aai-path.properties with AAI API'S
used by MDONS use case

Change-Id: I810a077199725dd0bb735c8bd6b5f68e026ed908
Issue-ID: CCSDK-3013
Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com>
4 years agoAdd missing pom.xml files 22/116022/4
Dan Timoney [Wed, 2 Dec 2020 12:48:49 +0000 (07:48 -0500)]
Add missing pom.xml files

Add missing modules to top level pom.xml and add missing
pom files for core, adaptors, northbound and plugin directories.
Also rolled version to next minor version (1.2.0-SNAPSHOT) to avoid
conflict with compiled code from individual repos during
transition to new structure.

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

4 years agoMigrate sli-northbound repo
Jessica Wagantall [Tue, 1 Dec 2020 19:52:01 +0000 (11:52 -0800)]
Migrate sli-northbound repo

Migrate sli-northbound repo files into
new directory "northbound".

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

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

Migrate sli-core repo files into new
directory "core".

Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
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/northbound
Dan Timoney [Wed, 25 Nov 2020 21:07:46 +0000 (16:07 -0500)]
Release version 1.1.0 of sli/northbound

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

Change-Id: I21ee4f2431d6e15573998fd615fc2090aee15810
Issue-ID: CCSDK-3002
Signed-off-by: Dan Timoney <dtimoney@att.com>
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:38:04 +0000 (17:38 -0400)]
Roll to initial Honolulu release version

Roll master branch to initial Honolulu release version

Change-Id: I9a355141a5234f08fd09d0712b4b9d6166d01f11
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/northbound
Dan Timoney [Wed, 9 Sep 2020 18:38:16 +0000 (14:38 -0400)]
Release M4 version of sli/northbound

Release M4 version of sli/northbound

Change-Id: I4f7f6abd7f46bc535e555e17991af253d4396a13
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 agoMerge "DMAAP Listener for ranSlice Feature support"
Dan Timoney [Tue, 8 Sep 2020 14:41:11 +0000 (14:41 +0000)]
Merge "DMAAP Listener for ranSlice Feature support"

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:05:32 +0000 (10:05 -0400)]
Update lifecycle state

Update lifecycle state to Mature

Change-Id: I0ce9d0608712b3589071342cdb9da4d2a7545068
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: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>