summaryrefslogtreecommitdiffstats
path: root/aai-core
AgeCommit message (Collapse)AuthorFilesLines
2023-12-29Upversion to 1.13.0Fiete Ostkamp1-1/+1
- 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 Ostkamp2-123/+0
- 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 Ostkamp2-90/+110
Issue-ID: AAI-3655 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I26350e7279287c711f38194dbc1e8d302cf9a26d
2022-11-21[AAI] Up-version aai-common to 1.12.0 for LondonNiharika Sharma1-1/+1
Issue-ID: AAI-3594 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: I83c7fe88ef4227b00efdfa0b4c6a102dca7a3f35
2022-11-14[AAI] Upversion aai-common to 1.9.5Niharika Sharma1-1/+1
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 Reehil19-38/+74
2022-11-10Replace deprecated methods in aai-commonFiete Ostkamp26-101/+147
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 Ostkamp19-43/+100
Issue-ID: AAI-3586 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: If4affb02cfe40b4b82ecbdbb1a25d919d88be25c
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 Ostkamp179-3349/+2798
- 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-24Merge "Update aai-common dependencies"William Reehil1-42/+42
2022-10-18Update aai-common dependenciesFiete Ostkamp1-42/+42
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.4wr148d1-1/+1
Issue-ID: AAI-3537 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I55155889e65b6395404645b14d7bd07b6554f0e8
2022-10-14Remove the apache commons-lang dependency in aai-commonFiete Ostkamp27-166/+163
Issue-ID: AAI-3551 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ib68b6fb43044532abf39c1ac088ef969c5aa00c2
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 Ostkamp6-39/+37
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 Ostkamp1-2/+2
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-03-07[AAI] Update common to fix security vulnerabilitieswr148d1-1/+2
Issue-ID: AAI-3414 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I52a7a924d5c48d76d7b391f907161454ccc37a59
2022-03-02[AAI] Upversion common to 1.9.3 for security vulnerability rolloutwr148d1-1/+1
Issue-ID: AAI-3414 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Iaf5aea281d59556ccaa930c5ad2dc1fe26cf3c6f
2022-01-25[AAI] Upversion aai-common to 1.9.2 for the log4j updateswr148d1-1/+1
Issue-ID: AAI-3431 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I272eb4d305ec690d2e0e17ac67c9877071d17a5c
2022-01-25[AAI] Upgrading Log4J to 2.17.1wr148d1-4/+6
Issue-ID: AAI-3431 Change-Id: I429665b7d5b217ad0bd0739ab24d92b3965bc86d Signed-off-by: wr148d <wr148d@att.com>
2022-01-20[AAI] Ignore DataCopyTest to try to release a docker imagewr148d1-1/+2
Issue-ID: AAI-3428 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I46def8946547ef522b8f16671c80138aa4737552
2022-01-20[AAI] Update the tests to ignore OwnerCheckTestwr148d1-2/+3
Issue-ID: AAI-3428 Change-Id: I1a75ce29981338edf28cff1f248066b3bee9e80d Signed-off-by: wr148d <wr148d@att.com>
2022-01-13[AAI] Upversion aai-common to 1.9.1wr148d1-1/+1
Issue-ID: AAI-3428 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Icb9665a8e975d37fcd6beeee923c1009bcde9641
2022-01-13[AAI] Revert some testing changes to ignore tests and rollback of eclipse ↵wr148d1-3/+1
perisistence Issue-ID: AAI-3428 Change-Id: Ib1a1235d44c1c0ddc767ad944eccafec7de618d1 Signed-off-by: wr148d <wr148d@att.com>
2022-01-11Updating the eclipse persistence version to 2.6.0 to resolve an issuewr148d2-0/+4
Issue-ID: AAI-3428 Change-Id: I514120be2e021e580e98cfe8a97689ec4598f523 Signed-off-by: wr148d <wr148d@att.com>
2021-08-18[AAI] Upversioning aai-common to 1.9.0 for Istanbulwreehil1-1/+1
Issue-ID: AAI-3361 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I516987a9ec57a744c7c2f1e153a37794bebdc4fa
2021-07-02Fix all blocker sonar issues and some checkstyleLiard Samuel30-325/+392
Issue-ID: AAI-3362 Signed-off-by: sliard <samuel.liard@gmail.com> Change-Id: I365be3e8afe75b54f5a65deadb054df73857274e
2021-04-15Merge "Added proxy args in the haproxy Dockerfile Added DirtiesContext to ↵Venkata Harish Kajur1-0/+2
URIToRelationshipObjectTest for successful test case execution."
2021-04-14Up version aai-common to 1.8.2Niharika Sharma1-1/+1
Issue-ID: AAI-3308 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: If450ae0a9a171fcd09fc084a898faaee9640d258
2021-04-14Added proxy args in the haproxy DockerfileRenu Kumari1-0/+2
Added DirtiesContext to URIToRelationshipObjectTest for successful test case execution. Issue-ID: AAI-3318 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I53d9b031f93515fdec16fe3f7b0a580c8439b5b3
2021-04-06Fixed Concurrent Updates overriding the AAI objectNiharika Sharma1-0/+16
Issue-ID: AAI-3308 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: I7d2d591928987b9f5f9465325fc1c4d03dee3db2
2021-01-06Use data owner attribute instead of owning entity for OwnerCheckM.Hosnidokht5-53/+102
Issue-ID: AAI-3226 Signed-off-by: Mohammad Hosnidokht <mohammad.hosnidokht@yoppworks.com> Change-Id: I8222546e7264e99ca3e53fe1212a45008c1064e6
2020-11-15Upversion artifacts to 1.8.0-SNAPSHOTHarish Venkata Kajur1-1/+1
Issue-ID: AAI-3222 Change-Id: I5b74e10ab600e7899c0043caf2390ca31728728b Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-11-10Filter get all pnf by owning entity if multi tenancy is enabledRodrigo Lima2-11/+28
Issue-ID: AAI-3214 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: I97e62e12f06938294d9969d21b4dcacae9d01d78
2020-10-07Up version 1.7.3Niharika Sharma1-1/+1
Issue-ID: AAI-3100 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: I38bde55f66fd27110f8a41aedb9be463263fa9f3
2020-10-06Fixed concurrency issue in PNF uploadingNiharika Sharma1-4/+23
Issue-ID: AAI-3100 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: I34fe77179efc5590f6e70b0bb2b97e7229f0adf3
2020-09-15Add ownercheck side effect to enrichData method in dbserializerRodrigo Lima2-2/+3
Issue-ID: AAI-3184 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: I3c8b3d33613c5345fc767fb03f1c4be79a321acc
2020-09-11Update ownercheck side effectRodrigo Lima1-2/+2
- Use both E and both V to select owning entity Issue-ID: AAI-3176 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: I2e453dfd3c52c0de67981b8344434576fc514d0f
2020-09-10Add side effect to check pnf owning entityRodrigo Lima7-5/+417
- Create side effect to check : user's groups contains pnf's owning entity name - Create unit tests for side effect - Add new process method in HttpEntry to pass set of groups - Pass set of groups to db serializer Issue-ID: AAI-3176 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: I4bc7ab6e22bce8cbe60bd7ef6bb5db73dac3a1c4
2020-08-11Add dirty context to junit to fix spring failureHarish Venkata Kajur1-0/+2
Issue-ID: AAI-3105 Change-Id: I7b387c76009dba950aea0debf382f316c558d6ad Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-08-05Merge "Junit testcase for JSONStrategy"William Reehil1-1/+9
2020-07-13Merge "TreeFormat - Removed problems triggering Sonar errors"William Reehil1-45/+61
2020-07-13Merge "Fix sonar issues in SchemaGenerator"William Reehil1-51/+55