ccsdk/sli/northbound.git
4 years agoCode changes for Neon 05/91105/6
Timoney, Dan (dt5972) [Tue, 9 Jul 2019 17:36:38 +0000 (13:36 -0400)]
Code changes for Neon

Updated code via ccsdk/parent/tools/fluorine2neon.sh script.

Change-Id: Ie19b69db481318afa9224d4673f27e74bfc65a81
Issue-ID: CCSDK-1389
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoRelease version 0.5.2 43/93543/1
Timoney, Dan (dt5972) [Wed, 14 Aug 2019 18:53:22 +0000 (14:53 -0400)]
Release version 0.5.2

Release version 0.5.2 (last Fluorine SR2 version of CCSDK)

Change-Id: I8fc069ad8a0fc5aa50b48aa60fbcb3ab95e55f4d
Issue-ID: CCSDK-1401
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoUse getEntity to populate Complex Resource-Related tables 53/92953/2
lalena.aria [Wed, 7 Aug 2019 19:59:04 +0000 (19:59 +0000)]
Use getEntity to populate Complex Resource-Related tables

Changes made:
Clean up in SdncBaseModel for unused methods.
Fixes in SdncGroupModel.
Convert SdncNodeModel to entity.
Corrected logging in SdncVFCModel.
Corresponding Group-related and logging fixes in SdncVFModel.
Corresponding SdncBaseModel changes for getEntity migration.
Corresponding junit changes for getEntity migration.

Issue-ID: CCSDK-1578
Change-Id: Ic7f7ec38325aeddcad2d86c8f8425ec825512714
Signed-off-by: lalena.aria <lalena.aria@att.com>
4 years agoRelease CCSDK version 0.5.1 56/92956/1 elalto-ed
Timoney, Dan (dt5972) [Wed, 7 Aug 2019 20:10:49 +0000 (16:10 -0400)]
Release CCSDK version 0.5.1

Release version 0.5.1 of CCSDK artifacts

Change-Id: I237973c3af1a22c4ed512f2f1b45d6c3fd4449ad
Issue-ID: CCSDK-1563
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoRoll version to recreate artifacts 17/92817/1
Timoney, Dan (dt5972) [Tue, 6 Aug 2019 15:02:42 +0000 (11:02 -0400)]
Roll version to recreate artifacts

Roll version to 0.5.1 to recreate El Alto early drop artifacts

Change-Id: I0b516ccc051ca5a08414c653b7631716fafa987e
Issue-ID: CCSDK-1563
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoRelease sli/northbound 0.5.0 09/92609/1
Timoney, Dan (dt5972) [Fri, 2 Aug 2019 20:03:20 +0000 (16:03 -0400)]
Release sli/northbound 0.5.0

Release sli/northbound version 0.5.0

Change-Id: I54243f8d05b3cfa9896f5b4b4745ca952086c5e3
Issue-ID: CCSDK-1563
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoOOFPCIPPOC DMAAP listener bug fix 73/92473/1
Sandeep Shah [Thu, 1 Aug 2019 14:13:34 +0000 (09:13 -0500)]
OOFPCIPPOC DMAAP listener bug fix

DMAAP listener code change to refer to the correct YANG RPC
leaf node

Issue-ID: CCSDK-1565
Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com>
Change-Id: Id8afb807bf281125e522f86079a877184271ca51

4 years agoUse getEntity to populate Group-Related tables 14/91814/1
lalena.aria [Mon, 22 Jul 2019 14:08:24 +0000 (14:08 +0000)]
Use getEntity to populate Group-Related tables

Changes made:
Convert SdncGroupModel to entity.
Convert SdncVFModel.insertVFCInstanceGroupData to entity.
Corresponding SdncBaseModel changes for getEntity migration.
Corresponding junit changes for getEntity migration.

Issue-ID: CCSDK-1501
Change-Id: I8a8938dc1b1e7bf37212799277aef60ffff5edb1
Signed-off-by: lalena.aria <lalena.aria@att.com>
4 years agoUpdate parent version to 1.3.1 08/91608/1
Timoney, Dan (dt5972) [Wed, 17 Jul 2019 15:00:02 +0000 (11:00 -0400)]
Update parent version to 1.3.1

Update parent poms to version 1.3.1-SNAPSHOT

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

Added Brinda as committer to INFO.yaml

Change-Id: Ib6b19318eb9837306ea7f27589b44b8d2e2be327
Issue-ID: CCSDK-1480
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoUse getEntity to populate Policy-Related tables 02/91102/1
lalena.aria [Tue, 9 Jul 2019 15:34:57 +0000 (15:34 +0000)]
Use getEntity to populate Policy-Related tables

Changes made:
Update SdncBaseModel policy data methods to use getEntity.
Update SdncVFModel to call updated SdncBaseModel policy data methods.
Minor changes in SdncServiceModel.java.
Corresponding junit changes for getEntity migration.

Issue-ID: CCSDK-1456
Change-Id: Idf000bb48896ca4c57d6d1659730e2aea7f49ec4
Signed-off-by: lalena.aria <lalena.aria@att.com>
4 years agoLogic change for insertion in to VF_MODULE_TO_VFC_MAPPING 88/90688/1
lalena.aria [Fri, 28 Jun 2019 20:31:32 +0000 (20:31 +0000)]
Logic change for insertion in to VF_MODULE_TO_VFC_MAPPING

Changes made:
Update SdncVFModel.insertVFModuleData to insert only CVFCs that contain VFC.
Add check for empty and string null in SdncBaseModel extractValue methods.

Issue-ID: CCSDK-1442
Change-Id: I058154e2e64e7123a13be5542021e7ca0187afe0
Signed-off-by: lalena.aria <lalena.aria@att.com>
4 years agoRemove versions from project poms 37/90337/1
Timoney, Dan (dt5972) [Fri, 21 Jun 2019 20:58:47 +0000 (16:58 -0400)]
Remove versions from project poms

Remove versions from project poms and instead drive version from
dependencyManagement to ensure consistency.

Change-Id: Ie560bcbbd37d434eb56ccfcf8a5f0bf79a9e7d9e
Issue-ID: CCSDK-1416
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoMerge "Use getEntity to populate VFC and AR tables"
Dan Timoney [Tue, 18 Jun 2019 15:00:45 +0000 (15:00 +0000)]
Merge "Use getEntity to populate VFC and AR tables"

4 years agoMerge "Bug fixes/mods to dmaap-listener for SDNR OOF PCI"
Dan Timoney [Tue, 18 Jun 2019 14:57:11 +0000 (14:57 +0000)]
Merge "Bug fixes/mods to dmaap-listener for SDNR OOF PCI"

4 years agoUse getEntity to populate VFC and AR tables 07/89907/1
Aria, Lalena (la505a) [Fri, 14 Jun 2019 14:58:13 +0000 (14:58 +0000)]
Use getEntity to populate VFC and AR tables

Changes made:
Update SdncARModel to use IEntityDetails instead of NodeTemplate.
Update SdncVFCModel to use IEntityDetails instead of Group.
Small fixes in SdncVFModuleModel.
Corresponding junit changes for getEntity migration.

Issue-ID: CCSDK-1367
Change-Id: Ifaf57e9fb22ef87be80bad39948f07bb0a78a6bc
Signed-off-by: lalena.aria <lalena.aria@att.com>
4 years agoBug fixes/mods to dmaap-listener for SDNR OOF PCI 92/89792/1
Sandeep Shah [Thu, 13 Jun 2019 10:50:38 +0000 (05:50 -0500)]
Bug fixes/mods to dmaap-listener for SDNR OOF PCI

Bug fixes to support payload with escape characters and modifications
to velocity template map files to point to correct SDNC end point

Issue-ID: CCSDK-1399
Signed-off-by: SandeepLinux <sandeeplinux1068@gmail.com>
Change-Id: I38a0a3f19379ea20b7055e9581318f54b93dca6d

4 years agoUpdate to use standalone pom 64/87364/2
Timoney, Dan (dt5972) [Thu, 9 May 2019 14:26:49 +0000 (10:26 -0400)]
Update to use standalone pom

Update standalone containers dmaap-listener and ueb-listener
to use standalone parent poms.  This version contains some
vulnerability fixes that are not possible to address in containers
that install their own third-party library versions.

Change-Id: I75a295b331190d87a38002924ccbdd985ca8f494
Issue-ID: CCSDK-1320
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoFix bug with DMAAP listener for SDNR OOFPCIPOC 08/88508/1
Sandeep Shah [Sun, 26 May 2019 15:37:21 +0000 (10:37 -0500)]
Fix bug with DMAAP listener for SDNR OOFPCIPOC

Replaced 2 dmaap consumers with one consumer for DMAAP topic
SDNR-CL. Also updated corresponding JUNIT file.

Issue-ID: CCSDK-1364
Signed-off-by: SandeepLinux <sandeep.shah2@techmahindra.com>
Change-Id: I840a38d04423954102865a68b0e216c745ed161b

4 years agoUse getEntity to populate VF Module tables 20/88120/1
Agarwal, Ruchira (ra1926) [Mon, 20 May 2019 22:02:34 +0000 (22:02 +0000)]
Use getEntity to populate VF Module tables

Changes made:
Update SdncVFModel.insertVFModuleData to use getEntity.
Update SdncVFModule to use IEntityDetails instead of Group.

Issue-ID: CCSDK-1347
Change-Id: I319d4b56b7d1e9bfb6a2d7601a24cd5c192477d7
Signed-off-by: Aria, Lalena (la505a) <lalena.aria@att.com>
5 years agoUpdate to Tosca parser version 1.5.1 13/87913/1
Timoney, Dan (dt5972) [Thu, 16 May 2019 19:08:30 +0000 (15:08 -0400)]
Update to Tosca parser version 1.5.1

Tosca parser version 1.5.1 needed for policy deployment

Change-Id: I67de4357267b6e46615906c29f34d728a5279299
Issue-ID: CCSDK-1338
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoRoll master to El Alto 45/86645/1
Timoney, Dan (dt5972) [Tue, 30 Apr 2019 15:43:00 +0000 (11:43 -0400)]
Roll master to El Alto

Roll master version to El Alto versions

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

Update to use released 1.2.2 version of parent poms.

Change-Id: Ib0aba55743d4f799a2380a36cfbd5fcb9b729172
Issue-ID: CCSDK-1222
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "Add missing payload in output of callDG in LcmProvider"
Dan Timoney [Tue, 16 Apr 2019 13:34:43 +0000 (13:34 +0000)]
Merge "Add missing payload in output of callDG in LcmProvider"

5 years agoJUNIT tests for SDNR OOF PCI Dmaap Listener 71/85271/1
Sandeep Shah [Sun, 14 Apr 2019 16:19:29 +0000 (11:19 -0500)]
JUNIT tests for SDNR OOF PCI Dmaap Listener

JUNIT test JAVA files and name change for .vt file

Change-Id: I513b9abd72d4c230f57ae3f89a8fafc5f72e7cfa
Issue-ID: CCSDK-1226
Signed-off-by: SandeepLinux <sandeep.shah2@techmahindra.com>
5 years agoAdd missing payload in output of callDG in LcmProvider 69/85269/1
Enbo Wang [Sun, 14 Apr 2019 15:46:33 +0000 (23:46 +0800)]
Add missing payload in output of callDG in LcmProvider

Change-Id: Ibafc968b747ad93934e6fa2ad2607ad921a9225e
Issue-ID: CCSDK-1224
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
5 years agoDMAAP Listener support for SDNR OOF PCI 82/84982/1
Sandeep Shah [Thu, 11 Apr 2019 02:15:13 +0000 (21:15 -0500)]
DMAAP Listener support for SDNR OOF PCI

DMAAP Consumer JAVA files and resources (.map, .vt)

Change-Id: I0027d3f092afc4b89aed1cc756a62d5eb169f5c3
Issue-ID: CCSDK-1216
Signed-off-by: SandeepLinux <sandeep.shah2@techmahindra.com>
5 years agoUpdated edgeRouterStatusChange.map 32/83232/2
Stilwell, David (stilwelld) [Mon, 25 Mar 2019 17:01:04 +0000 (17:01 +0000)]
Updated edgeRouterStatusChange.map

Changes-made: Added additional entries to edgeRouterStatusChange.map

Change-Id: I7e7c42d6a4b292b76758fd8cfccf7a091daa016e
Issue-ID: CCSDK-1179
Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
5 years agoFix jackson version 51/83251/1
Timoney, Dan (dt5972) [Mon, 25 Mar 2019 18:23:11 +0000 (14:23 -0400)]
Fix jackson version

Use managed version of jackson in ueb-listener instead of our own

Change-Id: I1e5608ca4a5da698b48bf1f00bb8be5fca0c4d2f
Issue-ID: CCSDK-1156
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "Update LCM:rollback action for PNF S/W upgrade"
Dan Timoney [Fri, 22 Mar 2019 21:01:59 +0000 (21:01 +0000)]
Merge "Update LCM:rollback action for PNF S/W upgrade"

5 years agoMerge "Use getEnitity API for ingestion of TOSCA PNF"
Dan Timoney [Fri, 22 Mar 2019 21:01:13 +0000 (21:01 +0000)]
Merge "Use getEnitity API for ingestion of TOSCA PNF"

5 years agoCompile against Fluorine SR2 25/82725/2
Timoney, Dan (dt5972) [Tue, 19 Mar 2019 21:11:28 +0000 (17:11 -0400)]
Compile against Fluorine SR2

Updated to compile against Fluorine SR2

Change-Id: I7a104f16bfd17d30d925a6cd70dedbd6aa0f0b4c
Issue-ID: CCSDK-1156
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoUpdate LCM:rollback action for PNF S/W upgrade 46/82646/1
Enbo Wang [Tue, 19 Mar 2019 08:40:53 +0000 (08:40 +0000)]
Update LCM:rollback action for PNF S/W upgrade

Change mandatory input fields in rollback action to optional and add
optional output payload field.

Change-Id: Icc1b479c7fcfaeeb315dadd5762e9443d5dfba1c
Issue-ID: SDNC-669
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
5 years agoRemove staging plugin from top level pom.xml 02/82602/1 0.4.1
Timoney, Dan (dt5972) [Mon, 18 Mar 2019 17:19:55 +0000 (13:19 -0400)]
Remove staging plugin from top level pom.xml

Remove staging plugin from pom.xml.  It should be part of a build profile in the odlparent
pom.

Change-Id: Ib948ff6dbf8c07bce690a33903fe1c10844dbb87
Issue-ID: CCSDK-1156
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoPrepare for release 0.4.1 69/82269/1
Timoney, Dan (dt5972) [Thu, 14 Mar 2019 15:33:05 +0000 (11:33 -0400)]
Prepare for release 0.4.1

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

Change-Id: I9a3c60350913ed816b6db411df0009f4b755e072
Issue-ID: CCSDK-1156
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoUse getEnitity API for ingestion of TOSCA PNF 60/82160/1
Aria, Lalena (la505a) [Wed, 13 Mar 2019 18:18:14 +0000 (18:18 +0000)]
Use getEnitity API for ingestion of TOSCA PNF

Changes made:
Update SdncUebCallback.processToscaCsar to ingest PNF entities.
Add methods in SdncBaseModel.java to support processing of IEntityDetails.
Add SdncPNFModel.java to populate VF_MODEL with PNF data.
Add SdncPNFModelTest.java junit coverage.

Change-Id: I9a82a94e8198d629395a60779f74178e4f8f065e
Issue-ID: SDNC-675
Signed-off-by: Aria, Lalena (la505a) <lalena.aria@att.com>
5 years agoImprove ueb-listener test coverage 68/79668/2
Timoney, Dan (dt5972) [Tue, 5 Mar 2019 01:04:27 +0000 (20:04 -0500)]
Improve ueb-listener test coverage

Add missing initialization code in test case to trigger testing of
pre-staged artifacts.

Change-Id: I707ad708e461867b1dea79e11df13460262b6818
Issue-ID: CCSDK-1124
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoUse getEntity to populate network_role 19/79219/1
Ubuntu [Tue, 26 Feb 2019 19:51:20 +0000 (19:51 +0000)]
Use getEntity to populate network_role

Changes made:
Update sdc-tosca version to 1.5.0.
Replace getCpListByVf with equivalent getEntity call in SdncVFModel.java.
Replace policy.getMetaData with getMetaDataObj to work around parser issue.

Change-Id: I1d972f75cc5ca1c8dc0e5d58880a3bb306608ca2
Issue-ID: CCSDK-1089
Signed-off-by: Ubuntu <lalena.aria@att.com>
5 years agoTurn on debugging in jUnit test 26/78926/1
Timoney, Dan (dt5972) [Thu, 21 Feb 2019 13:38:14 +0000 (08:38 -0500)]
Turn on debugging in jUnit test

Turn on debug level tracing in LCM jUnit testing to test branches
only executed when trace level >= DEBUG.

Change-Id: I2aae7f058461404d6582dc36c72a4f7834692e94
Issue-ID: CCSDK-1096
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years ago[CCSDK-1008]Generalize offsite backup 59/76359/1
Haddox, Anthony [Fri, 25 Jan 2019 16:57:39 +0000 (08:57 -0800)]
[CCSDK-1008]Generalize offsite backup

Revised the provider to use file names designated in
the properties file. This is for those who use vendor
provided distributions of OpenDaylight

Change-Id: Ib120452fa989fff371a832416a34d95745fead1b
Issue-ID: CCSDK-1008
Signed-off-by: Haddox, Anthony <ah0647@att.com>
5 years ago[CCSDK-953]Create Daexim Offsite Backup 85/75885/2
Haddox, Anthony [Wed, 16 Jan 2019 16:08:35 +0000 (08:08 -0800)]
[CCSDK-953]Create Daexim Offsite Backup

Inital commit of ODL feature

Issue-ID: CCSDK-953
Change-Id: I7eb64fc9f414083db424700f2c901ba0a66cb0c4
Signed-off-by: Haddox, Anthony <ah0647@att.com>
5 years agoCode changes to sli/northbound for ODL Fluorine 16/75016/6
Timoney, Dan (dt5972) [Thu, 20 Dec 2018 19:29:35 +0000 (14:29 -0500)]
Code changes to sli/northbound for ODL Fluorine

Code changes needed to support port to ODL Fluorine.

Change-Id: If898ed120a3d03773db815f797f1eee633ca77e3
Issue-ID: CCSDK-870
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "merged lcm.yang from app-c" 0.4.0
Dan Timoney [Thu, 10 Jan 2019 12:40:51 +0000 (12:40 +0000)]
Merge "merged lcm.yang from app-c"

5 years agomerged lcm.yang from app-c 05/75605/1
Driptaroop Das [Thu, 10 Jan 2019 08:20:04 +0000 (13:50 +0530)]
merged lcm.yang from app-c

Merged differences from lcm.yang from appc to ccsdk.

Issue-ID: CCSDK-925
Change-Id: I6b179f5a184408673231b57f8fc5d331bc11f0e7
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
5 years agoPrepare for release build 85/75485/1
Timoney, Dan (dt5972) [Tue, 8 Jan 2019 17:29:46 +0000 (12:29 -0500)]
Prepare for release build

Prepare for release of early ODL-Oxygen based CCSDK Dublin

Change-Id: I7a11b559e32f953bfd5f514a6cd402090005d9eb
Issue-ID: CCSDK-870
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "Sonar fix: SdncGroupModel.java"
Dan Timoney [Fri, 28 Dec 2018 02:43:35 +0000 (02:43 +0000)]
Merge "Sonar fix: SdncGroupModel.java"

5 years agoMerge "Sonar fix: SdncVFModuleModel.java"
Dan Timoney [Fri, 28 Dec 2018 02:39:27 +0000 (02:39 +0000)]
Merge "Sonar fix: SdncVFModuleModel.java"

5 years agoMerge "Sonar fix: SdncUebConfiguration.java"
Dan Timoney [Fri, 28 Dec 2018 02:38:33 +0000 (02:38 +0000)]
Merge "Sonar fix: SdncUebConfiguration.java"

5 years agoMerge "Sonar Fix: LcmProvider.java"
Dan Timoney [Fri, 28 Dec 2018 02:37:53 +0000 (02:37 +0000)]
Merge "Sonar Fix: LcmProvider.java"

5 years agoMerge "Sonar fix: SdncArtifactMap.java"
Dan Timoney [Fri, 28 Dec 2018 02:37:10 +0000 (02:37 +0000)]
Merge "Sonar fix: SdncArtifactMap.java"

5 years agoSonar fix: SdncGroupModel.java 05/75005/2
Arundathi Patil [Thu, 20 Dec 2018 16:24:31 +0000 (21:54 +0530)]
Sonar fix: SdncGroupModel.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-865
Change-Id: I29a2badf731506c4abfa908345ccc72c465c8fb0
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoSonar fix: SdncVFModuleModel.java 11/75011/1
Arundathi Patil [Thu, 20 Dec 2018 17:22:13 +0000 (22:52 +0530)]
Sonar fix: SdncVFModuleModel.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-867
Change-Id: I20c5214ce9ab3c2821e58b0c6e2530a0881ccc1d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoSonar fix: SdncUebConfiguration.java 10/75010/1
Arundathi Patil [Thu, 20 Dec 2018 17:11:19 +0000 (22:41 +0530)]
Sonar fix: SdncUebConfiguration.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-866
Change-Id: Icac8e0347d068902217e813a302db69b1bf5cc47
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoSonar Fix: LcmProvider.java 97/74997/1
Arundathi Patil [Thu, 20 Dec 2018 16:15:05 +0000 (21:45 +0530)]
Sonar Fix: LcmProvider.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-848
Change-Id: I3968ee331f241f409c6d80c56094baaef2a566e2
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoSonar fix: SdncArtifactMap.java 83/74983/1
Arundathi Patil [Thu, 20 Dec 2018 11:40:51 +0000 (17:10 +0530)]
Sonar fix: SdncArtifactMap.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-863
Change-Id: I8c471ab3cdca84427fe88f33a82117200d916b3d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoSonar Fix: DataChangeProvider.java 82/74982/1
Arundathi Patil [Thu, 20 Dec 2018 11:32:08 +0000 (17:02 +0530)]
Sonar Fix: DataChangeProvider.java

Fixed sonar issuse/code-smells across this file

Issue-ID: CCSDK-852
Change-Id: If7468d54feaf301f15d35dbdf3fe245696aae0bd
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoAdd BOM for sli/northbound 25/74825/2
Timoney, Dan (dt5972) [Tue, 18 Dec 2018 15:10:35 +0000 (10:10 -0500)]
Add BOM for sli/northbound

Add BOM for sli/northbound for ease of dependency specification.

Change-Id: I53d91e9b6b22af2f0cd0049ea2c351143041963d
Issue-ID: CCSDK-856
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "Sonar fix: SdncARModel.java"
Dan Timoney [Wed, 19 Dec 2018 00:40:31 +0000 (00:40 +0000)]
Merge "Sonar fix: SdncARModel.java"

5 years agoMerge "Sonar fix: SdncLcmDmaapConsumer.java"
Dan Timoney [Wed, 19 Dec 2018 00:39:15 +0000 (00:39 +0000)]
Merge "Sonar fix: SdncLcmDmaapConsumer.java"

5 years agoMerge "Sonar fix: AsdcApiSliClient.java"
Dan Timoney [Wed, 19 Dec 2018 00:38:29 +0000 (00:38 +0000)]
Merge "Sonar fix: AsdcApiSliClient.java"

5 years agoSonar fix: SdncARModel.java 93/74793/2
Arundathi Patil [Tue, 18 Dec 2018 09:59:09 +0000 (15:29 +0530)]
Sonar fix: SdncARModel.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-855
Change-Id: I5aa4859f2b30fb1efadd6d772cc5d80e00281c42
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoSonar fix: SdncLcmDmaapConsumer.java 91/74791/1
Arundathi Patil [Tue, 18 Dec 2018 09:54:11 +0000 (15:24 +0530)]
Sonar fix: SdncLcmDmaapConsumer.java

Fixed sonar issues/code-smells across this file.

Issue-ID: CCSDK-854
Change-Id: I9b25a464b41ce142b6217ff0f7e40beda86eae3a
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoSonar fix: AsdcApiSliClient.java 89/74789/1
Arundathi Patil [Tue, 18 Dec 2018 09:48:28 +0000 (15:18 +0530)]
Sonar fix: AsdcApiSliClient.java

Fixed sonar issues/code-smells across this file.

Issue-ID: CCSDK-853
Change-Id: Ib864ab2ac5302aa9387bd19a2dfcc642d3a10f87
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoSonar fix: DataChangeProvider.java 86/74786/1
Arundathi Patil [Tue, 18 Dec 2018 09:37:22 +0000 (15:07 +0530)]
Sonar fix: DataChangeProvider.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-852
Change-Id: I73630a11c44105996ed677f7eabb6ea3ffcc501d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoMerge "Sonar fix: SdncDmaapConsumerImpl.java"
Dan Timoney [Mon, 17 Dec 2018 22:52:28 +0000 (22:52 +0000)]
Merge "Sonar fix: SdncDmaapConsumerImpl.java"

5 years agoMerge "Sonar Fix: SdncAaiDmaapConsumer.java"
Dan Timoney [Mon, 17 Dec 2018 22:52:05 +0000 (22:52 +0000)]
Merge "Sonar Fix: SdncAaiDmaapConsumer.java"

5 years agoMerge "Sonar fix: LcmSliClient.java"
Dan Timoney [Mon, 17 Dec 2018 21:06:45 +0000 (21:06 +0000)]
Merge "Sonar fix: LcmSliClient.java"

5 years agoSonar fix: SdncDmaapConsumerImpl.java 56/74756/1
Arundathi Patil [Mon, 17 Dec 2018 19:11:18 +0000 (00:41 +0530)]
Sonar fix: SdncDmaapConsumerImpl.java

Fixed sonar issues/code-smells acoss this file

Issue-ID: CCSDK-851
Change-Id: Iff1156e2cafc198d00daf546699f0ff4ab34ff43
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoSonar Fix: SdncAaiDmaapConsumer.java 55/74755/1
Arundathi Patil [Mon, 17 Dec 2018 19:05:54 +0000 (00:35 +0530)]
Sonar Fix: SdncAaiDmaapConsumer.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-850
Change-Id: I4f1bb7109bddfed04ffa85df174fecdaaf9a6798
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoSonar fix: LcmSliClient.java 49/74749/1
Arundathi Patil [Mon, 17 Dec 2018 18:50:42 +0000 (00:20 +0530)]
Sonar fix: LcmSliClient.java

Fixed sonar issues/code-smells across thisfile

Issue-ID: CCSDK-849
Change-Id: Id79d62c6117a0ce7d3551f655b0a56f23c8a0fde
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoSonar fix: LcmProvider.java 45/74745/1
Arundathi Patil [Mon, 17 Dec 2018 18:42:46 +0000 (00:12 +0530)]
Sonar fix: LcmProvider.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-848
Change-Id: Ida8c5829860e4afba412de967df1ef93ad4423bf
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoUpdate INFO.yaml file 36/74536/2
Jessica Wagantall [Tue, 11 Dec 2018 20:24:05 +0000 (12:24 -0800)]
Update INFO.yaml file

- Add Gaurav Agrawal as committer
- Remove Ryan Goulding
- Add missing info sections
- Fix indentation to pass verify

Change-Id: I777f1f696a2c163a3cd8af06753bf48b99e1fbf8
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoAdd missing dependency 37/74337/2
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>
5 years agoUpdate sdc-tosca version to 1.4.7 28/73728/1
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>
5 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"

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

5 years agoAdd logic for ingesting related_network_role data 10/72010/1
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>
5 years agoFix misplaced if 69/71969/1
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>
5 years agoReplace logic for subinterface_indicator ingestion 63/71963/1
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>
5 years agoExplicitly exit on timeout 36/71736/1
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>
5 years agoFix error handling 80/71580/1
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>
5 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"

5 years agoRoll to initial Dublin snapshot 50/71050/1
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>
5 years agoPrepare for RC0 release 06/70306/1 0.3.1 3.0.0-ONAP
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>
5 years agoupdate handling of dmaap errors 04/70204/1
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>
5 years agoFix UEB client error handling 95/70095/1
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>
5 years agoUpdate to latest Tosca parser 80/70080/1
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>
5 years agoRoll to next snapshot 67/69167/1
Timoney, Dan (dt5972) [Wed, 26 Sep 2018 19:13:24 +0000 (15:13 -0400)]
Roll to next snapshot

Roll to next snapshot release

Change-Id: Ied28c6296aa3447926bcc228e867654a460d8455
Issue-ID: CCSDK-597
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoPrepare for release build 27/69127/2 0.3.0
Timoney, Dan (dt5972) [Wed, 26 Sep 2018 14:37:48 +0000 (10:37 -0400)]
Prepare for release build

Update for release build :
(a) Remove -STAGING tag from release version in version.properties
(b) Update to use released version of parent poms
(c) Disable single-feature-test (which does not work with released
dependencies from ONAP)

Change-Id: I77658eeee2f5fcfd0c9eed4047472dff5973a6a2
Issue-ID: CCSDK-597
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agointegration test issues fix for sdwan and sotn 93/68093/1
shashikanth.vh [Thu, 20 Sep 2018 12:29:25 +0000 (17:59 +0530)]
integration test issues fix for sdwan and sotn

On topology discovery, ESR will be updated with pnf relationship
resulting in update ESR event causing topology discovery to run in loop.

Change-Id: I80d98d5b11f05d395e342479352656364fe071d4
Issue-ID: SDNC-357
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
5 years agoVF Module ingestion add and parser vers update 23/67123/1
lalena.aria [Mon, 17 Sep 2018 20:52:32 +0000 (16:52 -0400)]
VF Module ingestion add and parser vers update

Changes made:
Add vf_customization_uuid and vf_module_label in VF Module ingestion.
Update sdc-tosca dependency version to 1.4.3 in pom.xml.

Change-Id: I5b03e8ff72a74448901f1d5f6d9ed8b7688a6f15
Issue-ID: CCSDK-540
Signed-off-by: lalena.aria <lalena.aria@att.com>
5 years agoUpdate network topology to aai issue fix 85/65185/2
shashikanth.vh [Fri, 7 Sep 2018 12:00:02 +0000 (17:30 +0530)]
Update network topology to aai issue fix

Change-Id: I72d25c8df8726430a087613544a274ca724713cb
Issue-ID: SDNC-387
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
5 years agoUpdate swagger documentation 25/61325/2
Timoney, Dan (dt5972) [Mon, 20 Aug 2018 15:02:12 +0000 (11:02 -0400)]
Update swagger documentation

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

Change-Id: I3843787ed7cb11f119b2c706305c478fdb223680
Issue-ID: CCSDK-476
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoMerge "add LCM DistributeTraffic"
Dan Timoney [Mon, 20 Aug 2018 16:32:20 +0000 (16:32 +0000)]
Merge "add LCM DistributeTraffic"

5 years agoadd LCM DistributeTraffic 31/61331/1
Agarwal, Ruchira(ra1926) [Mon, 20 Aug 2018 16:13:20 +0000 (16:13 +0000)]
add LCM DistributeTraffic

LCM API for DistributeTraffic

Change-Id: I4b3c323d46bd088421d0d6d66fc23982bf086679
Issue-ID: CCSDK-477
Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com>
5 years agoIncrease coverage and quality 19/61019/1
Ganesh Chandrasekaran [Fri, 17 Aug 2018 05:15:59 +0000 (14:15 +0900)]
Increase coverage and quality

Issue-ID: CCSDK-470

Change-Id: Id847c9a79af795dd80a5fc22341ed2e385e53943
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoMerge "Update sdc-tosca version to 1.4.1"
Dan Timoney [Thu, 9 Aug 2018 20:38:04 +0000 (20:38 +0000)]
Merge "Update sdc-tosca version to 1.4.1"

5 years agoUpdate sdc-tosca version to 1.4.1 05/59905/1
lalena.aria [Thu, 9 Aug 2018 18:16:39 +0000 (14:16 -0400)]
Update sdc-tosca version to 1.4.1

Changes made:
Update sdc-tosca dependency version to 1.4.1 in pom.xml.
This change will allow new models to pass conformance check.

Change-Id: I3e45126839fb2cb1052240afe94d72bbaab3df15
Issue-ID: CCSDK-451
Signed-off-by: lalena.aria <lalena.aria@att.com>
5 years agoupdate configuration for onap 27/59527/1
Smokowski, Kevin (ks6305) [Tue, 7 Aug 2018 21:26:44 +0000 (21:26 +0000)]
update configuration for onap

look for properties in common folder, use java 8

Change-Id: I8a04126d8ac1db0781af9b6a015477e0fc3608dd
Issue-ID: CCSDK-448
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
5 years agoAdd external policy ingestion for VF nodes 77/58077/1
lalena.aria [Mon, 30 Jul 2018 18:55:25 +0000 (14:55 -0400)]
Add external policy ingestion for VF nodes

Changes made:
Added SdncBaseModel.insertPolicyData for VF nodes.
Added call to insertPolicyData from VF node ingestion.

Change-Id: I0df1217352354068f11b0cc01923b564c730a149
Issue-ID: CCSDK-404
Signed-off-by: lalena.aria <lalena.aria@att.com>