summaryrefslogtreecommitdiffstats
path: root/aai-service
AgeCommit message (Collapse)AuthorFilesLines
2018-12-28Merge "Sonar fix: AAIClient.java"Dan Timoney1-1/+2
2018-12-21Sonar fix: CustomQueryRequest.javaArundathi Patil1-5/+3
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-872 Change-Id: I64a1c297f3eba7305479b7102eccf9ffd8b7ec18 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-21Sonar fix: AAIClient.javaArundathi Patil1-1/+2
Fixed sonar isues/code-smells across this file Issue-ID: CCSDK-871 Change-Id: I95c8072f1c08039af84965947cac0ac26e7a8cea Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-18Removed unused imports in RelationshipRequest.javaezhil1-5/+2
Removed unsed imports Issue-ID: CCSDK-833 Change-Id: Ic25e289864195999050b2b42b3cf8a492bd5c8a4 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
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-10-23Roll to initial Dublin snapshotTimoney, Dan (dt5972)6-12/+12
Roll version to initial Dublin snapshot Change-Id: I2b1b5aaa6919c9259d46d2988fb65836f47a3bf9 Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-11Prepare for RC0 release3.0.0-ONAP0.3.1Timoney, Dan (dt5972)6-6/+6
Update to prepare for RC0 release build: remove -STAGING tag from release version and use released parent poms. Change-Id: I5e07d7af8381af1f22b8288965d400f95eb92abf Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-09-26Roll to next snapshotTimoney, Dan (dt5972)6-15/+12
Roll to next snapshot release Change-Id: I635702b1ef321150741607ec4082f50ca1d9eee3 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-25Prepare for release version0.3.0Timoney, Dan (dt5972)6-6/+11
Update to use released parent pom and remove -STAGING from release version. Change-Id: I41fbd91a0ccddf9386ac9985d6272d952c5f80ed Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@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 modelgaurav28-946/+2686
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-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 pomv0.2.42.0.0-ONAPbeijing2.0.0-ONAPTimoney, 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.3v0.2.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>