summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-17Fix resource-assignment blueprintDan Timoney1-2/+14
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>
2017-10-13Fix resource-assignment blueprintsDan Timoney2-21/+21
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>
2017-10-12Remove toString called on String objectsurya-huawei1-5/+5
*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>
2017-10-11Add readthedocs skeleton files to sli/adaptorsDan Timoney6-3/+118
Add readthedocs sections to sli/adaptors Change-Id: I129db2b2b553165f18e69cfffd056b89d5c09f36 Issue-ID: CCSDK-107 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-09Resolved blocker issueRich Tabedzki1-1/+1
Changes made: 1. Rewrote exception handling in AAIServiceActivator Change-Id: Ife205d051656d3a9bd303dee44be959ab970dbab Issue-ID: CCSDK-106 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2017-10-04Improve CCSDK adaptors Sonar coverageRich Tabedzki3-351/+302
Changes made: 1. Cleaned up blocker issues Change-Id: Ie0424ce7aeaf07ed8a521dc2bff21b66a28e051f Issue-ID: CCSDK-108 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2017-10-04Improve CCSDK adaptors Sonar coverageRich Tabedzki7-5/+1599
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>
2017-10-03Improve CCSDK adaptors Sonar coverageRich Tabedzki31-2813/+158
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>
2017-10-03Fix Blocker/Critical issuesRich Tabedzki3-4/+310
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>
2017-10-03Merge "Add unit tests for mdsal-resource"Dan Timoney6-6/+83
2017-10-03Add unit tests for mdsal-resourceDan Timoney6-6/+83
Add unit tests for mdsal-resource component. Change-Id: I44ee079d43ee29e4d507abb5fc065188279b1ffe Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-28Merge "Add a unit test for mdsal"Dan Timoney1-0/+43
2017-09-28Add a unit test for mdsalsurya-huawei1-0/+43
*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>
2017-09-28Setup ReadTheDocsBrian Freeman1-0/+8
Issue-ID: CCSDK-107 Change-Id: I36f8eb45a8c897583018342ac15894fb63a823ec Signed-off-by: Brian Freeman <bf1936@att.com>
2017-09-28Merge "Close the inputstream"Dan Timoney1-2/+1
2017-09-28Close the inputstreamsurya-huawei1-2/+1
*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>
2017-09-28Added Blueprint configurationRich Tabedzki5-321/+148
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>
2017-09-27Merge "Use Map's entrySet instead of keySet"Dan Timoney1-2/+2
2017-09-25Use Map's entrySet instead of keySetsurya-huawei1-2/+2
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>
2017-09-25Fix JUNIT version to pick from parent pom.Gaurav Agrawal1-1/+1
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>
2017-09-22Merge "Fix Blocker/Critical sonar issues"Dan Timoney1-66/+35
2017-09-22Merge "Fix Blocker/Critical sonar issues"Dan Timoney1-8/+5
2017-09-22Merge "Fix sli dependency"Dan Timoney1-1/+1
2017-09-22Use Integer.toString() for type conversionsurya-huawei1-3/+3
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>
2017-09-21Fix Blocker/Critical sonar issuesshashikanth1-66/+35
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>
2017-09-21Fix Blocker/Critical sonar issuesshashikanth1-8/+5
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>
2017-09-21Move string literals to left hand sidesurya-huawei1-6/+6
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>
2017-09-20Fix Sonar Issue in sli/adaptors modulesurya-huawei1-8/+10
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>
2017-09-19Merge "Fix Sonar Issue"Dan Timoney1-4/+6
2017-09-19Remove mysql references from sli/adaptorsDan Timoney6-23/+43
Remove mysql references from sli/adaptors repository. Change-Id: I19682626fdb954ce8190d61507eabe0152a6a635 Issue-ID: CCSDK-95 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-19Updated XSD Model and path propertiesRich Tabedzki15-6061/+6546
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>
2017-09-19Fix sli dependencyBrian Freeman1-1/+1
Issue-ID: SDNC-86 Change-Id: Ic6680636fd451942ab9f91598f1b7c63080843c1 Signed-off-by: Brian Freeman <bf1936@att.com>
2017-09-19Fix Sonar Issuesurya-huawei1-4/+6
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>
2017-09-18Fix Blocker/Critical sonar issuesshashikanth1-29/+4
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>
2017-09-17Fix Sonar Issues in sli/adapter modulesurya-huawei1-10/+1
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>
2017-09-14Fix Sonar Issuessurya-huawei2-13/+14
few major issues in sli/adaptors module Issue-Id: CCSDK-87 Change-Id: I43865634fa7d5f5d1b84c7efff691047cfcd5feb Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-13Fix Sonar issuessurya-huawei1-26/+43
Few major issues in adapters/aai module Issue-id: CCSDK-67 Change-Id: I76d9576b742f846e3259ffe9bfaf1845d64abadb Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-11Merge "Fix Sonar Issues"Dan Timoney1-33/+35
2017-09-11Merge "Fix few Critical sonar issues"Dan Timoney1-2/+35
2017-09-11Fix Sonar Issuessurya-huawei1-33/+35
Few major issues in adapters module Issue-id: CCSDK-67 Change-Id: I4ef21d95a5316c61971f506d769714fa37d42d63 Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-08Merge "Correct parameter reference in features.xml"Marcus Williams1-2/+2
2017-09-08Correct parameter reference in features.xmlDan Timoney1-2/+2
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>
2017-09-08Cleanup project's name in SonarJessica Wagantall1-1/+1
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>
2017-09-08Fix few Critical sonar issuesramu.n1-2/+35
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>
2017-09-07Fix few Blocker sonar issuesramu.n3-19/+16
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>
2017-09-07Fix sql-resource-provider compilation failureramu.n1-3/+3
Fixed unresolved method DBResourceManager.create() in SqlResource.java Change-Id: Idb1c151e9929e5e9be5848b52c464e09c5ba835f Issue-Id: CCSDK-82 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-07Merge "Fix resource-assignment dependencies"Marcus Williams4-6/+11
2017-09-06Merge "Enable surefire unit testing"Dan Timoney3-24/+5
2017-09-06Fix resource-assignment dependenciesDan Timoney4-6/+11
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>
2017-09-06Enable surefire unit testingMarcus G K Williams3-24/+5
Issue-Id: CCSDK-67 Change-Id: I955938365dd62b2125b73f8a668568e3343db015 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>