aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-01-26Release aai/aai-common1.13.2jenkins-releng15-17/+17
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
2022-11-10Merge "Configure AAI HA Proxy to distribute the load to multiple AAI service ↵William Reehil2-7/+20
replicas. Added some useful tools for custom image of aai haproxy"
2022-11-10Configure AAI HA Proxy to distribute the load to multiple AAI service ↵Rommel Pawar2-7/+20
replicas. Added some useful tools for custom image of aai haproxy Issue-ID: AAI-3588 Signed-off-by: Rommel Pawar <rommel.pawar@bell.ca> Change-Id: Ibab655238c915c83b8a5b4a29cd5a4c1a3f19a0b
2022-11-10Replace deprecated methods in aai-commonFiete Ostkamp30-110/+165
Issue-ID: AAI-3589 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I9e32b879ee0d143a6b66e06d425bed7412139e58
2022-11-09Reduce the number of raw-type related warnings in aai-commonFiete Ostkamp25-64/+124
Issue-ID: AAI-3586 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: If4affb02cfe40b4b82ecbdbb1a25d919d88be25c
2022-11-09Merge "[AAI] Fix doc config files"Manisha Aggarwal16-4281/+196
2022-11-09[AAI] Fix doc config fileswr148d16-4281/+196
Issue-ID: AAI-3572 Change-Id: Icb2bce5d096d9c807aa6fe2a72243c6dc16e5028 Signed-off-by: wr148d <wr148d@att.com>
2022-11-09Partially resolve resource leak warnings in aai-commonFiete Ostkamp3-77/+80
Issue-ID: AAI-3585 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ic871d58bafb385737ecea6ea18c2fb589f4dc369
2022-11-07Reduce the number of problems in aai-common by removing unused importsFiete Ostkamp357-4832/+4304
- run mvn spotless:apply across aai-commmon to remove unused imports - run mvn formatter:format across aai-common Issue-ID: AAI-3583 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I2dfeb395eafa2824ce8369bba3a18db3e1845522
2022-10-26[AAI] Fix TOC for the release notes documentationwr148d1-16/+16
Issue-ID: AAI-3542 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Idf3ed6fc197a9bbb828109790e3162d5311a4cb9
2022-10-25Merge "[AAI] Document process updates"Manisha Aggarwal2-0/+3
2022-10-25[AAI] Document process updateswr148d2-0/+3
Issue-ID: AAI-3539 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I9c83b86e31748745a3754887858406f20093964f
2022-10-24Merge "Update aai-common dependencies"William Reehil2-61/+60
2022-10-18[AAI] Release aai-common docker artifact 1.9.4wr148d1-0/+11
Issue-ID: AAI-3537 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I99b2cfb6923a0de18babda4dec913010b51bca78
2022-10-18[AAI] Release aai-common maven artifact 1.9.4wr148d1-0/+4
Issue-ID: AAI-3537 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I6bbab85e45fa5906bb313fc56f589db0fe602d8f
2022-10-18Update aai-common dependenciesFiete Ostkamp2-61/+60
Issue-ID: AAI-3553 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I2b79669b922a43d30b7d412bfd86f1506f6b4f6f
2022-10-17[AAI] Upversion aai-common to 1.9.4wr148d15-18/+18
Issue-ID: AAI-3537 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I55155889e65b6395404645b14d7bd07b6554f0e8