aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2022-10-17[AAI] Upversion aai-common to 1.9.4wr148d1-1/+1
Issue-ID: AAI-3537 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Iabafa4a116f2092cf0edfa0e7a293c7f1b0c08cb
2022-10-14Merge "Remove the apache commons-lang dependency in aai-common"William Reehil44-250/+265
2022-10-14Remove the apache commons-lang dependency in aai-commonFiete Ostkamp44-250/+265
Issue-ID: AAI-3551 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ib68b6fb43044532abf39c1ac088ef969c5aa00c2
2022-10-14Update eclipse.persistence and eelf.core in aai-commonFiete Ostkamp5-36/+32
- update eclipse persistence to version 2.7.11 - update eelf core to 2.0.0-oss - pin eelf core version in aai-utils and aai-schema-abstraction to 1.0.1 since there would be IncompatibleClassChange errors - add the jaxb-api dependency to aai-utils to make it compilable with jdk 11 Issue-ID: AAI-3550 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ia2aa31a9f3550af853583e65bc1f84583c9fc22f
2022-10-13Merge "Migrate Mockito 1 to version 2 in aai-core"William Reehil6-39/+37
2022-10-13Migrate Mockito 1 to version 2 in aai-coreFiete Ostkamp8-40/+70
Issue-ID: AAI-3549 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ibb8edcd80fe3b112af0d113894122ce0b256006b
2022-10-13Project build error due to reporting configuration not being in reporting ↵Fiete Ostkamp9-65/+90
section in pom - move the reporting configuration into the reporting block - use https for plugin repository urls - improve the README Issue-ID: AAI-3548 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ic473e8a3942481a987143e2dc9fba02fdcfbc4eb
2022-09-29Replace deprecated Gremlin query in aai-commonFiete Ostkamp1-16/+25
addInE and addOutE are deprecated since Gremlin 3.1.0. Issue-ID: AAI-3534 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I4c4db97d8075e9c75b13ee206c27b8c01b5e0cf4
2022-09-13[AAI] Add preliminary documentation for the Kohn releasewr148d1-1/+79
Issue-ID: AAI-3519 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Ibbfee75b079aa37de20370c496b51abd1a25307a
2022-08-31Force py3.8 in tox.iniCédric Ollivier1-3/+3
It allows leveraging on OpenStack Yoga's upper-contraints without any exception. Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I42cd3a5885e3fc26c37b369a4b7d68b38079a6a3
2022-08-29[AAI] Remove Robby Maharajh & Harish Kajur as committerswr148d1-10/+6
Issue-ID: AAI-3515 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I0ebe823d08b0ae7de77b66ad99b419a210576cb1
2022-05-23[AAI] Updated the release date in the release notes for Jakartawr148d1-1/+1
Issue-ID: AAI-3488 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Icaf2724881bce0cb73f208d5a7a9c61c51e91f6c
2022-04-15[AAI] Updated the jakarta release notes for aaiwr148d1-2/+2
Issue-ID: AAI-3478 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I2f6f28e9711d299a26af56421606b0caca4f79b9
2022-04-11Add bounds to sphinx requirementCédric Ollivier1-0/+2
As ONAP was created before Oct 20 2020 in RTD, we must set bounds to enforce a compatible Sphinx version (see manual). Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I8dd2ab694b20d0a270b5d5b3263ead5512211faa
2022-03-22[AAI] Added the initial release notes for AAI Jakartawr148d1-1/+18
Issue-ID: AAI-3459 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I598bfb12d9802f3aad8b40d8a8cf44983a3b011a
2022-03-16[AAI] Updated releast notes to talk about transitive dependency on aaf log4jwr148d1-1/+7
Issue-ID: AAI-3454 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I2dfad5f07372eff1f7e545910da6d39377ea4ffe
2022-03-07[AAI] Update common to fix security vulnerabilitieswr148d1-1/+1
Issue-ID: AAI-3414 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Ied52723b83c819e4c8970a7060056ac76bf78b25
2022-03-07[AAI] Update common to fix security vulnerabilitieswr148d2-1/+4
Issue-ID: AAI-3414 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I52a7a924d5c48d76d7b391f907161454ccc37a59
2022-03-03[AAI] Release 1.9.3 docker artifact for aai-commonwr148d1-0/+11
Issue-ID: AAI-3414 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Ief78a824a787c62f24fa11d239725d2f5372546a
2022-03-03[AAI] Release 1.9.3 maven artifact for aai-commonwr148d1-0/+4
Issue-ID: AAI-3414 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I6685f7ab647975ba741413a40512eb6495796e1d