aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src
AgeCommit message (Collapse)AuthorFilesLines
2018-01-17Merge "Sonar Minor:Remove duplicate literal"Venkata Harish Kajur1-4/+6
2018-01-15Add all of the command line toolsVenkata Harish K Kajur5-19/+833
for the get put update and releationship tools Issue-ID: AAI-488 Issue-ID: AAI-489 Issue-ID: AAI-490 Issue-ID: AAI-491 Issue-ID: AAI-492 Change-Id: Ie38f93e56b062d3d6966b191af5a9bc1817cf40e Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-01-08Sonar Minor:Remove duplicate literalaishkashyap1-4/+6
Remove duplicate literal 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:264 Issue-ID: AAI-578 Change-Id: Idb14c0568c2740dd9257b965b4dce8a7e4b34548 Signed-off-by: aishkashyap <as00476394@techmahindra.com> Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-01-08Merge "Replace the type specification in constructor call"James Forsyth1-1/+1
2018-01-08Merge "Sonar Major:Use isEmpty() to check the collection"James Forsyth1-1/+1
2018-01-08Merge "Sonar Minor:Remove the declaration of exception"James Forsyth1-1/+1
2018-01-08Merge "Sonar Minor:Constant instead of duplicate literal"James Forsyth1-9/+9
2018-01-08Merge "Sonar Major : Remove useless parentheses"James Forsyth1-1/+1
2017-12-22Replace the type specification in constructor callaishkashyap1-1/+1
Replace the type specification in constructor call with the diamond operator 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:335 Change-Id: Iab8df89a6c049eeceaea880ed1e00f1f080a25af Issue-ID: AAI-581 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
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-05Update the code for docker to be not dependentVenkata Harish K Kajur1-0/+4
on core version so each time there is a version change we don't need to increase the versions Issue-ID: AAI-550 Change-Id: I8a0a9eafaeeeefa172d17201853daf2a19773eca Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-12-05Add limit override for bulk api'sMaharajh, Robby (rx2202)2-20/+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)7-6/+551
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)6-138/+308
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)12-332/+769
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 Kajur9-11/+6085
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-11-10Change the junits to inherit from AAISetupVenkata Harish K Kajur5-5/+10
Issue-ID: AAI-462 Change-Id: I7a6c3dbfb9fd38f6c94f9ef12799e2c3f8d0dd23 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-11-02Update the dependency from snapshotVenkata Harish K Kajur1-1/+3
to using the release version and remove the dependency in the docker file that is tied to the 1.1.0 since we are upgrading it will not always be the same and always depend on the project version as it will be updatable from the versions:set command Issue-ID: AAI-448 Change-Id: I639e56da3584bccbfcecc511f77999ba73548080 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-10-04Change the init chef to wait until hbase is upVenkata Harish K Kajur1-0/+39
When vm1 and vm2 are deployed independently the vm1 needs to manually check the port on hbase container and see if the hbase is open when the port is open, wait a couple of seconds and then start the create db schema script Issue-ID: AAI-411 Change-Id: I329cb15de73fecd6c4057c6ee2c406bbf03a0272 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-10-03Add unit tests to interceptors increase coverageVenkata Harish K Kajur4-12/+268
Issue-ID: AAI-213 Change-Id: I181ea41c3fb752e8566dbd0a0e27e39767006df3 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-10-02Fix git clone issue to fail container startupVenkata Harish K Kajur1-3/+3
When the git clone fails, application should not startup Issue-ID: AAI-408 Change-Id: I49fdaa40d793b500142c6e5fe4d6d7085676160a Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-28Change package names org.openecomp to org.onapVenkata Harish K Kajur121-1262/+1485
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-18Modify dockerfile to use common docker imageVenkata Harish K Kajur3-108/+110
In order to decrease image size as well as decrease the build time of docker image everyday Issue-ID: AAI-219 Change-Id: Id007092977b539d8a27f92511f7ced56a61068e4 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-17Fix update edge tags got broken in cleanupVenkata Harish K Kajur19-130/+404
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 Kajur68-20110/+4362
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-28Remove the att references in the resourcesVenkata Harish K Kajur7-692/+600
Issue-ID: AAI-217 Change-Id: I6833d63cde6c83e0497c92155db499bc684e8792 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 Kajur9-1611/+4
Change-Id: I70301abf0bee7157e851d6c866c90b38fc43c68a Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-14[AAI-149 Amsterdam] migrate vpeLin, Jerry (jl319x)7-1047/+64
Change-Id: Ifad2a7000a732a6ff4b6842be9365ed0bdd52971 Signed-off-by: Lin, Jerry (jl319x) <jl319x@att.com>
2017-08-14[AAI-168 Amsterdam] add simple format testur326r8-7/+68
Change-Id: Ie9a569ddd6cd414f7fa29c787f1e5c379e08c407 Signed-off-by: ur326r <ur326r@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)18-91/+135
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)10-11/+11567
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>