summaryrefslogtreecommitdiffstats
path: root/aai-service/provider/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-12-01Migrate sli-adaptor filesJessica Wagantall37-4478/+0
Migrate sli-adaptor repo files into a new "adaptors" directory. Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-10-20Updating AAI service adaptor to use version 21 (v21) of the schema model.Hesam Rahimi8-41/+41
Issue-ID: CCSDK-2393 Change-Id: I53369c73fd25c7f433fd99456e28fbe0fecbc59a Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
2020-08-03Update adaptors to sodiumDan Timoney1-0/+3
Update sli/adaptors to OpenDaylight Sodium release. 2 changes were needed: - mdsal-resource : needed to add unimplemented abstract methods in inner anonymous BundleContext class in test case. - resource-assignment: needed to correct unit test problems that were ignored in earlier versions of h2 Change-Id: Ice63bfce64768e46c4376db55e3e9e97d0b934ad Issue-ID: CCSDK-2551 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-06-01Merge "added assert statements in 7 test files"Dan Timoney1-0/+5
2020-05-27added assert statements in 7 test filesRupinder1-0/+5
Issue-ID: CCSDK-2232 Change-Id: I07e3806cac9a317130ad1d5fe4c9af4fb1a17a5d Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-27added assert statements in 5 test filesRupinder5-3/+16
Issue-ID: CCSDK-2232 Change-Id: I31033bc267381cf9f07701e4ebacbd318d3070d9 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-03-12Updating aai adapter to v19 modelGaurav Agrawal8-41/+41
Updated AAI XSD model to v19 to make new schema's available to SDNC. Change-Id: I5b82d97e0c96e1593237e0d10d790115bf8be965 Issue-ID: CCSDK-2171 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2019-11-05minor updates to clean up codeAgarwal, Ruchira (ra1926)1-0/+22
clean up code to sync with internal Issue-ID: CCSDK-1873 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com> Change-Id: Idcc7186d5aaa783c527de3986e7a1ecd9bfcf651
2019-06-25Remove versions from project pomsTimoney, Dan (dt5972)1-3/+4
Remove versions from project poms and rely instead on dependencyManagement. Change-Id: I68171346273325e8dee0f7d2538549d2d8c154c8 Issue-ID: CCSDK-1416 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-15Updating aai adapter to v16 modelprakash.e8-41/+41
Updated AAI XSD model to v14 to make new schema's available to SDNC. Change-Id: I87030523747c21fcdb2f58ab9cab60124b7f9e25 Issue-ID: SDNC-764 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-03-06Deprecated named-query from AAIServiceRich Tabedzki6-290/+1
Changes made: * Removed named-query feature from AAIService codebase * Removed any additional unused classes * cleaned up aaiclient.properties * Removed related junit tests Change-Id: Ic9fffbff0eaa85a80f1aa0781c5e675e4bc44602 Issue-ID: CCSDK-1108 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2018-09-17Implement support for inner variablesRich Tabedzki1-0/+3
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-11Updating aai adapter to v14 modelgaurav8-48/+48
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-04-23Fixing trustStore issues in AAI ClientRich Tabedzki10-630/+465
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-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 Tabedzki1-0/+242
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-0/+323
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 Tabedzki3-841/+955
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-01-24Convert aai-service provider to blueprintRich Tabedzki1-491/+0
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-3/+1
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 Tabedzki4-38/+40
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-10-04Improve CCSDK adaptors Sonar coverageRich Tabedzki1-69/+72
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 Tabedzki2-1/+112
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-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-19Updated XSD Model and path propertiesRich Tabedzki1-78/+78
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-06CCSDK propagation of RequestID & PartnrName to AAIvaibhav.jain11-1/+1
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 Timoney2-4/+4
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 Tabedzki1-2/+2
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 Williams2-99/+99
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 Timoney2-0/+726
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>