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
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
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
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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
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
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Lukasz Rajewski [Thu, 13 Jun 2024 12:08:11 +0000 (12:08 +0000)]
Merge "Create release notes for 13.0.1 AAI release"
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>
Nandkishor Patke [Wed, 5 Jun 2024 03:02:14 +0000 (03:02 +0000)]
Merge "Release 1.14.0 maven artifact"
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>
Fiete Ostkamp [Tue, 4 Jun 2024 14:56:32 +0000 (14:56 +0000)]
Merge "Update janusgraph to 0.3.3"
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>
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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
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
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
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
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
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
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
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
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
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>
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>
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>
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>
Nandkishor Patke [Mon, 22 Jan 2024 08:36:29 +0000 (08:36 +0000)]
Merge "Revert "Update tinkerpop to 3.2.3 in aai-core""
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
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>
Nandkishor Patke [Sat, 20 Jan 2024 03:27:20 +0000 (03:27 +0000)]
Merge "Update tinkerpop to 3.2.3 in aai-core"
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
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>
Lukasz Rajewski [Tue, 16 Jan 2024 08:15:50 +0000 (08:15 +0000)]
Merge "[AAI] Promote Fiete Ostkamp and Nandkishor Patke to AAI Contributors"
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>
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>
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>
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>
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>
Lukasz Rajewski [Wed, 10 Jan 2024 13:13:39 +0000 (13:13 +0000)]
Merge "Update spring boot to 2.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>
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>
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>
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>
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>
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
Lukasz Rajewski [Wed, 16 Aug 2023 12:36:00 +0000 (12:36 +0000)]
Merge "Refactor HttpEntryTest"
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>
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
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
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
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
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
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
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
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
William Reehil [Fri, 11 Nov 2022 13:37:57 +0000 (13:37 +0000)]
Merge "Partially resolve resource leak 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"
William Reehil [Fri, 11 Nov 2022 13:37:28 +0000 (13:37 +0000)]
Merge "Replace deprecated methods in aai-common"
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"