summaryrefslogtreecommitdiffstats
path: root/aai-service/provider/src/main
AgeCommit message (Collapse)AuthorFilesLines
2018-05-08Provide support for properties encryptionRich Tabedzki2-2/+83
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>
2018-04-23Fixing trustStore issues in AAI ClientRich Tabedzki18-1884/+2101
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>
2018-04-18Resolved issues associated with AAI ModelRich Tabedzki2-105/+145
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>
2018-04-16Fix properties precedenceTimoney, Dan (dt5972)1-6/+6
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>
2018-03-20Improve code coverage metrics in AAIService moduleRich Tabedzki1-23/+8
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 Tabedzki4-157/+2
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-02-26Improved Java Code Conventions complianceRich Tabedzki6-92/+90
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 Timoney1-0/+240
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 Tabedzki8-774/+789
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 Tabedzki1-49/+69
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 Tabedzki14-1997/+990
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-07Update aai-service request processingv0.1.01.0.0-ONAP1.0.0-AmsterdamRich 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 Tabedzki2-282/+230
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-03Improve CCSDK adaptors Sonar coverageRich Tabedzki29-2812/+46
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-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-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 Tabedzki14-5983/+6468
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-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-06CCSDK propagation of RequestID & PartnrName to AAIvaibhav.jain11-3/+8
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-15Fix license headersDan Timoney62-124/+124
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-10[SDNC-30] summaryRich Tabedzki64-648/+1323
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 Williams61-178/+179
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-01[CCSDK-6] Populate seed codeDan Timoney64-0/+20080
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>