ccsdk/sli.git
5 years agoCCSDK-1550 -Remove this unused import 'org.onap.ccsdk.sli.adaptors.messagerouter...
Thugutla Sailakshmi [Sun, 28 Jul 2019 15:14:28 +0000 (20:44 +0530)]
CCSDK-1550 -Remove this unused import 'org.onap.ccsdk.sli.adaptors.messagerouter.consumer.api.RequestHandler'

remove the unsued import

Issue-ID: CCSDK-1550
Change-Id: I8e1786d40df7f659aefe090e148dee33cecf2248
Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
5 years agoImprove code coverage in sli adaptors
Smokowski, Kevin (ks6305) [Fri, 26 Jul 2019 20:24:59 +0000 (20:24 +0000)]
Improve code coverage in sli adaptors

increase code coverage in message router in sli adaptors

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

5 years agoMerge "Junit-SvcLogicParserException.java"
Dan Timoney [Thu, 25 Jul 2019 13:56:27 +0000 (13:56 +0000)]
Merge "Junit-SvcLogicParserException.java"

5 years agoMerge "JUNIT-ExitNodeException.java"
Dan Timoney [Thu, 25 Jul 2019 13:56:15 +0000 (13:56 +0000)]
Merge "JUNIT-ExitNodeException.java"

5 years agoMerge "JUNIT-ConfigurationException.java"
Dan Timoney [Thu, 25 Jul 2019 13:44:20 +0000 (13:44 +0000)]
Merge "JUNIT-ConfigurationException.java"

5 years agoJunit-SvcLogicParserException.java
anushadasari [Wed, 24 Jul 2019 07:40:51 +0000 (13:10 +0530)]
Junit-SvcLogicParserException.java

JUNIT for file SvcLogicParserException.java

Issue-ID: CCSDK-1525
Change-Id: I64cebc8a692b2c1700a7a28206c30d1ba4e66fc1
Signed-off-by: anushadasari <danush10@in.ibm.com>
5 years agoJUNIT-ExitNodeException.java
anushadasari [Wed, 24 Jul 2019 07:37:23 +0000 (13:07 +0530)]
JUNIT-ExitNodeException.java

Junit for file ExitNodeException.java

Issue-ID: CCSDK-1524
Change-Id: If94b520053f47db083779dd38c7117a978bd6ae5
Signed-off-by: anushadasari <danush10@in.ibm.com>
5 years agoMerge "JUNIT- DuplicateValueException.java"
Dan Timoney [Thu, 25 Jul 2019 13:41:43 +0000 (13:41 +0000)]
Merge "JUNIT- DuplicateValueException.java"

5 years agoJUNIT-ConfigurationException.java
anushadasari [Tue, 23 Jul 2019 17:36:04 +0000 (23:06 +0530)]
JUNIT-ConfigurationException.java

JUNIT for ConfigurationException.java

Issue-ID: CCSDK-1520
Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e
Signed-off-by: anushadasari <danush10@in.ibm.com>
5 years agoJUNIT- DuplicateValueException.java
anushadasari [Wed, 24 Jul 2019 07:33:00 +0000 (13:03 +0530)]
JUNIT- DuplicateValueException.java

JUNIT for file DuplicateValueException.java

Issue-ID: CCSDK-1523
Change-Id: I08cb7cca1d02cfac5517ec603273b441b7311ff5
Signed-off-by: anushadasari <danush10@in.ibm.com>
5 years agoAdding a test model
Smokowski, Kevin (ks6305) [Tue, 23 Jul 2019 18:26:55 +0000 (18:26 +0000)]
Adding a test model

This test model will be helpful in unit tests

Change-Id: I62f7aa2ed6d1e1ba71c20700a4d29bdca204b4f0
Issue-ID: CCSDK-1521
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
5 years agoconfigurable param resolution
Agarwal, Ruchira (ra1926) [Mon, 22 Jul 2019 20:26:50 +0000 (20:26 +0000)]
configurable param resolution

support config parameter resolution to k8s secret value

Issue-ID: CCSDK-1502
Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com>
Change-Id: I8acc98fa3fdd9ba46c617b4d0113086c1e889997

5 years agoUse getEntity to populate Group-Related tables
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>
5 years agoMerge "Update parent version to 1.3.1"
Dan Timoney [Wed, 17 Jul 2019 20:34:33 +0000 (20:34 +0000)]
Merge "Update parent version to 1.3.1"

5 years agoMerge "Update sshd library version"
Dan Timoney [Wed, 17 Jul 2019 15:13:09 +0000 (15:13 +0000)]
Merge "Update sshd library version"

5 years agoUpdate parent version to 1.3.1
Timoney, Dan (dt5972) [Wed, 17 Jul 2019 15:01:32 +0000 (11:01 -0400)]
Update parent version to 1.3.1

Update parent poms to version 1.3.1-SNAPSHOT

Change-Id: Ie3039a7d625a78b4ef1bf5170dcfe0553f9e9594
Issue-ID: CCSDK-1496
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoUpdate parent version to 1.3.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>
5 years agoUpdate parent version to 1.3.1
Timoney, Dan (dt5972) [Wed, 17 Jul 2019 14:59:25 +0000 (10:59 -0400)]
Update parent version to 1.3.1

Update parent poms to version 1.3.1-SNAPSHOT

Change-Id: I492fb0119507d39ca8ba46762375ca14a0065ab8
Issue-ID: CCSDK-1496
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoUpdate parent version to 1.3.1
Timoney, Dan (dt5972) [Wed, 17 Jul 2019 14:54:34 +0000 (10:54 -0400)]
Update parent version to 1.3.1

Update parent poms to version 1.3.1-SNAPSHOT

Change-Id: I822e73287adcf0edca3283264600a2cbcd4f53b6
Issue-ID: CCSDK-1496
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoUpdate sshd library version
Arindam Mondal [Tue, 16 Jul 2019 04:18:53 +0000 (13:18 +0900)]
Update sshd library version

+)Updated sshd version to 1.7.0
++)Done necessary code changes.

Issue-ID: CCSDK-386
Change-Id: I7272c52c845fac55025cda9e904c74e84cd004e0
Signed-off-by: arind.mondal <arind.mondal@samsung.com>
5 years agoAdd Brinda as committer
Timoney, Dan (dt5972) [Fri, 12 Jul 2019 12:34:30 +0000 (08:34 -0400)]
Add Brinda as committer

Added Brinda as committer to INFO.yaml

Change-Id: I05c80a149f0429065fe42703d655cd89a87d0fec
Issue-ID: CCSDK-1480
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoAdd Brinda as committer
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>
5 years agoAdd Brinda as committer
Timoney, Dan (dt5972) [Fri, 12 Jul 2019 12:31:41 +0000 (08:31 -0400)]
Add Brinda as committer

Added Brinda as committer to INFO.yaml

Change-Id: I621744f0fbdcc914d00a88273f9cb929624c8c44
Issue-ID: CCSDK-1480
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoAdd Brinda as committer
Timoney, Dan (dt5972) [Fri, 12 Jul 2019 12:29:53 +0000 (08:29 -0400)]
Add Brinda as committer

Added Brinda as committer to INFO.yaml

Change-Id: If012bf5ab89fdf7bf680b1cb0e208191e35b5f6c
Issue-ID: CCSDK-1480
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoChange log level for parameter print
Timoney, Dan (dt5972) [Wed, 10 Jul 2019 15:03:36 +0000 (11:03 -0400)]
Change log level for parameter print

Change execute node so that values of parameters are only printed
at TRACE level.

Change-Id: I458e77819eef2f14a9e56db44544c3fd945a5a44
Issue-ID: CCSDK-1465
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoUse getEntity to populate Policy-Related tables
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>
5 years agoLogic change for insertion in to VF_MODULE_TO_VFC_MAPPING
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>
5 years agoMerge "Remove versions from project poms"
Dan Timoney [Wed, 26 Jun 2019 12:51:36 +0000 (12:51 +0000)]
Merge "Remove versions from project poms"

5 years agoMerge "implement message router consumer"
Dan Timoney [Tue, 25 Jun 2019 18:58:07 +0000 (18:58 +0000)]
Merge "implement message router consumer"

5 years agofeature file cleanup
Smokowski, Kevin (ks6305) [Wed, 29 May 2019 21:25:31 +0000 (21:25 +0000)]
feature file cleanup

instead of each feature file starting ccsdk-sli let it be handled by bootfeatures

Change-Id: Ie7f20c8861bf329471c6317ede8128a9c420a9f8
Issue-ID: CCSDK-1370
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
5 years agoMerge "Better support for timeouts in RestApiCallNode"
Dan Timoney [Tue, 25 Jun 2019 18:43:32 +0000 (18:43 +0000)]
Merge "Better support for timeouts in RestApiCallNode"

5 years agoMerge "support yang enumerations with underscores"
Dan Timoney [Tue, 25 Jun 2019 18:37:46 +0000 (18:37 +0000)]
Merge "support yang enumerations with underscores"

5 years agoRemove versions from project poms
Timoney, Dan (dt5972) [Thu, 20 Jun 2019 23:16:28 +0000 (19:16 -0400)]
Remove versions from project poms

Remove versions from project poms and rely instead on dependencyManagement.

Change-Id: I68171346273325e8dee0f7d2538549d2d8c154c8
Issue-ID: CCSDK-1416
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agosupport yang enumerations with underscores
Smokowski, Kevin (ks6305) [Tue, 25 Jun 2019 16:40:05 +0000 (16:40 +0000)]
support yang enumerations with underscores

underscores should be stripeed before Enum.valueOf is called

Change-Id: Ie69e16dbf515b9fc8375bb9be2597198ccbd3c65
Issue-ID: CCSDK-1434
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
5 years agoBetter support for timeouts in RestApiCallNode
Smokowski, Kevin (ks6305) [Tue, 25 Jun 2019 14:53:01 +0000 (14:53 +0000)]
Better support for timeouts in RestApiCallNode

Support connect timeout and read timeout in a configurable way

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

5 years agoRemove versions from project poms
Timoney, Dan (dt5972) [Fri, 21 Jun 2019 21:22:27 +0000 (17:22 -0400)]
Remove versions from project poms

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

Change-Id: I2a3238163e49878c4c7528db1271c83b488263c3
Issue-ID: CCSDK-1416
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoRemove versions from project poms
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>
5 years agoDelete grpc client to CDS
Alexis de Talhouët [Fri, 17 May 2019 17:50:31 +0000 (13:50 -0400)]
Delete grpc client to CDS

Change-Id: I82dc77cbc28d68b06634a67708d29f750cfec2e9
Issue-ID: CCSDK-1340
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
6 years agoRemove versions from project poms
Timoney, Dan (dt5972) [Tue, 18 Jun 2019 19:43:26 +0000 (15:43 -0400)]
Remove versions from project poms

Remove versions from dependencies in project poms and rely instead on
dependencyManagement in parent pom.

Change-Id: I15a8b25281854dfc84e5dafab79ca522b5dc5c0a
Issue-ID: CCSDK-1416
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 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"

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

6 years agoimplement message router consumer
Smokowski, Kevin (ks6305) [Thu, 30 May 2019 22:23:52 +0000 (22:23 +0000)]
implement message router consumer

implement message router consumer

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

6 years agoUse getEntity to populate VFC and AR tables
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>
6 years agoBug fixes/mods to dmaap-listener for SDNR OOF PCI
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

6 years agoUpdate to use standalone pom
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>
6 years agoRemove logging passwords in clear text
Stan Bonev [Fri, 7 Jun 2019 18:31:33 +0000 (14:31 -0400)]
Remove logging passwords in clear text

Change-Id: I21c70038bc19c3bab137fc9604b7b593b6d529e1
Issue-ID: CCSDK-1385
Signed-off-by: Stan Bonev <sb5356@att.com>
6 years agoMdsalhelper toBuilder performance issue
Smokowski, Kevin (ks6305) [Fri, 31 May 2019 18:58:41 +0000 (18:58 +0000)]
Mdsalhelper toBuilder performance issue

Mdsalhelper toBuilder performance issue, no impact

Change-Id: I2788352b0f25f970380f15653008026f8a12a233
Issue-ID: CCSDK-1374
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoimplement generic retry and partners in restapicallnode
Smokowski, Kevin (ks6305) [Fri, 17 May 2019 21:09:28 +0000 (21:09 +0000)]
implement generic retry and partners in restapicallnode

implement generic retry and partners in restapicallnode

Change-Id: I436622dda5a5a83b029c935b929f43e05d37a2a0
Issue-ID: CCSDK-1343
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoRevert "Fixed sonar fix in DataSourceWrap.java"
Timoney, Dan (dt5972) [Tue, 28 May 2019 13:15:39 +0000 (09:15 -0400)]
Revert "Fixed sonar fix in DataSourceWrap.java"

This reverts commit 6c1dee5b7d0e66338100c65efd51917d4f69998f.
Sonar gave bad advice - this change causes connection to be closed
on return to caller, which is useless.

Change-Id: Id428c9058b5e33d72d58bbd951e6cdac2d2d151d
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoFix bug with DMAAP listener for SDNR OOFPCIPOC
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

6 years agoMerge "Add additional SvcLogicParser junit"
Dan Timoney [Fri, 24 May 2019 15:28:45 +0000 (15:28 +0000)]
Merge "Add additional SvcLogicParser junit"

6 years agoMerge "rest api call node unit tests"
Dan Timoney [Fri, 24 May 2019 15:18:57 +0000 (15:18 +0000)]
Merge "rest api call node unit tests"

6 years agoAdd additional SvcLogicParser junit
Smokowski, Kevin (ks6305) [Thu, 23 May 2019 15:50:35 +0000 (15:50 +0000)]
Add additional SvcLogicParser junit

Add additional SvcLogicParser junit

Change-Id: I3186d2ce0981ac20c5655e5f88d8cb2e4ed55b9f
Issue-ID: CCSDK-1361
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoBug fix to add anyxml node.
janani [Thu, 23 May 2019 10:15:14 +0000 (15:45 +0530)]
Bug fix to add anyxml node.

Anyxml node fix

Change-Id: Ice40fde63ac8f589fa9358ebaf12c32247b0ae96
Issue-ID: CCSDK-1344
Signed-off-by: janani <janani.b@huawei.com>
6 years agorest api call node unit tests
Smokowski, Kevin (ks6305) [Wed, 22 May 2019 16:34:44 +0000 (16:34 +0000)]
rest api call node unit tests

rest api call node unit test added for the case in which a template mixes simple and complex json objects.

Change-Id: I6921d6e328b3593464d82b7a45b1844cd88c3476
Issue-ID: CCSDK-1355
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoadd escape and unescape json to SliStringUtils
Smokowski, Kevin (ks6305) [Wed, 22 May 2019 15:31:08 +0000 (15:31 +0000)]
add escape and unescape json to SliStringUtils

Add escape and unescape json to SliStringUtils. Can be useful when creating payloads from escaped json or sending payloads that involved escaped json.

Change-Id: I736024ef91b5e6fff75374802b0fee2370f12b2f
Issue-ID: CCSDK-1353
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoUse getEntity to populate VF Module tables
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>
6 years agoMake MdsalHelper.getFullPropertiesPath generic
Smokowski, Kevin (ks6305) [Fri, 17 May 2019 20:41:13 +0000 (20:41 +0000)]
Make MdsalHelper.getFullPropertiesPath generic

Make MdsalHelper.getFullPropertiesPath generic and have a default for backwards compatibility

Change-Id: I0d5006b895691d2f0fb2b71803324d58c8819956
Issue-ID: CCSDK-1342
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoUpdate to Tosca parser version 1.5.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>
6 years agoUpdating aai adapter to v16 model
prakash.e [Wed, 15 May 2019 12:38:52 +0000 (18:08 +0530)]
Updating aai adapter to v16 model

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

Change-Id: I87030523747c21fcdb2f58ab9cab60124b7f9e25
Issue-ID: SDNC-764
Signed-off-by: Prakash.E <prakash.e@huawei.com>
6 years agoFix CDS client URL and version used by grpc adaptor
Alexis de Talhouët [Mon, 13 May 2019 13:18:45 +0000 (09:18 -0400)]
Fix CDS client URL and  version used by grpc adaptor

Change-Id: I45a24e8b6786cc73ba324e31898f925752c01e5a
Issue-ID: CCSDK-1328 SDNC-760
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
6 years agoRemove DME2 plugin
Smokowski, Kevin (ks6305) [Fri, 10 May 2019 18:41:59 +0000 (18:41 +0000)]
Remove DME2 plugin

dme2 plugin was used to create dme2ingress proxy urls. This class is not generic enough to be useful to a wide audience.

Change-Id: Iadc68d8f22393c3a9a5d21754137cae22b23fafe
Issue-ID: CCSDK-1323
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoReplace output with static constant
Haddox, Anthony [Tue, 7 May 2019 18:52:12 +0000 (11:52 -0700)]
Replace output with static constant

Replacing "output" with static constant OUTPUT.
This also resolves an issue with cross site health
check not being able to parse the health check.

Change-Id: Ie4d3b30b241620d00365d58db7797a5052f60827
Signed-off-by: Haddox, Anthony <ah0647@att.com>
Issue-ID: CCSDK-1312

6 years agoRestapi: DELETE with payload doesn't work
Stan Bonev [Mon, 6 May 2019 14:09:48 +0000 (10:09 -0400)]
Restapi: DELETE with payload doesn't work

Change-Id: I50eeea493197010aba4b37af97dcedb446ed5d10
Issue-ID: CCSDK-1305
Signed-off-by: Stan Bonev <sb5356@att.com>
6 years agoFix SDWAN aai_schema_v14.xsd site-resource parameters
prakash.e [Thu, 2 May 2019 10:52:17 +0000 (16:22 +0530)]
Fix SDWAN aai_schema_v14.xsd site-resource parameters

Added postal-code and city parameters under site-resource
in aai_schema_v14.xsd to update site-resource input
parameters in AAI from SDNC

Change-Id: I9423de1d2362f49be766f054c1cf9df172de4b1e
Issue-ID: SDNC-659
Signed-off-by: Prakash.E <prakash.e@huawei.com>
6 years agoMerge "[CCSDK-1298] Add served-by field"
Dan Timoney [Tue, 30 Apr 2019 21:33:33 +0000 (21:33 +0000)]
Merge "[CCSDK-1298] Add served-by field"

6 years agoRoll master to El Alto
Timoney, Dan (dt5972) [Tue, 30 Apr 2019 15:54:52 +0000 (11:54 -0400)]
Roll master to El Alto

Roll master version to El Alto versions

Change-Id: Ifec94aaab874709c18ffcb03c2b7aa82c23ba2f9
Issue-ID: CCSDK-1222
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years ago[CCSDK-1298] Add served-by field
Haddox, Anthony [Tue, 30 Apr 2019 15:50:45 +0000 (08:50 -0700)]
[CCSDK-1298] Add served-by field

Add served-by field to RPC responses and
output getRequestContent response.

Issue-ID: CCSDK-1298

Change-Id: Ic8c327dd1acc44aeab2c999851b22fdba5eed232
Signed-off-by: Haddox, Anthony <ah0647@att.com>
6 years agoRoll master to El Alto
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>
6 years agoRoll master to El Alto
Timoney, Dan (dt5972) [Tue, 30 Apr 2019 15:28:02 +0000 (11:28 -0400)]
Roll master to El Alto

Roll master version to El Alto versions

Change-Id: I9f83adb1a3ce724cc541465a5af60078a615cd31
Issue-ID: CCSDK-1222
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoRoll master to El Alto
Timoney, Dan (dt5972) [Tue, 30 Apr 2019 13:57:41 +0000 (09:57 -0400)]
Roll master to El Alto

Roll master version to El Alto versions

Change-Id: If761a69b069ab05a6aa598cd583ac4275665e425
Issue-ID: CCSDK-1222
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoUpdate to use released 1.2.2 parent
Timoney, Dan (dt5972) [Wed, 24 Apr 2019 17:55:43 +0000 (13:55 -0400)]
Update to use released 1.2.2 parent

Update to use released 1.2.2 version of parent poms.

Change-Id: I303781ad2d8946a942212780884a96c1ac34d75c
Issue-ID: CCSDK-1222
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoUpdate to use released 1.2.2 parent
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>
6 years agoUpdate to use released 1.2.2 parent
Timoney, Dan (dt5972) [Wed, 24 Apr 2019 16:34:28 +0000 (12:34 -0400)]
Update to use released 1.2.2 parent

Update to use released 1.2.2 version of parent poms.

Change-Id: I90b5eebf030d746ff5f6166836d9dc88ad271e6e
Issue-ID: CCSDK-1222
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoUpdate to use released 1.2.2 parent
Timoney, Dan (dt5972) [Wed, 24 Apr 2019 16:03:12 +0000 (12:03 -0400)]
Update to use released 1.2.2 parent

Update to use released 1.2.2 version of parent poms.

Change-Id: I2edaa726e871ec3ad3bf1aa1cc3d592c79ca6c92
Issue-ID: CCSDK-1222
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoTest coverage imporvement and code refactoring of restconf discovery node.
Vidyashree Rama [Tue, 23 Apr 2019 03:59:36 +0000 (09:29 +0530)]
Test coverage imporvement and code refactoring of restconf discovery node.

Test coverage imporvement and code refactoring of restconf discovery node.

Issue-ID: CCSDK-1236

Change-Id: Ic44899d71b92be3d7b88be3abb0feb311e6ad8c0
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
6 years agoMerge "[CCSDK-1241] Increase GRToolkit Unit Test Coverage"
Dan Timoney [Fri, 19 Apr 2019 00:28:37 +0000 (00:28 +0000)]
Merge "[CCSDK-1241] Increase GRToolkit Unit Test Coverage"

6 years agoMerge "Code refactoring in restconf client yang serialisers."
Dan Timoney [Fri, 19 Apr 2019 00:13:50 +0000 (00:13 +0000)]
Merge "Code refactoring in restconf client yang serialisers."

6 years ago[CCSDK-1241] Increase GRToolkit Unit Test Coverage
Haddox, Anthony [Wed, 17 Apr 2019 16:07:36 +0000 (09:07 -0700)]
[CCSDK-1241] Increase GRToolkit Unit Test Coverage

Add unit tests for GRToolkit. Slight changes to make
code testable.

Change-Id: Ib435da58b62e7b8edda4876f0f3a262cbc41a8ca
Issue-ID: CCSDK-1241
Signed-off-by: Haddox, Anthony <ah0647@att.com>
6 years agoCode refactoring in restconf client yang serialisers.
Vidyashree Rama [Wed, 17 Apr 2019 03:40:56 +0000 (09:10 +0530)]
Code refactoring in restconf client yang serialisers.

1. logging the exception when handling underscore in yang serialisers
2. Refactor code to not nest more than 3 if/for statements
3. Throw SvcLogicException instead of generic
4. Reduce switch case number of lines from 8 to at most 5

Issue-ID: CCSDK-1236
Change-Id: Ic02ba424c2d1748d071e38d25ae159f5d8bd6451
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
6 years agoRestapicallnode with cookie based auth
Gaurav Agrawal [Tue, 16 Apr 2019 06:30:40 +0000 (12:00 +0530)]
Restapicallnode with cookie based auth

Validate the cookie based auth feature of RestApiCallNode
Fix multipart form data test to stop server after completion to avoid impacting
other testcases

Change-Id: I221b668978abf630f35cbb213687a25cc0de8b79
Issue-ID: CCSDK-239
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
6 years agoAdd test case for multi part form data
Vidyashree Rama [Fri, 12 Apr 2019 08:51:37 +0000 (14:21 +0530)]
Add test case for multi part form data

Add test case for multipart form data in restapicallnode

Issue-ID: CCSDK-239

Change-Id: Icad15bce57455ed2c1cbf4779cf8b0820fa24dc9
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
6 years agoAdd support for multi part form data
Gaurav Agrawal [Fri, 12 Apr 2019 04:38:20 +0000 (10:08 +0530)]
Add support for multi part form data

Add support for multipart form data in CCSDK

Change-Id: Iacc35efe28b9d91afcfc1e87e0faf41fc74d5c8a
Issue-ID: CCSDK-239
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
6 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"

6 years agoAdd missing GetOutput method in ansible-adapter
Enbo Wang [Sun, 14 Apr 2019 15:51:33 +0000 (23:51 +0800)]
Add missing GetOutput method in ansible-adapter

Add missing GetOutput method in ansible-adapter for ansible-server.

Change-Id: Ifc544176b86fc033f2760a6b02d18f6e29bfd88a
Issue-ID: CCSDK-1225
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
6 years agoJUNIT tests for SDNR OOF PCI Dmaap Listener
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>
6 years agoAdd missing payload in output of callDG in LcmProvider
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>
6 years agoInvalid package name for restapicallnode test
Vidyashree Rama [Fri, 12 Apr 2019 09:51:56 +0000 (15:21 +0530)]
Invalid package name for restapicallnode test

Invalid package name for restapicallnode test

Issue-ID: CCSDK-1218

Change-Id: Ie0275fa333183dc017c1cf0cc65a4cad87b226f0
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
6 years agoDMAAP Listener support for SDNR OOF PCI
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>
6 years agoadd support for SendError in LoggingFilter
Agarwal, Ruchira (ra1926) [Tue, 9 Apr 2019 00:08:10 +0000 (00:08 +0000)]
add support for SendError in LoggingFilter

Fix for illegalStateException in loggingFilter

Change-Id: I357266468a3a9ed11c1d1aeeeb31b52dc653c432
Issue-ID: CCSDK-1198
Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com>
6 years agoReplacing ":" by "_" for parameters
janani b [Fri, 5 Apr 2019 12:53:44 +0000 (18:23 +0530)]
Replacing ":" by "_" for parameters

Supporting "_" to be present for module name seperator while giving parameters in DG node.

Issue-ID: CCSDK-1045

Change-Id: I008fa8503f1314e593f96393121a02f429bac636
Signed-off-by: janani b <janani.b@huawei.com>
6 years agoFixing Log Filter Exception in Finally Block
Singal, Kapil (ks220y) [Wed, 3 Apr 2019 22:24:45 +0000 (18:24 -0400)]
Fixing Log Filter Exception in Finally Block

sli-core filters: Fixing RequestResponseLoggingFilter.java which throws Exception in Finally Block

Change-Id: Id5beb4ed320b85a4ffcaff603bacb4b1789d501e
Issue-ID: CCSDK-1198
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
6 years agoFix version of cds dependency
Timoney, Dan (dt5972) [Tue, 2 Apr 2019 21:08:59 +0000 (14:08 -0700)]
Fix version of cds dependency

Updated version from .version to a new property ccsdk.cds.version

Change-Id: I10881b247353148f8a52b279e2dcfc5066493921
Issue-ID: CCSDK-1194
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoResolve jersey conflict
Timoney, Dan (dt5972) [Tue, 2 Apr 2019 17:23:20 +0000 (10:23 -0700)]
Resolve jersey conflict

Updated aai-service to use glassfish version of jersey.  Note: there
might be additional work needed to handle host name verification
properly (jersey 2 handles that differently - see details
in jira)

Change-Id: I0bd6df2e0ebf222f730aa02e99d4b032fd492bef
Issue-ID: CCSDK-1192
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoRestApiCallNode HTTP method patch not working
Smokowski, Kevin (ks6305) [Tue, 2 Apr 2019 13:38:06 +0000 (13:38 +0000)]
RestApiCallNode HTTP method patch not working

RestApiCallNode patch not working after upgrading from sun jersey to glassfish, apply workaround

Change-Id: I3a36b9c0c8b241b46059edec08fb80087e67fd93
Issue-ID: CCSDK-1191
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agomessage router publisher changes
Smokowski, Kevin (ks6305) [Thu, 28 Mar 2019 14:45:52 +0000 (14:45 +0000)]
message router publisher changes

resolve message router publisher namespace issues

Resolve issues loading message-router in odlsli container

Change-Id: Ib36bced43129c735c61d5ff7bb0cf29362bb7779
Issue-ID: CCSDK-1186
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
6 years agoInstall cds proto.definition
Timoney, Dan (dt5972) [Thu, 28 Mar 2019 16:49:35 +0000 (12:49 -0400)]
Install cds proto.definition

Update grpc-resource/installer/pom.xml to install cds proto.definition
dependency

Change-Id: I4d6609055674ff26ec73941691d44e0d78809573
Issue-ID: CCSDK-1178
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
6 years agoUpdated edgeRouterStatusChange.map
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>
6 years agoMigrate ccsdk/apps to ccsdk/cds
Alexis de Talhouët [Mon, 25 Mar 2019 19:32:28 +0000 (15:32 -0400)]
Migrate ccsdk/apps to ccsdk/cds

Change-Id: Ieb1c7dc273c6b7d302de168689c362f8202bf5ba
Issue-ID: CCSDK-1178
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
6 years agoFix jackson version
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>