summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main
AgeCommit message (Collapse)AuthorFilesLines
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)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-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-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 Kajur74-795/+917
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 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)8-61/+34
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)8-374/+775
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-21Merge "Add HTTP_PROXY and HTTPS_PROXY args"Manisha Aggarwal1-3/+6
2017-06-16[AAI-ONAP] Keep the onap updated and remove codeVenkata Harish K Kajur24-2380/+980
Change-Id: I2eee989cf835d45a84b2edf2d3ec342e9411f1e5 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-06-14Add HTTP_PROXY and HTTPS_PROXY argsVictor Morales1-3/+6
It was included a mechanism to pass proxy arguments to the image. Besides fixing the use of HTTPS_PROXY. Change-Id: I98d8be3a122e8b549318af2362302e0305850694 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-06-08[AAI-ONAP] Add the basic auth key for AaiUIVenkata Harish K Kajur1-0/+1
Change-Id: Ie77fd0d90ed33d7e61a858f57e5caa2c1829b993 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-06-07[AAI-ONAP] Get latest changes from develop syncVenkata Harish K Kajur13-1985/+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 Kajur4-153/+136
Change-Id: I163502d5e422e57c4a6be52d0356801eb7db1b41 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>