summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2024-05-28Refactor HttpEntry class - Part 1Fiete Ostkamp6-60/+72
- 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
2024-05-19ErrorLogHelper is not parsing all error codesFiete Ostkamp2-3/+2
- do not parse error codes as int Issue-ID: AAI-3853 Change-Id: I4cad636c58fbe14f59aecc8692f7c96d50686d18 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-04-12Release 1.13.6 Docker ArtifactSingh1-0/+11
- Release 1.13.6 Docker Artifact Issue-ID: AAI-3792 Change-Id: I45198c95ca259d7b87f6d0f41dfd118037375cdb Signed-off-by: Singh <soumya.e.singh@accenture.com>
2024-04-12Release 1.13.6 Maven ArtifactSingh1-0/+4
-Release 1.13.6 Maven Artifact Issue-ID: AAI-3792 Change-Id: I0403ed181116ec621e1ea98c254c6611780015e2 Signed-off-by: Singh <soumya.e.singh@accenture.com>
2024-04-12Change AAI-Common SNAPSHOT Version from 1.13.5 to 1.13.6Singh16-18/+18
- 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>
2024-04-10Remove DMaaP dependency from AAI-CommonSingh22-430/+603
- 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>
2024-03-06Release 1.13.5 docker artifactFiete Ostkamp1-0/+11
- 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>
2024-03-06Release 1.13.5 maven artifactFiete Ostkamp2-1/+6
- 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>
2024-02-27update link to upper-constraints.txtthmsdt1-3/+3
Issue-ID: DOC-823 Change-Id: I63c1e9816df2ccb8ee1cbbd57943351aeee27b9c Signed-off-by: thmsdt <thomas.kulik@telekom.de>
2024-02-26Only load SchemaService related beans in aai-common when ↵Fiete Ostkamp9-42/+50
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>
2024-02-21Enhance SchemaGenerator to also generate indices for relationshipsFiete Ostkamp21-134/+378
- 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>
2024-02-20add python compatibility modulethmsdt1-0/+1
Issue-ID: DOC-823 Change-Id: If0702b39e678282f74faefeb37d158810062c958 Signed-off-by: thmsdt <thomas.kulik@telekom.de>
2024-02-15Release 1.13.4 docker artifactFiete Ostkamp1-0/+11
Issue-ID: AAI-3774 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I75d70f66b4c5ea8cd32127a7a50518db414306cd
2024-02-15Release 1.13.4 maven artifactFiete Ostkamp1-0/+4
- 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
2024-02-15Enable dependency injection for some aai-common classesFiete Ostkamp5-18/+21
- 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
2024-02-07Improve aai-common READMEFiete Ostkamp1-11/+57
- 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
2024-02-06Switch aai-common baseimage back to java 8Fiete Ostkamp17-19/+19
- 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
2024-02-06Release 1.13.3 docker artifactFiete Ostkamp1-0/+11
Issue-ID: AAI-3749 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I5d11695fcd58d4bb847bf800533bf8384a852fd3
2024-02-06Update tinkerpop to 3.2.11Fiete Ostkamp1-1/+1
- 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
2024-02-06Release 1.13.3 maven artifactFiete Ostkamp1-0/+4
- 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
2024-02-05Bump version to 1.13.3Fiete Ostkamp16-18/+18
Issue-ID: AAI-3762 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I8fc12af8d43996ca5408679e78632ca91f13a6e3
2024-02-05Re-Release 1.13.2 maven artifactFiete Ostkamp1-1/+1
- rerelease to fix broken TraversalURIOptimizedQuery building Issue-ID: AAI-3759 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I50e528c044dd1a464e406b0a3e669b760c56c790
2024-02-05Pivoting a TraversalURIOptimisedQuery is broken in release 1.13.2Fiete Ostkamp21-62/+199
- 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
2024-01-29Update tinkerpop to 3.2.11Fiete Ostkamp16-20/+19
- 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>
2024-01-26Release 1.13.2 docker artifactFiete Ostkamp2-0/+30
- 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>
2024-01-26Release 1.13.2 maven artifactFiete Ostkamp1-0/+4
- update tinkerpop version to 3.2.4 Issue-ID: AAI-3746 Change-Id: I0540d759b879665f8b32087eb6ca76d26bfebfa2 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-25Update tinkerpop to 3.2.4Fiete Ostkamp26-57/+375
- 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>
2024-01-22Merge "Revert "Update tinkerpop to 3.2.3 in aai-core""Nandkishor Patke6-180/+106
2024-01-20Update tinkerpop to 3.2.3 in aai-coreFiete Ostkamp1-4/+8
- 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
2024-01-20Revert "Update tinkerpop to 3.2.3 in aai-core"Fiete Ostkamp6-180/+106
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>
2024-01-20Merge "Update tinkerpop to 3.2.3 in aai-core"Nandkishor Patke6-106/+180
2024-01-19Update tinkerpop to 3.2.3 in aai-coreFiete Ostkamp6-106/+180
- 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
2024-01-16Release 1.13.1 docker artifactFiete Ostkamp1-0/+11
Issue-ID: AAI-3727 Change-Id: I0d512b60b90cef2b93a5178a048eb0130b2dda5f Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-16Merge "[AAI] Promote Fiete Ostkamp and Nandkishor Patke to AAI Contributors"Lukasz Rajewski1-0/+16