ccsdk/sli/adaptors.git
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>
6 years agoMove string literals to left hand side 87/14187/1
surya-huawei [Thu, 21 Sep 2017 09:30:19 +0000 (15:00 +0530)]
Move string literals to left hand side

Moving string literals to left-hand side of equals()/equalsIgnore()
*This is done to prevent null pointer exception
from being raised

Issue-Id: CCSDK-87
Change-Id: Ibe9deee4fd48b3037be8708a0e3869d741c9173b
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
6 years agoFix Sonar Issue in sli/adaptors module 25/13725/1
surya-huawei [Wed, 20 Sep 2017 06:52:35 +0000 (12:22 +0530)]
Fix Sonar Issue in sli/adaptors module

One blocker issue
*Checking for a null dereferencing
This is to avoid NullPointerException

Issue-Id: CCSDK-87
Change-Id: Ie2192636e3ad8dfa9643cac61b3086c3cd33f126
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
6 years agoMerge "Fix Sonar Issue"
Dan Timoney [Tue, 19 Sep 2017 23:48:34 +0000 (23:48 +0000)]
Merge "Fix Sonar Issue"

6 years agoRemove mysql references from sli/adaptors 17/13617/1
Dan Timoney [Tue, 19 Sep 2017 23:06:17 +0000 (19:06 -0400)]
Remove mysql references from sli/adaptors

Remove mysql references from sli/adaptors repository.

Change-Id: I19682626fdb954ce8190d61507eabe0152a6a635
Issue-ID: CCSDK-95
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoUpdated XSD Model and path properties 53/13553/1
Rich Tabedzki [Tue, 19 Sep 2017 18:07:31 +0000 (18:07 +0000)]
Updated XSD Model and path properties

 Changes made:
 1. updated XSD and aai-path documents
 2. Updated named-query to support V11 data types

 Issue-ID: CCSDK-97

Change-Id: I02e2cd0246644ade1631db8e963a72ac3cb7cff6
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoFix sli dependency 33/13533/1
Brian Freeman [Tue, 19 Sep 2017 17:04:26 +0000 (17:04 +0000)]
Fix sli dependency

Issue-ID: SDNC-86
Change-Id: Ic6680636fd451942ab9f91598f1b7c63080843c1
Signed-off-by: Brian Freeman <bf1936@att.com>
6 years agoFix Sonar Issue 17/13317/1
surya-huawei [Tue, 19 Sep 2017 06:40:28 +0000 (12:10 +0530)]
Fix Sonar Issue

One blocker issue in sli/adapters module
*check for null dereferencing

Issue-Id: CCSDK-87
Change-Id: I6c2b308bed95069089770cbec7ef728e2a8cc030
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
6 years agoFix Blocker/Critical sonar issues 35/12435/3
shashikanth [Thu, 14 Sep 2017 12:22:04 +0000 (17:52 +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: Iccdfc4815b7a28a6e95251c24e7196221f1b25df
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
6 years agoFix Sonar Issues in sli/adapter module 21/12921/1
surya-huawei [Sun, 17 Sep 2017 16:59:09 +0000 (22:29 +0530)]
Fix Sonar Issues in sli/adapter module

one major issue
* Use try with resources instead of try

Issue-Id: CCSDK-87
Change-Id: Iff46703282a6b9ccb3b61c29495c81a49aaed5da
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
6 years agoFix Sonar Issues 09/12409/1
surya-huawei [Thu, 14 Sep 2017 10:26:03 +0000 (15:56 +0530)]
Fix Sonar Issues

few major issues in sli/adaptors module

Issue-Id: CCSDK-87
Change-Id: I43865634fa7d5f5d1b84c7efff691047cfcd5feb
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
6 years agoFix Sonar issues 29/11629/4
surya-huawei [Mon, 11 Sep 2017 09:46:36 +0000 (15:16 +0530)]
Fix Sonar issues

Few major issues in adapters/aai module

Issue-id: CCSDK-67
Change-Id: I76d9576b742f846e3259ffe9bfaf1845d64abadb
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
6 years agoMerge "Fix Sonar Issues"
Dan Timoney [Mon, 11 Sep 2017 20:15:25 +0000 (20:15 +0000)]
Merge "Fix Sonar Issues"

6 years agoMerge "Fix few Critical sonar issues"
Dan Timoney [Mon, 11 Sep 2017 13:44:50 +0000 (13:44 +0000)]
Merge "Fix few Critical sonar issues"

6 years agoFix Sonar Issues 01/11601/2
surya-huawei [Mon, 11 Sep 2017 08:51:31 +0000 (14:21 +0530)]
Fix Sonar Issues

Few major issues in adapters module

Issue-id: CCSDK-67
Change-Id: I4ef21d95a5316c61971f506d769714fa37d42d63
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
6 years agoMerge "Correct parameter reference in features.xml"
Marcus Williams [Fri, 8 Sep 2017 23:23:33 +0000 (23:23 +0000)]
Merge "Correct parameter reference in features.xml"

6 years agoCorrect parameter reference in features.xml 55/11455/1
Dan Timoney [Fri, 8 Sep 2017 22:59:57 +0000 (18:59 -0400)]
Correct parameter reference in features.xml

Features.xml refers to wrong property name for httpcomponents references.

Change-Id: I6e09f9f89d2d25b9f6de23ce395f8d2bd065acc6
Issue-ID: CCSDK-79
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoCleanup project's name in Sonar 61/11361/1
Jessica Wagantall [Fri, 8 Sep 2017 21:26:25 +0000 (14:26 -0700)]
Cleanup project's name in Sonar

The name parameter in the root pom.xml should
match the project name in gerrit to reflect consistency
in Sonar.

Change-Id: I8ddd7b466586eb7e90cae83270dcc9d4d5cb41ea
Issue-id: CIMAN-65
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoFix few Critical sonar issues 05/11105/1
ramu.n [Fri, 8 Sep 2017 14:25:19 +0000 (19:55 +0530)]
Fix few Critical sonar issues

Fix few Critical sonar issues in CCSDK SLI Adaptors
https://sonar.onap.org/component_issues?id=org.onap.ccsdk.sli.adaptors%3Accsdk-sli-adaptors#resolved=false|severities=CRITICAL

Change-Id: Id694401c71e9a5ae2508333f03eab8e87008ccd0
Issue-Id: CCSDK-67
Signed-off-by: Ramu N <ramu.n@huawei.com>
6 years agoFix few Blocker sonar issues 79/10879/4
ramu.n [Thu, 7 Sep 2017 16:00:29 +0000 (21:30 +0530)]
Fix few Blocker sonar issues

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

Change-Id: I74d781a19f849fc83bb07dbfb795dde356159b45
Issue-Id: CCSDK-67
Signed-off-by: Ramu N <ramu.n@huawei.com>
6 years agoFix sql-resource-provider compilation failure 95/10895/1
ramu.n [Thu, 7 Sep 2017 18:03:17 +0000 (23:33 +0530)]
Fix sql-resource-provider compilation failure

Fixed unresolved method DBResourceManager.create() in SqlResource.java

Change-Id: Idb1c151e9929e5e9be5848b52c464e09c5ba835f
Issue-Id: CCSDK-82
Signed-off-by: Ramu N <ramu.n@huawei.com>
6 years agoMerge "Fix resource-assignment dependencies"
Marcus Williams [Thu, 7 Sep 2017 16:56:47 +0000 (16:56 +0000)]
Merge "Fix resource-assignment dependencies"

6 years agoMerge "Enable surefire unit testing"
Dan Timoney [Wed, 6 Sep 2017 23:15:43 +0000 (23:15 +0000)]
Merge "Enable surefire unit testing"

6 years agoFix resource-assignment dependencies 53/10653/1
Dan Timoney [Wed, 6 Sep 2017 23:14:51 +0000 (19:14 -0400)]
Fix resource-assignment dependencies

Resource-assignment was not loading due to unresolved dependencies.  This
turned out to be due to a few issues, addressed by this change:

- commons-lang had to be added as a bundle in features.xml
- package name for DbLibService in spring config was wrong, preventing
spring from initializing properly
- DbLibService's package (org.onap.ccsdk.sli.core.dblib) was not detected
properly by felix maven plugin and was missing from Import-Package in
MANIFEST. Resolved by explicitly adding that package in felix plugin
config in provider pom.xml

Change-Id: I6ebb82ebae0e96b4ab9592e29f6a7a1d2276aa69
Issue-ID: CCSDK-79
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoEnable surefire unit testing 25/10025/2
Marcus G K Williams [Fri, 1 Sep 2017 22:41:27 +0000 (15:41 -0700)]
Enable surefire unit testing

Issue-Id: CCSDK-67
Change-Id: I955938365dd62b2125b73f8a668568e3343db015
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
6 years agoWrong feature name in aai-service features.xml 21/10621/1
Dan Timoney [Wed, 6 Sep 2017 18:28:36 +0000 (14:28 -0400)]
Wrong feature name in aai-service features.xml

Even though this is part of CCSDK, the feature names used for CCSDK
in karaf are still following the convention of sdnc-, except for
aai-service.  This causes a problem since the install script expects
the feature names to start with sdnc-.  So, while it might arguably
be best to change all package names from sdnc-* to ccsdk-* and
update the installer, it is a smaller fix to just change aai-service
to use the sdnc- convention.

Change-Id: I331d1b637ea2d1a0d83f4c5e55392f1137c94a54
Issue-ID: CCSDK-78
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoCCSDK propagation of RequestID & PartnrName to AAI 69/9669/2
vaibhav.jain1 [Thu, 31 Aug 2017 11:46:54 +0000 (17:16 +0530)]
CCSDK propagation of RequestID & PartnrName to AAI

Currently, CCSDK generates a random uuid for every request to AAI using
method getNextTransactionId() in class AAIService.java. A change is made
to first get the RequestId value from MDC and if this is missing, a new
RequestId is generated and set as MDC.
Also, X-FromAppId is set as openECOMP which is very much generic. This
has been changed to CCSDK in file aaiclient.properties

Change-Id: Id269de708919de9dbabd019785e22afa0561abba
Issue-ID: SDNC-68
Signed-off-by: vaibhav.jain1 <vaibhav.jain1@amdocs.com>
6 years agoUpdate artifactId of ccsdk/sli/adaptors pom.xml 01/9101/2
Dan Timoney [Tue, 29 Aug 2017 12:45:58 +0000 (08:45 -0400)]
Update artifactId of ccsdk/sli/adaptors pom.xml

Update artifactId of top level pom.xml of ccsdk/sli/adaptors to match the
repo name (ccsdk-sli-adaptors instead of ccsdk-adaptors).  This is not
strictly speaking necessary, but will be a helpful convention since
there are some repos within ccsdk that have similar names, like
ccsdk/sli/plugins and ccsdk/platform/plugins.
Update parent artifactId in  pom.xml for each module in ccsdk/sli/adaptors

Change-Id: Idec7772c406754db6f03cf03a1a338793c2ce636
Issue-ID: CCSDK-70
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoClean final ecomp references from sli-adaptors 35/8035/1
Marcus G K Williams [Fri, 18 Aug 2017 20:42:02 +0000 (13:42 -0700)]
Clean final ecomp references from sli-adaptors

Issue-Id: CCSDK-19
Change-Id: I40c0287ebdaeb93fc17370a8692fbac5edf32d08
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
6 years agoUpdate sli-adaptor/sql-resource package names 27/7927/2
Marcus G K Williams [Thu, 17 Aug 2017 20:14:25 +0000 (13:14 -0700)]
Update sli-adaptor/sql-resource package names

Update package
names from org.openecomp.sdnc.adaptors.* ->
onap.ccsdk.sli.adaptors.* Update groupIds from
org.openecomp.sdnc.adaptors -> onap.ccsdk.sli.adaptors

Issue-Id: CCSDK-19
Change-Id: Ie588e46c0c9035ec343437f58bd329f7d6c220ce
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
6 years agoUpdate sli-adaptor/resource-assignment pack. names 01/7901/3
Marcus G K Williams [Thu, 17 Aug 2017 17:29:11 +0000 (10:29 -0700)]
Update sli-adaptor/resource-assignment pack. names

Update package
names from org.openecomp.sdnc.adaptors.* ->
onap.ccsdk.sli.adaptors.* Update groupIds from
org.openecomp.sdnc.adaptors -> onap.ccsdk.sli.adaptors

Issue-Id: CCSDK-19
Change-Id: I71c794c46bad7f7f6064c4e0538890c9f76d5f16
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
6 years agoUpdate sli-adaptor/mdsal-resource package names 79/7679/1
Marcus G K Williams [Wed, 16 Aug 2017 02:13:35 +0000 (19:13 -0700)]
Update sli-adaptor/mdsal-resource package names

Update package
names from org.openecomp.sdnc.adaptors.* ->
onap.ccsdk.sli.adaptors.* Update groupIds from
org.openecomp.sdnc.adaptors -> onap.ccsdk.sli.adaptors

Issue-Id: CCSDK-19
Change-Id: I4aba920e51de27c47b1f936ccb3fc89fa81ed4b0
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
6 years agoFix license headers 09/7609/1
Dan Timoney [Tue, 15 Aug 2017 14:04:19 +0000 (10:04 -0400)]
Fix license headers

Licence headers were accidentally updated incorrectly by previous update.
This commit restores the license headers for seed code to the wording from
the original seed code

Change-Id: If4623dd02a37660a7d7e746363dd83cf9cdb718a
Issue-ID: CCSDK-31
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoMerge "[SDNC-30] summary"
Dan Timoney [Tue, 15 Aug 2017 13:31:27 +0000 (13:31 +0000)]
Merge "[SDNC-30] summary"

6 years agoUpdate root pom to Carbon SR1 81/7481/1
Dan Timoney [Mon, 14 Aug 2017 18:54:46 +0000 (14:54 -0400)]
Update root pom to Carbon SR1

Update adaptors to compile against Carbon SR1 maven artifacts

Change-Id: I74e2710d7206bc3efe403439bb346615de6e3f75
Issue-ID: CCSDK-24
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years ago[SDNC-30] summary 11/7211/1
Rich Tabedzki [Thu, 10 Aug 2017 14:03:15 +0000 (14:03 +0000)]
[SDNC-30] summary

Updated code to use the latest AAI data model and latest XSD model version

Change-Id: I0dc536b543c47d363c99db1fe581361fe64db317
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
6 years agoUpdate sli-adaptor/aai-service package names 59/6759/3
Marcus G K Williams [Fri, 4 Aug 2017 21:40:55 +0000 (14:40 -0700)]
Update sli-adaptor/aai-service package names

Update package
names from org.openecomp.sdnc.adaptors.* ->
onap.ccsdk.sli.adaptors.* Update groupIds from
org.openecomp.sdnc.adaptors -> onap.ccsdk.sli.adaptors

Issue: CCSDK-19
Change-Id: I3d41c1484479645edaf0d47ad4e8fd87e707cb39
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
6 years agoConvert tabs to spaces 81/6581/2
Marcus G K Williams [Wed, 2 Aug 2017 22:09:24 +0000 (15:09 -0700)]
Convert tabs to spaces

Per Java Code Style Guide: https://wiki.onap.org/display/DW/Java+code+style
Converting tabs to 4 spaces.

Issue-Id: SDNC-25
Change-Id: I99ce6c244df72f805b52d0d66403d8b76d9929ae
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
6 years agoFix groupIds 09/6509/1
Dan Timoney [Tue, 1 Aug 2017 19:19:07 +0000 (15:19 -0400)]
Fix groupIds

Updated groupId to org.onap.ccsdk.sli.adaptors to allow clean Nexus deploy

Issue: CCSDK-14
Change-Id: I228978572b2f574e95caa4ff2f40fdbfdcc330ad
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years ago[CCSDK-6] Populate seed code 01/6001/3
Dan Timoney [Wed, 19 Jul 2017 00:23:07 +0000 (20:23 -0400)]
[CCSDK-6] Populate seed code

Add seed code for sli/adaptors repository
Update code to use org.onap.ccsdk.sli.core

Change-Id: I477c7a24f2cc1fed8fb0975fe9f33733411c27f9
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoInitial empty repository
Jessica Wagantall [Tue, 27 Jun 2017 21:35:38 +0000 (21:35 +0000)]
Initial empty repository