aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal/src
AgeCommit message (Collapse)AuthorFilesLines
2019-03-17Add v16 to the local properties and pomMaharajh, Robby (rx2202)1-3/+3
Issue-ID: AAI-2266 Change-Id: I7661f2da34dd3142b7dc025bc642020f611077f6 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2019-03-13Fix of reading payload in request and responsePavel Paroulek6-17/+93
Reading the request response payload leads to an exception, adding a buffer class which enables multiple reads. Also adding logging of AAF. Check if response not sent Check if someone else didn't already flush the response Changing interpretation of role Letting users with advanced roles run non-gremlin queries. Adding logging. Change-Id: If5c9c94b63c3203d2193b43eed5fcd5993f0c4fa Issue-ID: AAI-1762 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-02-19Merge "added test file to cover DslQueryBuilderTest"James Forsyth1-0/+59
2019-02-18added test file to cover DslQueryBuilderTestSandeep J1-0/+59
to increase code coverage Issue-ID: AAI-2146 Change-Id: Id1daef61abfffc935095a801648e543bb27f72af Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-18added test file to cover DslContext.javaSandeep J1-0/+43
to increase code coverage Issue-ID: AAI-2146 Change-Id: Ia0d9cc931bcc395584ea418f0fa23d3a501e6065 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-18Merge "Sonar Critical: Use Logger and log the exception"James Forsyth1-6/+10
2019-01-16Update traversal to support v15LaMont, William (wl2432)59-270/+2731
Issue-ID: AAI-2073 Change-Id: I1c3df218d1333bdebc984947edc100607958ab60 Signed-off-by: LaMont, William (wl2432) <wl2432@us.att.com>
2019-01-11Sonar Critical: Use Logger and log the exceptionShubhada Ramkrishna Vaze1-6/+10
Fix exception logging issues at multiple locations in same file. Change-Id: I6c18b4a4508d3e6af677ff2f70d668d970c3910f Issue-ID: AAI-2061 Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com> Sonar Critical: Use Logger and log the exception Suggested changes are made Change-Id: I0287b409a265ebf8ee3916266b96c396e44df5da Issue-ID: AAI-2061 Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
2018-11-01Add cql jar to traversalKajur, Harish (vk250x)2-0/+34
Issue-ID: AAI-1835 Change-Id: Ia8534129ac211b5343765a574f884ca42199cb62 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-10-15Adding AAF client legacy credentialsPavel Paroulek2-1/+34
Change-Id: I01965517ec0aa2856579980569ca125f2d5a2009 Issue-ID: AAI-32 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
2018-09-25Remove remaining chef references in CasablancaKajur, Harish (vk250x)1-6/+1
Issue-ID: AAI-1674 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com> Change-Id: I27dc5f285c38ae3a0812f99b807859107a02a5ca Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-09-17Disable authorization for /util/echoKajur, Harish (vk250x)3-3/+14
Issue-ID: AAI-1612 Change-Id: I2d34d2a3eb7f80fe852ad799cc195132cad99ac0 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-09-17Remove internal specific propertiesKajur, Harish (vk250x)1-13/+1
Issue-ID: AAI-1606 Change-Id: If339150c892d5c537e76e9cda23f5a4d8bedeb00 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-09-05Adding AAF authorization filterPavel Paroulek5-20/+163
Adding a AAF authorization filter. Authorization checks a preconfigured permission org.onap.aai.traversal Change-Id: I3459e08449f4caae187fbe31d3e7a245da06857a Issue-ID: AAI-32 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
2018-08-23Adding AAF basic auth filterPavel Paroulek9-0/+152
Adding a AAF Cadi filter. AAF is configured to communicate with Beijing AAF instance in the Windriver lab. To activate AAF filter set the profile aaf-auth Change-Id: I4f226f56eeb4686abd7b2d17a9db8be6a5e169c5 Issue-ID: AAI-32 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
2018-08-22Update spring profiles to use one-way-sslKajur, Harish (vk250x)1-1/+1
Issue-ID: AAI-1533 Change-Id: Ifdda1524be6d2e05217bc01d68de6b7fbcd0dc1a Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-08-13Update traversal to use schema ingest libraryKajur, Harish (vk250x)174-5956/+9970
Update the traversal microservice to use the ingest library to make the application more model driven Issue-ID: AAI-1465 Change-Id: Ifcf56b5d0e7f25ce2bc735b3186e09bc28234100 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-07-26Fix potential null pointer placesBogumil Zebek1-11/+21
Change-Id: Icd4f2f6034bc8045f5530e89994f31985be5c079 Issue-ID: AAI-1424 Signed-off-by: bogumil_zebek <bogumil.zebek@nokia.com>
2018-07-19Update traversal to use v14Kajur, Harish (vk250x)3-6/+6
Issue-ID: AAI-1395 Change-Id: Ib3db83ca3730b9a37f480faf366cc195d1ce7a52 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-07-05Fix minor clumsy sonar issuesAdam Wudzinski7-792/+711
Change-Id: Ib3c6c469236a635e6f2a1f4314aab67254128c73 Issue-ID: AAI-1366 Signed-off-by: awudzins <adam.wudzinski@nokia.com>
2018-07-03Fix java code convention violation in traversalAdam Wudzinski7-309/+311
fix convention violation according to sonar report Change-Id: I06af42b5368267d4e7b38b3cb2a1372f2c55963f Issue-ID: AAI-1334 Signed-off-by: awudzins <adam.wudzinski@nokia.com>
2018-05-10Replace named-query with amsterdam versionJimmy Forsyth1-77/+186
Issue-ID: AAI-1135 Change-Id: I7373c5f474b3722f586f4e4c2974097bde8de7ef Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-05-10Add OOF authorization to traversalKajur, Harish (vk250x)1-0/+1
Issue-ID: AAI-1134 Change-Id: I40a6f46f7ad6c32c30dbc89dd6fc319489dcb542 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-05-03Update to remove loadbalancer codeKajur, Harish (vk250x)1-1/+1
Issue-ID: AAI-965 Issue-ID: AAI-1121 Change-Id: Ifd7d8a9e3c09f5b2793c974605ebdac76c6bae62 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-04-27Update keystore to use aaf keystoreKajur, Harish (vk250x)1-0/+0
Issue-ID: AAI-1101 Change-Id: I02a7fd877e0183aa8d54e422a8f6d680343f6c87 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-04-18Fix the traversal bug due to the timeoutKajur, Harish (vk250x)1-1/+3
Issue-ID: AAI-1037 Change-Id: Ib703cf1ab080cae27d479a2427b45b58d5c25765 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-04-11Fix the basic auth issue which got brokenKajur, Harish (vk250x)5-4/+187
with spring boot Issue-ID: AAI-1020 Change-Id: If99add1e401284c505bfebccfe82a94694da1a4b Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-29Update docker entrypoint to run independentKajur, Harish (vk250x)2-1/+18
Issue-ID: AAI-949 Change-Id: I014e852a518e78c49869c7f71e18a84c853a2b89 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-28Add to traversal custom query to get parent pathMaharajh, Robby (rx2202)7-76/+297
Issue-ID: AAI-963 Change-Id: I3b323a42519de29980337ab80d9d0b68f16878c3 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2018-03-28Update the titan code to janus graph codeKajur, Harish (vk250x)22-509/+887
Issue-ID: AAI-949 Change-Id: Iabb282fb808742d2cc09791a189a5372a01f5be2 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-22Update the license for 2017-2018 licenseKajur, Harish (vk250x)137-412/+659
Issue-ID: AAI-857 Change-Id: Iaf82b650bf26b6ba60f7670313f1814e282bb858 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-20Update spring boot 1.5.1 to 1.5.10Kajur, Harish (vk250x)1-1/+1
Issue-ID: AAI-799 Change-Id: I3510c96721922de50897379247fc87677d834b83 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-07Update traversal from AJSC 2 to Spring BootVenkata Harish K Kajur253-3114/+7402
Issue-ID: AAI-799 Change-Id: I6500f661db704726f529f665203a9c0605e8193e Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-02-27Update the rest endpoints for v13 versionVenkata Harish K Kajur2-2/+2
Issue-ID: AAI-536 Change-Id: Ib040a8e135ff60594dca6804cfd7920647f3ee77 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-02-22Update DmaapConfig and AAIAppServlet to startVenkata Harish K Kajur1-16/+0
broker service Issue-ID: AAI-791 Change-Id: I6ff7a27e631a22ab92b7f1998b8a1a8abf8bf1c5 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-02-15Sync logging context changesVenkata Harish K Kajur65-1466/+5616
Issue-ID: AAI-493 Change-Id: I8c460cce840b4fe46ff4deacbe3a770755a4c677 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
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)35-40/+1874
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-08Add the service model custom queryVenkata Harish K Kajur1-0/+76
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-11-27Add v12 api changes for the new release codeVenkata Harish K Kajur3-5/+5
Issue-ID: AAI-514 Change-Id: I5216e1d929d9fb2547e47c285dfcd94dfe4fde48 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: Id80162d227a133a51c36b986ac8a8e6952eac2f7 Signed-off-by: Venkata Harish K Kajur <vk250x@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>