aboutsummaryrefslogtreecommitdiffstats
path: root/aai-service
AgeCommit message (Collapse)AuthorFilesLines
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-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 Tabedzki2-7/+14
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-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-22Merge "Fix Blocker/Critical sonar issues"Dan Timoney1-8/+5
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-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-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-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-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-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-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-06Wrong feature name in aai-service features.xmlDan Timoney1-3/+3
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>
2017-09-06CCSDK propagation of RequestID & PartnrName to AAIvaibhav.jain12-4/+9
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>
2017-08-29Update artifactId of ccsdk/sli/adaptors pom.xmlDan Timoney1-1/+1
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>
2017-08-18Clean final ecomp references from sli-adaptorsMarcus G K Williams1-41/+41
Issue-Id: CCSDK-19 Change-Id: I40c0287ebdaeb93fc17370a8692fbac5edf32d08 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-08-15Fix license headersDan Timoney68-137/+137
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>
2017-08-15Merge "[SDNC-30] summary"Dan Timoney66-654/+1329
2017-08-14Update root pom to Carbon SR1Dan Timoney4-6/+6
Update adaptors to compile against Carbon SR1 maven artifacts Change-Id: I74e2710d7206bc3efe403439bb346615de6e3f75 Issue-ID: CCSDK-24 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-10[SDNC-30] summaryRich Tabedzki66-654/+1329
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>
2017-08-08Update sli-adaptor/aai-service package namesMarcus G K Williams64-283/+284
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>
2017-08-02Convert tabs to spacesMarcus G K Williams6-333/+333
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>
2017-08-01Fix groupIdsDan Timoney4-12/+12
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>
2017-08-01[CCSDK-6] Populate seed codeDan Timoney76-0/+21594
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>