summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-03-05Release aai/traversal1.13.3jenkins-releng2-2/+2
2024-02-26Do not use reflection for injecting the DslQueryProcessorsFiete Ostkamp14-202/+289
- trade terseness for easier understanding of the code and maintainability - Split up DslQueryProcessor in two separate classes (v1 and v2) Issue-ID: AAI-3786 Change-Id: I7fe0411f6b694eb82616ac4a61a5376c630b5b2a Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-02-06Docker build for traversal is brokenFiete Ostkamp1-17/+10
- create necessary folders in docker build after switching back to older 1.6.0 image Issue-ID: AAI-3756 Change-Id: I224f28d88ec7b3f29bbc1b45d6a14943e7fa69dc Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-02-06Update aai-common to 1.13.3 in traversalFiete Ostkamp3-5/+5
- update aai-common to version 1.13.3 - bump version to 1.13.3 Issue-ID: AAI-3764 Change-Id: I2aedfcfbb7b85658b302da9f0bf28392878f2116 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-26Revert update since versions > 1.6.0 are based on Java 11Fiete Ostkamp1-1/+2
Issue-ID: AAI-3753 Change-Id: I106fb561a6b879235ccf13f5b5a9cbc7d4466330 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-26Update aai-common to 1.13.2 in traversalFiete Ostkamp2-4/+3
- aai-common upgrade includes upgrade of tinkerpop to 3.2.4 Issue-ID: AAI-3752 Change-Id: I6c35cdb5934cd14ecdee7bc31ac456ed985f8e28 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-17Merge "Release 1.13.1 version of aai-traversal"Nandkishor Patke1-0/+7
2024-01-16Update aai-common base image in aai-traversalFiete Ostkamp4-12/+22
- update aai-common base image from 1.6.0 to 1.13.1 Issue-ID: AAI-3732 Change-Id: I6f96d34a30031423d1b2e35a95ccab9ace6b657a Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-16Release 1.13.1 version of aai-traversalFiete Ostkamp1-0/+7
Issue-ID: AAI-3731 Change-Id: I532bac04cf22fcc0b0a1eff05eb3c76239db32d6 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-16Release 1.13.1 version of aai-traversalFiete Ostkamp1-0/+4
contains: - spring-boot update from 2.1 to 2.4 - tracing - migration of /dsl endpoint from spring-jersey to spring-web - reduced log noise Issue-ID: AAI-3731 Change-Id: I32c0c06c5625883c329d51c61ddf5190c40b2034 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-15Update aai-common dependency to 1.13.1 in traversalFiete Ostkamp7-20/+30
- contains HttpEntry request-scope fix - updates jackson - updates antlr4 - disable tracing in tests Issue-ID: AAI-3728 Change-Id: I58f834a4d52284184a410a1e81f10ac12b3e6221 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-12[AAI] Promote Fiete Ostkamp and Nandkishor Patke to AAI Contributorswr148d1-0/+16
Issue-ID: AAI-3729 Signed-off-by: wr148d <wr148d@att.com> Change-Id: If54f01d344d97d4716412cad96f9d46eb3224414
2024-01-04Reduce traversal log noiseFiete Ostkamp2-11/+2
- remove debug statements for the happy path in the EchoResponse resource [1] [1] they account for the vast majority of log lines since they are invoked as part of the k8s liveness probe every two seconds Issue-ID: AAI-3716 Change-Id: I41e340cdb0bbeb64d849514e7460caa5b6fcc357 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-04Add spring-cloud-sleuth for tracingFiete Ostkamp5-48/+96
- add tracing dependencies - align localhost-access-logback.xml with the one in the oom chart - bump version to 1.13.1 Issue-ID: AAI-3714 Change-Id: I6565d63f070bbd04188f383fc88ea9ca884951dd Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-03Update spring-boot to 2.4Fiete Ostkamp11-74/+74
- 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>
2024-01-02Merge "Update spring-boot to 2.3"Lukasz Rajewski6-11/+13
2024-01-02Upgrade aai-common dependency in traversalFiete Ostkamp1-2/+2
- upgrade aai-common from 1.9.4 to 1.11.0 Issue-ID: AAI-3699 Change-Id: If053e2701631ed901c543b8f702cc25f37ac51d3 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-02Update spring-boot to 2.3Fiete Ostkamp6-11/+13
- 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>
2023-12-28Release 1.13.0 docker container artifactFiete Ostkamp1-0/+7
Issue-ID: AAI-3702 Change-Id: I134e2755d66be54aa0bba1fb8a737ee8048ece87 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-12-28Release 1.13.0 maven artifactFiete Ostkamp1-0/+4
Issue-ID: AAI-3700 Change-Id: Iac35321b430ed52e0134a20b48eb29599f9e9d61 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-12-28Update version in version.properties fileFiete Ostkamp1-2/+2
Issue-ID: AAI-3701 Change-Id: Ibb07ebe14861899d3e25654b220eb18aec157f93 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-12-19Release 1.13.0Fiete Ostkamp2-2/+2
- release contains switch to RESTController for DslConsumer Issue-ID: AAI-3696 Change-Id: I50ab090d436ef459f580ad9e2b115dddd762251f Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-12-18Make the jax-rs resource a spring boot RestControllerFiete Ostkamp19-620/+433
- 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>
2023-12-08Separate entity retrieval from jax-rs Response creationFiete Ostkamp11-181/+253
- 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>
2023-12-06Refactor global exception handlerFiete Ostkamp2-56/+49
- extract similar code to methods - return early Issue-ID: AAI-3692 Change-Id: I41e3c7caaafb7c68913decb59bc9a57486985399 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-12-05Improve tests for exception handlingFiete Ostkamp7-109/+290
- 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>
2023-12-04Merge "Update spring-boot to 2.2"Lukasz Rajewski38-249/+306
2023-11-16[AAI] Release aai-traveral 1.12.3 docker artifactnandkishorpatke1-0/+7
- Release aai-traveral 1.12.3 docker artifact Issue-ID: AAI-3677 Change-Id: I7bab8c803355b3cc6d66d54a77396f89f44d4410 Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
2023-11-16[AAI] Release aai-traveral 1.12.3 maven artifactnandkishorpatke1-0/+4
- Release aai-traveral 1.12.3 maven artifact Issue-ID: AAI-3677 Change-Id: Ia8a5c8bb7719b6bfb4f3fe8a120ea07fb27548a6 Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
2023-11-15[AAI] Up-version aai-traversal to 1.12.3 for releasenandkishorpatke3-3/+3
- Up-version aai-traversal to 1.12.3 for release Issue-ID: AAI-3677 Change-Id: I3ee375b2dd69d30f5cd3ad33adbe4c4466047e8e Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
2023-11-15[AAI] Update aai-schema version v28 as default in the pom of traversalnandkishorpatke6-12/+12
- Update aai-schema version v28 as default in the pom of traversal - Update aai-schema version v28 as default in properties Issue-ID: AAI-3663 Change-Id: Ia2d0366c561cc468edf853720408197f4d52877e Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
2023-11-13Update spring-boot to 2.2Fiete Ostkamp38-249/+306
- 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>
2023-07-11[AAI]Release traversal 1.12.1 docker artifact for LondonAleem Raja1-0/+7
Issue-ID: AAI-3653 Change-Id: Ie913c76a35a3a69b6cd3f4420e707829842c15ce Signed-off-by: Aleem Raja <aleem.raja@t-systems.com>
2023-06-03[AAI] Release traversal 1.12.1 maven artifact1.12.1aleem.raja@t-systems.com1-0/+4
Issue-ID: AAI-3653 Signed-off-by: aleem.raja@t-systems.com <aleem.raja@t-systems.com> Change-Id: Ib5a593fb717975e4ac2d077514a075747fa599c2
2023-05-26[AAI] Up-version aai-traversal to 1.12.1 for Londonaleem.raja@t-systems.com3-4/+4
Added new schema-service version 1.12.1 in pom.xml Issue-ID: AAI-3653 Signed-off-by: aleem.raja@t-systems.com <aleem.raja@t-systems.com> Change-Id: Icafa11cdbd1f71363869b8896c70c04d14d0cc6f
2022-11-21[AAI] Up-version aai-traversal to 1.12.0 for LondonNiharika Sharma3-5/+5
Issue-ID: AAI-3594 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: Icafa00cdbd1f70484869b8896c70c04d13d0cc6f
2022-11-10[AAI] Release traversal 1.11.1 docker artifactNiharika Sharma1-0/+7
Issue-ID: AAI-3584 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: Ic63c695dd5ed58b40c539f9925f04de1e2ad5e45
2022-11-09[AAI] Release traversal 1.11.1 maven artifactNiharika Sharma1-0/+4
Issue-ID: AAI-3584 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: Ib6a693fb817965e4ac2d077514a075737fa599c1
2022-11-09[AAI] Upversion traversal to 1.11.1Niharika Sharma3-3/+3
Issue-ID: AAI-3584 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: Ia5e809eb05bba30ce183cfa9131c8a2f702d5c1c
2022-11-09AAI traversal logging structure enhancementleila3-45/+104
logging structure enhancement for logback and localhost xml files Issue-ID: AAI-3584 Signed-off-by: leila <leila.nishimwe@bell.ca> Change-Id: Iff2ff3f3faefb935780ead2d6c1b1f98f406f486
2022-10-25Use the 1.9.4 parent pom in traversalFiete Ostkamp1-1/+1
Issue-ID: AAI-3562 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I622206219ccba65efbd6242fa83a89f8cbf4ba63
2022-10-25Use the 1.9.3 parent pom in traversalFiete Ostkamp2-7/+1
Issue-ID: AAI-3557 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I278aa6fb7a43de68a1dbf53126f31fccf1f8abf4
2022-10-20[AAI] Release traversal 1.11.0 docker artifact for Kohnwr148d1-0/+7
Issue-ID: AAI-3537 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Ia6733ba418205e8d2156ee881736bf839d5cb8e7
2022-10-19[AAI] Release traversal 1.11.0 maven artifact for Kohnwr148d1-0/+4
Issue-ID: AAI-3537 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Ib9ec11b99ee6a404459aa3108464ff706aa4262e
2022-10-19[AAI] Upversion traversal to 1.11.0 for Kohnwr148d3-6/+6
Issue-ID: AAI-3537 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I53c187da740a8f99843dbab74bca3d13f06e6e93
2022-10-14Remove the apache commons-lang dependency in traversalFiete Ostkamp2-76/+80
Issue-ID: AAI-3552 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I71aea327bedd54a0db9c05eb7d72c8ecdd48bcc4
2022-10-12Enhancement of AAI-traversal healthcheckFiete Ostkamp6-91/+328
- 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
2022-10-10Merge "Migrate Mockito 1 to version 2 in the traversal service"William Reehil13-91/+164
2022-10-10Migrate Mockito 1 to version 2 in the traversal serviceFiete Ostkamp13-91/+164
- update mockito and powermock - update eelf-core since it has a compile time dependency to mockito 1.10.19 in version 1 - exclude the vaadin android-json since it leads to a warning in maven Issue-ID: AAI-3545 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I06354182c5af21ce1c8cb851f9e65c3c38e7102c
2022-10-07Traversal tests are failing due to missing error.properties file in ↵Fiete Ostkamp3-82/+229
test/resources Issue-ID: AAI-3544 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I095a50a716605f386cc0b2cb9b74596845476519