aai/aai-common.git
11 days agoSpring-boot 3.1 update 55/141055/4 master
Fiete Ostkamp [Fri, 30 May 2025 13:53:36 +0000 (15:53 +0200)]
Spring-boot 3.1 update

- update spring-boot (3.0.13 -> 3.1.12)
- upgrade eclipse persistence (3.0.1 -> 4.0.6)
- bump snapshot version to 1.16.1-SNAPSHOT

Issue-ID: AAI-4162
Change-Id: I6988f36c00a0e8a9e9e32006b86ff286479ba685
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
5 weeks agoMerge "Bump org.apache.commons:commons-text from 1.10.0 to 1.13.0"
Fiete Ostkamp [Tue, 13 May 2025 08:59:35 +0000 (08:59 +0000)]
Merge "Bump org.apache.commons:commons-text from 1.10.0 to 1.13.0"

5 weeks agoMerge "Bump slf4j.version from 2.0.7 to 2.0.17"
Fiete Ostkamp [Tue, 13 May 2025 08:58:11 +0000 (08:58 +0000)]
Merge "Bump slf4j.version from 2.0.7 to 2.0.17"

2 months agoBump slf4j.version from 2.0.7 to 2.0.17 47/140547/1
dependabot[bot] [Mon, 24 Mar 2025 05:59:43 +0000 (05:59 +0000)]
Bump slf4j.version from 2.0.7 to 2.0.17

Bumps `slf4j.version` from 2.0.7 to 2.0.17.

Updates `org.slf4j:slf4j-api` from 2.0.7 to 2.0.17

Updates `org.slf4j:jcl-over-slf4j` from 2.0.7 to 2.0.17

Updates `org.slf4j:jul-to-slf4j` from 2.0.7 to 2.0.17

updated-dependencies:
- dependency-name: org.slf4j:slf4j-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:jcl-over-slf4j
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:jul-to-slf4j
  dependency-type: direct:production
  update-type: version-update:semver-patch

Issue-ID: CIMAN-33

Change-Id: Id232e0bc7a65363deb92445708fd0ff17c4c7571
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
2 months agoBump org.apache.commons:commons-compress from 1.27.0 to 1.27.1 45/140545/1
dependabot[bot] [Mon, 24 Mar 2025 05:59:30 +0000 (05:59 +0000)]
Bump org.apache.commons:commons-compress from 1.27.0 to 1.27.1

Bumps org.apache.commons:commons-compress from 1.27.0 to 1.27.1.

updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  dependency-type: direct:production
  update-type: version-update:semver-patch

Issue-ID: CIMAN-33

Change-Id: I1409c75c8882011f29a2779d8a37900d11ad9118
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
2 months agoBump org.apache.commons:commons-text from 1.10.0 to 1.13.0 43/140543/1
dependabot[bot] [Mon, 24 Mar 2025 05:59:21 +0000 (05:59 +0000)]
Bump org.apache.commons:commons-text from 1.10.0 to 1.13.0

Bumps org.apache.commons:commons-text from 1.10.0 to 1.13.0.

updated-dependencies:
- dependency-name: org.apache.commons:commons-text
  dependency-type: direct:production
  update-type: version-update:semver-minor

Issue-ID: CIMAN-33

Change-Id: I209ed096777c93e6b78e69ff6da1738ceedbdc93
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
3 months agoMerge "Bump com.diffplug.spotless:spotless-maven-plugin in the maven group"
Fiete Ostkamp [Wed, 19 Mar 2025 11:30:43 +0000 (11:30 +0000)]
Merge "Bump com.diffplug.spotless:spotless-maven-plugin in the maven group"

3 months agoMerge "Bump com.bazaarvoice.jolt:jolt-complete from 0.1.7 to 0.1.8"
Fiete Ostkamp [Wed, 19 Mar 2025 11:09:05 +0000 (11:09 +0000)]
Merge "Bump com.bazaarvoice.jolt:jolt-complete from 0.1.7 to 0.1.8"

3 months agoMerge "Bump org.apache.maven.plugins:maven-dependency-plugin from 2.8 to 3.8.1"
Fiete Ostkamp [Wed, 19 Mar 2025 11:06:10 +0000 (11:06 +0000)]
Merge "Bump org.apache.maven.plugins:maven-dependency-plugin from 2.8 to 3.8.1"

3 months agoMerge "Bump org.apache.maven.plugins:maven-dependency-plugin from 2.8 to 3.8.1"
Fiete Ostkamp [Wed, 19 Mar 2025 11:02:16 +0000 (11:02 +0000)]
Merge "Bump org.apache.maven.plugins:maven-dependency-plugin from 2.8 to 3.8.1"

3 months agoMerge "Bump logback.version from 1.4.10 to 1.4.14"
Fiete Ostkamp [Wed, 19 Mar 2025 11:00:20 +0000 (11:00 +0000)]
Merge "Bump logback.version from 1.4.10 to 1.4.14"

3 months agoBump com.diffplug.spotless:spotless-maven-plugin in the maven group 20/140520/1
dependabot[bot] [Wed, 19 Mar 2025 10:52:18 +0000 (10:52 +0000)]
Bump com.diffplug.spotless:spotless-maven-plugin in the maven group

Bumps the maven group with 1 update: [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/plugin-maven).

Updates `com.diffplug.spotless:spotless-maven-plugin` from 1.18.0 to 1.20.0
- [Commits](https://github.com/diffplug/plugin-maven/commits)

updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-type: direct:production
  dependency-group: maven

Issue-ID: CIMAN-33

Change-Id: Ieaf1b99a11bd5e1eff5c1ed1a906f56ac438e998
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
3 months agoBump org.apache.maven.plugins:maven-dependency-plugin from 2.8 to 3.8.1 19/140519/1
dependabot[bot] [Wed, 19 Mar 2025 10:49:21 +0000 (10:49 +0000)]
Bump org.apache.maven.plugins:maven-dependency-plugin from 2.8 to 3.8.1

Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 2.8 to 3.8.1.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-2.8...maven-dependency-plugin-3.8.1)

updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major

Issue-ID: CIMAN-33

Change-Id: I00d411fbb5fc0ab2bd89624277c0449559249608
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
3 months agoBump logback.version from 1.4.10 to 1.4.14 18/140518/1
dependabot[bot] [Wed, 19 Mar 2025 10:49:14 +0000 (10:49 +0000)]
Bump logback.version from 1.4.10 to 1.4.14

Bumps `logback.version` from 1.4.10 to 1.4.14.

Updates `ch.qos.logback:logback-core` from 1.4.10 to 1.4.14
- [Release notes](https://github.com/qos-ch/logback/releases)
- [Commits](https://github.com/qos-ch/logback/compare/v_1.4.10...v_1.4.14)

Updates `ch.qos.logback:logback-classic` from 1.4.10 to 1.4.14
- [Release notes](https://github.com/qos-ch/logback/releases)
- [Commits](https://github.com/qos-ch/logback/compare/v_1.4.10...v_1.4.14)

Updates `ch.qos.logback:logback-access` from 1.4.10 to 1.4.14
- [Release notes](https://github.com/qos-ch/logback/releases)
- [Commits](https://github.com/qos-ch/logback/compare/v_1.4.10...v_1.4.14)

updated-dependencies:
- dependency-name: ch.qos.logback:logback-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: ch.qos.logback:logback-classic
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: ch.qos.logback:logback-access
  dependency-type: direct:production
  update-type: version-update:semver-patch

Issue-ID: CIMAN-33

Change-Id: I0479ea9519468637c15a5dc1eee217b24d3a684a
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
3 months agoBump com.bazaarvoice.jolt:jolt-complete from 0.1.7 to 0.1.8 15/140515/1
dependabot[bot] [Wed, 19 Mar 2025 10:49:06 +0000 (10:49 +0000)]
Bump com.bazaarvoice.jolt:jolt-complete from 0.1.7 to 0.1.8

Bumps [com.bazaarvoice.jolt:jolt-complete](https://github.com/bazaarvoice/jolt) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/bazaarvoice/jolt/releases)
- [Commits](https://github.com/bazaarvoice/jolt/compare/jolt-0.1.7...jolt-0.1.8)

updated-dependencies:
- dependency-name: com.bazaarvoice.jolt:jolt-complete
  dependency-type: direct:production
  update-type: version-update:semver-patch

Issue-ID: CIMAN-33

Change-Id: I5e925332a3a65f62affb3fc15bae52d32ee8ed4d
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
3 months agoBump org.apache.maven.plugins:maven-dependency-plugin from 2.8 to 3.8.1 06/140506/1
dependabot[bot] [Wed, 19 Mar 2025 10:48:33 +0000 (10:48 +0000)]
Bump org.apache.maven.plugins:maven-dependency-plugin from 2.8 to 3.8.1

Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 2.8 to 3.8.1.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-2.8...maven-dependency-plugin-3.8.1)

updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major

Issue-ID: CIMAN-33

Change-Id: Id0b8df60cd4f0b28c3c2e005bd3220fef0400d6a
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
3 months agoBump io.swagger.core.v3:swagger-core from 2.2.25 to 2.2.29 05/140505/1
dependabot[bot] [Wed, 19 Mar 2025 10:48:28 +0000 (10:48 +0000)]
Bump io.swagger.core.v3:swagger-core from 2.2.25 to 2.2.29

Bumps [io.swagger.core.v3:swagger-core](https://github.com/swagger-api/swagger-core) from 2.2.25 to 2.2.29.
- [Release notes](https://github.com/swagger-api/swagger-core/releases)
- [Commits](https://github.com/swagger-api/swagger-core/compare/v2.2.25...v2.2.29)

updated-dependencies:
- dependency-name: io.swagger.core.v3:swagger-core
  dependency-type: direct:production
  update-type: version-update:semver-patch

Issue-ID: CIMAN-33

Change-Id: I9ca63bbe2da686c83a661e1395b39ec92efd957b
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
3 months agoChore: Enable dependabot and GitHub2Gerrit 02/140502/2
Matthew Watkins [Wed, 19 Mar 2025 10:38:23 +0000 (10:38 +0000)]
Chore: Enable dependabot and GitHub2Gerrit

Add dependabot configuration file and GitHub2Gerrit workflow.

Issue-ID: CIMAN-33

Change-Id: I9cc1b4f3688c213ae059ccf33fa44b0e430d3c1d
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
3 months agoRelease 1.16.0 34/140434/2
Fiete Ostkamp [Wed, 12 Mar 2025 07:22:28 +0000 (08:22 +0100)]
Release 1.16.0

- spring-boot update (2.7.18 -> 3.0.13)
- uses Java 17 now

Issue-ID: AAI-4142
Change-Id: I92f7ed8216fa2fee514b9111fc4fd7f0bb322082
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
3 months agoBump version to 1.16.0 35/140435/1
Fiete Ostkamp [Wed, 12 Mar 2025 09:28:02 +0000 (10:28 +0100)]
Bump version to 1.16.0

Issue-ID: AAI-4143
Change-Id: I8cbb6b7d24f9cfb523732f42ec3257ea47c3649d
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
4 months agoRemove explicit version for spring-kafka 76/140176/1
Fiete Ostkamp [Sun, 9 Feb 2025 09:19:06 +0000 (10:19 +0100)]
Remove explicit version for spring-kafka

- spring-kafka was held back on 2.7 due to an explicitly declared version
- let snakeyaml and commons-cli deps be managemed by spring dependency management

Issue-ID: AAI-4130
Change-Id: Idc6304ab6d46adfef2d437daf2d7f43ef259d395
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
4 months agoUpdate AAI api documentation 57/140157/1
Fiete Ostkamp [Thu, 6 Feb 2025 08:38:49 +0000 (09:38 +0100)]
Update AAI api documentation

- update docs to
  - include v30
  - make openapi page easier searchable by mentioning openapi in the title
  - link to openapi page in AAI REST API section

Issue-ID: AAI-4126
Change-Id: I408ea17fa9560fb7b20550086362d3b26d078968
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
4 months agoMerge "Spring-boot 3 update"
Nandkishor Patke [Tue, 4 Feb 2025 13:17:35 +0000 (13:17 +0000)]
Merge "Spring-boot 3 update"

4 months agoSpring-boot 3 update 06/139806/6
Fiete Ostkamp [Fri, 3 Jan 2025 10:31:59 +0000 (11:31 +0100)]
Spring-boot 3 update

- update to spring boot 3.0.13, this includes:
- change of javax to jakarta namespace
- upgrade of eclipselink (2.7.15 -> 3.0.1)

Issue-ID: AAI-4098
Change-Id: I57bbc453be892a6425a23d5ec58c140cf9736cda
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
4 months agoRelease 1.15.5 28/140128/1
Fiete Ostkamp [Mon, 3 Feb 2025 15:14:13 +0000 (16:14 +0100)]
Release 1.15.5

- janusgraph upgrade (1.0.0 -> 1.1.0)
- remove ssl-related leftovers from the code
- remove various spring starters (web,tomcat,jetty,jersey)
  since they shouldn't be declared in this library

Issue-ID: AAI-4117
Change-Id: I514a7ecc23685e339c19562b1bdc3a6d48b27416
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
4 months ago[AAI] Unnecessary packages must be cleared from all java files for aai-common 11/140111/1
atul.m.singh [Thu, 30 Jan 2025 06:34:32 +0000 (12:04 +0530)]
[AAI] Unnecessary packages must be cleared from all java files for aai-common

- Removed unused imports from the JAVA files so that unnecessary packages are ignored

Issue-ID: AAI-4111
Change-Id: If9a4a9b98962c3d4deb28668ff0050b92999d9c7
Signed-off-by: atul.m.singh <atul.m.singh@accenture.com>
5 months agoCreate release notes 39/139939/1
Fiete Ostkamp [Thu, 16 Jan 2025 14:11:39 +0000 (15:11 +0100)]
Create release notes

- create release notes for both the 14.X.X and 15.X.X release

Issue-ID: AAI-4108
Change-Id: I1d80b9db4113a13feead4b234c37163c41dc6f08
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
5 months agoMake aai-common agnostic of the embedded server (remove jetty-specific code) 52/139852/4
Fiete Ostkamp [Mon, 6 Jan 2025 10:34:17 +0000 (11:34 +0100)]
Make aai-common agnostic of the embedded server (remove jetty-specific code)

- remove spring-boot-starter-[web,tomcat,jetty,jersey] in aai-rest
- remove spring-boot-starter-web in aai-schema-ingest
- remove keystore and certificate related leftovers
- this prepares the move to tomcat for the spring boot 3 upgrade (details in the ticket)

Issue-ID: AAI-4100
Change-Id: I04194c636f0548f7a832e430a40e48710ea4c00f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
5 months agoUpgrade Janusgraph to 1.1.0 03/139803/2
Fiete Ostkamp [Thu, 2 Jan 2025 15:11:05 +0000 (16:11 +0100)]
Upgrade Janusgraph to 1.1.0

- upgrade janusgraph (1.0.1->1.1.0)
- upgrade guava (33.3.1-jre->33.4.0-jre)
- remove some version declarations in aai-parent that are not in use anymore
- bump snapshot version to 1.15.5-SNAPSHOT

Issue-ID: AAI-4097
Change-Id: Ied18c84ad4de81ddc2d968881590c1145a52618f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
5 months agoRelease 1.15.4 99/139799/1
Fiete Ostkamp [Thu, 2 Jan 2025 12:48:15 +0000 (13:48 +0100)]
Release 1.15.4

- upgrade slf4j (1.7.25 -> 1.7.36)
- upgrade logback (1.2.12 -> 1.2.13)
- reduce usage of org.json
- upgrade org.json (20190722->20240303)
- remove spring-security-rsa from aai-parent

Issue-ID: AAI-4093
Change-Id: I574cdda8102ff47908f0d22434badfca056a1933
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
5 months agoUpgrade slf4j in aai-common 98/139798/1
Fiete Ostkamp [Thu, 2 Jan 2025 10:25:51 +0000 (11:25 +0100)]
Upgrade slf4j in aai-common

- upgrade slf4j (1.7.25->1.7.36)
- add all slf4j dependencies to dependencyManagement

Issue-ID: AAI-4092
Change-Id: I57f970253ccd200646048c41463769bafe07911e
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
5 months agoRemove AAI rest-client dependency from aai-common 96/139796/3
Fiete Ostkamp [Sun, 29 Dec 2024 10:38:38 +0000 (11:38 +0100)]
Remove AAI rest-client dependency from aai-common

- the rest-client dependency is not used and contains eelf-core
- bump logback patch version (1.2.12 -> 1.2.13)

Issue-ID: AAI-4091
Change-Id: I9864700fe95cbe1534e96dc9c122480e99a573f8
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
6 months agoaai-common pipeline is flaky due to coverage check 23/139723/1
Fiete Ostkamp [Tue, 17 Dec 2024 09:11:45 +0000 (10:11 +0100)]
aai-common pipeline is flaky due to coverage check

- set coverage to 0.0

Issue-ID: AAI-4089
Change-Id: I0b59f28a349cf3633ed56ec772badd6e87cf7e07
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
6 months agoReduce org.json usage in aai-common 10/139710/3
Fiete Ostkamp [Wed, 11 Dec 2024 08:21:34 +0000 (09:21 +0100)]
Reduce org.json usage in aai-common

- org.json [is slow](https://github.com/fabienrenaud/java-json-benchmark?tab=readme-ov-file#users-model)
- Jackson should be consistently used everywhere
- only XmlFormatTransformer is left, but that warrants a dedicated change with
  (likely) further tests since it appears to be quite a critical execution path
- remove unused imports
- update org.json to a non-vulnerable version

Issue-ID: AAI-4085
Change-Id: I84610523447d70a1729348392ffd302d17e9379d
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
6 months agoRemove dependency management for spring-security-rsa dependency 86/139686/1
Fiete Ostkamp [Fri, 6 Dec 2024 12:58:51 +0000 (13:58 +0100)]
Remove dependency management for spring-security-rsa dependency

- remove spring-security-rsa from aai-parent
- bump snapshot version to 1.15.4-SNAPSHOT

Issue-ID: AAI-4081
Change-Id: I8ae022bc7307efeac7cfd90415e2d412f83cfd9b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
6 months ago1.15.3 release 80/139680/1
Fiete Ostkamp [Fri, 6 Dec 2024 07:54:38 +0000 (08:54 +0100)]
1.15.3 release

- Remove eelf-core from aai-common
- Move GraphChecker to aai-common
- Remove aai logging-service dependencies
- Upgrade spring-boot to 2.7
- Add resiliency test for the GraphChecker
- Reduce log noise caused by AbstractAuditLogFilter
- Disable __TypeId__ header for AAI event publishing

Issue-ID: AAI-4076
Change-Id: Icee3ba399b14bd2ab734851f30386ef9799db63b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
6 months agoMerge "Reduce log noise caused by AbstractAuditLogFilter"
Fiete Ostkamp [Fri, 6 Dec 2024 06:42:33 +0000 (06:42 +0000)]
Merge "Reduce log noise caused by AbstractAuditLogFilter"

6 months agoDisable __TypeId__ header for AAI event publishing 45/139645/1
Fiete Ostkamp [Wed, 4 Dec 2024 12:53:41 +0000 (13:53 +0100)]
Disable __TypeId__ header for AAI event publishing

- with the refactorings in AAI-3931 and AAI-4014 message producing was changed
  to serialize <String,NotificationEvent> instead of <String,String> to be more expressive
- when doing so, spring will add a __TypeId__ header to the message to inform consumers
  about the type of the message
- spring consumers will validate this annotation and will
    - throw an exception when the package (org.onap.aai.[...].NotificationEvent) is not among the trusted packages
    - throw an exception if the class is not on the classpath and the app thus does not know how to deserialize it
- since this is a breaking change for the consumers and it would just cause implementation effort, the header is removed to restore the old behaviour

Issue-ID: AAI-4074
Change-Id: Ibf83c235739a71b64471ee85d0b5e559082c271e
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
6 months agoReduce log noise caused by AbstractAuditLogFilter 78/139578/2
Fiete Ostkamp [Wed, 27 Nov 2024 08:37:01 +0000 (09:37 +0100)]
Reduce log noise caused by AbstractAuditLogFilter

- reduce number of log lines that are written on each request

Issue-ID: AAI-4072
Change-Id: I7582a36fe32bc64c14a5f565c52895b11cee7364
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
6 months agoAdd resiliency test for the GraphChecker 38/139538/4
Fiete Ostkamp [Fri, 22 Nov 2024 14:33:27 +0000 (15:33 +0100)]
Add resiliency test for the GraphChecker

- introduce IntegrationTest class for Junit 5 based tests that use the spring context
- add resiliency test to test GraphChecker behaviour for interrupted network connections to cassandra
- leverage testcontainers to run against a cassandra container and toxiproxy

Issue-ID: AAI-4070
Change-Id: I2485b5240950ded6201942459f6fcdb4971e43d9
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
7 months agoUpgrade spring-boot to 2.7 23/139523/2
Fiete Ostkamp [Thu, 21 Nov 2024 15:09:24 +0000 (16:09 +0100)]
Upgrade spring-boot to 2.7

- upgrade spring-boot (2.6.15 -> 2.7.18)
- upgrade tinkerpop (3.7.1 -> 3.7.3)
- upgrade janusgraph (1.0.0 -> 1.0.1)

Issue-ID: AAI-4067
Change-Id: I06ab3c705981a9aebe2e0f6fdc7060735c8cd39c
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
7 months agoRemove aai logging-service dependencies 92/139492/1
Fiete Ostkamp [Wed, 20 Nov 2024 12:52:11 +0000 (13:52 +0100)]
Remove aai logging-service dependencies

- logging-service is not actively maintained anymore

Issue-ID: AAI-4061
Change-Id: I63cf251a47f220c06a423760b41c3ea70a2f8d6f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
7 months agoMove GraphChecker to aai-common 57/139457/3
Fiete Ostkamp [Tue, 19 Nov 2024 13:20:15 +0000 (14:20 +0100)]
Move GraphChecker to aai-common

- define GraphCheck class that tests connection to storage backend
- disable caching for the db transaction to make sure that the real connection is tested
- define GraphConfig class that defines a Graph bean. This is an alternative to the AAIGraph class

Issue-ID: AAI-4060
Change-Id: Id6d20adc8a8bab8bc914fb47353c37fd80905896
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
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>
8 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