ccsdk/sli/adaptors.git
5 years agoSaltStack adaptor API creation 23/55523/1
Ganesh Chandrasekaran [Thu, 28 Jun 2018 08:39:09 +0000 (17:39 +0900)]
SaltStack adaptor API creation

Issue-ID: CCSDK-319
Change-Id: Iaa96550a3b246a53cd8db6431fdc649dc8032feb
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoAdd feature aggregator 83/55283/1
Timoney, Dan (dt5972) [Fri, 22 Jun 2018 19:50:29 +0000 (15:50 -0400)]
Add feature aggregator

Add feature aggregator ccsdk-sli-adaptors-all to install all adaptor
features.

Change-Id: I8e0fa515a18f62a5ca0530d79a1334942c71e5e0
Issue-ID: CCSDK-281
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoUpdate sli/adaptors to ODL Oxygen 95/54995/2
Timoney, Dan (dt5972) [Fri, 15 Jun 2018 22:25:23 +0000 (18:25 -0400)]
Update sli/adaptors to ODL Oxygen

Update sli/adaptors to compile against ODL Oxygen parent poms.

Change-Id: I112c5aa56dd985ad0e7e361d3839ec7069e5641c
Issue-ID: CCSDK-281
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoCorrected Access Specifier modification 79/48179/2
Rich Tabedzki [Fri, 18 May 2018 14:11:53 +0000 (10:11 -0400)]
Corrected Access Specifier modification

Changes made:
* Removed calls to Method::setAccessible(true)

Change-Id: I5a73939383859cb7e5a241be8b3d4f52cea3c45a
Issue-ID: CCSDK-287
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
5 years ago[CCSDK-245] RA: Refactor RA to make it generic 49/47649/3
sb5356 [Tue, 15 May 2018 15:58:17 +0000 (11:58 -0400)]
[CCSDK-245] RA: Refactor RA to make it generic

Resource allocator is cleaned up and refactored so it does not contain
any service specific logic.

Issue-ID: CCSDK-245
Change-Id: Ib948eb813020fbe7dc779148e412de1e074b300b
Signed-off-by: sb5356 <sb5356@att.com>
5 years agoRoll version for Casablanca 49/50749/1
Timoney, Dan (dt5972) [Wed, 6 Jun 2018 17:56:45 +0000 (13:56 -0400)]
Roll version for Casablanca

Roll version for Casablanca development start

Change-Id: I18e7bbd6dfb2cdcc7bf302411c03ee298ec76be6
Issue-ID: CCSDK-295
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoUse released parent pom 13/49813/1 2.0.0-ONAP beijing 2.0.0-ONAP v0.2.4
Timoney, Dan (dt5972) [Thu, 31 May 2018 18:23:27 +0000 (14:23 -0400)]
Use released parent pom

Update to use release parent pom version 1.0.4

Change-Id: Ie5aff311743e9b962cfbdd319ba08ae49c3a4380
Issue-ID: CCSDK-291
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoRoll version to 0.2.4 35/49635/1
Timoney, Dan (dt5972) [Wed, 30 May 2018 21:36:02 +0000 (17:36 -0400)]
Roll version to 0.2.4

Roll version to 0.2.4-SNAPSHOT and version 1.0.4-SNAPSHOT of
parent

Change-Id: I9580fef343410c3bd42caf2a1a05b833fb617541
Issue-ID: CCSDK-291
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoUpdate to release version parent 1.0.3 19/48819/1 v0.2.3
Stilwell, David (stilwelld) [Wed, 23 May 2018 21:13:04 +0000 (17:13 -0400)]
Update to release version parent 1.0.3

Update parent version to remove -SNAPSHOT (1.0.3)

Change-Id: I03d804016c5007cbbdbaca026a0b7006fddc69d8
Issue-ID: CCSDK-290
Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
5 years agoRoll to next snapshot version 33/48733/1
Stilwell, David (stilwelld) [Wed, 23 May 2018 16:37:38 +0000 (12:37 -0400)]
Roll to next snapshot version

Changed to 0.2.3-SNAPSHOT and updated parent to 1.0.3-SNAPSHOT

Change-Id: Ie61b39952f6504db8ae2adf0614aefc243294461
Issue-ID: CCSDK-290
Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
5 years agoRemove ref to parent snapshot 77/48377/1
Timoney, Dan (dt5972) [Mon, 21 May 2018 20:13:13 +0000 (13:13 -0700)]
Remove ref to parent snapshot

Remove reference to 1.0.2-SNAPSHOT version of parent.

Change-Id: Ic014b0f729faec035904441d1ef71b41d03c643e
Issue-ID: CCSDK-290
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoPublish mdsal-resource OSGi services 21/48121/2
Timoney, Dan (dt5972) [Thu, 17 May 2018 22:44:59 +0000 (18:44 -0400)]
Publish mdsal-resource OSGi services

Added Aries blueprint to advertise OSGi services.  Updated
to use release 1.0.2 version of CCSDK parent poms.

Change-Id: I92fb652b975c4fd59e173c103350934b94d190d3
Issue-ID: CCSDK-289
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "Provide support for properties encryption"
Dan Timoney [Fri, 11 May 2018 19:01:12 +0000 (19:01 +0000)]
Merge "Provide support for properties encryption"

6 years agoSet default http client type 35/47135/2
Timoney, Dan (dt5972) [Thu, 10 May 2018 21:23:13 +0000 (17:23 -0400)]
Set default http client type

If ansible-adapter.properties cannot be found, default the http client
type.

Change-Id: Iddebd8f1b6ff1a70d6dfbf78105d305bf1870e03
Issue-ID: CCSDK-273
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoAdd INFO.yaml file 99/46099/2
Jessica Wagantall [Fri, 4 May 2018 00:27:15 +0000 (17:27 -0700)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: I2e1916eaa3f50ce63ef113077fd157d69a9e24d2
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoProvide support for properties encryption 37/46637/2
Rich Tabedzki [Tue, 8 May 2018 15:28:59 +0000 (11:28 -0400)]
Provide support for properties encryption

Changes made:
* Implemented code to decrypt password field in property file
* added support to handle new field of relationship-label in Relationship

Change-Id: Icc289f617d8b5ad1f338e2adc70d61620b5a7b61
Issue-ID: CCSDK-182
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoAdd missing EELF dependency 25/45925/1
Timoney, Dan (dt5972) [Thu, 3 May 2018 17:16:40 +0000 (13:16 -0400)]
Add missing EELF dependency

Add missing dependency in ansible-bundle pom.xml on EELF library.
This missing dependency causes local build to fail.

Change-Id: Iedb6b67d7ba92c7b37cd27cf89f060b793fd464f
Issue-ID: CCSDK-264
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoRoll versions step 3 : sli/adaptors poms 13/45213/3
Timoney, Dan (dt5972) [Sun, 29 Apr 2018 23:06:43 +0000 (19:06 -0400)]
Roll versions step 3 : sli/adaptors poms

Roll version for next release candidate

Change-Id: I8100873602b3a4c4fb9cb19876377d9af32e31ab
Issue-ID: CCSDK-257
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "Fix ansible-adapter dependencies" v0.2.1
Dan Timoney [Wed, 25 Apr 2018 16:52:22 +0000 (16:52 +0000)]
Merge "Fix ansible-adapter dependencies"

6 years agoFix ansible-adapter dependencies 89/44389/1
Timoney, Dan (dt5972) [Tue, 24 Apr 2018 15:10:08 +0000 (11:10 -0400)]
Fix ansible-adapter dependencies

Ansible-adapter pom included unnecessary dependencies, which caused problems
when attempting to install in karaf.

Change-Id: I7017a25a4d45ab8a75dd7599d10e466ef16d2e6f
Issue-ID: CCSDK-251
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoFixing trustStore issues in AAI Client 35/44235/6
Rich Tabedzki [Mon, 23 Apr 2018 19:50:06 +0000 (15:50 -0400)]
Fixing trustStore issues in AAI Client

Changes made:
* Updated AAI XSD model to v13
* Updated AAI interface path definitions

Change-Id: I047845e574734b45dda67e1f84b3bb07dacca426
Issue-ID: CCSDK-247
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoFix ansible adapter features pom.xml 51/44051/1
Timoney, Dan (dt5972) [Sat, 21 Apr 2018 21:54:04 +0000 (17:54 -0400)]
Fix ansible adapter features pom.xml

Removed incorrect <version> tag from ansible-adapter's single
feature pom.xml

Change-Id: I8c38f2ff032d0fcc0390b56467c779a2025c1ae1
Issue-ID: CCSDK-248
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoFix feature dependency versions 83/43983/1
Timoney, Dan (dt5972) [Fri, 20 Apr 2018 18:25:32 +0000 (14:25 -0400)]
Fix feature dependency versions

Fix single-feature pom.xmls to use version of sli/core artifactsi
specified in parent poms, as opposed to project.version, which
is incorrect and causes release build to break.

Change-Id: Iec00a73b1b4adf9e8fecdb190385bb35ab1fe1c7
Issue-ID: CCSDK-248
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "Fix version plugin issue"
Dan Timoney [Wed, 18 Apr 2018 21:01:37 +0000 (21:01 +0000)]
Merge "Fix version plugin issue"

6 years agoFix version plugin issue 03/43603/1
Timoney, Dan (dt5972) [Wed, 18 Apr 2018 19:28:17 +0000 (15:28 -0400)]
Fix version plugin issue

Version plugin not working due to missing relativePath tags in
parents and bad parent in top level pom.

Change-Id: I24ac8c4409e1bb87331850b57e4af46505c1aa27
Issue-ID: CCSDK-242
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "Resolved issues associated with AAI Model"
Dan Timoney [Wed, 18 Apr 2018 14:15:57 +0000 (14:15 +0000)]
Merge "Resolved issues associated with AAI Model"

6 years agoResolved issues associated with AAI Model 19/43519/2
Rich Tabedzki [Wed, 18 Apr 2018 13:47:29 +0000 (09:47 -0400)]
Resolved issues associated with AAI Model

Changes made:
* Add support for primary identifier of type int in XSD generated model

Change-Id: I9c7afe869d91b4149f5dd238ca86f32b2efb52c3
Issue-ID: CCSDK-246
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoRemove unnecessary cast 03/43403/2
Timoney, Dan (dt5972) [Tue, 17 Apr 2018 17:10:15 +0000 (13:10 -0400)]
Remove unnecessary cast

Remove case in decryptColumn(), which (a) is no longer necessary and
(b) throws a ClassNotFoundException when loaded via Aries Blueprint

Change-Id: Ie5e748e0d53875bd9f912572e24763bdeb9cb82f
Issue-ID: CCSDK-244
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoFix properties precedence 95/43095/1
Timoney, Dan (dt5972) [Mon, 16 Apr 2018 16:34:29 +0000 (12:34 -0400)]
Fix properties precedence

Updated aai-service so that /aaiclient.properties
has highest precedence, over any properties bundled within
the jar / karaf container.

Change-Id: I5289889d5afc7fa5ae9deac92b5826e2087a329d
Issue-ID: CCSDK-243
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoUsed secure random number generation 05/42405/1
prakash.e [Thu, 12 Apr 2018 06:13:49 +0000 (11:43 +0530)]
Used secure random number generation

Issue-ID: CCSDK-184
Change-Id: I00719fb778a6ab7dc964bb1e4710a9014ba51fcd
Signed-off-by: prakash.e <prakash.e@huawei.com>
6 years agoFix ansible-adapter build 67/41467/1
Timoney, Dan (dt5972) [Fri, 6 Apr 2018 21:26:45 +0000 (17:26 -0400)]
Fix ansible-adapter build

sli/adaptors merge build fails due to missing groupId and version
tags in ansible-adapter-features pom.xml

Change-Id: Idf9543d6ee6cb4162a69efd6ebfe41661e472a54
Issue-ID: CCSDK-179
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoDelete extraneous log dirs 13/40513/1
Ruchira Agarwal [Mon, 2 Apr 2018 13:10:55 +0000 (13:10 +0000)]
Delete extraneous log dirs

Log directories should not be committed

Change-Id: Ia0cf39110e32999522a6b87d930c9bb600ebeff2
Issue-ID: CCSDK-172
Signed-off-by: Ruchira Agarwal <ra1926@att.com>
6 years agoAdd ansible adapter to CCSDK 17/40217/1
Timoney, Dan (dt5972) [Thu, 29 Mar 2018 16:31:45 +0000 (12:31 -0400)]
Add ansible adapter to CCSDK

Copy APP-C Ansible adaptor to CCSDK

Change-Id: Ie7f0662befd5cff446f2b2351a233bcfa7d6f4c0
Issue-ID: CCSDK-172
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agocoverage SqlResourcePropertiesProviderImpl 09/39609/1
prakash.e [Wed, 28 Mar 2018 11:01:50 +0000 (16:31 +0530)]
coverage SqlResourcePropertiesProviderImpl

Coverage improvement for SqlResourcePropertiesProviderImpl
https://jira.onap.org/browse/CCSDK-213?jql=project%20%3D%20CCSDK%20AND%20text%20~%20coverage

Issue-ID: CCSDK-213
Change-Id: I5e9fe5a223918d4111c937463078d5b69609f6c4
Signed-off-by: prakash.e <prakash.e@huawei.com>
6 years agoImprove code coverage in AAIService module 81/39281/2
Rich Tabedzki [Tue, 27 Mar 2018 20:47:02 +0000 (20:47 +0000)]
Improve code coverage in AAIService module

Changes made:
* added new unit test PathCreationTest to test CRUD API of AAIService

Change-Id: I85f4df8bfed786324db717faf1c1ccc827ffc4dd
Issue-ID: CCSDK-149
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoUpdate adaptors witj junits 73/39173/1
Ruchira Agarwal [Tue, 27 Mar 2018 16:54:01 +0000 (16:54 +0000)]
Update adaptors witj junits

Adding junits for adaptor aai-service query and update

Change-Id: I4b95e90ce3c8e2a8a52448cca578e34d51ecc581
Issue-ID: CCSDK-225
Signed-off-by: Ruchira Agarwal <ra1926@att.com>
6 years agoAdd junit for adaptors 11/38711/1
Ruchira Agarwal [Mon, 26 Mar 2018 22:40:01 +0000 (22:40 +0000)]
Add junit for adaptors

Added new junits for aai-service

Change-Id: Ia717d0e6180f9fd8ecd9d98935d5ceeeaa69530c
Issue-ID: CCSDK-225
Signed-off-by: Ruchira Agarwal <ra1926@att.com>
6 years agoAdd default SqlResource constructor 87/37587/1
Timoney, Dan (dt5972) [Wed, 21 Mar 2018 21:34:27 +0000 (17:34 -0400)]
Add default SqlResource constructor

Add default constructor for SqlResource class.

Change-Id: Id23dc1c391fac66fae7c2bb2b6170f049efe5940
Issue-ID: CCSDK-220
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoImprove code coverage metrics in AAIService module 99/37199/1
Rich Tabedzki [Tue, 20 Mar 2018 17:37:13 +0000 (17:37 +0000)]
Improve code coverage metrics in AAIService module

Changes made:
* added new unit test GenericVnfTest to test CRUD API of AAIService

Change-Id: Ifbc2692f47507ec72fdce93d2fd4e4ee02133cad
Issue-ID: CCSDK-149
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoImprove code metrics in AAIService module 31/37131/2
Rich Tabedzki [Tue, 20 Mar 2018 14:21:40 +0000 (14:21 +0000)]
Improve code metrics in AAIService module

Changes made:
* Created unit test cases for classes that did not have coverage JUnit test yet created

Change-Id: I0ce02a1f2e48909e44dde691bb56371da09ad834
Issue-ID: CCSDK-149
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoMerge "Add missing libraries"
Dan Timoney [Mon, 19 Mar 2018 16:46:50 +0000 (16:46 +0000)]
Merge "Add missing libraries"

6 years agoAdd missing libraries 45/36745/1
Timoney, Dan (dt5972) [Mon, 19 Mar 2018 14:54:41 +0000 (10:54 -0400)]
Add missing libraries

Updated resource-assignment feature installer to install dependent
libraries if not already installed.

Change-Id: If5df396f1428e4ce8f498acfd3621d429b5489a2
Issue-ID: CCSDK-215
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoImprove code metrics for AAIService 87/36287/2
Rich Tabedzki [Fri, 16 Mar 2018 20:36:40 +0000 (20:36 +0000)]
Improve code metrics for AAIService

Changes made:
* Created unit test cases for classes that did not have coverage JUnit test yet created

Change-Id: I03ce129317d3c2b8715588e0f8e4cb9d814c274a
Issue-ID: CCSDK-149
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoConvert sql-resource provider to blueprint 93/34893/3
Rich Tabedzki [Fri, 9 Mar 2018 04:28:34 +0000 (04:28 +0000)]
Convert sql-resource provider to blueprint

Changes made:
* Updated SqlResource class to include data members referenced in blueprint.xml
* Added SqlResourceProvider class to resolve properties file
* Added sql-resource-blueprint.xml
* Removed SqlResource Activator
* Added unit test for SqlResourceProvider

Change-Id: Ia2bcc241c3c063176ac2b986f603a1915ba105b2
Issue-ID: CCSDK-206
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoFix POM versions 33/33833/1
Timoney, Dan (dt5972) [Fri, 2 Mar 2018 18:10:30 +0000 (13:10 -0500)]
Fix POM versions

Fixed versions in pom.xmls and added empty relativePath
tag to parents.

Change-Id: Ie7be2d4d3d05e769f6e02f35a3a8e9f928bc62cf
Issue-ID: CCSDK-176
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
6 years agoMerge "Remove unnecessary jar from resource-assignment"
Dan Timoney [Tue, 27 Feb 2018 19:10:51 +0000 (19:10 +0000)]
Merge "Remove unnecessary jar from resource-assignment"

6 years agoMerge "Fix installation issues"
Dan Timoney [Tue, 27 Feb 2018 18:36:47 +0000 (18:36 +0000)]
Merge "Fix installation issues"

6 years agoRemove unnecessary jar from resource-assignment 29/33229/1
Dan Timoney [Tue, 27 Feb 2018 18:35:58 +0000 (13:35 -0500)]
Remove unnecessary jar from resource-assignment

Resource-assignment was re-installing sli/core util package.

Change-Id: I98683496c216ae0cdc3d15eb3640fa9c6faa2ed8
Issue-ID: CCSDK-176
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoFix installation issues 21/32921/1
Dan Timoney [Mon, 26 Feb 2018 16:17:08 +0000 (11:17 -0500)]
Fix installation issues

Aai-service did not install cleanly due to incorrect dependencies.

Change-Id: Ifaad564c4f23be45024b840118af17a9808da565
Issue-ID: CCSDK-176
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoImproved Java Code Conventions compliance 23/32823/4
Rich Tabedzki [Mon, 26 Feb 2018 00:46:36 +0000 (00:46 +0000)]
Improved Java Code Conventions compliance

Changes made:
* Fixed Code conventions bugs
* Added test classes to improve code coverage

Change-Id: Id524d002cb4fa1bf973be2cfb90729199af94d8e
Issue-ID: CCSDK-151
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoNitrogen port : mdsal/sql 15/32015/3
Dan Timoney [Fri, 16 Feb 2018 22:12:41 +0000 (17:12 -0500)]
Nitrogen port : mdsal/sql

Update mdsal-resource and sql-resource to support ODL Nitrogen

Change-Id: Id7f7ac2da0de9d034e052ee16ef9c2a765a056bf
Issue-ID: CCSDK-176
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoNitrogen port : aai-service 79/31879/2
Dan Timoney [Thu, 15 Feb 2018 21:13:28 +0000 (16:13 -0500)]
Nitrogen port : aai-service

Update aai-service for ODL Nitrogen release

Change-Id: I463e47ff4738233e5ceae30fd797a8b00a7fa93f
Issue-ID: CCSDK-176
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoFixed issues related to Java Code Conventions 79/31079/1
Rich Tabedzki [Fri, 9 Feb 2018 13:56:15 +0000 (13:56 +0000)]
Fixed issues related to Java Code Conventions

Changes made:
* corrected sonar related issues in AAIRequest, AAIService, AAIServiceUtils, GenericRequest

Change-Id: Ib9dd6dd7f4b684dfac493c8ea15aa9ec71dd9a86
Issue-ID: CCSDK-151
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoFixed as per Java Code Conventions 91/30691/6
Rich Tabedzki [Wed, 7 Feb 2018 16:24:22 +0000 (16:24 +0000)]
Fixed as per Java Code Conventions

Changes made:
 * corrected sonar related issues in AAIClientRESTExecutor

Change-Id: I9861207fa612c11fb0a872be24085c3db488fd40
Issue-ID: CCSDK-151
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoFixed as per Java Code Conventions 47/29247/2
Rich Tabedzki [Fri, 26 Jan 2018 03:12:10 +0000 (03:12 +0000)]
Fixed as per Java Code Conventions

Changes made:
* corrected sonar related issues in AAIClient, AAIDeclarations and AAIRequest

Change-Id: Iaad7a0db060bbba81e23d3f63f1ef6c023431102
Issue-ID: CCSDK-151
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoConvert aai-service provider to blueprint 41/28941/7
Rich Tabedzki [Tue, 23 Jan 2018 16:24:06 +0000 (16:24 +0000)]
Convert aai-service provider to blueprint

Changes made:
* Updated aai-serice pom.xml to include core/utils bundle
* Added aaiservice-blueprint.xml
* Removed definition for AAIService Activator

Change-Id: If77db85b1f76cfdd54858a5ed4bf887bfd803cec
Issue-ID: CCSDK-171
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoFixed as per Java Code Conventions 17/27217/1
Rich Tabedzki [Tue, 2 Jan 2018 13:23:04 +0000 (13:23 +0000)]
Fixed as per Java Code Conventions

Changes made:
* removed unused and deprecated code from AAIClientRESTExecutor
* updated aaiclient.properties

Change-Id: If085d27999c13c7abcb714ac3ef59dd099890af9
Issue-ID: CCSDK-137
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoIsolate deprecated code in CCSDK aai-service 65/26465/1
Rich Tabedzki [Mon, 18 Dec 2017 19:47:17 +0000 (19:47 +0000)]
Isolate deprecated code in CCSDK aai-service

Changes made:
* removed deprecated methods no longer used in AAI Service feature.
* Externalize inner class AAIExecutor as AAIClientRESTExecutor to improve clarity and modularity of code.

Change-Id: Ifd68fb931fbf03e451462993b760a7c29e8a8e2d
Issue-ID: CCSDK-137
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoBump minor version 47/24747/1
Dan Timoney [Tue, 21 Nov 2017 19:31:45 +0000 (14:31 -0500)]
Bump minor version

Bump minor version and reset build for Beijing development

Change-Id: Ie4e0bc53c1b378d59dc0ec2504cf92a36f8ff04f
Issue-ID: CIMAN-120
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoBump minor version 09/24009/1
Jessica Wagantall [Fri, 17 Nov 2017 07:44:30 +0000 (23:44 -0800)]
Bump minor version

Bump minor version in preparation for Amsterdam
branching.

Change-Id: I9cb31d280b5a76714818c61c8871c25553b883b0
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoRm docs in repo consolidated w/ ccsdk/distribution 85/23585/1
Rich Bennett [Wed, 15 Nov 2017 11:31:15 +0000 (06:31 -0500)]
Rm docs in repo consolidated w/ ccsdk/distribution

Change-Id: I5085558d0ce2d4eea4edea1a06eb463cec48a7bc
Issue-ID: DOC-130
Signed-off-by: Rich Bennett <rb2745@att.com>
6 years agoMerge "Roll to version 0.1.1-SNAPSHOT"
Dan Timoney [Thu, 9 Nov 2017 12:42:16 +0000 (12:42 +0000)]
Merge "Roll to version 0.1.1-SNAPSHOT"

6 years agoRoll to version 0.1.1-SNAPSHOT 25/22925/2
Dan Timoney [Thu, 9 Nov 2017 12:16:55 +0000 (07:16 -0500)]
Roll to version 0.1.1-SNAPSHOT

Roll to next release version

Change-Id: I6256aa3e20e6d03edf02ea2f049ca425944dc605
Issue-ID: CCSDK-141
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoFix Doc 8 errors when genreating the documentation 19/22719/1
Morgan Richomme [Wed, 8 Nov 2017 07:50:03 +0000 (08:50 +0100)]
Fix Doc 8 errors when genreating the documentation

JIRA: CCSDK-139

Change-Id: I4431ca9471a287c262aa1e9e6ca5e79ebfb96d87
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoUpdate aai-service request processing 19/22519/1 1.0.0-Amsterdam 1.0.0-ONAP v0.1.0
Rich Tabedzki [Tue, 7 Nov 2017 14:05:51 +0000 (14:05 +0000)]
Update aai-service request processing

Changes made:
* update processing of AAI add relationship request to include processing of related-to-property data

Change-Id: I4e694b9476a7f6c187b085ce00e6768e1a2eff22
Issue-ID: SDNC-161
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoMerge "Support AAI adapter to store metadata on service"
Dan Timoney [Mon, 30 Oct 2017 14:10:45 +0000 (14:10 +0000)]
Merge "Support AAI adapter to store metadata on service"

6 years agoUse version 0.1.0 of parent 07/20607/1
Dan Timoney [Wed, 25 Oct 2017 19:30:09 +0000 (15:30 -0400)]
Use version 0.1.0 of parent

Update to use version 0.1.0 (released version) of parent pom

Change-Id: Ib7c9c226f2611351b048046ca9c990ed36f445c5
Issue-ID: CCSDK-80
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoUse dblib.properties for dblib service 49/20549/1
Dan Timoney [Wed, 25 Oct 2017 13:04:40 +0000 (09:04 -0400)]
Use dblib.properties for dblib service

If dblib service cannot be resolved via OSGi, the fallback logic
that creates a new instance of DBResourceManager should
pass the contents of /opt/sdnc/data/properties/dblib.properties
as properties to the DBResourceManager constructor instead
of just passing System.getProperties().

Change-Id: Ia6ac8a4bb229026cabdf07463ca25619f923e3f3
Issue-ID: CCSDK-126
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoSupport AAI adapter to store metadata on service 27/20527/1
Author Name [Wed, 25 Oct 2017 09:34:07 +0000 (15:04 +0530)]
Support AAI adapter to store metadata on service

Change-Id: I856d1bfb474eabd5836cd36bde52ce65089ec668
Issue-ID : CCSDK-127
Signed-off-by: shalmonw <shalmonwaidande@gmail.com>
6 years agoMerge "Fix release version"
Dan Timoney [Wed, 25 Oct 2017 00:23:41 +0000 (00:23 +0000)]
Merge "Fix release version"

6 years agoFix release version 63/20463/1
Dan Timoney [Wed, 25 Oct 2017 00:15:24 +0000 (20:15 -0400)]
Fix release version

version.properties contains wrong setting for release version

Change-Id: Iecbd9b852955af2d1a1e00290e9fed546ed7d6c2
Issue-ID: CCSDK-80
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoDBLIB_SERVICE variable change to interface name 39/20339/1
SudhakarReddy [Tue, 24 Oct 2017 11:45:08 +0000 (17:15 +0530)]
DBLIB_SERVICE variable change to interface name

Variable changed to get the reference of DBResourceManager
dblib-blueprint shows the interface as a service reference

Change-Id: Ia65d07cadaac798f60ff307afb962d1b161109fb
Issue-ID: CCSDK-126
Signed-off-by: SudhakarReddy <Sudhakar.reddy@amdocs.com>
6 years agoUpdate CCSDK aai-service AAI schema definition 41/20241/1
Rich Tabedzki [Mon, 23 Oct 2017 20:31:35 +0000 (20:31 +0000)]
Update CCSDK aai-service AAI schema definition

Changes made:
* update XSD model document with the latest version published by AAI Team
* update AAI Service path list from the latest version published by AAI Team

Change-Id: I424c596c10244982c2886731995cd59db468ab7c
Issue-ID: CCSDK-125
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoUpdate CCSDK aai-service adaptor AAI schema 23/20023/1
ramu.n [Sun, 22 Oct 2017 20:43:38 +0000 (02:13 +0530)]
Update CCSDK aai-service adaptor AAI schema

*Add "esr-thirdparty-sdnc" and "configuration" schema nodes

Change-Id: I4356df4f0ce24b4892d651dc1e44bec1aee76c8a
Issue-Id: CCSDK-125
Signed-off-by: Ramu N <ramu.n@huawei.com>
6 years agoFix resource-assignment blueprint 27/19327/1
Dan Timoney [Tue, 17 Oct 2017 16:00:56 +0000 (12:00 -0400)]
Fix resource-assignment blueprint

Some entries in resource-assignment blueprint that had been
copied from spring blueprint needed to be changed slightly
due to differences between Spring and Aries.

Change-Id: I196f88f2036f30673bee0f3d23773616f6c1ba1b
Issue-ID: CCSDK-120
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoFix resource-assignment blueprints 25/18825/1
Dan Timoney [Fri, 13 Oct 2017 20:00:52 +0000 (16:00 -0400)]
Fix resource-assignment blueprints

resource-assignment blueprint files contained references to openecomp
that should be changed to onap.

Change-Id: I1eb27ba8c805e65f67f167df8bf75e609e9b5f9f
Issue-ID: CCSDK-120
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoRemove toString called on String object 45/18445/1
surya-huawei [Thu, 12 Oct 2017 05:12:37 +0000 (10:42 +0530)]
Remove toString called on String object

*Removed toString on a string object
This is a redundant construction and saves keystrokes
*Replace type specification in constructor with diamond operator
This is to reduce verbosity of generics code

Issue-Id: CCSDK-117
Change-Id: I5669450e8b5364eb9b01831b26a77596adf6c21a
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
6 years agoAdd readthedocs skeleton files to sli/adaptors 05/18305/2
Dan Timoney [Wed, 11 Oct 2017 15:51:09 +0000 (11:51 -0400)]
Add readthedocs skeleton files to sli/adaptors

Add readthedocs sections to sli/adaptors

Change-Id: I129db2b2b553165f18e69cfffd056b89d5c09f36
Issue-ID: CCSDK-107
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoResolved blocker issue 09/17709/1
Rich Tabedzki [Mon, 9 Oct 2017 19:10:02 +0000 (19:10 +0000)]
Resolved blocker issue

Changes made:
1. Rewrote exception handling in AAIServiceActivator

Change-Id: Ife205d051656d3a9bd303dee44be959ab970dbab
Issue-ID: CCSDK-106
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoImprove CCSDK adaptors Sonar coverage 55/17255/2
Rich Tabedzki [Wed, 4 Oct 2017 16:53:04 +0000 (16:53 +0000)]
Improve CCSDK adaptors Sonar coverage

Changes made:
1. Cleaned up blocker issues

Change-Id: Ie0424ce7aeaf07ed8a521dc2bff21b66a28e051f
Issue-ID: CCSDK-108
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoImprove CCSDK adaptors Sonar coverage 25/17225/1
Rich Tabedzki [Wed, 4 Oct 2017 13:29:09 +0000 (13:29 +0000)]
Improve CCSDK adaptors Sonar coverage

Changes made:
1. Removed obsolete code
2. Added new test cases

Change-Id: I3c12948a4af29707a31b4e4cf4be6782bc5d1071
Issue-ID: CCSDK-108
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoImprove CCSDK adaptors Sonar coverage 35/17135/2
Rich Tabedzki [Tue, 3 Oct 2017 22:30:48 +0000 (22:30 +0000)]
Improve CCSDK adaptors Sonar coverage

Changes made:
1. Removed unused classes
2. Added new test cases

Change-Id: I26be2445488a6ae32ff478e9d06cf992266e273a
Issue-ID: CCSDK-108
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoFix Blocker/Critical issues 97/17097/1
Rich Tabedzki [Tue, 3 Oct 2017 17:07:32 +0000 (17:07 +0000)]
Fix Blocker/Critical issues

Fix Blocker/Critical issues in ccsdk/sli/adaptors/aai-service module

Change-Id: Ia6fd34892a8ec6db83126f31b27bd7b69b77b256
Issue-Id: CCSDK-102
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoMerge "Add unit tests for mdsal-resource"
Dan Timoney [Tue, 3 Oct 2017 13:36:21 +0000 (13:36 +0000)]
Merge "Add unit tests for mdsal-resource"

6 years agoAdd unit tests for mdsal-resource 41/17041/1
Dan Timoney [Tue, 3 Oct 2017 12:42:05 +0000 (08:42 -0400)]
Add unit tests for mdsal-resource

Add unit tests for mdsal-resource component.

Change-Id: I44ee079d43ee29e4d507abb5fc065188279b1ffe
Issue-ID: CCSDK-106
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoMerge "Add a unit test for mdsal"
Dan Timoney [Thu, 28 Sep 2017 13:46:03 +0000 (13:46 +0000)]
Merge "Add a unit test for mdsal"

6 years agoAdd a unit test for mdsal 95/16395/1
surya-huawei [Thu, 28 Sep 2017 12:29:53 +0000 (17:59 +0530)]
Add a unit test for mdsal

*Add a negative unit test case for ConfigResource
This is to check availability of query and
improve sonar code coverage

Issue-Id: CCSDK-106
Change-Id: Ic276d1cfacce3aea7444adcb7bf09d6cdffb294e
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
6 years agoSetup ReadTheDocs 67/16367/1
Brian Freeman [Thu, 28 Sep 2017 11:58:46 +0000 (11:58 +0000)]
Setup ReadTheDocs

Issue-ID: CCSDK-107
Change-Id: I36f8eb45a8c897583018342ac15894fb63a823ec
Signed-off-by: Brian Freeman <bf1936@att.com>
6 years agoMerge "Close the inputstream"
Dan Timoney [Thu, 28 Sep 2017 07:20:32 +0000 (07:20 +0000)]
Merge "Close the inputstream"

6 years agoClose the inputstream 19/16219/1
surya-huawei [Thu, 28 Sep 2017 05:46:21 +0000 (11:16 +0530)]
Close the inputstream

*Use try with resources to close the resource
This is done to ensure that the resource
 is closed

Issue-Id: CCSDK-87
Change-Id: Ie5ebcffcec3350902305b35909e64d3cd518c49b
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
6 years agoAdded Blueprint configuration 69/16169/1
Rich Tabedzki [Thu, 28 Sep 2017 02:22:20 +0000 (02:22 +0000)]
Added Blueprint configuration

Changes made:
1. Removed Spring DM configuration for resource-assignment
2. Added blueprint configuration for resource-assignment

Change-Id: Ib084b863a6a5ee1283ba3dfb7b61d61619a27c38
Issue-ID: CCSDK-102
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoMerge "Use Map's entrySet instead of keySet"
Dan Timoney [Wed, 27 Sep 2017 07:46:26 +0000 (07:46 +0000)]
Merge "Use Map's entrySet instead of keySet"

6 years agoUse Map's entrySet instead of keySet 93/14993/2
surya-huawei [Mon, 25 Sep 2017 09:12:11 +0000 (14:42 +0530)]
Use Map's entrySet instead of keySet

Major Sonar issue in sli/adaptors module
*When both keys and values of map are used,
 using entrySet is more efficient

Issue-Id: CCSDK-87
Change-Id: I1a8df0bc42de2c75b5217fd2570fb579d1897760
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
6 years agoFix JUNIT version to pick from parent pom. 87/14987/1
Gaurav Agrawal [Mon, 25 Sep 2017 08:56:18 +0000 (14:26 +0530)]
Fix JUNIT version to pick from parent pom.

Remove the hardcoded version and rather take from parent pom.

Change-Id: I0874903b144e0e175c42dc4e36425528d74ad968
Issue-Id: CCSDK-105
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
6 years agoMerge "Fix Blocker/Critical sonar issues"
Dan Timoney [Fri, 22 Sep 2017 19:48:31 +0000 (19:48 +0000)]
Merge "Fix Blocker/Critical sonar issues"

6 years agoMerge "Fix Blocker/Critical sonar issues"
Dan Timoney [Fri, 22 Sep 2017 19:47:40 +0000 (19:47 +0000)]
Merge "Fix Blocker/Critical sonar issues"

6 years agoMerge "Fix sli dependency"
Dan Timoney [Fri, 22 Sep 2017 19:46:57 +0000 (19:46 +0000)]
Merge "Fix sli dependency"

6 years agoUse Integer.toString() for type conversion 59/14459/1
surya-huawei [Fri, 22 Sep 2017 05:25:16 +0000 (10:55 +0530)]
Use Integer.toString() for type conversion

Major sonar issue in sli/adaptors module
*Intead of implicit type conversion use static method
to save memory and cycles

Issue-Id: CCSDK-87
Change-Id: Icb75229ffb41bdf8b683f2a306acc856ce9106f6
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
6 years agoFix Blocker/Critical sonar issues 61/14261/2
shashikanth [Thu, 21 Sep 2017 13:54:34 +0000 (19:24 +0530)]
Fix Blocker/Critical sonar issues

Fix Blocker/Critical sonar issues in ccsdk/sli/adaptors module
https://sonar.onap.org/component_issues?id=org.onap.ccsdk.sli.adaptors%3Accsdk-sli-adaptors#resolved=false|severities=BLOCKER

Fixed Close "PreparedStatement".

Issue-Id: CCSDK-67
Change-Id: I2d4b42067f3286806f7bca8821ce17328d72091f
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
6 years agoFix Blocker/Critical sonar issues 53/14253/1
shashikanth [Thu, 21 Sep 2017 13:42:31 +0000 (19:12 +0530)]
Fix Blocker/Critical sonar issues

Fix Blocker/Critical sonar issues in ccsdk/sli/adaptors module
https://sonar.onap.org/component_issues?id=org.onap.ccsdk.sli.adaptors%3Accsdk-sli-adaptors#resolved=false|severities=BLOCKER

Deleted redundant code

Issue-Id: CCSDK-67
Change-Id: I1bbdb60ead844b91dd0e07795f7f929be8cce44c
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>