aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-10-17Release aai/aai-common1.15.1jenkins-releng14-16/+16
2024-10-16Add more meaningful exception when path to schema files is wrongFiete Ostkamp2-6/+10
- 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>
2024-10-15Migrate most of the aai-common aai-els-onap-logging module to Junit 5Fiete Ostkamp32-135/+134
- 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>
2024-10-13Remove groovy dependency from aai-commonFiete Ostkamp3-61/+0
- remove org.codehaus.groovy declaration Issue-ID: AAI-3941 Change-Id: I28480671031b81813e151202531dd08995bf42b3 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-10-09Refactor DeltaEventsFiete Ostkamp24-1353/+188
- 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
2024-10-09Assign variables in HttpEntry closer to where they are usedFiete Ostkamp1-37/+25
- 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>
2024-10-09Merge "Refactor UEBNotification class"Nandkishor Patke26-783/+552
2024-10-09Refactor UEBNotification classFiete Ostkamp26-783/+552
- 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
2024-10-07Update oparent to version 3.XFiete Ostkamp15-18/+18
- 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>
2024-10-07Release 1.15.0 maven artifact for aai-commonFiete Ostkamp1-0/+4
- 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>
2024-10-07Update Janusgraph to 1.0.0Fiete Ostkamp8-27/+28
- 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>
2024-10-05Make Introspector serializable via JacksonFiete Ostkamp2-0/+66
- annotate Introspector, such that ObjectMapper can serialize it Issue-ID: AAI-4010 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I4896f811fa9db0637c941a11b01f26b734b15a21
2024-10-02Extract entity conversion logic into separate classFiete Ostkamp4-48/+194
Issue-ID: AAI-4008 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ic00d989ba97dd9e23d028d9e262ea2967d889e79
2024-10-02Linkchecker job broken due to new Jira instance urlFiete Ostkamp3-229/+225
- 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>
2024-09-22Remove aai-aaf-auth from aai-commonFiete Ostkamp50-3155/+5
- 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>
2024-09-21Migrate JAXB to jakartaFiete Ostkamp31-81/+70
- 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>
2024-09-18Release 1.14.7 maven artifact for aai-commonFiete Ostkamp1-0/+4
- 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>
2024-09-18Bump aai-common version.properties version to 1.14.7Fiete Ostkamp1-1/+1
Issue-ID: AAI-3998 Change-Id: Ib03b0efaaa2e6dc01cf5fdde9045e06d857a48ce Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-09-17Use java 11 in aai-commonFiete Ostkamp3-62/+5
- 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
2024-09-17Migrate remnants of jersey 1 to 2 in aai-commonFiete Ostkamp9-248/+297
- 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>
2024-09-06AAI events are not being publishedFiete Ostkamp18-38/+173
- 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>
2024-08-27Release 1.14.6 aai-common maven artifactFiete Ostkamp2-2/+6
- 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>
2024-08-19Update spring-boot to 2.5 in aai-commonFiete Ostkamp12-62/+14
- 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>
2024-08-14new onap logothmsdt2-1/+1
Issue-ID: DOC-826 Change-Id: I4393ebe43485403b35b7a1441dbfeb211b28048e Signed-off-by: thmsdt <thomas.kulik@telekom.de>
2024-08-13Update Janusgraph to 0.6.4 in aai-commonFiete Ostkamp16-20/+20
- 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>
2024-08-06Release 1.14.5 aai-common maven artifactFiete Ostkamp1-0/+4
- 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
2024-08-05Add test for transaction rollback in HttpEntryFiete Ostkamp33-63/+189
- 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
2024-08-01Add tests for the NotificationServiceFiete Ostkamp7-83/+375
- 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
2024-07-30Make full context scan work with schema.translator.list=schema-serviceFiete Ostkamp3-3/+9
- conditionally hide schema.translator.list=config related beans Issue-ID: AAI-3939 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I1046f4de1566923118ca2b9bb891caa759c387a5
2024-07-23Make JMS-based messaging compatible with tracingFiete Ostkamp13-420/+560
- 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>
2024-07-20Extract HttpEntry notification logic into a separate NotificationServiceFiete Ostkamp19-271/+235
- 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>
2024-07-09Bump aai-common version to 1.14.5-SNAPSHOTFiete Ostkamp16-18/+18
Issue-ID: AAI-3928 Change-Id: I0bf49334b9c48df447082979e4311e922052775d Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-07-08Update Janusgraph to 0.6.0 in aai-commonFiete Ostkamp6-1089/+1084
- 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>
2024-07-04Release 1.14.4 maven artifact of aai-commonFiete Ostkamp3-2/+7
- fixes pagination when there are no results Issue-ID: AAI-3919 Change-Id: I173e4d76d56ddaad352da5d0f1df00792e1d71e1 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-07-03Pagination will throw an IllegalArgumentException if there are no vertices ↵Fiete Ostkamp18-2051/+2077
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>
2024-07-01Release 1.14.3 maven artifact of aai-commonFiete Ostkamp1-0/+4
- 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>
2024-06-28Update Janusgraph to 0.5.0 in aai-commonFiete Ostkamp8-267/+38
- 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>
2024-06-26Add gremlin-based pagination to aai-commonFiete Ostkamp28-102/+581
- 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>
2024-06-25Release aai-common 1.14.2 maven artifactFiete Ostkamp1-0/+4
- 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>
2024-06-19Update Janusgraph to 0.4.0 in aai-commonFiete Ostkamp16-20/+20
- 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>
2024-06-17Release 1.14.1 maven artifactFiete Ostkamp1-0/+4
- 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>
2024-06-17Bump aai-common version to 1.14.1Fiete Ostkamp4-7/+3
Issue-ID: AAI-3883 Change-Id: If89ec7af4b54462852c5578597112eb371b0c2f6 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-06-15Update tinkerpop to 3.3.11 in aai-commonFiete Ostkamp17-28/+27
Issue-ID: AAI-3875 Change-Id: Iba69b1d4850fcd86dc0ee9cd209c74396e2e8f4a Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-06-13Merge "Create release notes for 13.0.1 AAI release"Lukasz Rajewski1-0/+85
2024-06-13Create release notes for 13.0.1 AAI releaseFiete Ostkamp1-0/+85
- 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>
2024-06-05Merge "Release 1.14.0 maven artifact"Nandkishor Patke1-0/+4
2024-06-04Release 1.14.0 maven artifactFiete Ostkamp1-0/+4
- 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>
2024-06-04Merge "Update janusgraph to 0.3.3"Fiete Ostkamp26-41/+68
2024-06-04Update janusgraph to 0.3.3Fiete Ostkamp26-41/+68
- 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>
2024-05-29Refactor the ValidationServiceFiete Ostkamp3-86/+103
- 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