summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-02Fix the update query tool to work properlyVenkata Harish K Kajur1-1/+1
The update query tool is supposed to be getting the url from aai config and that is supposed to have the /aai/v11 which was missing during a previous change Issue-ID: AAI-408 Change-Id: I3c4e2ac9712ea4b7bf6846b9516a5ce7ce12398f Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-10-01Fix git clone issue to fail container startupVenkata Harish K Kajur2-2/+8
Also fix the call to update query script issue since in kubernetes environment, there is no guarantee that the haproxy will come up before the traversal container comes up so we need to modify aai.server.url to point to resources container Issue-ID: AAI-408 Change-Id: I46c4e75c10a7509541ea19113a3297de26f92677 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-28Change all the packages from openecomp to onapVenkata Harish K Kajur130-3814/+4292
Issue-ID: AAI-61 AAI-82 Change-Id: Iba7de4bd0dea1398d8608c9c514d78ad69201d0a Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-27Merge "Added docs directory and index file for traversal"James Forsyth1-0/+8
2017-09-27Add unit test cases to increase the sonar coverageaditya9-147/+1213
Add unit test cases to increase the sonar coverage Issue ID: AAI-212 Change-Id: I7fec9a9f4d2e7f898cd15bba513bee2ece139ea8 Signed-off-by: Aditya Gajulapalli <ag282f@att.com>
2017-09-26Logging Updates for TraversalO'Connor, Lina (lo8949)1-0/+5
Issue-ID: AAI-389 Change-Id: Ied84357b080db5aceb272b2d72cc9d4ae8d70d81 Signed-off-by: O'Connor, Lina (lo8949) <lo8949@att.com> Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-26Added docs directory and index file for traversalMaharajh, Robby (rx2202)1-0/+8
Issue-ID: AAI-383 Change-Id: Ib3db2cb669c24a9a23ad98b61e24605adec88381 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2017-09-25Create a query to provide horizontal viewVenkata Harish K Kajur2-0/+203
Issue-ID: AAI-381 Change-Id: I7da103f72c68eef615f73d21a5a8cc4fc89160ad Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-25Merge "Add RequestId and PartnerName in log"Tian Lee1-2/+17
2017-09-22Merge "Add stored queries for port mirroring"James Forsyth8-11/+627
2017-09-22Add stored queries for port mirroringVenkata Harish K Kajur8-11/+627
Issue-ID: AAI-373 Change-Id: I3356400a0d63791c0f959053e8a2d9fb784de456 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-22Merge "Fix Blocker/Critical sonar issues"James Forsyth1-2/+2
2017-09-22Merge "Removed redundant checks"James Forsyth1-4/+2
2017-09-22Merge "Fix major sonar issues"James Forsyth1-2/+2
2017-09-21Fix major sonar issuesshashikanth1-2/+2
Fix Major sonar issues in aai/traversal module https://sonar.onap.org/component_issues?id=org.onap.aai.traversal%3Atraversal#resolved=false|severities=MAJOR Fixed string literal on the left side of this string comparison Issue-Id:AAI-212 Change-Id: I41fab87df2e9c32f3ab2a07db9ab5aadc9c91d25 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-21Removed redundant checksshashikanth1-4/+2
Fix Major sonar issues in aai/traversal module https://sonar.onap.org/component_issues?id=org.onap.aai.traversal%3Atraversal#resolved=false|severities=BLOCKER Change this condition so that it does not always evaluate to "true" Issue-Id:AAI-212 Change-Id: I64659f0afc1cc497f31cf726a8c29b8bdf849a49 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-21Fix Blocker/Critical sonar issuesshashikanth1-2/+2
Fix Major sonar issues in aai/traversal module https://sonar.onap.org/component_issues?id=org.onap.aai.traversal%3Atraversal#resolved=false|severities=BLOCKER Fixed NullPointerException might be thrown as 'uri' is nullable here Issue-Id:AAI-212 Change-Id: Ie4f47a47c3d54a4356aad787dcc10acbfcdd87ea Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-21Fix the site path so it didn't get overwrittenVenkata Harish K Kajur2-18/+1
The issue was the sitePath got overwritten to use project group id as well but the location specified by nexus is explicility set so that we can only write site/org/onap/traversal/1.1.0/staging Issue-ID: AAI-76 Change-Id: I1622cb8051b7edff219a881a43522014480d23f1 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-20Fix the version missing the child pomVenkata Harish K Kajur1-0/+1
Issue-ID: AAI-76 Change-Id: I8d0cea68be7c2bbdac50e7e172dd80c032c335e8 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-20Updated site path and preferring onap.nexus.urljimmy1-5/+5
Issue-ID: AAI-76 Change-Id: Iaaaf0b8a98f1808a67703460e640ab77d8c9c3e8 Signed-off-by: jimmy <jf2512@att.com>
2017-09-20Merge "Add custom queries"James Forsyth5-0/+616
2017-09-20Fix the updateQuery to be run by aaiadminVenkata Harish K Kajur1-1/+6
Also ensure that this is only run once when the first time the container is started so during restart this won't be triggered Issue-ID: AAI-307 Change-Id: I31ea9e86c12b52083d8141e863e557f0c8b6b322 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-19Add custom queriesLin, Jerry (jl319x)5-0/+616
Issue-ID: AAI-339 Change-Id: Ic93ef73daaa8c4e24168be62414bd67bad5b2a8b Signed-off-by: Lin, Jerry (jl319x) <jl319x@att.com>
2017-09-19run updateQueryData.sh in docker-entrypointKrzysztof Kwiecien1-1/+19
this script will upload defined named query to the aai-traversal service Change the docker-entrypoint script to wait for resources and then start the named query after resource is up and start the traversal app as the main app Issue-ID: AAI-307 Change-Id: I7a0a4a97cc63eb5d3d1c9a31c908726a8c0af1e9 Signed-off-by: Krzysztof Kwiecien <krzysztof.kwiecien1@orange.com> Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-18Modify dockerfile to use common docker imageVenkata Harish K Kajur3-105/+107
In order to decrease image size as well as decrease the build time of docker image everyday Issue-ID: AAI-219 Change-Id: I6c5aea3672a24f0512ef95eead32b04b642400e9 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-18Add RequestId and PartnerName in logpranavdi1-2/+17
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: Idfc6c4c0d31eaec90c8c397ee526072a09e1504e Issue-ID: AAI-274 Signed-off-by: pranavdi <Pranav.Dixit@amdocs.com>
2017-09-15Increase the code coverage for sonar to 30%Venkata Harish K Kajur10-147/+490
Issue-ID: AAI-212 Change-Id: I823f697733c4b6ae44d36f018b2d093316499add Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-15Add unit tests to get 30% coverageVenkata Harish K Kajur7-0/+1012
Issue-ID: AAI-212 Change-Id: I270452f725f30c620091406df6f5ce07fc2cb264 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-14Add unit test cases to increase the sonar coverageaditya2-67/+1524
Add unit test cases to ModelBasedProcessing to increase the sonar coverage Issue ID: AAI-212 Change-Id: I303fc142f29fbf05183e9fc1e04a98e188ce81e3 Signed-off-by: Aditya Gajulapalli <ag282f@att.com>
2017-09-12Fix the stage site issue by adding onap.nexus.urlVenkata Harish K Kajur2-1/+3
Issue-ID: AAI-76 Change-Id: Ieb989b33f199751a2345b2941046c7d54ff5e940 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-08Update traversal to fix stage issuesVenkata Harish K Kajur1-0/+36
Issue-ID: AAI-76 Change-Id: I77378b889067d4e6b3d1e6b7c4a684e6da6ba11e Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-11Merge "Adding named-query for APPC"Manisha Aggarwal3-22/+124
2017-09-08Cleanup project's name in SonarJessica Wagantall1-1/+1
The name parameter in the root pom.xml should match the project name in gerrit to reflect consistency in Sonar. Change-Id: I9e42cb64447b3bb6a5a33e0dc81eb9d866e8584c Issue-id: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-09-08Adding named-query for APPCjimmy3-22/+124
Issue-ID: AAI-272 Change-Id: Ibe5222dcc876647354f8147090ea276a8685bddf Signed-off-by: jimmy <jf2512@att.com>
2017-09-08Add name to the top level pom for traversalVenkata Harish K Kajur3-3/+1
Issue-ID: AAI-271 Change-Id: I082bd5ae43aa352785815b5bea30bff708b1cfa4 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-01added new queries for vce resiliency automationThreefoot, Jane (jt6620)5-1/+359
Issue-ID: AAI-258 Change-Id: I648dc6f51e8801a29324d6e56e357bdefc957ae3 Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>
2017-08-31Remove license-maven-plugin from traversalSreenivasa Reddy Chinnannagari1-46/+0
Remove MojoHaus license-maven-plugin from traversal pom.xml Change-Id: Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbf8b Issue-ID: AAI-74 Signed-off-by: Sreenivasa Reddy Chinnannagari <sc00492357@TechMahindra.com>
2017-08-29Merge "Built named-query for policy needs"Manisha Aggarwal2-0/+278
2017-08-29Built named-query for policy needsjimmy2-0/+278
Issue-ID: AAI-220 Change-Id: I3dc8e8b88062328b8226d9b2fa3841e125b98851 Signed-off-by: jimmy <jf2512@att.com>
2017-08-28Remove the att references in traversalVenkata Harish K Kajur1-1/+1
Issue-ID: AAI-217 Change-Id: Ic8e4684c95760ebc79873acdcd5d12b4d5adb015 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-22Final commit v11/Amsterdam seed code stabilizationVenkata Harish K Kajur2-1062/+1070
Fix the indentation in all of the pom files Issue-ID: AAI-202 Change-Id: I0354d5625f5867ff219503323432745e6fc187fb Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-22Fix Model based delete failing bugVenkata Harish K Kajur2-22/+17
Issue-ID: AAI-206 Change-Id: If69f34b9527e4e21a4ddacd32d3591f3f591da05 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-21Fix the invalid namespace 500 error model queryVenkata Harish K Kajur1-5/+1
Issue-ID: AAI-205 Change-Id: I09dde57a2f69ef56acc5c87a5b0472e353e492aa Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-20Move extensions to aai-commonVenkata Harish K Kajur2-971/+0
Issue-Id: AAI-201 Change-Id: I8ce0c14d9d48dfb76a8b27cb6a936deb2836e365 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-20Remove json files from test bundleconfig dirVenkata Harish K Kajur115-3520/+0
Issue-Id: AAI-200 Change-Id: I7e7127e60098dd83730d42d345ac50c2313fca14 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-18[AAI-194 Amsterdam] Add the stored query and testVenkata Harish K Kajur2-1/+84
Change-Id: Idfcf4dacb9b778d187ef74fbfa1a33305aabecab 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-1717/+0
Change-Id: If03537cb04387cbaadb3aae6eac7a0a903527cd6 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-14[AAI-168 Amsterdam] add stored queriesur326r7-8/+167
Change-Id: I3ab0459c97ebbab98b0a6dc4c9d3cb701aac548f Signed-off-by: ur326r <ur326r@att.com>
2017-08-14[AAI-147 Amsterdam] Fix commentLin, Jerry (jl319x)3-30/+30
Change-Id: I5407527041a2b3a5c886d8c09e225f102d47c3d3 Signed-off-by: Lin, Jerry (jl319x) <jl319x@att.com>
2017-08-14[AAI-147 Amsterdam] add custom queriesLin, Jerry (jl319x)8-31/+672
Change-Id: I0f03b5c63629a305d1156ff62902f872d50ff92d Signed-off-by: Lin, Jerry (jl319x) <jl319x@att.com>