summaryrefslogtreecommitdiffstats
path: root/aai-traversal
AgeCommit message (Collapse)AuthorFilesLines
2018-02-01Merge "Sonar Minor:Define a constant instead of literal."James Forsyth1-2/+4
2018-01-17Merge "Sonar Major: Replace the type specification."Venkata Harish Kajur1-1/+1
2018-01-15Add ability to do optional params for custom queryLamont, William (wl2432)39-480/+2134
Change-Id: I1e61bbee2def41db5e7064ad3a3e916b7afcc299 Issue-ID: AAI-652 Signed-off-by: Lamont, William (wl2432) <wl2432@att.com>
2018-01-15Sonar Minor:Define a constant instead of literal.aishkashyap1-2/+4
Define a constant instead of duplicating this literal depth. Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.traversal%3Atraversal#resolved=false|assignees=aishkashyap Location: src/main/java/org/onap/aai/rest/QueryConsumer.java Line No:186 Issue-ID: AAI-656 Change-Id: I92e4753aa501d939bd1b85732fcadeaebfbdef16 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2018-01-10Sonar Major: Replace the type specification.aishkashyap1-1/+1
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.traversal%3Atraversal#resolved=false|assigned=false Location: src/main/java/org/onap/aai/util/MakeNamedQuery.java Line No:78 Issue-ID: AAI-620 Change-Id: Ied0e7d3d1172bc7cb2f380c3ea6eb7b827e7e1f7 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-12-20Remove the tools dependency of jdkVenkata Harish K Kajur1-8/+0
Issue-ID: AAI-566 Change-Id: I1b8e0806917c22f102cbddeb8d82c7f458241247 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-12-08Add the service model custom queryVenkata Harish K Kajur2-1/+86
Issue-ID: AAI-557 Change-Id: Ibe6ab6a565d0db65edd29e110ad1283c1af4e3f0 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-12-06Update last reference openecomp docker entrypointVenkata Harish K Kajur1-1/+1
Issue-ID: AAI-479 Change-Id: I942385f7441bc39d8639d6580254ef4637bf4c0b Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-12-05Update the code for docker to be not dependentVenkata Harish K Kajur1-0/+5
on core version so each time there is a version update there won't be need to update this everywhere Issue-ID: AAI-550 Change-Id: I86db1e5e8dd5fc2b0357600219cd5ac3aab5ba6c Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-12-05Use onap instead of openecomp for docker tagVenkata Harish K Kajur1-3/+3
Issue-ID: AAI-479 Change-Id: Ie1dc8864181684d85be229f9887569feac448772 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-11-27Add v12 api changes for the new release codeVenkata Harish K Kajur7-13/+13
Issue-ID: AAI-514 Change-Id: I5216e1d929d9fb2547e47c285dfcd94dfe4fde48 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-11-08Merge "Add related-lookup to closed-loop named-query"v1.1.01.0.0-ONAP1.0.0-AmsterdamSteven Blimkie1-77/+186
2017-11-08Add related-lookup to closed-loop named-queryjimmy1-77/+186
Issue-ID: AAI-456 Change-Id: I5a357a839ea0bd3f77368dd8f093c2573aeb4be9 Signed-off-by: jimmy <jf2512@att.com>
2017-11-07Change the logback to remove jsonpath extra logsVenkata Harish K Kajur2-1/+2
Also add the query parameters to access log Issue-ID: AAI-454 Change-Id: I2cf704fcca12d27d4c3e561a8194cf5e1268f58a Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-11-06Merge "Update cert to use X1 intermediate"Steven Blimkie1-0/+0
2017-11-06Update cert to use X1 intermediatejimmy1-0/+0
Issue-ID: AAI-44 Change-Id: I2e5e496578a224540f1139de4a50dc7e17dea835 Signed-off-by: jimmy <jf2512@att.com>
2017-11-02Update the dependency from snapshotVenkata Harish K Kajur2-6/+6
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: Id80162d227a133a51c36b986ac8a8e6952eac2f7 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-11-01Update keystore with new certjimmy1-0/+0
Issue-ID: AAI-44 Change-Id: I530b84a159b824b2924558102e4fe7ad45f9951d Signed-off-by: jimmy <jf2512@att.com>
2017-11-01Add vnfc to named-queryjimmy1-5/+15
Issue-ID: AAI-446 Change-Id: Ie733d650e07059f1730d6c2fc476eca639ad83f8 Signed-off-by: jimmy <jf2512@att.com>
2017-10-09Add unit test cases to increase the sonar coverageaditya2-1439/+824
Add unit test cases to increase the sonar coverage Issue ID: AAI-212 Change-Id: Ife2e388dec30068781f83e478180fc0054d83f17 Signed-off-by: Aditya Gajulapalli <ag282f@att.com>
2017-10-04Replace type specification with diamond operatoramanjaneya1-1/+1
Issue-ID: AAI-412 Change-Id: Ia4109038b40a3245ff4622250d4540cec1157580 Signed-off-by: ramanjaneya <ramanjaneya.palleti@huawei.com>
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 Kajur128-3790/+4272
Issue-ID: AAI-61 AAI-82 Change-Id: Iba7de4bd0dea1398d8608c9c514d78ad69201d0a Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
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-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 Kajur1-17/+0
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-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 Kajur1-1/+2
Issue-ID: AAI-76 Change-Id: Ieb989b33f199751a2345b2941046c7d54ff5e940 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
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 Kajur2-2/+0
Issue-ID: AAI-271 Change-Id: I082bd5ae43aa352785815b5bea30bff708b1cfa4 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>