summaryrefslogtreecommitdiffstats
path: root/aai-service/provider/src
AgeCommit message (Collapse)AuthorFilesLines
2019-01-09fixed sonar issues in NamedQueryRequest.javaSandeep J1-5/+7
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: I2947dc37fd46a07ceeed8a2014845f898b8d9699 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-08fixed sonar issue in AAIRequest.javaSandeep J1-1/+3
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: Ia8f0883f29ae227225da393254106b4862dafffe Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-07Merge "fixed sonar issues in AAIClientRESTExecutor"Dan Timoney1-9/+11
2019-01-07Merge "fixed sonar issue in AAIDeclarations.java"Dan Timoney1-9/+12
2019-01-07Merge "Fixed major sonar issues in AAIClientRESTExecutor"Dan Timoney1-2/+4
2019-01-07fixed sonar issues in AAIClientRESTExecutorSandeep J1-9/+11
fixed sonar issues Issue-ID: CCSDK-552 Change-Id: I7ef4106478624255a4d5e3cd187108dadb5be1fe Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-07fixed sonar issue in AAIDeclarations.javaSandeep J1-9/+12
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: I06c1b4b8fa16b5e4adfaab1b245bcbdb674a36e4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-04Fixed major sonar issues in AAIClientRESTExecutorezhil1-2/+4
Change-Id: Ibeb24cd357f099f9f85da05a7da2e0ebe42b679f Issue-ID: CCSDK-906 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2019-01-01Sonar fix: AAIClient.javaArundathi Patil1-3/+0
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-887 Change-Id: I550bf695f3bb7827a3f16c235a58d87a533fab6e Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
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-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>