Age | Commit message (Collapse) | Author | Files | Lines |
|
- update spring-boot to 2.4
- add junit vintage engine dependency to keep supporting junit 4 tests
- update mockito to version 3.4.0
Issue-ID: AAI-3681
Change-Id: I8b40529418f9d03179970edf1ab12992db1cb5e8
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- update spring-boot to 2.3.12.RELEASE
- replace deprecated properties
Issue-ID: AAI-3680
Change-Id: Icd983c020fd62f7073f8ae61d3d4745db48dc660
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- replace jax-rs annotations with spring boot equivalents
- replace the jersey exception handler with a ControllerAdvice class
- move AAIErrorResponse definitions from test/ to main/
Issue-ID: AAI-3694
Change-Id: I5a45309727bfd84bb2aee5c20957fd845c484d5e
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- move logic to retrieve entity from db into a separate method
- do not use runner() from AAI core [1][2]
- use global ExceptionHandler to provide a common exception to error response mapping
[1] the runner will spawn a separate thread to process the request. In this change there is nothing to replace this functionality.
The reason that it is removed is that it tightly couples the app with a) aai-common and b) jax-rs and is also catching all exceptions.
Also the timeout mechanism that is implemented is not actually stopping the execution of the thread after the timeout, but rather returning an early response (after 3 minutes(!)).
[2] these changes are also done to make a future full migration to spring boot/the removal of jax-rs easier
Issue-ID: AAI-3693
Change-Id: I177913c5f6295e1cab476e3c206fecacd7620f69
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- extract similar code to methods
- return early
Issue-ID: AAI-3692
Change-Id: I41e3c7caaafb7c68913decb59bc9a57486985399
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- add more assertions to ExceptionHandlerTest
- add more assertions to DslConsumerTest
- add class definitions for error responses to allow the usage of object mappers for that
- reduce raw-type warnings by providing types for HttpEntities and ResponseEntities
Issue-ID: AAI-3691
Change-Id: I0010ce6e3e7425109607b6a00b9ee08732829aaa
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- upgrade spring-boot from 2.1 to 2.2
- change logging level in tests from debug to info
- do not version .classpath in git since it's dynamically generated
Issue-ID: AAI-3679
Change-Id: I4b0378880a0670d522903d44dbe7e1b144b51177
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- enhance the EchoResponse endpoint to check for db connectivity when the myAction parameter is provided
Issue-ID: AAI-3547
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I4d5686b63efd139b942cee0c222305a17d2a2497
|
|
When building the traversal service with mvn install, the spotless and formatter plugins are invoked to verify the formatting.
This results in 40000 lines of format violations that are printed out to the console.
By invoking mvn formatter:format spotless:apply process-sources this number can be reduced to 2000 lines of format violations.
Issue-ID: AAI-3543
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Id0011b3e0a626369c79fd0656cd44455347b7fde
|
|
configurable)
Issue-ID: AAI-3367
Signed-off-by: Dimple Soni <dimple.soni@yoppworks.com>"
Change-Id: If8a5734c702242a292eeb6c9c26a844242e1f849
|
|
Make the key metrics available to the monitoring system by
instrumenting the code.
The Key metrics are available via
/actuator/prometheus
/actuator/info
/actuator/health
Issue-ID: AAI-3343
Signed-off-by: Roger Yuan <roger.yuan@yoppworks.com>
Change-Id: If72858484231d95a39c938bacfc1773430806e5a
|
|
Issue-ID: AAI-3299
Signed-off-by: Santos, Eric <eric.santos@yoppworks.com>
Change-Id: Ia22001af5a1701bf70d8be6dbf8d09273ebd5575
|
|
Issue-ID: AAI-3298
Signed-off-by: Sam Huang <sam.huang@yoppworks.com>
Change-Id: I2d99769ab8d189d61de610ec020b15a8fe0aa652
|
|
Issue-ID: AAI-2877
Signed-off-by: Mariano Diaz <mariano.diaz@yoppworks.com>
Change-Id: I7841454d8844ca8390a6a63931b8bd35358609cb
|
|
Issue-ID: AAI-3128
Change-Id: I2ae25a9990daa8eafd045229686a2d586b90f66a
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
|
|
Issue-ID: AAI-2886
Change-Id: Ic9b43ebe3ca58eac65cd169f124b74d0032710ea
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
|
|
Issue-ID: AAI-2886
Issue-ID: AAI-2527
Change-Id: Id6432ff82b0377ff44115d5b42607d1926431f7b
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
|
|
Issue-ID: AAI-2933
Change-Id: I76f970d15ef911a3dd14d97f2fa050c8b6e29e96
Signed-off-by: LaMont, William(wl2432) <wl2432@att.com>
|
|
Issue-ID: AAI-2877
Change-Id: Ida4f641c4cc87b69ba5d0ae2c7f3804e53af5b68
Signed-off-by: David Brilla <david.brilla@tieto.com>
|
|
Issue-ID: AAI-2866
Change-Id: I344e095e6f1d3b117971c1c78e50ae58bebf27e4
Signed-off-by: LaMont, William(wl2432) <wl2432@att.com>
|
|
Issue-ID: AAI-2724
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: Iec7303c7056aaa90302150983c4eb712ba617b09
|
|
Issue-ID: AAI-2476
Change-Id: I7a13ef0556f9b73d1dda2526c1ef24e860f59dc9
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-2322
Change-Id: I8967e1e90dc407424c8b8943d1278108f9786cef
Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
|
|
|
|
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>
|
|
patch4: incorporated code review comment
Issue-ID: AAI-2187
Change-Id: Ied22a0cacb53f37d768020c57c2026f229a1e94a
Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
|
|
|
|
Issue-ID: AAI-2073
Change-Id: I1c3df218d1333bdebc984947edc100607958ab60
Signed-off-by: LaMont, William (wl2432) <wl2432@us.att.com>
|
|
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>
|
|
Issue-ID: AAI-1612
Change-Id: I2d34d2a3eb7f80fe852ad799cc195132cad99ac0
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Icd4f2f6034bc8045f5530e89994f31985be5c079
Issue-ID: AAI-1424
Signed-off-by: bogumil_zebek <bogumil.zebek@nokia.com>
|
|
Issue-ID: AAI-1395
Change-Id: Ib3db83ca3730b9a37f480faf366cc195d1ce7a52
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Change-Id: Ib3c6c469236a635e6f2a1f4314aab67254128c73
Issue-ID: AAI-1366
Signed-off-by: awudzins <adam.wudzinski@nokia.com>
|
|
fix convention violation according to sonar report
Change-Id: I06af42b5368267d4e7b38b3cb2a1372f2c55963f
Issue-ID: AAI-1334
Signed-off-by: awudzins <adam.wudzinski@nokia.com>
|
|
with spring boot
Issue-ID: AAI-1020
Change-Id: If99add1e401284c505bfebccfe82a94694da1a4b
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-949
Change-Id: Iabb282fb808742d2cc09791a189a5372a01f5be2
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-857
Change-Id: Iaf82b650bf26b6ba60f7670313f1814e282bb858
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-799
Change-Id: I6500f661db704726f529f665203a9c0605e8193e
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Issue-ID: AAI-536
Change-Id: Ib040a8e135ff60594dca6804cfd7920647f3ee77
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
broker service
Issue-ID: AAI-791
Change-Id: I6ff7a27e631a22ab92b7f1998b8a1a8abf8bf1c5
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Issue-ID: AAI-493
Change-Id: I8c460cce840b4fe46ff4deacbe3a770755a4c677
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
|
|
|
|
Change-Id: I1e61bbee2def41db5e7064ad3a3e916b7afcc299
Issue-ID: AAI-652
Signed-off-by: Lamont, William (wl2432) <wl2432@att.com>
|
|
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>
|
|
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>
|
|
Issue-ID: AAI-514
Change-Id: I5216e1d929d9fb2547e47c285dfcd94dfe4fde48
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|