summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2024-01-15Release 1.13.1 maven artifactFiete Ostkamp1-0/+4
- create maven release Issue-ID: AAI-3726 Change-Id: Ib84753ac73333d0b4a41b783b3c2d96b1105edf4 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-15[AAI] Promote Fiete Ostkamp and Nandkishor Patke to AAI ContributorsFiete Ostkamp1-0/+16
Issue-ID: AAI-3729 Change-Id: I38e1008ffd104e8247b59e57fbe078591ecb81d0 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-15Ensure HttpEntry bean is request scoped in aai-commonFiete Ostkamp2-15/+42
- 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>
2024-01-11Update spring boot to 2.4Fiete Ostkamp22-61/+98
- 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>
2024-01-10Update spring boot to 2.3Fiete Ostkamp16-22/+27
- 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>
2024-01-10Merge "Update spring boot to 2.2"Lukasz Rajewski12-212/+121
2024-01-10Ensure HttpEntry bean is request scoped in aai-commonFiete Ostkamp2-4/+6
- 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>
2024-01-10Update spring boot to 2.2Fiete Ostkamp12-212/+121
- 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>
2024-01-02Release 1.13.0 docker artifactFiete Ostkamp1-0/+11
Issue-ID: AAI-3707 Change-Id: I809dc9c3befdf506abec2f80ffcd8e59ea070d4a Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-02Release 1.13.0 maven artifactFiete Ostkamp1-0/+4
Issue-ID: AAI-3706 Change-Id: I9517629cfe924bc7b2a788f826f83ab7f9ccfde7 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-12-29Upversion to 1.13.0Fiete Ostkamp16-18/+18
- 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>
2023-12-22Refactor ErrorLogHelperFiete Ostkamp30-2811/+696
- 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
2023-08-16Merge "Refactor HttpEntryTest"Lukasz Rajewski8-446/+812
2023-08-16Refactor HttpEntryTestFiete Ostkamp8-446/+812
- 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>
2023-08-11Refactor DBSerializer verifyResourceVersion methodFiete Ostkamp2-76/+91
- 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
2023-08-08Make URIParser code more readable - Part 2Fiete Ostkamp2-50/+41
- 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
2023-08-04Make URIParser code more readableFiete Ostkamp4-90/+130
Issue-ID: AAI-3655 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I26350e7279287c711f38194dbc1e8d302cf9a26d
2023-07-03Set Python and Ubuntu versions in .readthedocs.yamlCédric Ollivier2-20/+10
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
2022-11-21[AAI] Up-version aai-common to 1.12.0 for LondonNiharika Sharma16-19/+19
Issue-ID: AAI-3594 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: I83c7fe88ef4227b00efdfa0b4c6a102dca7a3f35
2022-11-14[AAI] Release aai-common docker artifact 1.9.5Niharika Sharma1-0/+11
Issue-ID: AAI-3594 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: Ia784bcbdbf391a005e394b355ed70af2f871c805
2022-11-14[AAI] Release aai-common maven artifact 1.9.5Niharika Sharma1-0/+4
Issue-ID: AAI-3594 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: Iaedc0906e704f0c8b7ae982a4173bc48c5ded752
2022-11-14[AAI] Upversion aai-common to 1.9.5Niharika Sharma16-17/+17
Issue-ID: AAI-3594 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: I16555822aa3de1ac7a19a08fd378e1eb4c36e23e
2022-11-11Merge "Partially resolve resource leak warnings in aai-common"William Reehil3-77/+80
2022-11-11Merge "Reduce the number of raw-type related warnings in aai-common"William Reehil25-59/+98
2022-11-11Merge "Replace deprecated methods in aai-common"William Reehil30-110/+165