summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2017-12-21Sonar Major:Use isEmpty() to check the collectionaishkashyap1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#statuses=OPEN|assigned=false|severities=MAJOR Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:397 Change-Id: I4ffc7c8a0aa71101c1933bf792071934a8c91e2c Issue-ID: AAI-579 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-21Sonar Minor:Remove the declaration of exceptionaishkashyap1-1/+1
Remove the declaration of thrown exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#statuses=OPEN|assignees=aishkashyap Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:332 Issue-ID: AAI-577 Change-Id: I4947d8023c076a321513c5f43c6bd35ab3088930 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-21Sonar Minor:Constant instead of duplicate literalaishkashyap1-9/+9
Declare constant instead of duplicate literal Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=BLOCKER%2CMINOR|statuses=OPEN|assigned=false Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:183 Change-Id: I34b6e1874a56dd57686e5a34e17c1309452fd3f1 Issue-ID: AAI-575 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-21Sonar Minor : Remove declaration runtime exceptionaishkashyap1-1/+1
Remove declaration runtime exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=MINOR|assigned=false Location: src/main/java/org/onap/aai/rest/BulkConsumer.java Line No:282 Change-Id: I7a96bf76c88f7bbb27aec78bad3bd7d54a0b7618 Issue-ID: AAI-574 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-21Sonar Critical :To either Log or rethrow exceptionaishkashyap1-1/+1
To either Log or rethrow exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=MINOR%2CCRITICAL|assignees=aishkashyap Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:355 Change-Id: Id2e9f0de6acb9844887e740902425be075209d6c Issue-ID: AAI-573 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-20Merge "Sonar Minor : Make field final static"James Forsyth1-1/+1
2017-12-20Sonar Critical:To either Log or rethrow exceptionaishkashyap1-2/+1
To either Log or rethrow exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=MINOR%2CCRITICAL|assignees=aishkashyap Location: src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java Line No:352 Change-Id: Idb0cc6eaf9d37355e733a7cd3502d5930ceafa9f Issue-ID: AAI-572 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-20Sonar Minor : Make field final staticaishkashyap1-1/+1
Make field final static Sonar Link : https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=MINOR%2CMAJOR|assignees=aishkashyap Location: src/main/java/org/onap/aai/dbgen/ForceDeleteTool.java Line No: 342 Change-Id: Iebb4830614344e096a26ba27f87e1388c12e1cf6 Issue-ID: AAI-571 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-20Sonar Major : Remove useless parenthesesAishwarya Singh1-1/+1
Remove useless parentheses Sonar Link : https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=MAJOR|assignees=aishkashyap Location: src/main/java/org/onap/aai/dbgen/ForceDeleteTool.java Line No: 242 Change-Id: I1cd33867308152828a2b06d7601f0a835b413fc4 Issue-ID: AAI-570 Signed-off-by: Aishwarya Singh <AS00476394@TechMahindra.com>
2017-12-05Add limit override for bulk api'sMaharajh, Robby (rx2202)1-19/+24
Issue-ID: AAI-535 Change-Id: Ie248a85541f77b786973be54a7791f6e4e7dff16 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-12-04Update the aai-resources to verify bulk limitsMaharajh, Robby (rx2202)1-6/+49
Issue-ID: AAI-529 Change-Id: Ia87e3298ce9c46f3b409587df6e9bd6e2065ec8a Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-12-04Update error messages to say bulkprocess insteadMaharajh, Robby (rx2202)3-8/+21
of bulkadd Issue-ID: AAI-537 Change-Id: Ib9efa0b0a1da72506b5c247c610ba6826e3e3aeb Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-12-04Add support to bulk api for patch/deletesMaharajh, Robby (rx2202)1-1/+1
reationships Issue-ID: AAI-534 Change-Id: I5334bb047ff1977474cd7b653e61d47ee7e99220 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-12-04Support bulk api for patch/deletesMaharajh, Robby (rx2202)4-97/+393
Issue-ID: AAI-533 Change-Id: I86ece3494985da48606f356dada267fac14a7aad Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-11-27Add v12 api changes for the new release codeVenkata Harish K Kajur6-6/+6
Issue-ID: AAI-514 Change-Id: I8494ec854f7dddd51748da884b74b4196c7ab704 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-11-18add aai exception when missing FromAppId headerPavel Paroulek1-2/+1
adding an aai exception so that instead of NPE a 4009 exception is thrown in case of a missing FromAppId header Change-Id: Iac14eeedd05a8caf0fc676c5e218938aa94a6e27 Issue-ID: AAI-480 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
2017-09-28Change package names org.openecomp to org.onapVenkata Harish K Kajur50-595/+665
Issue-ID: AAI-61 AAI-82 Change-Id: Ib1d937fb31b1e737c4651eac9c0193fd05d97f01 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-26Logging Updates for logback.xml files and ServletO'Connor, Lina (lo8949)1-0/+4
ContextListener Issue-ID: AAI-388 Change-Id: I76f5a938211e3232bfc6445e0d21b2b8451f080f Signed-off-by: O'Connor, Lina (lo8949) <lo8949@att.com>
2017-09-25Merge "Add RequestId and PartnerName in log"Tian Lee1-2/+16
2017-09-22Add RequestId and PartnerName in logpranavdi1-2/+16
The Onap application logging guidelines suggest the logs should have MDCs for RequestId and PartnerName to create audit trail. Adding the same for AAI logs Change-Id: I4a4db91fa45ced7b30d346b884e4d4841391f64b Issue-Id: AAI-274 Signed-off-by: pranavdi <Pranav.Dixit@amdocs.com>
2017-09-22Fix Blocker/Critical sonar issuesshashikanth1-1/+1
Fix Blocker/Critical sonar issues in aai/resources module https://sonar.onap.org/component_issues?id=org.onap.aai.resources%3Aresources#resolved=false|severities=BLOCKER Issue fixed: NullPointerException might be thrown as 'actionElement' is nullable here Issue-Id:AAI-247 Change-Id: I7360fc0b8812fac2fdf280e62fe3da2652a152af Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-20Fix Blocker/Critical sonar issuesshashikanth1-1/+1
Fix Blocker/Critical sonar issues in aai/resources module https://sonar.onap.org/component_issues?id=org.onap.aai.resources%3Aresources#resolved=false|severities=BLOCKER Fixed NullPointerException might be thrown as 'oldProp' is nullable here Issue-Id:AAI-247 Change-Id: I83103832cc3e6de9a769ba27c9576e929e94e08d Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-17Fix update edge tags got broken in cleanupVenkata Harish K Kajur1-115/+29
Also add the license tag that didn't get added Need to ensure new files need to have license since the plugin to automatically add license got removed Issue-ID: AAI-213 Change-Id: I85c1208c5800f624b23b24feadf66b2fe1833e6d Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-12Add unit test cases to increase coverage to 30%Venkata Harish K Kajur5-1407/+0
Remove classes that are already removed internally Use a unified AAISetup class that uses common configuration Issue-ID: AAI-213 Change-Id: If99b5230140ea300cd70eeaf9fd4064e4a07d99a Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-20Remove common file between aai-common resourcesVenkata Harish K Kajur1-36/+0
Issue-Id: AAI-199 Change-Id: I961a9e85da07e8732785820a460711bf52831dec Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-16[AAI-178 Amsterdam] Make Edge Properties to beMaharajh, Robby (rx2202)1-2/+2
declared by direction Change-Id: I7603ebdc4986caccd7c8be7e62769765e805c4b2 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-08-16[AAI-177 Amsterdam] Remove edge migrator from listVenkata Harish K Kajur2-0/+168
Change-Id: I2dc3a9ae57e41a6258468536e2598e64471e144a Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-15[AAI-171 Amsterdam] Move rest db to aai-commonVenkata Harish K Kajur7-1611/+0
Change-Id: I70301abf0bee7157e851d6c866c90b38fc43c68a Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-11[AAI-161 Amsterdam] Fix the timestamp for dmaapVenkata Harish K Kajur1-1/+1
Change-Id: I5b61c4818983e56fe042d6f1d37e6b4ac0418afc Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-11[AAI-154 Amsterdam] Check in titan refactorMuller, Andrew (am8383)7-59/+32
Change-Id: I955ac630071680e690c523e005d289d8fc40ba6c Signed-off-by: Muller, Andrew (am8383) <am8383@us.att.com>
2017-07-14[AAI-50 Amsterdam] Add support for v11 version APIMaharajh, Robby (rx2202)7-7/+7
Update rest controller paths to include v11 update version in app props to v11 Update default api version for dmaap to v11 Update oxms in the test dir to v11 Update version of schema and core for resources Change-Id: Ic1604f75a00fdafbda3de30ce5421efecdc128d9 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2017-06-27[AAI-14] Force delete tool now uses TinkerpopMaharajh, Robby (rx2202)6-372/+772
vertex vs titan vertex Updates now always add aai-node-type to vertex Stop using hbase.table.timestamp.format=YYYYMMdd-HH:mm:ss:SSS for date format Define new endpoint in ajsc to process the v8 models from Model Loader Change-Id: I7f6986e12d0f4c74256fe24629e1f1851541d7e4 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2017-06-16[AAI-ONAP] Keep the onap updated and remove codeVenkata Harish K Kajur17-2023/+970
Change-Id: I2eee989cf835d45a84b2edf2d3ec342e9411f1e5 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-06-07[AAI-ONAP] Get latest changes from develop syncVenkata Harish K Kajur12-1930/+87
Change-Id: I2bf80b4af4e3db84cf61fd98bc0ad6efb5e0551b Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-06-06[AAI-ONAP] Make necessary chagnes to enable dmaapVenkata Harish K Kajur3-153/+135
Change-Id: I163502d5e422e57c4a6be52d0356801eb7db1b41 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-05-25Remove the unnecessary files that are duplicatedVenkata Harish K Kajur2-359/+0
Change-Id: I52fbaceb47d609003b2decf9f0467fcf6e6ac755 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-05-24Pull the latest code resources internalVenkata Harish K Kajur30-95/+4193
Remove the test that should not be in resources Change-Id: Ic20fe3942bae3ec217933284d2b176bb8079788e Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-05-19Add the necessary tools for resources and logbacksVenkata Harish K Kajur8-0/+2213
Change-Id: Ia86de3587ffafe98c427f0fcfd45d2e6453f6db2 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-05-12Add all of the resources repoVenkata Harish K Kajur41-0/+6851
Change-Id: If2a9c584621f6d01eb70e9c51e05e054ef3486c4 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>