summaryrefslogtreecommitdiffstats
path: root/aai-service
AgeCommit message (Collapse)AuthorFilesLines
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-22Add feature aggregatorTimoney, Dan (dt5972)2-3/+3
Add feature aggregator ccsdk-sli-adaptors-all to install all adaptor features. Change-Id: I8e0fa515a18f62a5ca0530d79a1334942c71e5e0 Issue-ID: CCSDK-281 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-18Update sli/adaptors to ODL OxygenTimoney, Dan (dt5972)2-245/+195
Update sli/adaptors to compile against ODL Oxygen parent poms. Change-Id: I112c5aa56dd985ad0e7e361d3839ec7069e5641c Issue-ID: CCSDK-281 Signed-off-by: Timoney, Dan (dt5972) <dt5972@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-06-06Roll version for CasablancaTimoney, Dan (dt5972)6-12/+12
Roll version for Casablanca development start Change-Id: I18e7bbd6dfb2cdcc7bf302411c03ee298ec76be6 Issue-ID: CCSDK-295 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-31Use released parent pomTimoney, Dan (dt5972)6-6/+6
Update to use release parent pom version 1.0.4 Change-Id: Ie5aff311743e9b962cfbdd319ba08ae49c3a4380 Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-30Roll version to 0.2.4Timoney, Dan (dt5972)6-12/+12
Roll version to 0.2.4-SNAPSHOT and version 1.0.4-SNAPSHOT of parent Change-Id: I9580fef343410c3bd42caf2a1a05b833fb617541 Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-23Update to release version parent 1.0.3Stilwell, David (stilwelld)6-6/+6
Update parent version to remove -SNAPSHOT (1.0.3) Change-Id: I03d804016c5007cbbdbaca026a0b7006fddc69d8 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-23Roll to next snapshot versionStilwell, David (stilwelld)6-12/+12
Changed to 0.2.3-SNAPSHOT and updated parent to 1.0.3-SNAPSHOT Change-Id: Ie61b39952f6504db8ae2adf0614aefc243294461 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-21Publish mdsal-resource OSGi servicesTimoney, Dan (dt5972)6-6/+6
Added Aries blueprint to advertise OSGi services. Updated to use release 1.0.2 version of CCSDK parent poms. Change-Id: I92fb652b975c4fd59e173c103350934b94d190d3 Issue-ID: CCSDK-289 Signed-off-by: Timoney, Dan (dt5972) <dt5972@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-29Roll versions step 3 : sli/adaptors pomsTimoney, Dan (dt5972)6-12/+12
Roll version for next release candidate Change-Id: I8100873602b3a4c4fb9cb19876377d9af32e31ab Issue-ID: CCSDK-257 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-23Fixing trustStore issues in AAI ClientRich Tabedzki29-2516/+2568
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-20Fix feature dependency versionsTimoney, Dan (dt5972)1-1/+0
Fix single-feature pom.xmls to use version of sli/core artifactsi specified in parent poms, as opposed to project.version, which is incorrect and causes release build to break. Change-Id: Iec00a73b1b4adf9e8fecdb190385bb35ab1fe1c7 Issue-ID: CCSDK-248 Signed-off-by: Timoney, Dan (dt5972) <dt5972@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-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>