summaryrefslogtreecommitdiffstats
path: root/aai-service/provider/src
AgeCommit message (Collapse)AuthorFilesLines
2018-12-17Merge "Fixed sonar issues in CustomQueryRequest.java"Dan Timoney1-16/+17
2018-12-17Fixed sonar issues in CustomQueryRequest.javaezhil1-16/+17
Fixed major and minor sonar issues Issue-ID: CCSDK-832 Change-Id: I22c84582106e2ddc4068b1d4546618bc44ccec02 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-17Fixed Major issues in AAIDeclarationsezhil1-198/+204
Fixed major sonar issues Issue-ID: CCSDK-831 Change-Id: Iac027c34755ceb54b9c3d38aea0a8aedbe221c37 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-11-30Merge "Added fix for potential nullpointerexception"Dan Timoney1-1/+3
2018-11-29Added fix for potential nullpointerexceptionChandan Ghosh1-1/+3
Added fix for potential nullpointerexception reported in sonar Issue-ID: CCSDK-767 Change-Id: I92a363ded79ea282c24216b525c8567492a53e17 Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
2018-11-29added log for exception blockChandan Ghosh1-1/+1
Added log for exception block reported in sonar Issue-ID: CCSDK-767 Change-Id: I71d5cc7df8a0b3aefb2046a2d2860339f16216d0 Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
2018-11-21Restore inventory-response-item in XSD ModelRich Tabedzki1-0/+11
Changes made: * Restored the original definition of inventory-response-item to include supported data types Change-Id: Ib7b708660635539c04a77d5e2aa5f4d2ab8a8f13 Issue-ID: CCSDK-740 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2018-09-17Implement support for inner variablesRich Tabedzki7-15/+43
Changes made: * added code that allows replacement of aai version variable in variable substitution Change-Id: Ib2226c3ed0b308abcdcfe70797960bd32e4eaf50 Issue-ID: CCSDK-580 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2018-09-12Adding new resources of aai v14 modelgaurav1-39/+51
Added new resources from AAI v14 model to aai-path.properties. Change-Id: Idca20bf8e2390c11541ba0733f3ce7facaa20de2 Issue-ID: CCSDK-324 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-09-11Updating aai adapter to v14 modelgaurav27-944/+2684
Updated AAI XSD model to v14 to make new schema's available to SDNC. Change-Id: I9b282bd23e754e0b8ef39a3013f7240a869fae5f Issue-ID: CCSDK-324 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-09-07Updating thirdparty sdnc path aai versiongaurav1-2/+2
Updating thirdparty sdnc path to v13 version of aai. Change-Id: Ib20888ce98366380648730326ffc53ac8c7b6b0b Issue-ID: CCSDK-480 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-08-22Adding thirdparty sdnc path to aai propertiesgaurav1-1/+3
Added thirdparty sdnc path to aai properties. Change-Id: I39ceca785c8a9be345ed0dc7df33b55148e886e3 Issue-ID: CCSDK-480 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-08-21fix exception handlingAgarwal, Ruchira(ra1926)1-31/+22
Alternate solution for exception handling Change-Id: Iccafba83ea9d8f01e930c4fb63b1a80a4a0d8af7 Issue-ID: CCSDK-426 Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com>
2018-08-06fix http error handlingRuchira Agarwal1-5/+52
Enhance exception handling by providing alternate message when getResponseMessage() call fails. Change-Id: I70123b1cb295f6fe6aeb0afbdd6714e1adddaa01 Issue-ID: CCSDK-426 Signed-off-by: Ruchira Agarwal <ra1926@att.com>
2018-07-12Fix sonar issue in AAIClientRESTExecutorParshad Patel1-2/+1
FileInputStream closed Issue-ID: CCSDK-332 Change-Id: I889e6f57e50eb3256b74c7f5342dea872ea3aa6a Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-07-06AAIService change URL to URIAgarwal, Ruchira(ra1926)1-2/+1
Use URI instead of URL for resource-link Change-Id: I0d29f14a0425ff098d3b965e6d9ba54ab2c9aff7 Issue-ID: CCSDK-353 Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com>
2018-06-07Corrected Access Specifier modificationRich Tabedzki1-16/+0
Changes made: * Removed calls to Method::setAccessible(true) Change-Id: I5a73939383859cb7e5a241be8b3d4f52cea3c45a Issue-ID: CCSDK-287 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
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 Tabedzki28-2514/+2566
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-27Improve code coverage in AAIService moduleRich Tabedzki4-5/+205
Changes made: * added new unit test PathCreationTest to test CRUD API of AAIService Change-Id: I85f4df8bfed786324db717faf1c1ccc827ffc4dd Issue-ID: CCSDK-149 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2018-03-27Update adaptors witj junitsRuchira Agarwal12-0/+857
Adding junits for adaptor aai-service query and update Change-Id: I4b95e90ce3c8e2a8a52448cca578e34d51ecc581 Issue-ID: CCSDK-225 Signed-off-by: Ruchira Agarwal <ra1926@att.com>
2018-03-26Add junit for adaptorsRuchira Agarwal7-0/+450
Added new junits for aai-service Change-Id: Ia717d0e6180f9fd8ecd9d98935d5ceeeaa69530c Issue-ID: CCSDK-225 Signed-off-by: Ruchira Agarwal <ra1926@att.com>
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-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 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 Tabedzki9-1265/+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 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-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