ccsdk/sli/adaptors.git
5 years agoAdded netbox client to assign/unassign ip 91/60791/14
Alexis de Talhouët [Wed, 15 Aug 2018 18:30:43 +0000 (14:30 -0400)]
Added netbox client to assign/unassign ip

Change-Id: Ied317c7f251936ced116b6a3ea81789c82095df6
Issue-ID: CCSDK-462
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
5 years agofix exception handling 35/61635/1
Agarwal, Ruchira(ra1926) [Tue, 21 Aug 2018 15:35:30 +0000 (15:35 +0000)]
fix exception handling

Alternate solution for exception handling

Change-Id: Iccafba83ea9d8f01e930c4fb63b1a80a4a0d8af7
Issue-ID: CCSDK-426
Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com>
5 years agoAdd scaffolding to netbox adaptor 71/60771/6
Alexis de Talhouët [Wed, 15 Aug 2018 18:29:07 +0000 (14:29 -0400)]
Add scaffolding to netbox adaptor

Change-Id: Ic9e4dc99a21917446e72e5cfbfb023872a38952b
Issue-ID: CCSDK-462
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
5 years agoMerge "RA: Add capability for Policy driven VlanTags"
Dan Timoney [Mon, 6 Aug 2018 21:20:38 +0000 (21:20 +0000)]
Merge "RA: Add capability for Policy driven VlanTags"

5 years agoRA: Add capability for Policy driven VlanTags 39/59239/2
sp694w [Mon, 6 Aug 2018 10:49:54 +0000 (06:49 -0400)]
RA: Add capability for Policy driven VlanTags

Change-Id: I5486a4989006c80b8a77ff2eb64fceed068c0c16
Issue-ID: CCSDK-438
Signed-off-by: Saurav Paira <sp694w@att.com>
5 years agofix http error handling 37/59237/1
Ruchira Agarwal [Mon, 6 Aug 2018 15:10:35 +0000 (15:10 +0000)]
fix http error handling

Enhance exception handling by providing alternate message when getResponseMessage() call fails.

Change-Id: I70123b1cb295f6fe6aeb0afbdd6714e1adddaa01
Issue-ID: CCSDK-426
Signed-off-by: Ruchira Agarwal <ra1926@att.com>
5 years agoRA: Add capability to assign new numbers for range 83/57883/1
Stan Bonev [Fri, 27 Jul 2018 15:49:50 +0000 (11:49 -0400)]
RA: Add capability to assign new numbers for range

Change-Id: Ibb11219bfe0362055d388a4a10dab81e95979892
Issue-ID: CCSDK-408
Signed-off-by: Stan Bonev <sb5356@att.com>
5 years agoSaltstack now aligned with APPC 37/57137/2
Ganesh Chandrasekaran [Mon, 23 Jul 2018 07:47:14 +0000 (16:47 +0900)]
Saltstack now aligned with APPC

Issue-ID: CCSDK-394

Change-Id: Ie6d2b12f596c148d26bc45c0053e6aff975ace25
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoUse ByteStream instead of FileStream 23/57123/1
Ganesh Chandrasekaran [Mon, 23 Jul 2018 05:27:22 +0000 (14:27 +0900)]
Use ByteStream instead of FileStream

Issue-ID: CCSDK-393

Change-Id: Id004f0bce1768e00f3e326efc204532acdb22546
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoSaltstack port not mandatory 29/57029/2
Ganesh Chandrasekaran [Fri, 20 Jul 2018 08:53:04 +0000 (17:53 +0900)]
Saltstack port not mandatory

Issue-ID: CCSDK-390

Change-Id: Ie9448d3a3fbbc7e52e8103ca5da1e2a3e080d58c
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoMerge "saltstack to take env and file param"
Dan Timoney [Thu, 19 Jul 2018 16:16:22 +0000 (16:16 +0000)]
Merge "saltstack to take env and file param"

5 years agosaltstack to take env and file param 87/56687/6
Ganesh Chandrasekaran [Wed, 18 Jul 2018 06:27:52 +0000 (15:27 +0900)]
saltstack to take env and file param

Issue-ID: CCSDK-383

Change-Id: Id069d77d8f11203a2f604470c116bcf3cc618c2f
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoRA: Fix unnecessary updates to allocation items 89/56789/1
sb5356 [Wed, 18 Jul 2018 20:56:14 +0000 (16:56 -0400)]
RA: Fix unnecessary updates to allocation items

Change-Id: Ia3569ea5c7afe00624bb5d2368253cc3e5d834f5
Issue-ID: CCSDK-387
Signed-off-by: Stan Bonev <sb5356@att.com>
5 years agoMerge "saltstack adaptor reqExecLog API cleanup"
Dan Timoney [Tue, 17 Jul 2018 14:14:24 +0000 (14:14 +0000)]
Merge "saltstack adaptor reqExecLog API cleanup"

5 years agoMerge "saltstack adaptor DGs addition"
Dan Timoney [Tue, 17 Jul 2018 14:13:09 +0000 (14:13 +0000)]
Merge "saltstack adaptor DGs addition"

5 years agoMerge "Fix sonar issue in SqlResource.java"
Dan Timoney [Tue, 17 Jul 2018 14:12:48 +0000 (14:12 +0000)]
Merge "Fix sonar issue in SqlResource.java"

5 years agosaltstack adaptor reqExecLog API cleanup 85/56585/1
Ganesh Chandrasekaran [Tue, 17 Jul 2018 08:27:24 +0000 (17:27 +0900)]
saltstack adaptor reqExecLog API cleanup

Issue-ID: CCSDK-331

Change-Id: I951efe3df1ad838e065ba6fd62dda53d533e6422
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agosaltstack adaptor DGs addition 53/56553/3
Ganesh Chandrasekaran [Tue, 17 Jul 2018 02:02:17 +0000 (11:02 +0900)]
saltstack adaptor DGs addition

Issue-ID: CCSDK-368

Change-Id: I5f66693109c14eb64e4576caeeb84440a940fffa
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoFix sonar issue in SqlResource.java 69/56469/2
Parshad Patel [Mon, 16 Jul 2018 02:11:04 +0000 (11:11 +0900)]
Fix sonar issue in SqlResource.java

Add finally clause to close ResultSet

Issue-ID: CCSDK-332
Change-Id: I1b856123caf56fad08064c63013cfe0859c2ae53
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
5 years agoSaltstack sample server config doc 79/56479/1
Ganesh Chandrasekaran [Mon, 16 Jul 2018 07:08:08 +0000 (16:08 +0900)]
Saltstack sample server config doc

Issue-ID: CCSDK-361

Change-Id: I6a5407d7359dd84ea5fb71d5c7fab417abd31c55
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agosaltstack adaptor fixes from Sonar 43/56343/4
Ganesh Chandrasekaran [Fri, 13 Jul 2018 00:41:32 +0000 (09:41 +0900)]
saltstack adaptor fixes from Sonar

Issue-ID: CCSDK-364

Change-Id: Ief9705370d84fcb99fcb718f03c31e6cbfd47363
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoMerge "Fix sonar issue in AAIClientRESTExecutor"
Dan Timoney [Fri, 13 Jul 2018 20:10:28 +0000 (20:10 +0000)]
Merge "Fix sonar issue in AAIClientRESTExecutor"

5 years agoFix sonar issue in AAIClientRESTExecutor 53/56353/1
Parshad Patel [Thu, 12 Jul 2018 09:27:27 +0000 (18:27 +0900)]
Fix sonar issue in AAIClientRESTExecutor

FileInputStream closed

Issue-ID: CCSDK-332
Change-Id: I889e6f57e50eb3256b74c7f5342dea872ea3aa6a
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
5 years agosaltstack reqExecSlsFile API implemented 55/56255/1
Ganesh Chandrasekaran [Wed, 11 Jul 2018 23:58:56 +0000 (08:58 +0900)]
saltstack reqExecSlsFile API implemented

Issue-ID: CCSDK-356

Change-Id: Ib9e7a7c147992505e85d1f2f195cb7f52930057f
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agosaltstack reqExecSls implemented as adaptor 59/56059/2
Ganesh Chandrasekaran [Tue, 10 Jul 2018 09:27:17 +0000 (18:27 +0900)]
saltstack reqExecSls implemented as adaptor

Issue-ID: CCSDK-330

Change-Id: Icdb2c70d94d4901f1b18713b8b33666169a2b6d9
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoMerge "AAIService change URL to URI"
Dan Timoney [Mon, 9 Jul 2018 12:16:35 +0000 (12:16 +0000)]
Merge "AAIService change URL to URI"

5 years agoreqExec API implemented for saltstack 39/55739/5
Ganesh Chandrasekaran [Wed, 4 Jul 2018 05:10:57 +0000 (14:10 +0900)]
reqExec API implemented for saltstack

Issue-ID: CCSDK-320
Change-Id: I5c4eb36924f36ebc9a7786d2bd46c923d0c05ab0
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoAAIService change URL to URI 75/55975/1
Agarwal, Ruchira(ra1926) [Fri, 6 Jul 2018 18:32:29 +0000 (18:32 +0000)]
AAIService change URL to URI

Use URI instead of URL for resource-link

Change-Id: I0d29f14a0425ff098d3b965e6d9ba54ab2c9aff7
Issue-ID: CCSDK-353
Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com>
5 years agoMerge "Test cases added for saltstack API"
Dan Timoney [Tue, 3 Jul 2018 11:39:42 +0000 (11:39 +0000)]
Merge "Test cases added for saltstack API"

5 years agoMerge "SaltStack adaptor API creation"
Dan Timoney [Tue, 3 Jul 2018 11:39:29 +0000 (11:39 +0000)]
Merge "SaltStack adaptor API creation"

5 years agoTest cases added for saltstack API 03/55603/1
Ganesh Chandrasekaran [Sun, 1 Jul 2018 23:29:16 +0000 (08:29 +0900)]
Test cases added for saltstack API

Issue-ID: CCSDK-319

Change-Id: Iffb64f374243bc82e9c981ec737a2066eeeeaec3
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoMerge "Support for defining multiple ranges in RANGE_RULE"
Dan Timoney [Fri, 29 Jun 2018 17:43:21 +0000 (17:43 +0000)]
Merge "Support for defining multiple ranges in RANGE_RULE"

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 agoSupport for defining multiple ranges in RANGE_RULE 09/55409/1
sb5356 [Tue, 26 Jun 2018 14:01:27 +0000 (10:01 -0400)]
Support for defining multiple ranges in RANGE_RULE

Change-Id: I5a5a1c61629a684dfc016f14000adbcb1e6dc9a1
Issue-ID: CCSDK-315
Signed-off-by: Stan Bonev <sb5356@att.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>
6 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>
6 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>
6 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>
6 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>