summaryrefslogtreecommitdiffstats
path: root/aai-service
AgeCommit message (Collapse)AuthorFilesLines
2018-03-20Improve code coverage metrics in AAIService moduleRich Tabedzki2-23/+250
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>
2018-03-20Improve code metrics in AAIService moduleRich Tabedzki8-157/+325
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>
2018-03-16Improve code metrics for AAIServiceRich Tabedzki5-0/+443
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>
2018-03-02Fix POM versionsTimoney, Dan (dt5972)4-2/+8
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>
2018-02-27Merge "Fix installation issues"Dan Timoney2-7/+6
2018-02-26Fix installation issuesDan Timoney2-7/+6
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>
2018-02-26Improved Java Code Conventions complianceRich Tabedzki9-933/+1045
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>
2018-02-16Nitrogen port : aai-serviceDan Timoney7-254/+409
Update aai-service for ODL Nitrogen release Change-Id: I463e47ff4738233e5ceae30fd797a8b00a7fa93f Issue-ID: CCSDK-176 Signed-off-by: Dan Timoney <dtimoney@att.com>
2018-02-09Fixed issues related to Java Code ConventionsRich Tabedzki4-75/+37
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>
2018-02-07Fixed as per Java Code ConventionsRich Tabedzki1-9/+9
Changes made: * corrected sonar related issues in AAIClientRESTExecutor Change-Id: I9861207fa612c11fb0a872be24085c3db488fd40 Issue-ID: CCSDK-151 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2018-01-26Fixed as per Java Code ConventionsRich Tabedzki3-101/+49
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>
2018-01-24Convert aai-service provider to blueprintRich Tabedzki10-1475/+1001
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>
2018-01-02Fixed as per Java Code ConventionsRich Tabedzki2-52/+70
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>
2017-12-18Isolate deprecated code in CCSDK aai-serviceRich Tabedzki18-2035/+1030
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>
2017-11-21Bump minor versionDan Timoney4-5/+5
Bump minor version and reset build for Beijing development Change-Id: Ie4e0bc53c1b378d59dc0ec2504cf92a36f8ff04f Issue-ID: CIMAN-120 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-09Merge "Roll to version 0.1.1-SNAPSHOT"Dan Timoney4-5/+5
2017-11-09Roll to version 0.1.1-SNAPSHOTDan Timoney4-5/+5
Roll to next release version Change-Id: I6256aa3e20e6d03edf02ea2f049ca425944dc605 Issue-ID: CCSDK-141 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-07Update aai-service request processingRich Tabedzki1-37/+84
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>
2017-10-25Support AAI adapter to store metadata on serviceAuthor Name2-42/+218
Change-Id: I856d1bfb474eabd5836cd36bde52ce65089ec668 Issue-ID : CCSDK-127 Signed-off-by: shalmonw <shalmonwaidande@gmail.com>
2017-10-23Update CCSDK aai-service AAI schema definitionRich Tabedzki2-94/+356
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>
2017-10-23Update CCSDK aai-service adaptor AAI schemaramu.n2-0/+274
*Add "esr-thirdparty-sdnc" and "configuration" schema nodes Change-Id: I4356df4f0ce24b4892d651dc1e44bec1aee76c8a Issue-Id: CCSDK-125 Signed-off-by: Ramu N <ramu.n@huawei.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-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-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>