aai/traversal.git
12 months agoUse eclipse-temurin:8-jre-alpine docker base image in aai-traversal 62/138362/6
Fiete Ostkamp [Tue, 2 Jul 2024 08:00:57 +0000 (10:00 +0200)]
Use eclipse-temurin:8-jre-alpine docker base image in aai-traversal

- replace aai-common base image with plain java 8 jre
- remove custom folders and users to simplify setup
- fix janino, guava and activemq vulnerabilities
- remove apache httpclient, jsonassert, aaf-cadi and spring-test dependencies

Issue-ID: AAI-3913
Change-Id: Icca637b5adb8e9a480912c4e2b7d9e83ee3e29ba
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoRelease 1.14.3 docker artifact of aai-traversal 53/138353/1
Fiete Ostkamp [Mon, 1 Jul 2024 11:22:02 +0000 (13:22 +0200)]
Release 1.14.3 docker artifact of aai-traversal

- update Janusgraph to 0.5.0 + tinkerpop to 3.4.13
- do not use pagination methods from HttpEntry [1]
- introduce WebTestClient as a way to more elegantly declare http requests and assertions

[1] pagination is still done on the client-side in this service.
This change just removes the usage of methods of HttpEntry that effectively do a List.subList
and that will be removed from HttpEntry shortly after

Issue-ID: AAI-3906
Change-Id: I569360d36702f4ae01a063c1e0219a8a24458233
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoUse 1.14.3 release version of aai-common in aai-traversal 48/138348/1 1.14.3
Fiete Ostkamp [Mon, 1 Jul 2024 08:38:33 +0000 (10:38 +0200)]
Use 1.14.3 release version of aai-common in aai-traversal

Issue-ID: AAI-3909
Change-Id: I9a7e28996d109de83bd561f77156144272dad28a
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoUpdate Janusgraph to 0.5.0 in traversal 36/138336/3
Fiete Ostkamp [Thu, 27 Jun 2024 12:12:01 +0000 (14:12 +0200)]
Update Janusgraph to 0.5.0 in traversal

- update Janusgraph to 0.5.0 + tinkerpop to 3.4.13
- do not use pagination methods from HttpEntry [1]
- introduce WebTestClient as a way to more elegantly declare http requests and assertions

[1] pagination is still done on the client-side in this service.
This change just removes the usage of methods of HttpEntry that effectively do a List.subList
and that will be removed from HttpEntry shortly after

Issue-ID: AAI-3902
Change-Id: I446f092048b9e2be7314ed32ab3de5d5e1e1689d
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoUse aai-common release version in traversal 16/138316/2
Fiete Ostkamp [Tue, 25 Jun 2024 08:06:35 +0000 (10:06 +0200)]
Use aai-common release version in traversal

- use aai-common 1.14.2 instead of 1.14.2-SNAPSHOT

Issue-ID: AAI-3899
Change-Id: Iaf94c1a30aa1ee0b53f47b07cbdc07cdb9c6ba82
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoUpdate aai-common to 1.14.2 in traversal 82/138282/1
Fiete Ostkamp [Wed, 19 Jun 2024 09:05:05 +0000 (11:05 +0200)]
Update aai-common to 1.14.2 in traversal

- contains janusgraph update 0.3.3 -> 0.4.0, tinkerpop 3.3.11 -> 3.4.0

Issue-ID: AAI-3891
Change-Id: Ib898f86432c39c9248c0f91bdc1effcd29c3132b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoRelease 1.14.1 traversal docker artifact 72/138272/1
Fiete Ostkamp [Tue, 18 Jun 2024 07:23:32 +0000 (09:23 +0200)]
Release 1.14.1 traversal docker artifact

- includes tinkerpop update from 3.3.0 to 3.3.11
- update guava from 18 to 25.0-jre
- resolve maven build warnings (undeclared dep versions, duplicate deps, reporting configuration)

Issue-ID: AAI-3885
Change-Id: I47219a76221458188bb0336a4df34c34a1c4cd74
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoUpdate aai-common to 1.14.1 in traversal 36/138236/5 1.14.1
Fiete Ostkamp [Mon, 17 Jun 2024 07:27:21 +0000 (09:27 +0200)]
Update aai-common to 1.14.1 in traversal

- includes tinkerpop update from 3.3.0 to 3.3.11
- update guava from 18 to 25.0-jre
- resolve maven build warnings (undeclared dep versions, duplicate deps, reporting configuration)

Issue-ID: AAI-3879
Change-Id: I60124c42ca1a0c884c02981a18c1c9388e62b6e2
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoRelease 1.14.0 traversal docker artifact 31/138231/1
Fiete Ostkamp [Sun, 16 Jun 2024 07:42:46 +0000 (09:42 +0200)]
Release 1.14.0 traversal docker artifact

- update to aai-common 1.14.0 that includes janusgraph update from 0.2.3 to 0.3.3

Issue-ID: AAI-3868
Change-Id: Ic128db07dfe8a19c578dae2b371dac039b5c4251
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
13 months agoUpdate aai-common to 1.14.0 in traversal 70/138170/1 1.14.0
Fiete Ostkamp [Wed, 12 Jun 2024 11:40:51 +0000 (13:40 +0200)]
Update aai-common to 1.14.0 in traversal

- update aai-common to 1.14.0 which contains Janusgraph update to 0.3.3

Issue-ID: AAI-3870
Change-Id: I7200d140a04845866bb189d8bdf5a820a710dd68
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
13 months ago[AAI] Release 1.13.5 docker artifact of traversal 63/138063/1
nandkishorpatke [Thu, 23 May 2024 11:24:20 +0000 (16:54 +0530)]
[AAI] Release 1.13.5 docker artifact of traversal

- Release docker artifact for v29 schema change

Issue-ID: AAI-3851

Change-Id: Ibafc39a9c4fb9e1031ea8a176db0d721a7dcaefc
Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
13 months ago[AAI] Release 1.13.5 maven artifact of traversal 62/138062/1
nandkishorpatke [Thu, 23 May 2024 08:56:25 +0000 (14:26 +0530)]
[AAI] Release 1.13.5 maven artifact of traversal

- Release maven artifact for v29 schema changes

Issue-ID: AAI-3850
Change-Id: I4c6196bc1cee0d454f31b8e1f2970ee3c15740fe
Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
13 months ago[AAI] Bump aai-traversal version to 1.13.5 59/138059/1
nandkishorpatke [Thu, 23 May 2024 07:41:36 +0000 (13:11 +0530)]
[AAI] Bump aai-traversal version to 1.13.5

Issue-ID: AAI-3843
Change-Id: Id3f9a101159678ac23404b013bd144055a9ba59b
Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
13 months ago[AAI] Update aai-schema version to 1.12.4 in traversal 58/138058/1
nandkishorpatke [Thu, 23 May 2024 07:07:46 +0000 (12:37 +0530)]
[AAI] Update aai-schema version to 1.12.4 in traversal

- AAI schema addition for 3GPP RAN Network Slice Subnet
- and Slice-Profile Attributes & FeasibilityCheckJob
- Bump aai-schema pom version to 1.12.4
- Update aai-schema default version to v29

Issue-ID: AAI-3843
Change-Id: I99e9585653937a9305b412eeccfe3dac1403df88
Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
14 months agoRelease 1.13.4 docker artifact of aai-traversal 02/137702/1
Dasar [Wed, 17 Apr 2024 06:43:30 +0000 (12:13 +0530)]
Release 1.13.4 docker artifact of aai-traversal

- create 1.13.4-container-release yaml file

Issue-ID: AAI-3820
Change-Id: I81e19f856e84c1fbe5d9c896fb75de11c530522c
Signed-off-by: Dasar <avinash.ganesh.dasar@accenture.com>
14 months agoRelease 1.13.4 maven artifact of aai-traversal 01/137701/1
Dasar [Wed, 17 Apr 2024 06:00:03 +0000 (11:30 +0530)]
Release 1.13.4 maven artifact of aai-traversal

- create 1.13.4-maven-release yaml file

Issue-ID: AAI-3820
Change-Id: Ib5f9842c2d99cc52f61b2a8f2dabf31fe06835de
Signed-off-by: Dasar <avinash.ganesh.dasar@accenture.com>
14 months agoUpdate AAI-Traversal SNAPSHOT version 00/137700/1
Dasar [Wed, 17 Apr 2024 05:04:40 +0000 (10:34 +0530)]
Update AAI-Traversal SNAPSHOT version

- Change AAI-Traversal SNAPSHOT version from 1.13.3 to 1.13.4

Issue-ID: AAI-3820
Change-Id: I1574e9ab17c00b4deeec30e9e5d367e6d9d2d2cc
Signed-off-by: Dasar <avinash.ganesh.dasar@accenture.com>
14 months agoRemove DMaaP dependency from AAI-Traversal 98/137698/2
Dasar [Tue, 16 Apr 2024 14:14:13 +0000 (19:44 +0530)]
Remove DMaaP dependency from AAI-Traversal

- Replace DMaaP configuration with Kafka
- Update aai-common version in pom.xml

Issue-ID: AAI-3820
Change-Id: I112648d115c725da120e596252c12a5fe3102434
Signed-off-by: Dasar <avinash.ganesh.dasar@accenture.com>
14 months agoMerge "Remove DMaaP references from AAI-Traversal"
Nandkishor Patke [Tue, 16 Apr 2024 14:30:54 +0000 (14:30 +0000)]
Merge "Remove DMaaP references from AAI-Traversal"

14 months agoRemove DMaaP references from AAI-Traversal 96/137696/1
Dasar [Tue, 16 Apr 2024 10:46:08 +0000 (16:16 +0530)]
Remove DMaaP references from AAI-Traversal

- Replace DMaaP related configuration with kafka
- Update AAI-Common version from 1.13.3 to 1.13.6 in pom.xml

Issue-ID: AAI-3820
Change-Id: Ia989fcd65c61ef6abb6e2423a2d391140386589d
Signed-off-by: Dasar <avinash.ganesh.dasar@accenture.com>
16 months agoRelease 1.13.3 docker artifact of traversal 73/137473/1
Fiete Ostkamp [Tue, 5 Mar 2024 16:08:21 +0000 (17:08 +0100)]
Release 1.13.3 docker artifact of traversal

- update aai-common from 1.13.1 to 1.13.3 (includes tinkerpop 3.2.11)
- use up-to-date eclipse-temurin:8-jre-alpine base image
- do not use reflection for injecting the DslQueryProcessor

Issue-ID: AAI-3769
Change-Id: Iab48a8088b66d77fec18335338e515328848fd0a
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
16 months agoRelease 1.13.3 maven artifact of traversal 72/137472/1
Fiete Ostkamp [Tue, 5 Mar 2024 15:51:29 +0000 (16:51 +0100)]
Release 1.13.3 maven artifact of traversal

- update aai-common from 1.13.1 to 1.13.3 (includes tinkerpop 3.2.11)
- use up-to-date eclipse-temurin:8-jre-alpine base image
- do not use reflection for injecting the DslQueryProcessor

Issue-ID: AAI-3770
Change-Id: I338b41664d4e7316ba817cdd7790d122816d5af4
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
16 months agoUpdate aai-common base image in resources to 1.13.4 (newer java 8) 68/137468/1
Fiete Ostkamp [Tue, 5 Mar 2024 08:45:41 +0000 (09:45 +0100)]
Update aai-common base image in resources to 1.13.4 (newer java 8)

Issue-ID: AAI-3794
Change-Id: I6f9b7dbb28c0fab86c86e93fe6a10e965d990ab7
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
16 months agoDo not use reflection for injecting the DslQueryProcessors 60/137360/5
Fiete Ostkamp [Fri, 23 Feb 2024 16:01:49 +0000 (17:01 +0100)]
Do not use reflection for injecting the DslQueryProcessors

- 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>
17 months agoDocker build for traversal is broken 35/137135/1
Fiete Ostkamp [Tue, 6 Feb 2024 12:15:39 +0000 (13:15 +0100)]
Docker build for traversal is broken

- 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>
17 months agoUpdate aai-common to 1.13.3 in traversal 29/137129/1
Fiete Ostkamp [Tue, 6 Feb 2024 08:56:55 +0000 (09:56 +0100)]
Update aai-common to 1.13.3 in traversal

- 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>
17 months agoRevert update since versions > 1.6.0 are based on Java 11 87/137087/1
Fiete Ostkamp [Fri, 26 Jan 2024 14:12:27 +0000 (15:12 +0100)]
Revert update since versions > 1.6.0 are based on Java 11

Issue-ID: AAI-3753
Change-Id: I106fb561a6b879235ccf13f5b5a9cbc7d4466330
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months agoUpdate aai-common to 1.13.2 in traversal 86/137086/1
Fiete Ostkamp [Fri, 26 Jan 2024 11:58:24 +0000 (12:58 +0100)]
Update aai-common to 1.13.2 in traversal

- 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>
17 months agoMerge "Release 1.13.1 version of aai-traversal"
Nandkishor Patke [Wed, 17 Jan 2024 08:20:36 +0000 (08:20 +0000)]
Merge "Release 1.13.1 version of aai-traversal"

17 months agoUpdate aai-common base image in aai-traversal 21/137021/1
Fiete Ostkamp [Tue, 16 Jan 2024 16:24:33 +0000 (17:24 +0100)]
Update aai-common base image in aai-traversal

- 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>
17 months agoRelease 1.13.1 version of aai-traversal 17/137017/1
Fiete Ostkamp [Tue, 16 Jan 2024 14:53:08 +0000 (15:53 +0100)]
Release 1.13.1 version of aai-traversal

Issue-ID: AAI-3731
Change-Id: I532bac04cf22fcc0b0a1eff05eb3c76239db32d6
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months agoRelease 1.13.1 version of aai-traversal 15/137015/2
Fiete Ostkamp [Tue, 16 Jan 2024 12:57:51 +0000 (13:57 +0100)]
Release 1.13.1 version of aai-traversal

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>
17 months agoUpdate aai-common dependency to 1.13.1 in traversal 82/136982/3
Fiete Ostkamp [Fri, 12 Jan 2024 13:01:07 +0000 (14:01 +0100)]
Update aai-common dependency to 1.13.1 in traversal

- 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>
18 months ago[AAI] Promote Fiete Ostkamp and Nandkishor Patke to AAI Contributors 84/136884/1
wr148d [Fri, 12 Jan 2024 15:33:40 +0000 (10:33 -0500)]
[AAI] Promote Fiete Ostkamp and Nandkishor Patke to AAI Contributors

Issue-ID: AAI-3729
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: If54f01d344d97d4716412cad96f9d46eb3224414

18 months agoReduce traversal log noise 25/136925/2
Fiete Ostkamp [Thu, 4 Jan 2024 13:50:33 +0000 (14:50 +0100)]
Reduce traversal log noise

- 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>
18 months agoAdd spring-cloud-sleuth for tracing 21/136921/1
Fiete Ostkamp [Thu, 4 Jan 2024 12:35:54 +0000 (13:35 +0100)]
Add spring-cloud-sleuth for tracing

- 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>
18 months agoUpdate spring-boot to 2.4 16/136916/1
Fiete Ostkamp [Wed, 3 Jan 2024 13:49:42 +0000 (14:49 +0100)]
Update spring-boot to 2.4

- 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>
18 months agoMerge "Update spring-boot to 2.3"
Lukasz Rajewski [Tue, 2 Jan 2024 22:35:26 +0000 (22:35 +0000)]
Merge "Update spring-boot to 2.3"

18 months agoUpgrade aai-common dependency in traversal 14/136914/1
Fiete Ostkamp [Tue, 2 Jan 2024 12:57:59 +0000 (13:57 +0100)]
Upgrade aai-common dependency in traversal

- 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>
18 months agoUpdate spring-boot to 2.3 13/136913/1
Fiete Ostkamp [Tue, 2 Jan 2024 12:45:03 +0000 (13:45 +0100)]
Update spring-boot to 2.3

- 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>
18 months agoRelease 1.13.0 docker container artifact 04/136904/1
Fiete Ostkamp [Thu, 28 Dec 2023 14:33:23 +0000 (15:33 +0100)]
Release 1.13.0 docker container artifact

Issue-ID: AAI-3702
Change-Id: I134e2755d66be54aa0bba1fb8a737ee8048ece87
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
18 months agoRelease 1.13.0 maven artifact 02/136902/3
Fiete Ostkamp [Thu, 28 Dec 2023 09:20:25 +0000 (10:20 +0100)]
Release 1.13.0 maven artifact

Issue-ID: AAI-3700
Change-Id: Iac35321b430ed52e0134a20b48eb29599f9e9d61
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
18 months agoUpdate version in version.properties file 03/136903/1
Fiete Ostkamp [Thu, 28 Dec 2023 10:31:35 +0000 (11:31 +0100)]
Update version in version.properties file

Issue-ID: AAI-3701
Change-Id: Ibb07ebe14861899d3e25654b220eb18aec157f93
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
18 months agoRelease 1.13.0 67/136867/1
Fiete Ostkamp [Tue, 19 Dec 2023 14:38:33 +0000 (15:38 +0100)]
Release 1.13.0

- release contains switch to RESTController for DslConsumer

Issue-ID: AAI-3696
Change-Id: I50ab090d436ef459f580ad9e2b115dddd762251f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
18 months agoMake the jax-rs resource a spring boot RestController 57/136857/1
Fiete Ostkamp [Mon, 18 Dec 2023 10:12:30 +0000 (11:12 +0100)]
Make the jax-rs resource a spring boot RestController

- 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>
19 months agoSeparate entity retrieval from jax-rs Response creation 70/136770/2
Fiete Ostkamp [Fri, 8 Dec 2023 15:47:19 +0000 (16:47 +0100)]
Separate entity retrieval from jax-rs Response creation

- 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>
19 months agoRefactor global exception handler 59/136759/1
Fiete Ostkamp [Wed, 6 Dec 2023 16:49:59 +0000 (17:49 +0100)]
Refactor global exception handler

- extract similar code to methods
- return early

Issue-ID: AAI-3692
Change-Id: I41e3c7caaafb7c68913decb59bc9a57486985399
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
19 months agoImprove tests for exception handling 52/136752/2
Fiete Ostkamp [Tue, 5 Dec 2023 12:53:07 +0000 (13:53 +0100)]
Improve tests for exception handling

- 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>
19 months agoMerge "Update spring-boot to 2.2"
Lukasz Rajewski [Mon, 4 Dec 2023 13:48:41 +0000 (13:48 +0000)]
Merge "Update spring-boot to 2.2"

19 months ago[AAI] Release aai-traveral 1.12.3 docker artifact 68/136568/1
nandkishorpatke [Thu, 16 Nov 2023 08:41:32 +0000 (14:11 +0530)]
[AAI] Release aai-traveral 1.12.3 docker artifact

- 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>
19 months ago[AAI] Release aai-traveral 1.12.3 maven artifact 65/136565/1
nandkishorpatke [Thu, 16 Nov 2023 06:19:37 +0000 (11:49 +0530)]
[AAI] Release aai-traveral 1.12.3 maven artifact

- 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>
19 months ago[AAI] Up-version aai-traversal to 1.12.3 for release 63/136563/1
nandkishorpatke [Wed, 15 Nov 2023 15:35:35 +0000 (21:05 +0530)]
[AAI] Up-version aai-traversal to 1.12.3 for release

- 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>
19 months ago[AAI] Update aai-schema version v28 as default in the pom of traversal 58/136558/2
nandkishorpatke [Wed, 15 Nov 2023 11:35:38 +0000 (17:05 +0530)]
[AAI] Update aai-schema version v28 as default in the pom of traversal

- 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>
20 months agoUpdate spring-boot to 2.2 56/136456/2
Fiete Ostkamp [Mon, 13 Nov 2023 09:59:02 +0000 (10:59 +0100)]
Update spring-boot to 2.2

- 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>
2 years ago[AAI]Release traversal 1.12.1 docker artifact for London 62/135362/1
Aleem Raja [Tue, 11 Jul 2023 14:10:11 +0000 (14:10 +0000)]
[AAI]Release traversal 1.12.1 docker artifact for London

Issue-ID: AAI-3653
Change-Id: Ie913c76a35a3a69b6cd3f4420e707829842c15ce
Signed-off-by: Aleem Raja <aleem.raja@t-systems.com>
2 years ago[AAI] Release traversal 1.12.1 maven artifact 56/134756/1 1.12.1
aleem.raja@t-systems.com [Sat, 3 Jun 2023 15:58:46 +0000 (15:58 +0000)]
[AAI] Release traversal 1.12.1 maven artifact

Issue-ID: AAI-3653
Signed-off-by: aleem.raja@t-systems.com <aleem.raja@t-systems.com>
Change-Id: Ib5a593fb717975e4ac2d077514a075747fa599c2

2 years ago[AAI] Up-version aai-traversal to 1.12.1 for London 97/134697/1
aleem.raja@t-systems.com [Fri, 26 May 2023 05:30:03 +0000 (11:00 +0530)]
[AAI] Up-version aai-traversal to 1.12.1 for London
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

2 years ago[AAI] Up-version aai-traversal to 1.12.0 for London 60/132360/1
Niharika Sharma [Mon, 21 Nov 2022 18:27:59 +0000 (13:27 -0500)]
[AAI] Up-version aai-traversal to 1.12.0 for London

Issue-ID: AAI-3594

Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com>
Change-Id: Icafa00cdbd1f70484869b8896c70c04d13d0cc6f

2 years ago[AAI] Release traversal 1.11.1 docker artifact 33/132133/1
Niharika Sharma [Thu, 10 Nov 2022 15:22:53 +0000 (10:22 -0500)]
[AAI] Release traversal 1.11.1 docker artifact

Issue-ID: AAI-3584

Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com>
Change-Id: Ic63c695dd5ed58b40c539f9925f04de1e2ad5e45

2 years ago[AAI] Release traversal 1.11.1 maven artifact 08/132108/1
Niharika Sharma [Wed, 9 Nov 2022 19:20:26 +0000 (14:20 -0500)]
[AAI] Release traversal 1.11.1 maven artifact

Issue-ID: AAI-3584

Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com>
Change-Id: Ib6a693fb817965e4ac2d077514a075737fa599c1

2 years ago[AAI] Upversion traversal to 1.11.1 03/132103/1
Niharika Sharma [Wed, 9 Nov 2022 17:43:52 +0000 (12:43 -0500)]
[AAI] Upversion traversal to 1.11.1

Issue-ID: AAI-3584

Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com>
Change-Id: Ia5e809eb05bba30ce183cfa9131c8a2f702d5c1c

2 years agoAAI traversal logging structure enhancement 98/132098/1
leila [Wed, 9 Nov 2022 14:47:42 +0000 (09:47 -0500)]
AAI traversal logging structure enhancement

logging structure enhancement for logback and localhost xml files

Issue-ID: AAI-3584
Signed-off-by: leila <leila.nishimwe@bell.ca>
Change-Id: Iff2ff3f3faefb935780ead2d6c1b1f98f406f486

2 years agoUse the 1.9.4 parent pom in traversal 00/131800/1
Fiete Ostkamp [Tue, 25 Oct 2022 14:14:09 +0000 (14:14 +0000)]
Use the 1.9.4 parent pom in traversal

Issue-ID: AAI-3562

Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I622206219ccba65efbd6242fa83a89f8cbf4ba63

2 years agoUse the 1.9.3 parent pom in traversal 81/131781/1
Fiete Ostkamp [Tue, 25 Oct 2022 09:13:05 +0000 (09:13 +0000)]
Use the 1.9.3 parent pom in traversal

Issue-ID: AAI-3557

Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I278aa6fb7a43de68a1dbf53126f31fccf1f8abf4

2 years ago[AAI] Release traversal 1.11.0 docker artifact for Kohn 94/131594/1
wr148d [Thu, 20 Oct 2022 14:16:24 +0000 (10:16 -0400)]
[AAI] Release traversal 1.11.0 docker artifact for Kohn

Issue-ID: AAI-3537
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Ia6733ba418205e8d2156ee881736bf839d5cb8e7

2 years ago[AAI] Release traversal 1.11.0 maven artifact for Kohn 73/131573/1
wr148d [Wed, 19 Oct 2022 20:31:26 +0000 (16:31 -0400)]
[AAI] Release traversal 1.11.0 maven artifact for Kohn

Issue-ID: AAI-3537
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Ib9ec11b99ee6a404459aa3108464ff706aa4262e

2 years ago[AAI] Upversion traversal to 1.11.0 for Kohn 59/131559/1
wr148d [Wed, 19 Oct 2022 15:24:58 +0000 (11:24 -0400)]
[AAI] Upversion traversal to 1.11.0 for Kohn

Issue-ID: AAI-3537
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I53c187da740a8f99843dbab74bca3d13f06e6e93

2 years agoRemove the apache commons-lang dependency in traversal 75/131475/1
Fiete Ostkamp [Fri, 14 Oct 2022 09:56:13 +0000 (09:56 +0000)]
Remove the apache commons-lang dependency in traversal

Issue-ID: AAI-3552

Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I71aea327bedd54a0db9c05eb7d72c8ecdd48bcc4

2 years agoEnhancement of AAI-traversal healthcheck 41/131441/2
Fiete Ostkamp [Wed, 12 Oct 2022 07:23:14 +0000 (09:23 +0200)]
Enhancement of AAI-traversal healthcheck

- 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

2 years agoMerge "Migrate Mockito 1 to version 2 in the traversal service"
William Reehil [Mon, 10 Oct 2022 13:34:09 +0000 (13:34 +0000)]
Merge "Migrate Mockito 1 to version 2 in the traversal service"

2 years agoMigrate Mockito 1 to version 2 in the traversal service 96/131396/3
Fiete Ostkamp [Fri, 7 Oct 2022 11:40:00 +0000 (13:40 +0200)]
Migrate Mockito 1 to version 2 in the traversal service

- 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

2 years agoTraversal tests are failing due to missing error.properties file in test/resources 85/131385/2
Fiete Ostkamp [Wed, 5 Oct 2022 13:03:48 +0000 (15:03 +0200)]
Traversal tests are failing due to missing error.properties file in test/resources

Issue-ID: AAI-3544

Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I095a50a716605f386cc0b2cb9b74596845476519

2 years agoRun the formatter for the traversal service 78/131378/1
Fiete Ostkamp [Wed, 5 Oct 2022 07:55:45 +0000 (09:55 +0200)]
Run the formatter for the traversal service

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

2 years ago[AAI] Remove Robby Maharajh & Harish Kajur as committers 87/130487/1
wr148d [Mon, 29 Aug 2022 13:29:34 +0000 (09:29 -0400)]
[AAI] Remove Robby Maharajh & Harish Kajur as committers

Issue-ID: AAI-3515
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Ica1fec4ca63774f3f31928a0cc483fd63a58b582

2 years ago[AAI] Release docker artifact 1.9.6 to include v27 03/130403/2
wr148d [Mon, 22 Aug 2022 13:40:40 +0000 (09:40 -0400)]
[AAI] Release docker artifact 1.9.6 to include v27

Issue-ID: AAI-3489
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I899bbad4eecc1a42539c9899b12fffe73c994491

2 years ago[AAI] Release docker artifact 1.9.6 to include v27 54/130354/2
wr148d [Thu, 18 Aug 2022 13:16:51 +0000 (09:16 -0400)]
[AAI] Release docker artifact 1.9.6 to include v27

Issue-ID: AAI-3489
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Ida9b7d09cbed170a363150a31602ddbc6ddfb783

2 years ago[AAI] Release maven artifact 1.9.6 to include v27 27/130327/2
wr148d [Wed, 17 Aug 2022 15:29:19 +0000 (11:29 -0400)]
[AAI] Release maven artifact 1.9.6 to include v27

Issue-ID: AAI-3489
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Ibcc8e3acb5be41b0749fcb59050df00411ec5f69

2 years ago[AAI] Upversion to 1.9.6 to include v27 06/130306/2
wr148d [Tue, 16 Aug 2022 17:43:32 +0000 (13:43 -0400)]
[AAI] Upversion to 1.9.6 to include v27

Issue-ID: AAI-3489
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I33d2b9275f7d6ebaacb734db916203bb4bbad42e

3 years ago[AAI] Release docker image for 1.9.5 for traversal 26/127926/2
wr148d [Mon, 21 Mar 2022 16:16:17 +0000 (12:16 -0400)]
[AAI] Release docker image for 1.9.5 for traversal

Issue-ID: AAI-3435
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: If9a0987aba4d47143fabd2f9978f087527f6ae0e

3 years ago[AAI] Release maven artifact 1.9.5 for traversal 23/127923/2
wr148d [Mon, 21 Mar 2022 15:26:40 +0000 (11:26 -0400)]
[AAI] Release maven artifact 1.9.5 for traversal

Issue-ID: AAI-3435
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I9f146433cd0e8ca00f83abb006adc70e908386c6

3 years ago[AAI] Upversion microservices to 1.9.4 and 1.9.5 to include the v25/v26 XSDs 17/127917/2
wr148d [Mon, 21 Mar 2022 14:33:57 +0000 (10:33 -0400)]
[AAI] Upversion microservices to 1.9.4 and 1.9.5 to include the v25/v26 XSDs

Issue-ID: AAI-3435
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I6f052998fb49348283fc99b85243eef73d50e7a2

3 years ago[AAI] Adding v26 as default in the pom of traversal 74/127874/2
wr148d [Thu, 17 Mar 2022 15:44:09 +0000 (11:44 -0400)]
[AAI] Adding v26 as default in the pom of traversal

Issue-ID: AAI-3435
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: If677a3bb6d23ef32c6b7e195a4089bebeba9d5c0

3 years ago[AAI] Update traversal to fix security vulnerabilities 31/127531/2
wr148d [Mon, 7 Mar 2022 14:53:22 +0000 (09:53 -0500)]
[AAI] Update traversal to fix security vulnerabilities

Issue-ID: AAI-3414
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Iaaeee74c9ecbf267e4564c28b5981dc6b11fdf07

3 years ago[AAI] Update mS to use 1.9.3 aai-common version 88/127488/2
wr148d [Thu, 3 Mar 2022 15:54:25 +0000 (10:54 -0500)]
[AAI] Update mS to use 1.9.3 aai-common version

Issue-ID: AAI-3414
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Idbff54feaefe050e5101af369a5d82423dc40c86

3 years ago[AAI] Release traversal 1.9.4 docker image 40/127140/2
wr148d [Tue, 15 Feb 2022 21:08:11 +0000 (16:08 -0500)]
[AAI] Release traversal 1.9.4 docker image

Issue-ID: AAI-3435
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I214c1d97e53ea417b7d372ee01dc94553e86c884

3 years ago[AAI] Release traversal 1.9.4 maven artifact 18/127118/2
wr148d [Mon, 14 Feb 2022 21:33:16 +0000 (16:33 -0500)]
[AAI] Release traversal 1.9.4 maven artifact

Issue-ID: AAI-3435
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Ifaf907b060cb88d9e187dc3922ed326bf3d6a139

3 years ago[AAI] Update traversal to use the new v26 schema and upversion to 1.9.4 15/127115/2
wr148d [Mon, 14 Feb 2022 20:11:47 +0000 (15:11 -0500)]
[AAI] Update traversal to use the new v26 schema and upversion to 1.9.4

Issue-ID: AAI-3435
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I9632b91d1d4fc948601f15b6b7ce6b3a5bd2a48a

3 years ago[AAI] Releasing traversal docker image 1.9.3 77/126877/2
wr148d [Mon, 31 Jan 2022 14:45:53 +0000 (09:45 -0500)]
[AAI] Releasing traversal docker image 1.9.3

Issue-ID: AAI-3431
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I8f121e6d85a0a3b7ca6e66df6378e0d192da21cd

3 years ago[AAI] Releasing traversal maven artifact 1.9.3 35/126835/1
wr148d [Thu, 27 Jan 2022 19:29:56 +0000 (14:29 -0500)]
[AAI] Releasing traversal maven artifact 1.9.3

Issue-ID: AAI-3431
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I170ead2970d86cc1558323d3f5efa30e28dcf373

3 years ago[AAI] Upversion traversal to 1.9.3 30/126830/1
wr148d [Thu, 27 Jan 2022 15:28:05 +0000 (10:28 -0500)]
[AAI] Upversion traversal to 1.9.3

Issue-ID: AAI-3431
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I8756c5740f15b833e58706cf82438e5cbf751736

3 years ago[AAI] Upgraded microservices to use the latest aai-common 1.9.2 85/126785/1
wr148d [Wed, 26 Jan 2022 17:56:00 +0000 (12:56 -0500)]
[AAI] Upgraded microservices to use the latest aai-common 1.9.2

Issue-ID: AAI-3433
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I94c638d7b38085819eba9620ae51cedb047c1f0b

3 years ago[AAI] Release docker image 1.9.2 for multi-tenancy updates 83/124483/1
wr148d [Fri, 24 Sep 2021 16:06:31 +0000 (12:06 -0400)]
[AAI] Release docker image 1.9.2 for multi-tenancy updates

Issue-ID: AAI-3324
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I768d7134fcc503de89c547eb2ed519fb14fc3360

3 years ago[AAI] Release traversal maven artifacts 1.9.2 for multi-tenancy updates 54/124454/1
wr148d [Thu, 23 Sep 2021 15:08:42 +0000 (11:08 -0400)]
[AAI] Release traversal maven artifacts 1.9.2 for multi-tenancy updates

Issue-ID: AAI-3324
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I6ef9a72d7072c14d8a14d2ea1dceb2defa0a8ad6

3 years ago[AAI] Upversion traversal for the multi-tenancy work to 1.9.2 50/124450/1
wr148d [Thu, 23 Sep 2021 13:34:06 +0000 (09:34 -0400)]
[AAI] Upversion traversal for the multi-tenancy work to 1.9.2

Issue-ID: AAI-3324
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I4b8302614369e83e6bc0828c106f45204041efa8

3 years agoFix integration tests 22/124422/1
M.Hosnidokht [Wed, 22 Sep 2021 14:22:21 +0000 (10:22 -0400)]
Fix integration tests

- Fixed the issue regarding docker image dependencies https://gerrit.onap.org/r/c/aai/traversal/+/123659
- Cleaned up pom file

Issue-ID: AAI-3325
Signed-off-by: Mohammad Hosnidokht <mohammad.hosnidokht@yoppworks.com>
Change-Id: I3a69e5881c2e7a3016efec491acb527f86077746

3 years ago[AAI] Updating the info yamls adding Robby Maharajh and removing Steven Blimkie 08/124108/1
wr148d [Mon, 13 Sep 2021 17:16:51 +0000 (13:16 -0400)]
[AAI] Updating the info yamls adding Robby Maharajh and removing Steven Blimkie

Issue-ID: AAI-3380
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I10f9c02c24b446734d82aa2436afc93b64f45d12

3 years ago[AAI] Releasing the 1.9.1 docker images 66/123666/1
wr148d [Fri, 27 Aug 2021 18:31:39 +0000 (14:31 -0400)]
[AAI] Releasing the 1.9.1 docker images

Issue-ID: AAI-3371
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I3e36635fe0144c3003709129e92260b15877bd57

3 years ago[AAI] Releasing the 1.9.1 traversal maven artifact 65/123665/1
wr148d [Fri, 27 Aug 2021 18:02:24 +0000 (14:02 -0400)]
[AAI] Releasing the 1.9.1 traversal maven artifact

Issue-ID: AAI-3371
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Id57de2253d35b7b54844e9c7804d0cafd52acc77

3 years agoFix the docker image issue missing dependencies 59/123659/1
Harish Venkata Kajur [Fri, 27 Aug 2021 14:59:00 +0000 (10:59 -0400)]
Fix the docker image issue missing dependencies

Issue-ID: AAI-3371
Change-Id: Ibacb0c760357f569f35df735ab67cf8ddba4920f
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
3 years agoMerge "[AAI] Integrate Micrometer to identify slow APIs (Making aai_uri tag configura...
William Reehil [Tue, 24 Aug 2021 15:19:12 +0000 (15:19 +0000)]
Merge "[AAI] Integrate Micrometer to identify slow APIs (Making aai_uri tag configurable)"