summaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-03-13Fix of reading payload in request and responsePavel Paroulek4-16/+91
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-01-18Merge "Sonar Critical: Use Logger and log the exception"James Forsyth1-6/+10
2019-01-16Update traversal to support v15LaMont, William (wl2432)19-107/+557
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-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-05Adding AAF authorization filterPavel Paroulek4-20/+161
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 Paroulek2-0/+78
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-13Update traversal to use schema ingest libraryKajur, Harish (vk250x)51-2121/+3485
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)2-2/+2
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-04-11Fix the basic auth issue which got brokenKajur, Harish (vk250x)3-0/+183
with spring boot Issue-ID: AAI-1020 Change-Id: If99add1e401284c505bfebccfe82a94694da1a4b Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-28Update the titan code to janus graph codeKajur, Harish (vk250x)2-6/+6
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)52-125/+403
Issue-ID: AAI-857 Change-Id: Iaf82b650bf26b6ba60f7670313f1814e282bb858 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-07Update traversal from AJSC 2 to Spring BootVenkata Harish K Kajur34-1126/+1111
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 Kajur13-337/+1018
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)6-39/+455
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-11-27Add v12 api changes for the new release codeVenkata Harish K Kajur2-2/+2
Issue-ID: AAI-514 Change-Id: I5216e1d929d9fb2547e47c285dfcd94dfe4fde48 Signed-off-by: Venkata Harish K Kajur <vk250x@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-09-28Change all the packages from openecomp to onapVenkata Harish K Kajur38-443/+483
Issue-ID: AAI-61 AAI-82 Change-Id: Iba7de4bd0dea1398d8608c9c514d78ad69201d0a Signed-off-by: Venkata Harish K Kajur <vk250x@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-25Merge "Add RequestId and PartnerName in log"Tian Lee1-2/+17
2017-09-22Merge "Fix Blocker/Critical sonar issues"James Forsyth1-2/+2
2017-09-22Merge "Removed redundant checks"James Forsyth1-4/+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-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-08Adding named-query for APPCjimmy1-22/+42
Issue-ID: AAI-272 Change-Id: Ibe5222dcc876647354f8147090ea276a8685bddf Signed-off-by: jimmy <jf2512@att.com>
2017-08-29Merge "Built named-query for policy needs"Manisha Aggarwal1-0/+233
2017-08-29Built named-query for policy needsjimmy1-0/+233
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-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-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 queriesur326r1-2/+16
Change-Id: I3ab0459c97ebbab98b0a6dc4c9d3cb701aac548f Signed-off-by: ur326r <ur326r@att.com>
2017-08-11[AAI-162 Amsterdam] Convert custom queries to notMaharajh, Robby (rx2202)3-4/+103
use gremlin Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com> Change-Id: I83892630687c7c274b9fa63942954a26397a8361
2017-08-11[AAI-161 Amsterdam] Fix the timestamp for dmaapVenkata Harish K Kajur1-1/+1
Change-Id: I3a0e569373ad525a999aa54b5a78dac8ec810ccb Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-08[AAI-154 Amsterdam] Check in titan refactorMuller, Andrew (am8383)5-37/+27
Change-Id: I136eca1c2dbc337f9f6019e52cfe60b15ebfbe7d Signed-off-by: Muller, Andrew (am8383) <am8383@us.att.com>
2017-07-14[AAI-50 Amsterdam] Add support for v11 version APIMaharajh, Robby (rx2202)3-3/+3
Update rest controller paths to include v11 remove unneeded test resources from traversal Update default api version for dmaap msgs Update version of aai core and schema for traversal update version in app props to v11 Change-Id: I8c96310de42679f95646dd456535404bd78290c7 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2017-07-05[AAI-31] Removed references to removed constantMaharajh, Robby (rx2202)4-11/+2
Removed reference to removed logTrans.. Change-Id: I1ea6051c54f41d7b7b2492bf6fc19099af0f1852 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2017-06-16[AAI-ONAP] Add missing named queries fix model delVenkata Harish K Kajur2-21/+19
Add the missing thunderbolt named queries Fix model-based delete functionality Change-Id: Ib49f7a50cefff3a402eed1bfbfc716052ba91538 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>