aai/aai-common.git
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>
17 months agoRelease 1.13.0 maven artifact 07/136907/1
Fiete Ostkamp [Tue, 2 Jan 2024 08:47:49 +0000 (09:47 +0100)]
Release 1.13.0 maven artifact

Issue-ID: AAI-3706
Change-Id: I9517629cfe924bc7b2a788f826f83ab7f9ccfde7
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
17 months agoUpversion to 1.13.0 06/136906/1
Fiete Ostkamp [Fri, 29 Dec 2023 09:56:48 +0000 (10:56 +0100)]
Upversion to 1.13.0

- increase version from 1.12.0 to 1.13.0
- release will incorporate refactorings of the past 13 months

Issue-ID: AAI-3705
Change-Id: Iddac93ac90914c232269435501cc625b15f9df75
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
18 months agoRefactor ErrorLogHelper 61/136861/18
Fiete Ostkamp [Tue, 19 Dec 2023 10:55:44 +0000 (11:55 +0100)]
Refactor ErrorLogHelper

- change is designed to not make any changes to the serialised objects [1]
- introduce common error response object that is used for both service and policy, xml + json format
- separate creation of error response and the marshalling of it
- increase test coverage
- use jackson object mappers for marshalling json and xml objects instead of custom MapperUtil
- make code more functional
- use more descriptive variable names

[1] only the internal representation changes to account for both
Service- and PolicyException

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

22 months agoMerge "Refactor HttpEntryTest"
Lukasz Rajewski [Wed, 16 Aug 2023 12:36:00 +0000 (12:36 +0000)]
Merge "Refactor HttpEntryTest"

22 months agoRefactor HttpEntryTest 23/135723/7
Fiete Ostkamp [Sat, 12 Aug 2023 09:53:30 +0000 (09:53 +0000)]
Refactor HttpEntryTest

- make test cases independently runnable by removing shared state
- let method naming better reflect what is being tested
- assign commonly used objects on the class level when they are not modified in the test case
- parse error response object and assert error messages

Other:
- remove unnecessary saving in map in EdgeSerializer

Issue-ID: AAI-3658
Change-Id: I3b9704b8a6b6cfa6ecf4930dc3b1d1a7ce84764a
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
22 months agoRefactor DBSerializer verifyResourceVersion method 21/135721/2
Fiete Ostkamp [Fri, 11 Aug 2023 09:59:18 +0000 (09:59 +0000)]
Refactor DBSerializer verifyResourceVersion method

- assign variables closer to where they are used
- have a less complex validation logic
- rename related test cases to better understand what they are doing
- add further test cases (this would actually be better covered via a parameterized test)
- rename DBSerializer variable in test cases to better match whith the name of the type it's representing

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

22 months agoMake URIParser code more readable - Part 2 83/135683/1
Fiete Ostkamp [Tue, 8 Aug 2023 07:11:17 +0000 (07:11 +0000)]
Make URIParser code more readable - Part 2

- declare variables closer to where they are used
- move more validation into the validatePath method
- increment the global index variable i in fewer places

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

22 months agoMake URIParser code more readable 52/135652/4
Fiete Ostkamp [Thu, 3 Aug 2023 13:20:28 +0000 (13:20 +0000)]
Make URIParser code more readable

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

23 months agoSet Python and Ubuntu versions in .readthedocs.yaml 62/135162/2
Cédric Ollivier [Mon, 26 Jun 2023 12:06:01 +0000 (14:06 +0200)]
Set Python and Ubuntu versions in .readthedocs.yaml

It now follows the ONAP gate configurations.
It also fixes the settings and formats it.

Issue-ID: DOC-811
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I5dd75c1dede73dda900c64941f57bf047654961b

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

Issue-ID: AAI-3594

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

2 years ago[AAI] Release aai-common docker artifact 1.9.5 02/132202/1
Niharika Sharma [Mon, 14 Nov 2022 22:01:35 +0000 (17:01 -0500)]
[AAI] Release aai-common docker artifact 1.9.5

Issue-ID: AAI-3594

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

2 years ago[AAI] Release aai-common maven artifact 1.9.5 97/132197/1
Niharika Sharma [Mon, 14 Nov 2022 18:41:05 +0000 (13:41 -0500)]
[AAI] Release aai-common maven artifact 1.9.5

Issue-ID: AAI-3594

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

2 years ago[AAI] Upversion aai-common to 1.9.5 83/132183/2
Niharika Sharma [Mon, 14 Nov 2022 14:39:35 +0000 (09:39 -0500)]
[AAI] Upversion aai-common to 1.9.5

Issue-ID: AAI-3594

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

2 years agoMerge "Partially resolve resource leak warnings in aai-common"
William Reehil [Fri, 11 Nov 2022 13:37:57 +0000 (13:37 +0000)]
Merge "Partially resolve resource leak warnings in aai-common"

2 years agoMerge "Reduce the number of raw-type related warnings in aai-common"
William Reehil [Fri, 11 Nov 2022 13:37:39 +0000 (13:37 +0000)]
Merge "Reduce the number of raw-type related warnings in aai-common"

2 years agoMerge "Replace deprecated methods in aai-common"
William Reehil [Fri, 11 Nov 2022 13:37:28 +0000 (13:37 +0000)]
Merge "Replace deprecated methods in aai-common"

2 years agoMerge "Configure AAI HA Proxy to distribute the load to multiple AAI service replicas...
William Reehil [Thu, 10 Nov 2022 16:00:39 +0000 (16:00 +0000)]
Merge "Configure AAI HA Proxy to distribute the load to multiple AAI service replicas. Added some useful tools for custom image of aai haproxy"

2 years agoConfigure AAI HA Proxy to distribute the load to multiple AAI service replicas. Added... 31/132131/1
Rommel Pawar [Wed, 9 Nov 2022 22:05:28 +0000 (14:05 -0800)]
Configure AAI HA Proxy to distribute the load to multiple AAI service replicas. Added some useful tools for custom image of aai haproxy

Issue-ID: AAI-3588

Signed-off-by: Rommel Pawar <rommel.pawar@bell.ca>
Change-Id: Ibab655238c915c83b8a5b4a29cd5a4c1a3f19a0b

2 years agoReplace deprecated methods in aai-common 21/132121/2
Fiete Ostkamp [Thu, 10 Nov 2022 09:21:49 +0000 (09:21 +0000)]
Replace deprecated methods in aai-common

Issue-ID: AAI-3589

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

2 years agoReduce the number of raw-type related warnings in aai-common 99/132099/2
Fiete Ostkamp [Wed, 9 Nov 2022 12:41:32 +0000 (12:41 +0000)]
Reduce the number of raw-type related warnings in aai-common

Issue-ID: AAI-3586

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

2 years agoMerge "[AAI] Fix doc config files"
Manisha Aggarwal [Wed, 9 Nov 2022 15:24:32 +0000 (15:24 +0000)]
Merge "[AAI] Fix doc config files"

2 years ago[AAI] Fix doc config files 21/131921/19
wr148d [Mon, 31 Oct 2022 13:42:06 +0000 (09:42 -0400)]
[AAI] Fix doc config files

Issue-ID: AAI-3572
Change-Id: Icb2bce5d096d9c807aa6fe2a72243c6dc16e5028
Signed-off-by: wr148d <wr148d@att.com>
2 years agoPartially resolve resource leak warnings in aai-common 93/132093/1
Fiete Ostkamp [Wed, 9 Nov 2022 11:19:54 +0000 (11:19 +0000)]
Partially resolve resource leak warnings in aai-common

Issue-ID: AAI-3585

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

2 years agoReduce the number of problems in aai-common by removing unused imports 21/132021/1
Fiete Ostkamp [Mon, 7 Nov 2022 08:35:37 +0000 (08:35 +0000)]
Reduce the number of problems in aai-common by removing unused imports

- run mvn spotless:apply across aai-commmon to remove unused imports
- run mvn formatter:format across aai-common

Issue-ID: AAI-3583

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

2 years ago[AAI] Fix TOC for the release notes documentation 82/131682/1
wr148d [Wed, 26 Oct 2022 13:10:11 +0000 (09:10 -0400)]
[AAI] Fix TOC for the release notes documentation

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

2 years agoMerge "[AAI] Document process updates"
Manisha Aggarwal [Tue, 25 Oct 2022 17:35:03 +0000 (17:35 +0000)]
Merge "[AAI] Document process updates"

2 years ago[AAI] Document process updates 94/131794/1
wr148d [Tue, 25 Oct 2022 13:50:30 +0000 (09:50 -0400)]
[AAI] Document process updates

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

2 years agoMerge "Update aai-common dependencies"
William Reehil [Mon, 24 Oct 2022 15:13:39 +0000 (15:13 +0000)]
Merge "Update aai-common dependencies"

2 years ago[AAI] Release aai-common docker artifact 1.9.4 36/131536/1
wr148d [Tue, 18 Oct 2022 15:28:46 +0000 (11:28 -0400)]
[AAI] Release aai-common docker artifact 1.9.4

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

2 years ago[AAI] Release aai-common maven artifact 1.9.4 35/131535/1
wr148d [Tue, 18 Oct 2022 14:22:14 +0000 (10:22 -0400)]
[AAI] Release aai-common maven artifact 1.9.4

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

2 years agoUpdate aai-common dependencies 33/131533/3
Fiete Ostkamp [Tue, 18 Oct 2022 12:13:29 +0000 (12:13 +0000)]
Update aai-common dependencies

Issue-ID: AAI-3553

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

2 years ago[AAI] Upversion aai-common to 1.9.4 06/131506/1
wr148d [Mon, 17 Oct 2022 14:49:56 +0000 (10:49 -0400)]
[AAI] Upversion aai-common to 1.9.4

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

2 years ago[AAI] Upversion aai-common to 1.9.4 05/131505/1
wr148d [Mon, 17 Oct 2022 14:32:35 +0000 (10:32 -0400)]
[AAI] Upversion aai-common to 1.9.4

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

2 years agoMerge "Remove the apache commons-lang dependency in aai-common"
William Reehil [Fri, 14 Oct 2022 13:14:20 +0000 (13:14 +0000)]
Merge "Remove the apache commons-lang dependency in aai-common"

2 years agoRemove the apache commons-lang dependency in aai-common 71/131471/1
Fiete Ostkamp [Fri, 14 Oct 2022 09:30:31 +0000 (09:30 +0000)]
Remove the apache commons-lang dependency in aai-common

Issue-ID: AAI-3551

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

2 years agoUpdate eclipse.persistence and eelf.core in aai-common 64/131464/3
Fiete Ostkamp [Thu, 13 Oct 2022 14:26:19 +0000 (14:26 +0000)]
Update eclipse.persistence and eelf.core in aai-common

- update eclipse persistence to version 2.7.11
- update eelf core to 2.0.0-oss
- pin eelf core version in aai-utils and aai-schema-abstraction to 1.0.1 since there would be IncompatibleClassChange errors
- add the jaxb-api dependency to aai-utils to make it compilable with jdk 11

Issue-ID: AAI-3550

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

2 years agoMerge "Migrate Mockito 1 to version 2 in aai-core"
William Reehil [Thu, 13 Oct 2022 13:32:11 +0000 (13:32 +0000)]
Merge "Migrate Mockito 1 to version 2 in aai-core"

2 years agoMigrate Mockito 1 to version 2 in aai-core 60/131460/1
Fiete Ostkamp [Thu, 13 Oct 2022 09:36:18 +0000 (09:36 +0000)]
Migrate Mockito 1 to version 2 in aai-core

Issue-ID: AAI-3549

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

2 years agoProject build error due to reporting configuration not being in reporting section... 52/131452/3
Fiete Ostkamp [Wed, 12 Oct 2022 13:50:21 +0000 (13:50 +0000)]
Project build error due to reporting configuration not being in reporting section in pom

- move the reporting configuration into the reporting block
- use https for plugin repository urls
- improve the README

Issue-ID: AAI-3548

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

2 years agoReplace deprecated Gremlin query in aai-common 29/131329/3
Fiete Ostkamp [Thu, 29 Sep 2022 09:35:24 +0000 (11:35 +0200)]
Replace deprecated Gremlin query in aai-common

addInE and addOutE are deprecated since Gremlin 3.1.0.

Issue-ID: AAI-3534

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

2 years ago[AAI] Add preliminary documentation for the Kohn release 76/130876/1
wr148d [Tue, 13 Sep 2022 13:56:32 +0000 (09:56 -0400)]
[AAI] Add preliminary documentation for the Kohn release

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

2 years agoForce py3.8 in tox.ini 47/130547/1
Cédric Ollivier [Wed, 31 Aug 2022 18:39:06 +0000 (20:39 +0200)]
Force py3.8 in tox.ini

It allows leveraging on OpenStack Yoga's upper-contraints
without any exception.

Issue-ID: DOC-782

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I42cd3a5885e3fc26c37b369a4b7d68b38079a6a3

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

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

3 years ago[AAI] Updated the release date in the release notes for Jakarta 43/129343/1
wr148d [Mon, 23 May 2022 13:13:35 +0000 (09:13 -0400)]
[AAI] Updated the release date in the release notes for Jakarta

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

3 years ago[AAI] Updated the jakarta release notes for aai 99/128699/1
wr148d [Fri, 15 Apr 2022 20:13:07 +0000 (16:13 -0400)]
[AAI] Updated the jakarta release notes for aai

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

3 years agoAdd bounds to sphinx requirement 19/128419/1
Cédric Ollivier [Mon, 11 Apr 2022 09:35:32 +0000 (11:35 +0200)]
Add bounds to sphinx requirement

As ONAP was created before Oct 20 2020 in RTD, we
must set bounds to enforce a compatible Sphinx version
(see manual).

Issue-ID: DOC-782

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I8dd2ab694b20d0a270b5d5b3263ead5512211faa

3 years ago[AAI] Added the initial release notes for AAI Jakarta 73/127973/1
wr148d [Tue, 22 Mar 2022 14:16:39 +0000 (10:16 -0400)]
[AAI] Added the initial release notes for AAI Jakarta

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