Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- logging-service is not actively maintained anymore
Issue-ID: AAI-4061
Change-Id: I63cf251a47f220c06a423760b41c3ea70a2f8d6f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- 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>
|
|
- the dependency is not maintained anymore
Issue-ID: AAI-4059
Change-Id: I5f089236e680630bb14bcfd9b29f3b1cd4545574
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- remove org.codehaus.groovy declaration
Issue-ID: AAI-3941
Change-Id: I28480671031b81813e151202531dd08995bf42b3
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- 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
|
|
- 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>
|
|
|
|
- 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
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- annotate Introspector, such that ObjectMapper can serialize it
Issue-ID: AAI-4010
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I4896f811fa9db0637c941a11b01f26b734b15a21
|
|
Issue-ID: AAI-4008
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ic00d989ba97dd9e23d028d9e262ea2967d889e79
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
Issue-ID: AAI-3998
Change-Id: Ib03b0efaaa2e6dc01cf5fdde9045e06d857a48ce
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- 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
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
Issue-ID: DOC-826
Change-Id: I4393ebe43485403b35b7a1441dbfeb211b28048e
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
|
|
- 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>
|
|
- 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
|
|
- 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
|
|
- 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
|
|
- conditionally hide schema.translator.list=config related beans
Issue-ID: AAI-3939
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I1046f4de1566923118ca2b9bb891caa759c387a5
|
|
- 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>
|
|
- 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>
|
|
Issue-ID: AAI-3928
Change-Id: I0bf49334b9c48df447082979e4311e922052775d
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- 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>
|
|
- fixes pagination when there are no results
Issue-ID: AAI-3919
Change-Id: I173e4d76d56ddaad352da5d0f1df00792e1d71e1
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
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>
|