aai/aai-common.git
7 months agoRemove eelf-core from aai-common 02/139402/1
Fiete Ostkamp [Thu, 14 Nov 2024 13:15:35 +0000 (14:15 +0100)]
Remove eelf-core from aai-common

- the dependency is not maintained anymore

Issue-ID: AAI-4059
Change-Id: I5f089236e680630bb14bcfd9b29f3b1cd4545574
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
7 months agoRelease 1.15.2 docker image 01/139401/1
Fiete Ostkamp [Thu, 14 Nov 2024 10:23:32 +0000 (11:23 +0100)]
Release 1.15.2 docker image

- upgrade spring boot (2.5.15 -> 2.6.15)
- migrate aai-schema-ingest module to JUnit 5
- upgrade guava (31.1-jre -> 33.3.1-jre)
- exclude vulnerable rabbitmq dependency of janusgraph-core
- upgrade logback (1.2.3 + 1.2.7 -> 1.2.13)

Issue-ID: AAI-4050
Change-Id: If29b6b5c9f8f1cc361df9b3f0a4560e8203ae8c6
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
7 months agoRelease 1.15.2 62/139362/1
Fiete Ostkamp [Fri, 8 Nov 2024 14:54:17 +0000 (15:54 +0100)]
Release 1.15.2

- upgrade spring boot (2.5.15 -> 2.6.15)
- migrate aai-schema-ingest module to JUnit 5
- upgrade guava (31.1-jre -> 33.3.1-jre)
- exclude vulnerable rabbitmq dependency of janusgraph-core
- upgrade logback (1.2.3 + 1.2.7 -> 1.2.13)

Issue-ID: AAI-4050
Change-Id: Ia782335e5edfe9f2f78392c7f398f309574a4431
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
7 months agoUpgrade spring boot to 2.6 54/139354/2
Fiete Ostkamp [Fri, 8 Nov 2024 08:49:07 +0000 (09:49 +0100)]
Upgrade spring boot to 2.6

- upgrade spring boot (2.5.15 -> 2.6.15)
- migrate aai-schema-ingest module to JUnit 5

Issue-ID: AAI-4048
Change-Id: I72a59891fdbcdea9b54f6c02aae09fcc7a26947a
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
7 months agoKyverno fixes for AAI 99/139299/3
Andreas Seelinger [Tue, 29 Oct 2024 12:34:07 +0000 (13:34 +0100)]
Kyverno fixes for AAI

- Change entrypoint of aai-haproxy to remove the need to modify
  resolvers.conf
- Need an updated version of the aai-helmcharts. Since resolvers.conf is
  a config map now

Issue-ID: AAI-4043
Change-Id: I97092b293ec6c27dd23215918b5368de7570ad4b
Signed-off-by: Andreas Seelinger <Andreas.Seelinger@accenture.com>
7 months agoUpdate guava in aai-common 61/139261/1
Fiete Ostkamp [Thu, 24 Oct 2024 06:38:38 +0000 (08:38 +0200)]
Update guava in aai-common

- update guava (31.1-jre -> 33.3.1-jre)
- exclude vulnerable rabbitmq dependency of janusgraph-core

Issue-ID: AAI-4036
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ie0fd056396dc0ee4acbc5b4d2b44f2a4f0a6802b

8 months agoUpdate logback in aai-common 12/139212/1
Fiete Ostkamp [Thu, 17 Oct 2024 10:02:43 +0000 (12:02 +0200)]
Update logback in aai-common

- update logback (1.2.3 + 1.2.7 -> 1.2.13)
- bump snapshot version to 1.15.2-SNAPSHOT

Issue-ID: AAI-4020
Change-Id: I1f961ffddfbefe810044cafac500defeb6727da8
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
8 months agoRelease 1.15.1 11/139211/1
Fiete Ostkamp [Thu, 17 Oct 2024 09:28:23 +0000 (11:28 +0200)]
Release 1.15.1

- cleanup notification logic to get rid of ActiveMQ
- remove activemq and jms related dependencies
- remove outdated groovy dependency
- update eclipselink (2.7.11 -> 2.7.15)

Issue-ID: AAI-4019
Change-Id: Ib665f8edd69b1a6785c6497b81d35519ea5b910f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
8 months agoAdd more meaningful exception when path to schema files is wrong 05/139205/1
Fiete Ostkamp [Wed, 16 Oct 2024 10:08:26 +0000 (12:08 +0200)]
Add more meaningful exception when path to schema files is wrong

- throw runtime exception when schema files cannot be found
- update eclipse persistence (2.7.11 -> 2.7.15)

Issue-ID: AAI-4018
Change-Id: Id3a91fbddd903433413e0409c64deac360c80365
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
8 months agoMigrate most of the aai-common aai-els-onap-logging module to Junit 5 01/139201/1
Fiete Ostkamp [Tue, 15 Oct 2024 11:52:13 +0000 (13:52 +0200)]
Migrate most of the aai-common aai-els-onap-logging module to Junit 5

- the migration from Junit 4 to 5 can be done partially
- this migrates all the 'easy' cases in this module to already make some progress here

Issue-ID: AAI-3814
Change-Id: If35fe5b09c99042b6c28f10e0515062288dbf8ff
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
8 months agoRemove groovy dependency from aai-common 90/139190/1
Fiete Ostkamp [Sun, 13 Oct 2024 09:59:38 +0000 (11:59 +0200)]
Remove groovy dependency from aai-common

- remove org.codehaus.groovy declaration

Issue-ID: AAI-3941
Change-Id: I28480671031b81813e151202531dd08995bf42b3
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
8 months agoRefactor DeltaEvents 80/139180/2
Fiete Ostkamp [Wed, 9 Oct 2024 13:22:21 +0000 (15:22 +0200)]
Refactor DeltaEvents

- get rid of StoreNotificationEvent class and directly publish to Kafka
- use Lombok in related classes

Issue-ID: AAI-4014
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ic6433b75a4540f597edf1316afe6d6c56a7bd08b

8 months agoAssign variables in HttpEntry closer to where they are used 78/139178/2
Fiete Ostkamp [Wed, 9 Oct 2024 11:30:11 +0000 (13:30 +0200)]
Assign variables in HttpEntry closer to where they are used

- HttpEntry should be broken into smaller chunks that are more maintainable

Issue-ID: AAI-3660
Change-Id: I1f0fe2307c837f7de9e26eb02d9e5d5ef44927df
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
8 months agoMerge "Refactor UEBNotification class"
Nandkishor Patke [Wed, 9 Oct 2024 09:24:23 +0000 (09:24 +0000)]
Merge "Refactor UEBNotification class"

8 months agoRefactor UEBNotification class 74/139174/6
Fiete Ostkamp [Tue, 8 Oct 2024 09:52:14 +0000 (11:52 +0200)]
Refactor UEBNotification class

- refactor UEBNotification class that it does not use ActiveMQ anymore
  and directly publishes to Kafka
- use .domain.NotificationEvent class
- serialize as late as possible

Issue-ID: AAI-3931
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I3836519752f810f905a9aed96678d497783a2e5d

8 months agoUpdate oparent to version 3.X 25/139125/1
Fiete Ostkamp [Mon, 7 Oct 2024 09:11:01 +0000 (11:11 +0200)]
Update oparent to version 3.X

- update oparent (2.1.0 -> 3.0.2)
- bump snapshot version to 1.15.1-SNAPSHOT

Issue-ID: AAI-4012
Change-Id: I308d825c438e89f23fbe018d22a7bf4ef56fd114
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
8 months agoRelease 1.15.0 maven artifact for aai-common 24/139124/1
Fiete Ostkamp [Mon, 7 Oct 2024 08:44:27 +0000 (10:44 +0200)]
Release 1.15.0 maven artifact for aai-common

- update Janusgraph (0.6.4 -> 1.0.0)
- update Tinkerpop (3.5.8 -> 3.7.1)
- remove aai-aaf-auth module from aai-common since AAF is removed from ONAP

Issue-ID: AAI-4011
Change-Id: I93d09ca31013f0d43d75a8959bc912dd8f844929
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
8 months agoUpdate Janusgraph to 1.0.0 90/138990/8
Fiete Ostkamp [Sat, 21 Sep 2024 17:21:35 +0000 (19:21 +0200)]
Update Janusgraph to 1.0.0

- update Janusgraph (0.6.4 -> 1.0.0)
- update Tinkerpop (3.5.8 -> 3.7.1)

Issue-ID: AAI-3743
Change-Id: I5f2f929645b8f327bc90eabab6c06a6b80bdbc3e
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
8 months agoMake Introspector serializable via Jackson 23/139123/2
Fiete Ostkamp [Sat, 5 Oct 2024 19:17:10 +0000 (21:17 +0200)]
Make Introspector serializable via Jackson

- annotate Introspector, such that ObjectMapper can serialize it

Issue-ID: AAI-4010
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I4896f811fa9db0637c941a11b01f26b734b15a21

8 months agoExtract entity conversion logic into separate class 72/139072/4
Fiete Ostkamp [Tue, 1 Oct 2024 14:29:21 +0000 (16:29 +0200)]
Extract entity conversion logic into separate class

Issue-ID: AAI-4008
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ic00d989ba97dd9e23d028d9e262ea2967d889e79

8 months agoLinkchecker job broken due to new Jira instance url 93/139093/12
Fiete Ostkamp [Wed, 2 Oct 2024 09:58:47 +0000 (11:58 +0200)]
Linkchecker job broken due to new Jira instance url

- Url of ONAP Jira instance changed from jira.onap.org to lf-onap.atlassian.net
- update openapi file in docs from v24 to v29

Issue-ID: AAI-4009
Change-Id: Ib8f546fbcef1bc3fbe5d8799caf4034cd16bdf79
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
9 months agoRemove aai-aaf-auth from aai-common 93/138993/1
Fiete Ostkamp [Sun, 22 Sep 2024 17:16:10 +0000 (19:16 +0200)]
Remove aai-aaf-auth from aai-common

- AAF has been removed from ONAP some time ago,
  thus this model is not needed anymore

Issue-ID: AAI-4006
Change-Id: I7943ed2f4c5308cca058c8aead9b0bd3b95ac580
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
9 months agoMigrate JAXB to jakarta 89/138989/1
Fiete Ostkamp [Sat, 21 Sep 2024 19:11:50 +0000 (21:11 +0200)]
Migrate JAXB to jakarta

- change javax.* JAXB packages to jakarta.*
- bump snapshot version to 1.15.0-SNAPSHOT

Issue-ID: AAI-4005
Change-Id: I2a208f717206a2ee8c2acaec8abb0a04fc620123
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
9 months agoRelease 1.14.7 maven artifact for aai-common 57/138957/2
Fiete Ostkamp [Wed, 18 Sep 2024 12:32:16 +0000 (14:32 +0200)]
Release 1.14.7 maven artifact for aai-common

- use Java 11
- fix for notifications not being published (since 1.14.5)
- remove com.sun.jersey (Jersey 1) dependencies

Issue-ID: AAI-3997
Change-Id: I8a79a3f67c9ecc859a074a573ad419a04298e53f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
9 months agoBump aai-common version.properties version to 1.14.7 58/138958/1
Fiete Ostkamp [Wed, 18 Sep 2024 12:48:52 +0000 (14:48 +0200)]
Bump aai-common version.properties version to 1.14.7

Issue-ID: AAI-3998
Change-Id: Ib03b0efaaa2e6dc01cf5fdde9045e06d857a48ce
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
9 months agoUse java 11 in aai-common 31/138631/3
Fiete Ostkamp [Tue, 6 Aug 2024 07:44:23 +0000 (09:44 +0200)]
Use java 11 in aai-common

- use java 11
- bump version to 1.14.6-SNAPSHOT

Issue-ID: AAI-3945
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I17aef24a965d2b1b5e43f62c4349a25f61ddd8f7

9 months agoMigrate remnants of jersey 1 to 2 in aai-common 27/138927/2
Fiete Ostkamp [Mon, 16 Sep 2024 14:52:32 +0000 (16:52 +0200)]
Migrate remnants of jersey 1 to 2 in aai-common

- use org.glassfish.jersey instead of com.sun.jersey

Issue-ID: AAI-3990
Change-Id: Ice5731a241be3adf03a64a66fe6f595e5970c7c0
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
9 months agoAAI events are not being published 13/138913/2
Fiete Ostkamp [Fri, 6 Sep 2024 11:54:33 +0000 (13:54 +0200)]
AAI events are not being published

- create e2e test case for notification sending
- fix notification sending
- disable tests since they can only be active with some larger refactoring

Issue-ID: AAI-3988
Change-Id: I498b3b02218d81821dd17c3d8ad0da4de859924b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
9 months agoRelease 1.14.6 aai-common maven artifact 59/138859/1
Fiete Ostkamp [Tue, 27 Aug 2024 19:46:13 +0000 (21:46 +0200)]
Release 1.14.6 aai-common maven artifact

- update Tinkerpop (3.5.0 -> 3.5.8) + Janusgraph (0.6.0 -> 0.6.4)
- update spring-boot (2.4.13 -> 2.5.15)
- upgrade some vulnerable dependencies

Issue-ID: AAI-3978
Change-Id: Ibcbf23309e0f6749328db0b87c286c638f1f3825
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
10 months agoUpdate spring-boot to 2.5 in aai-common 84/138784/1
Fiete Ostkamp [Mon, 19 Aug 2024 14:17:03 +0000 (16:17 +0200)]
Update spring-boot to 2.5 in aai-common

- update spring-boot (2.4 -> 2.5.15)
- update vulnerable dependencies (spring-jms)
- remove old codehaus.jackson dependency

Issue-ID: AAI-3972
Change-Id: Ie0854c192a3a7bb719e9ac0e080e83a48e1b964a
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
10 months agonew onap logo 21/138721/1
thmsdt [Wed, 14 Aug 2024 08:05:43 +0000 (10:05 +0200)]
new onap logo

Issue-ID: DOC-826

Change-Id: I4393ebe43485403b35b7a1441dbfeb211b28048e
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
10 months agoUpdate Janusgraph to 0.6.4 in aai-common 11/138711/1
Fiete Ostkamp [Tue, 13 Aug 2024 08:48:27 +0000 (10:48 +0200)]
Update Janusgraph to 0.6.4 in aai-common

- update Tinkerpop (3.5.0 -> 3.5.8), Janusgraph (0.6.0 -> 0.6.4)
- change snapshot version to 1.14.6-SNAPSHOT

Issue-ID: AAI-3956
Change-Id: I209f8163556dccb250568da18d75c0dca817a250
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
10 months agoRelease 1.14.5 aai-common maven artifact 29/138629/1
Fiete Ostkamp [Tue, 6 Aug 2024 06:08:29 +0000 (08:08 +0200)]
Release 1.14.5 aai-common maven artifact

- update Tinkerpop (3.4.13 -> 3.5.0) + Janusgraph (0.5.0 -> 0.6.0)
- refactored some of the notifications related logic with the ultimate goal
of removing ActiveMQ that is still sitting as an intermediary between Kafka

Issue-ID: AAI-3944
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: If99e2439a29f41dc0746b5fe32ec0c83eb9a8e77

10 months agoAdd test for transaction rollback in HttpEntry 25/138625/1
Fiete Ostkamp [Mon, 5 Aug 2024 07:08:41 +0000 (09:08 +0200)]
Add test for transaction rollback in HttpEntry

- verify that transaction is rolled back when writing a request in a batch fails
- remove all unused imports

Issue-ID: AAI-3942
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I93cd1efa08db533a088e242694f07ff10db36b4e

10 months agoAdd tests for the NotificationService 06/138606/4
Fiete Ostkamp [Wed, 31 Jul 2024 13:35:45 +0000 (15:35 +0200)]
Add tests for the NotificationService

- change approach how ValidationService is injected into NotificationService
- add tests for NotificationService
- assert invokation of NotificationService instead of ValidationService in HttpEntryTest now

Issue-ID: AAI-3940
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I4476857f7192f53de216f0515f0e69c642c33d1c

10 months agoMake full context scan work with schema.translator.list=schema-service 01/138601/1
Fiete Ostkamp [Tue, 30 Jul 2024 11:23:42 +0000 (13:23 +0200)]
Make full context scan work with schema.translator.list=schema-service

- conditionally hide schema.translator.list=config related beans

Issue-ID: AAI-3939
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I1046f4de1566923118ca2b9bb891caa759c387a5

11 months agoMake JMS-based messaging compatible with tracing 21/138521/5
Fiete Ostkamp [Mon, 22 Jul 2024 12:21:26 +0000 (14:21 +0200)]
Make JMS-based messaging compatible with tracing

- use dependency injection instead of new Foo() for jms related classes
- inject interfaces and not their implementations
- add integration test that asserts message sending via JMS to Kafka [1]

[1] this also prepares removal of ActiveMQ as a middleman

Issue-ID: AAI-3932
Change-Id: Icbdd264f5b52adc72aa05046ed66d9bd5108c372
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
11 months agoExtract HttpEntry notification logic into a separate NotificationService 14/138514/1
Fiete Ostkamp [Sat, 20 Jul 2024 08:44:22 +0000 (10:44 +0200)]
Extract HttpEntry notification logic into a separate NotificationService

- introduce NotificationService
- rename ueb package to notification
- remove meaningless javadocs

Issue-ID: AAI-3930
Change-Id: Ic6ffd5511235d2400b0d6db71f7d7aa13d2b076b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
11 months agoBump aai-common version to 1.14.5-SNAPSHOT 07/138407/1
Fiete Ostkamp [Tue, 9 Jul 2024 13:06:47 +0000 (15:06 +0200)]
Bump aai-common version to 1.14.5-SNAPSHOT

Issue-ID: AAI-3928
Change-Id: I0bf49334b9c48df447082979e4311e922052775d
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
11 months agoUpdate Janusgraph to 0.6.0 in aai-common 60/138360/2
Fiete Ostkamp [Tue, 2 Jul 2024 06:50:42 +0000 (08:50 +0200)]
Update Janusgraph to 0.6.0 in aai-common

- update Tinkerpop (3.4.13 -> 3.5.0) + Janusgraph (0.5.0 -> 0.6.0)
- bump version to 1.14.4-SNAPSHOT

Issue-ID: AAI-3914
Change-Id: I4beeb2db6f2ba4b9ee25b084bb42dd551cda1375
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
11 months agoRelease 1.14.4 maven artifact of aai-common 87/138387/1
Fiete Ostkamp [Thu, 4 Jul 2024 12:19:48 +0000 (14:19 +0200)]
Release 1.14.4 maven artifact of aai-common

- fixes pagination when there are no results

Issue-ID: AAI-3919
Change-Id: I173e4d76d56ddaad352da5d0f1df00792e1d71e1
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
11 months agoPagination will throw an IllegalArgumentException if there are no vertices of the... 72/138372/1
Fiete Ostkamp [Wed, 3 Jul 2024 11:47:19 +0000 (13:47 +0200)]
Pagination will throw an IllegalArgumentException if there are no vertices of the requested type

- provide empty PaginationResponse when traversal.next() throws IllegalArgumentException

Issue-ID: AAI-3917
Change-Id: I280f216050ea16953015023146d40674e067f028
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
11 months agoRelease 1.14.3 maven artifact of aai-common 45/138345/1
Fiete Ostkamp [Mon, 1 Jul 2024 07:56:50 +0000 (09:56 +0200)]
Release 1.14.3 maven artifact of aai-common

- update Janusgraph (0.4.0 -> 0.5.0) and tinkerpop (3.4.0 -> 3.4.13)
- add gremlin-based pagination and sorting
- cleanup HttpEntry by removing meaningless javadocs and old stateful pagination fields and methods

Issue-ID: AAI-3904
Change-Id: I627c10f58b93a03e9038b6ff059f37304ff7f614
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
11 months agoUpdate Janusgraph to 0.5.0 in aai-common 30/138330/3
Fiete Ostkamp [Wed, 26 Jun 2024 12:12:55 +0000 (14:12 +0200)]
Update Janusgraph to 0.5.0 in aai-common

- update tinkerpop to 3.4.13
- update janusgraph to 0.5.0
- restore the total-pages header that was accidentally removed in the last pagination commit
- remove stateful pagination logic from HttpEntry

Issue-ID: AAI-3900
Change-Id: I5fac397ece75136673b8dc3866e10ff15dfdcee3
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
11 months agoAdd gremlin-based pagination to aai-common 94/138294/7
Fiete Ostkamp [Thu, 20 Jun 2024 13:24:32 +0000 (15:24 +0200)]
Add gremlin-based pagination to aai-common

- enhance query building to support gremlin-based pagination
- pagination is supported in two variants: with and without the total count of elements [1]
- enhance query building to support gremlin-based sorting
- add query logging that is currently disabled

[1] due to the design of gremlin, including the total count results in a full graph scan.
As such there is the option to not include it, which should make it (much) faster for the first pages that are returned.
Issue-ID: AAI-3893
Change-Id: I6bc0c9b9f398556cc41a0a8f82e24e50c85e5690
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
11 months agoRelease aai-common 1.14.2 maven artifact 14/138314/1
Fiete Ostkamp [Tue, 25 Jun 2024 06:31:28 +0000 (08:31 +0200)]
Release aai-common 1.14.2 maven artifact

- release contains update of tinkerpop to 3.4.0 + janusgraph to 0.4.0

Issue-ID: AAI-3894
Change-Id: Iacb69c56da247262e79c3650ad37737e3c7479a1
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoUpdate Janusgraph to 0.4.0 in aai-common 78/138278/1
Fiete Ostkamp [Wed, 19 Jun 2024 07:04:08 +0000 (09:04 +0200)]
Update Janusgraph to 0.4.0 in aai-common

- update tinkerpop to 3.4.0 + janusgraph to 0.4.0
- bump snapshot version to 1.14.2-SNAPSHOT

Issue-ID: AAI-3888
Change-Id: I2e45b37e4cda4f82c46399a899ba28f7463c0a95
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoRelease 1.14.1 maven artifact 44/138244/2
Fiete Ostkamp [Mon, 17 Jun 2024 14:02:06 +0000 (16:02 +0200)]
Release 1.14.1 maven artifact

- updates tinkerpop from 3.3.0 to 3.3.11

Issue-ID: AAI-3882
Change-Id: Ib02276ff0da2143cf5b16d844b118ded439030fd
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoBump aai-common version to 1.14.1 45/138245/1
Fiete Ostkamp [Mon, 17 Jun 2024 14:23:09 +0000 (16:23 +0200)]
Bump aai-common version to 1.14.1

Issue-ID: AAI-3883
Change-Id: If89ec7af4b54462852c5578597112eb371b0c2f6
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoUpdate tinkerpop to 3.3.11 in aai-common 30/138230/1
Fiete Ostkamp [Sat, 15 Jun 2024 12:45:14 +0000 (14:45 +0200)]
Update tinkerpop to 3.3.11 in aai-common

Issue-ID: AAI-3875
Change-Id: Iba69b1d4850fcd86dc0ee9cd209c74396e2e8f4a
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoMerge "Create release notes for 13.0.1 AAI release"
Lukasz Rajewski [Thu, 13 Jun 2024 12:08:11 +0000 (12:08 +0000)]
Merge "Create release notes for 13.0.1 AAI release"

12 months agoCreate release notes for 13.0.1 AAI release 15/138215/2
Fiete Ostkamp [Thu, 13 Jun 2024 07:55:03 +0000 (09:55 +0200)]
Create release notes for 13.0.1 AAI release

- add release notes for the 13.0.1 helm chart release

Issue-ID: AAI-3873
Change-Id: Ica0d962f4211c66008e332777d04405f2ef54883
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoMerge "Release 1.14.0 maven artifact"
Nandkishor Patke [Wed, 5 Jun 2024 03:02:14 +0000 (03:02 +0000)]
Merge "Release 1.14.0 maven artifact"

12 months agoRelease 1.14.0 maven artifact 33/138133/1
Fiete Ostkamp [Tue, 4 Jun 2024 15:18:42 +0000 (17:18 +0200)]
Release 1.14.0 maven artifact

- update janusgraph from 0.2.3 to 0.3.3
- minor refactorings of ValidationService and HttpEntry classes
- fix parsing of some error codes in ErrorLogHelper

Issue-ID: AAI-3750
Change-Id: Ic8be652c42c4dc45c33a5207f0b3c560c633ddc4
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoMerge "Update janusgraph to 0.3.3"
Fiete Ostkamp [Tue, 4 Jun 2024 14:56:32 +0000 (14:56 +0000)]
Merge "Update janusgraph to 0.3.3"

12 months agoUpdate janusgraph to 0.3.3 76/137476/7
Fiete Ostkamp [Wed, 6 Mar 2024 06:56:05 +0000 (07:56 +0100)]
Update janusgraph to 0.3.3

- update tinkerpop version from 3.2.11 to 3.3.0
- update janusgraph from 0.2.3 to 0.3.3
- the default GraphSON version would change with this update but was held back [1]
- add jackson-dataformat-xml dependency to aai-core as the XmlMapper is used in the ErrorLogHelper

[1] a separate story AAI-3796 - Use GraphSON v2 or v3 in AAI has been created for this

Issue-ID: AAI-3795
Change-Id: I4539e83aa74c260d5238ebe869e9884d4396e9f4
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
12 months agoRefactor the ValidationService 00/138100/1
Fiete Ostkamp [Wed, 29 May 2024 12:24:34 +0000 (14:24 +0200)]
Refactor the ValidationService

- slightly refactor the code
- assert it's invocation in the HttpEntryTest

Issue-ID: AAI-3864
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: If8d218f5c6467956e25fd1c4deb588f3fb5c7d2c

12 months agoRefactor HttpEntry class - Part 1 87/138087/2
Fiete Ostkamp [Tue, 28 May 2024 09:11:09 +0000 (11:11 +0200)]
Refactor HttpEntry class - Part 1

- simplify setHttpEntryProperties (later on this will likely be done in the constructor)
- move some logic of UEBNotification into separate methods
- resolve jsonassert dependency conflict

Issue-ID: AAI-3863
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ic84b43156890352509dc9c547478abdf53e96d6a

13 months agoErrorLogHelper is not parsing all error codes 87/137987/1
Fiete Ostkamp [Sun, 19 May 2024 08:17:22 +0000 (10:17 +0200)]
ErrorLogHelper is not parsing all error codes

- do not parse error codes as int

Issue-ID: AAI-3853
Change-Id: I4cad636c58fbe14f59aecc8692f7c96d50686d18
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
14 months agoRelease 1.13.6 Docker Artifact 88/137688/1
Singh [Fri, 12 Apr 2024 09:15:23 +0000 (14:45 +0530)]
Release 1.13.6 Docker Artifact

- Release 1.13.6 Docker Artifact

Issue-ID: AAI-3792
Change-Id: I45198c95ca259d7b87f6d0f41dfd118037375cdb
Signed-off-by: Singh <soumya.e.singh@accenture.com>
14 months agoRelease 1.13.6 Maven Artifact 87/137687/1
Singh [Fri, 12 Apr 2024 09:00:37 +0000 (14:30 +0530)]
Release 1.13.6 Maven Artifact

-Release 1.13.6 Maven Artifact

Issue-ID: AAI-3792
Change-Id: I0403ed181116ec621e1ea98c254c6611780015e2
Signed-off-by: Singh <soumya.e.singh@accenture.com>
14 months agoChange AAI-Common SNAPSHOT Version from 1.13.5 to 1.13.6 85/137685/2
Singh [Fri, 12 Apr 2024 06:02:41 +0000 (11:32 +0530)]
Change AAI-Common SNAPSHOT Version from 1.13.5 to 1.13.6

- Update AAI-common version from 1.13.5-SNAPSHOT to 1.13.6-SNAPSHOT

Issue-ID: AAI-3792
Change-Id: Ic281351007bab8bbc634c8f431be6bcd27ad83cd
Signed-off-by: Singh <soumya.e.singh@accenture.com>
14 months agoRemove DMaaP dependency from AAI-Common 59/137659/3
Singh [Tue, 9 Apr 2024 12:08:07 +0000 (17:38 +0530)]
Remove DMaaP dependency from AAI-Common

- Remove Dmaap dependency in AAI-Common and replace it with Kafka.

Issue-ID: AAI-3792
Change-Id: If3fd5c3bdc2448f7e260a26000b02a510c80d7fb
Signed-off-by: Singh <soumya.e.singh@accenture.com>
15 months agoRelease 1.13.5 docker artifact 78/137478/1
Fiete Ostkamp [Wed, 6 Mar 2024 07:47:01 +0000 (08:47 +0100)]
Release 1.13.5 docker artifact

- generate indices for all relationships [1]
- prevent dependency injection for schema-service related beans when schema.translator.list != schema-service [2]

[1] this can significantly speed up queries of the type .has(...).outE('org.[...].BelongsTo').has('aai-node-type','...')
[2] this is needed to more easily run services that depend on aai-common (resources,traversal) locally via mvn spring-boot:run

Issue-ID: AAI-3798
Change-Id: Ia9306225574ff1d9f3024259628a68d8f1c36581
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
15 months agoRelease 1.13.5 maven artifact 77/137477/1
Fiete Ostkamp [Wed, 6 Mar 2024 07:20:21 +0000 (08:20 +0100)]
Release 1.13.5 maven artifact

- generate indices for all relationships [1]
- prevent dependency injection for schema-service related beans when schema.translator.list != schema-service [2]

[1] this can significantly speed up queries of the type .has(...).outE('org.[...].BelongsTo').has('aai-node-type','...')
[2] this is needed to more easily run services that depend on aai-common (resources,traversal) locally via mvn spring-boot:run

Issue-ID: AAI-3797
Change-Id: Ibf37930774f0c9574e8dd3e9b7d752f9cd5355da
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
15 months agoupdate link to upper-constraints.txt 92/137392/1
thmsdt [Tue, 27 Feb 2024 09:29:50 +0000 (10:29 +0100)]
update link to upper-constraints.txt

Issue-ID: DOC-823

Change-Id: I63c1e9816df2ccb8ee1cbbd57943351aeee27b9c
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
15 months agoOnly load SchemaService related beans in aai-common when schema.translator.list=schem... 69/137369/2
Fiete Ostkamp [Mon, 26 Feb 2024 13:03:09 +0000 (14:03 +0100)]
Only load SchemaService related beans in aai-common when schema.translator.list=schema-service

- conditionally load schema-service related config, otherwise use the ConfigTranslator
- this prepares locally running traversal via mvn spring-boot:run

Issue-ID: AAI-3787
Change-Id: I9415802fb708933e8596b62e7540fa8a156e4cd6
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
16 months agoEnhance SchemaGenerator to also generate indices for relationships 34/137334/3
Fiete Ostkamp [Wed, 21 Feb 2024 12:41:30 +0000 (13:41 +0100)]
Enhance SchemaGenerator to also generate indices for relationships

- generate edge indexes when they not already exist
- reindex existing indexes when they are not in status ENABLED
- try to recover indexes that are in INSTALLED state
- bump version to 1.13.5

Issue-ID: AAI-3782
Change-Id: I127e0f83b17485d7a6721206ade92cd50c89a51b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
16 months agoadd python compatibility module 88/137288/1
thmsdt [Tue, 20 Feb 2024 11:02:30 +0000 (12:02 +0100)]
add python compatibility module

Issue-ID: DOC-823

Change-Id: If0702b39e678282f74faefeb37d158810062c958
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
16 months agoRelease 1.13.4 docker artifact 26/137226/1
Fiete Ostkamp [Thu, 15 Feb 2024 20:21:13 +0000 (21:21 +0100)]
Release 1.13.4 docker artifact

Issue-ID: AAI-3774
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I75d70f66b4c5ea8cd32127a7a50518db414306cd

16 months agoRelease 1.13.4 maven artifact 25/137225/1
Fiete Ostkamp [Thu, 15 Feb 2024 16:57:02 +0000 (17:57 +0100)]
Release 1.13.4 maven artifact

- tinkerpop update from 3.2.4 to 3.2.11
- use java 8 base image

Issue-ID: AAI-3773
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ibc1196d90599a02b3c4577fa50606e0966cb0ac1

16 months agoEnable dependency injection for some aai-common classes 23/137223/1
Fiete Ostkamp [Thu, 15 Feb 2024 16:10:02 +0000 (17:10 +0100)]
Enable dependency injection for some aai-common classes

- minor refactorings in SchemaServiceTranslator
- annotate the other classes with @Component to make them available for dependency injection

Issue-ID: AAI-3780
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ia48743b81de36e1da3e71eee8821baa526c86885

16 months agoImprove aai-common README 48/137148/1
Fiete Ostkamp [Wed, 7 Feb 2024 08:31:17 +0000 (09:31 +0100)]
Improve aai-common README

- add prerequisite section describing the need for Java 8 and the ONAP `settings.xml`
- add sections for running tests and debug attaching

Issue-ID: AAI-3775
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I1b4c8d37112ab29e7b1218f24f8e6970f991be1b

16 months agoSwitch aai-common baseimage back to java 8 36/137136/1
Fiete Ostkamp [Tue, 6 Feb 2024 12:25:04 +0000 (13:25 +0100)]
Switch aai-common baseimage back to java 8

- downgrade base image to java 8 until aai-common is compatible with java 11

Issue-ID: AAI-3766
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I90505b6a15b92fcf983e6444b60523574b2d2388

16 months agoRelease 1.13.3 docker artifact 34/137134/1
Fiete Ostkamp [Tue, 6 Feb 2024 11:56:52 +0000 (12:56 +0100)]
Release 1.13.3 docker artifact

Issue-ID: AAI-3749
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I5d11695fcd58d4bb847bf800533bf8384a852fd3

16 months agoUpdate tinkerpop to 3.2.11 30/137130/1
Fiete Ostkamp [Tue, 6 Feb 2024 09:29:24 +0000 (10:29 +0100)]
Update tinkerpop to 3.2.11

- update tinkerpop version from 3.2.4 to 3.2.11

Issue-ID: AAI-3745
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: If7ecabc325bcdcc030fe64b3b2262c4dad6b9798

16 months agoRelease 1.13.3 maven artifact 27/137127/1
Fiete Ostkamp [Tue, 6 Feb 2024 07:43:43 +0000 (08:43 +0100)]
Release 1.13.3 maven artifact

- release new version since rereleasing fixed 1.13.2 is not possible

Issue-ID: AAI-3748
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I3d3dfb103747e0391544c19982e3cf5489dd8fab

16 months agoBump version to 1.13.3 26/137126/1
Fiete Ostkamp [Mon, 5 Feb 2024 17:32:12 +0000 (18:32 +0100)]
Bump version to 1.13.3

Issue-ID: AAI-3762
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I8fc12af8d43996ca5408679e78632ca91f13a6e3

16 months agoRe-Release 1.13.2 maven artifact 23/137123/1
Fiete Ostkamp [Mon, 5 Feb 2024 15:53:33 +0000 (16:53 +0100)]
Re-Release 1.13.2 maven artifact

- rerelease to fix broken TraversalURIOptimizedQuery building

Issue-ID: AAI-3759
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I50e528c044dd1a464e406b0a3e669b760c56c790

16 months agoPivoting a TraversalURIOptimisedQuery is broken in release 1.13.2 22/137122/8
Fiete Ostkamp [Mon, 5 Feb 2024 14:34:01 +0000 (15:34 +0100)]
Pivoting a TraversalURIOptimisedQuery is broken in release 1.13.2

- fix query building for TraversalURIOptimizedQuery
- enable DataLinkTests for TRAVERSAL_URI again
- add further tests to test pivoting more directly
- roll back version to 1.13.2 to rerelease fixed version
- add python six dependency to fix upstream issue with sphinxcontrib-swagger dependency

Issue-ID: AAI-3758
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I3e54216e00d0491d64265e149f55cf8aba6fabd9

16 months agoUpdate tinkerpop to 3.2.11 90/137090/1
Fiete Ostkamp [Mon, 29 Jan 2024 17:51:25 +0000 (18:51 +0100)]
Update tinkerpop to 3.2.11

- update tinkerpop from 3.2.4 to 3.2.11
- bump version to 1.13.3

Issue-ID: AAI-3745
Change-Id: I492aba96f8e4916bc99e80fc24e9e20da26c20ba
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
16 months agoRelease 1.13.2 docker artifact 84/137084/1
Fiete Ostkamp [Fri, 26 Jan 2024 10:49:58 +0000 (11:49 +0100)]
Release 1.13.2 docker artifact

- release docker artifact
- add release notes for the docs

Issue-ID: AAI-3747
Change-Id: Ib2332abd5eddfaa1426b4238093e8c01bbe20cbe
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
16 months agoRelease 1.13.2 maven artifact 83/137083/1
Fiete Ostkamp [Fri, 26 Jan 2024 09:57:38 +0000 (10:57 +0100)]
Release 1.13.2 maven artifact

- update tinkerpop version to 3.2.4

Issue-ID: AAI-3746
Change-Id: I0540d759b879665f8b32087eb6ca76d26bfebfa2
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
16 months agoUpdate tinkerpop to 3.2.4 71/137071/7
Fiete Ostkamp [Tue, 23 Jan 2024 13:40:32 +0000 (14:40 +0100)]
Update tinkerpop to 3.2.4

- work around hasStep inlining
- add tests that more directly assert traversal state
- add TinkerpopUpgradeTests test suite [1]
- bump aai-common version to 1.13.2

[1] this allows to run the tests that are likely affected by a tinkerpop upgrade

Issue-ID: AAI-3740
Change-Id: I86fb9b0c86802c7c0f74a5aae0976e81bf501eb0
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months agoMerge "Revert "Update tinkerpop to 3.2.3 in aai-core""
Nandkishor Patke [Mon, 22 Jan 2024 08:36:29 +0000 (08:36 +0000)]
Merge "Revert "Update tinkerpop to 3.2.3 in aai-core""

17 months agoUpdate tinkerpop to 3.2.3 in aai-core 59/137059/1
Fiete Ostkamp [Sat, 20 Jan 2024 17:16:09 +0000 (18:16 +0100)]
Update tinkerpop to 3.2.3 in aai-core

- no not apply the InlineFilterStrategy optimisation [1]

[1] the strategy aggregates consecutive has-steps into one has([...]). This messes
with the container and parent query step indices that are saved while building the query.

Issue-ID: AAI-3554
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I5b63ce16b8020633ea059fed7f70577661758415

17 months agoRevert "Update tinkerpop to 3.2.3 in aai-core" 36/137036/1
Fiete Ostkamp [Sat, 20 Jan 2024 17:14:17 +0000 (17:14 +0000)]
Revert "Update tinkerpop to 3.2.3 in aai-core"

This reverts commit 4e7ca21da096ff03ca70451fb5e7b95d3fd18f6e.

Reason for revert: This is not properly fixing the underlying issue and was merged prematurely

Issue-ID: AAI-3554

Change-Id: I3ff720bd5322712bdde13d774cc4366a9ed28650
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months agoMerge "Update tinkerpop to 3.2.3 in aai-core"
Nandkishor Patke [Sat, 20 Jan 2024 03:27:20 +0000 (03:27 +0000)]
Merge "Update tinkerpop to 3.2.3 in aai-core"

17 months agoUpdate tinkerpop to 3.2.3 in aai-core 63/131763/7
Fiete Ostkamp [Tue, 1 Aug 2023 11:52:05 +0000 (11:52 +0000)]
Update tinkerpop to 3.2.3 in aai-core

- eagerly clone queries as they are optimised at a later stage
  when called lazily

Issue-ID: AAI-3554

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

17 months agoRelease 1.13.1 docker artifact 13/137013/2
Fiete Ostkamp [Tue, 16 Jan 2024 12:22:29 +0000 (13:22 +0100)]
Release 1.13.1 docker artifact

Issue-ID: AAI-3727
Change-Id: I0d512b60b90cef2b93a5178a048eb0130b2dda5f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months agoMerge "[AAI] Promote Fiete Ostkamp and Nandkishor Patke to AAI Contributors"
Lukasz Rajewski [Tue, 16 Jan 2024 08:15:50 +0000 (08:15 +0000)]
Merge "[AAI] Promote Fiete Ostkamp and Nandkishor Patke to AAI Contributors"

17 months agoRelease 1.13.1 maven artifact 77/136977/3
Fiete Ostkamp [Fri, 12 Jan 2024 07:19:50 +0000 (08:19 +0100)]
Release 1.13.1 maven artifact

- create maven release

Issue-ID: AAI-3726
Change-Id: Ib84753ac73333d0b4a41b783b3c2d96b1105edf4
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months ago[AAI] Promote Fiete Ostkamp and Nandkishor Patke to AAI Contributors 88/136988/2
Fiete Ostkamp [Mon, 15 Jan 2024 09:31:24 +0000 (10:31 +0100)]
[AAI] Promote Fiete Ostkamp and Nandkishor Patke to AAI Contributors

Issue-ID: AAI-3729
Change-Id: I38e1008ffd104e8247b59e57fbe078591ecb81d0
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months agoEnsure HttpEntry bean is request scoped in aai-common 87/136987/5
Fiete Ostkamp [Mon, 15 Jan 2024 07:21:05 +0000 (08:21 +0100)]
Ensure HttpEntry bean is request scoped in aai-common

- declare separate request scoped HttpEntry beans
- leave the existing prototype scoped HttpEntry beans in place [1]
- disable flaky test

[1] some of the existing tests (in traversal+resources) use them in a non-web context
In those cases, using request scoped beans requires extra annotations to make it work

Issue-ID: AAI-3723
Change-Id: I1295fe8d18f3364472f4230f28ea6ef936c5f42b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months agoUpdate spring boot to 2.4 67/136967/4
Fiete Ostkamp [Thu, 11 Jan 2024 10:36:27 +0000 (11:36 +0100)]
Update spring boot to 2.4

- update spring boot from 2.3 to 2.4
- remove compile-time dependency on powermock introduced by eelf-core
- remove dependencyManagement declarations for powermock since it's not used anymore

Issue-ID: AAI-3725
Change-Id: I05a35e0cee80b27123f28bb8eeb8ed885c83a173
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months agoUpdate spring boot to 2.3 59/136959/1
Fiete Ostkamp [Wed, 10 Jan 2024 15:27:15 +0000 (16:27 +0100)]
Update spring boot to 2.3

- update to 2.3
- bump version of all submodules to 1.13.1-SNAPSHOT

Issue-ID: AAI-3724
Change-Id: Id089e27b236476907c4e7ca7e51d72b74d387d1c
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months agoMerge "Update spring boot to 2.2"
Lukasz Rajewski [Wed, 10 Jan 2024 13:13:39 +0000 (13:13 +0000)]
Merge "Update spring boot to 2.2"

17 months agoEnsure HttpEntry bean is request scoped in aai-common 55/136955/2
Fiete Ostkamp [Wed, 10 Jan 2024 10:59:21 +0000 (11:59 +0100)]
Ensure HttpEntry bean is request scoped in aai-common

- change beans to request scoped since the transaction handling inside it is not thread-safe
- bean injection in jersey is "request" scoped by default,
  but in a spring web context it is "prototype"
- in the prototype scope, multiple threads could access the same HttpEntry

Issue-ID: AAI-3723
Change-Id: I083e3b06cdbe4491f22746033cdcc80aa48a2d1b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months agoUpdate spring boot to 2.2 12/136912/2
Fiete Ostkamp [Tue, 2 Jan 2024 12:02:39 +0000 (13:02 +0100)]
Update spring boot to 2.2

- update spring dependency to 2.2.13
- remove profile based switch between spring versions 1.5.22 and 2.1.12
- migrate testng based tests in aai-els-onap-logging to junit 4
- rely more on boms for dependencyManagement by removing separate declarations (of spring and jackson)
- resolve some build warnings by adding dependency + plugin versions
- resolve some build warnings by removing duplicate declarations of dependencies
- resolve build warning about ambiguous reference to JsonObject.addProperty()

Issue-ID: AAI-3711
Change-Id: I7559e90ffb65199ee46bc5b7cdf5d9e73b7d87bc
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months agoRelease 1.13.0 docker artifact 11/136911/1
Fiete Ostkamp [Tue, 2 Jan 2024 10:58:07 +0000 (11:58 +0100)]
Release 1.13.0 docker artifact

Issue-ID: AAI-3707
Change-Id: I809dc9c3befdf506abec2f80ffcd8e59ea070d4a
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>