summaryrefslogtreecommitdiffstats
path: root/aai-core/src
AgeCommit message (Collapse)AuthorFilesLines
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-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-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.Hosnidokht4-48/+97
Issue-ID: AAI-3226 Signed-off-by: Mohammad Hosnidokht <mohammad.hosnidokht@yoppworks.com> Change-Id: I8222546e7264e99ca3e53fe1212a45008c1064e6
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-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 Lima1-1/+2
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 Lima6-4/+416
- 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
2020-07-13Merge "Fix minor sonar issues"William Reehil3-12/+10
2020-07-13Merge "Removed problems triggering Sonar errors"William Reehil1-52/+76
2020-07-10Fix sonar issues in SchemaGeneratorFrancis Toth1-51/+55
Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: I1ba6fd929992699477502c46c1a5595a162d3209 Issue-ID: AAI-2902
2020-07-10Fix minor sonar issuesFrancis Toth3-12/+10
Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: Iea540bb663429d55ce90879f9d9a22888c583833 Issue-ID: AAI-2128
2020-07-09Merge "Fix minor sonar issues in SchemaGenerator4Hist"William Reehil2-76/+40
2020-07-06Merge "Removed critical code smell"William Reehil1-3/+4
2020-07-06Merge "Critical Sonar bug fix"William Reehil1-2/+2
2020-06-29Merge "Fix the list endpoints test npe issue"William Reehil1-0/+2
2020-06-15Fix sonar issues in AggregateRodrigo Lima1-2/+2
- check obj.isPresent() in method processInput - return Optional.empty instead of null in method createPropertiesObject Issue-ID: AAI-2934 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: Iebe0184ce39f244dd56e6861617cbf4e5dafb06c
2020-06-15TreeFormat - Removed problems triggering Sonar errorsChris André1-45/+61
- Removed all unchecked access to Optional.get() - Renamed LOGGER to TREE_FORMAT_LOGGER, following Sonar's suggestion Issue-ID: AAI-2931 Signed-off-by: Chris Andre <chris.andre@yoppworks.com> Change-Id: I7536309220f2dfb4b75ecbcd6b9e36797c5f1826
2020-06-09Fix the list endpoints test npe issueHarish Venkata Kajur1-0/+2
Issue-ID: AAI-2927 Change-Id: I8449e52a42fa7dcf8194680f5a2da5c2b6b6c439 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-06-08Removed problems triggering Sonar errorsChris André1-52/+76
- Made recurrent strings constant - Refactored `createFilteredPropertyMap` to use a more functional approach - Added test for the presence of Optional in `getPropertyFilteredObject` & `filterProperties` Issue-ID: AAI-2926 Signed-off-by: Chris Andre <chris.andre@yoppworks.com> Change-Id: I6078bd1d903d6739326ce7154cb83c1ded1e6b04
2020-06-03Removed critical code smellezhil1-3/+4
Removed critical code smell in AAIUnmarshallingException Issue-ID: AAF-1120 Change-Id: I0949e9f2f466ac98db39cfa1adf50f86a531b3a5 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2020-06-03Critical Sonar bug fixezhil1-2/+2
Sonar critical bug fix in HttpsAuthClient Issue-ID: AAF-1120 Change-Id: I840d7d4ac56767fd56f687f850bec879a4edeca9 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2020-05-12aai-common support for v20LaMont, William(wl2432)25-154/+960
Issue-ID: AAI-2904 Change-Id: I6dca2f785882b38ca2b2474a11affaa0328c003a Signed-off-by: LaMont, William(wl2432) <wl2432@att.com>
2020-05-07Fix minor sonar issues in SchemaGenerator4HistFrancis Toth2-76/+40
Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: Ie4f64b8d9f43bf98c76c1751025ceaf2dae59180 Issue-ID: AAI-2901
2020-04-24Junit testcase for JSONStrategyezhil1-1/+9
Issue-ID: AAF-1120 Change-Id: I437501322e7cdcc4117add39349ea9696c90ad71 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2020-04-21AAI-common sonar fixesDavid Brilla14-248/+152
Issue-ID: AAI-2786 Change-Id: Ia37e660886fce56c8ab5c53888fcbf265692a359 Signed-off-by: David Brilla <david.brilla@tieto.com>
2020-04-14Fix build issue in ubuntu 1804Jimmy Forsyth2-0/+8
Issue-ID: AAI-2850 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: Iff320d89fa221bcb6c9fa4fb0f726724e1bb0eae
2020-03-12Adding test cases to aai-core to increase coverageYoo, Brian (by703c)11-1/+1138
Issue-ID: AAI-2828 Change-Id: I81e62cb1e1e984291bcd77c544f18d2d511b9d07 Signed-off-by: Yoo, Brian (by703c) <by703c@att.com>
2020-03-10Reenable spring-boot2 in aai-commonJimmy Forsyth2-18/+15
Issue-ID: AAI-2831 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I9f3f1d8d1d9ef45786d0f17afa5c824e90c77263
2020-03-10Move back to spring-boot 1.5 for bugfixJimmy Forsyth2-15/+18
Issue-ID: AAI-2831 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I1e3d278fe343e4f05cdfd71d2443aef19c8541c2
2020-03-03Update aai-common to be spring boot 2 compatibleHarish Venkata Kajur2-18/+15
Issue-ID: AAI-2806 Change-Id: Idad79373209ef25bb26551253aa8ad86e4a75549 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-02-25Enhancements for the aai-common libraryKajur, Harish (vk250x)245-9430/+14114
Issue-ID: AAI-2806 Change-Id: I2dbb46b897b35136ac1bb802978d3f974af1b307 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2020-02-21AAI-common sonar fixesDavid Brilla6-24/+22
Fixing bugs, code smells of aai-common repo found on sonar. Issue-ID: AAI-2786 Change-Id: I421f8b46f385c7334b0f3cd80c07cb2f833f127f Signed-off-by: David Brilla <david.brilla@tieto.com>
2020-02-14[AAI-2528] | Update to spring-boot 2.1.6.RELEASESneha Dantkale3-22/+20
Issue-ID: AAI-2528 Change-Id: I87756450c12538af3f21e4affa24ef76724d232c Signed-off-by: Sneha Dantkale <Sneha.dantkale@amdocs.com> Change-Id: I9437899ba1c7f2aec816a8076c954b080f9512fb Signed-off-by: Sneha Dantkale <Sneha.dantkale@amdocs.com> Change-Id: If3ad26f98c815e4872320b2652cf6c2e0b675de0 Signed-off-by: Sneha Dantkale <Sneha.dantkale@amdocs.com>
2020-02-13ListEndpoints fixMatej Babej1-6/+5
Fixing 4 code smells Issue-ID: AAI-2794 Change-Id: Ica204021dd343ec7deac01587287e361efda4643 Signed-off-by: Matej Babej <matej.babej@tieto.com>
2020-02-11Use "instanceof" instedDavid Brilla1-3/+4
Bug correction, from class.toString comparing to instanceof Issue-ID: AAI-2786 Change-Id: Idbbdaaa37208b8c40556a42255aa43175c14b1c7 Signed-off-by: David Brilla <david.brilla@tieto.com>
2020-02-11Use isAssignableFrom insteadDavid Brilla1-3/+3
Change from class -> string -> equals to isAssignableFrom Issue-ID: AAI-2786 Change-Id: I0f48ad5b7ad5728b397c54bfa883fea9431dd0a5 Signed-off-by: David Brilla <david.brilla@tieto.com>
2019-08-28Update core logic to change how toKajur, Harish (vk250x)1-322/+313
handle cassandra shutdown so that it returns an approprate 500 error Issue-ID: AAI-2082 Change-Id: Ia1b668de9dca90c44fa36b75a901b7cd596fe7d5 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-08-20Merge "Fixed Sonar "Blocker Bugs""James Forsyth2-50/+38
2019-08-15Merge "Sonar Fix- URIParser.java"James Forsyth1-9/+7
2019-08-07Attempt to fix the test failures on centosJimmy Forsyth1-3/+3
Issue-ID: AAI-2574 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I51f0bc9a23e5ea1f3946ba5cf97d9cd532318558
2019-07-25Sonar Fix- URIParser.javadinesha1-9/+7
Fixed sonar issues across this file Issue-ID: AAI-2525 Change-Id: Ibc7f1e9a64de5283bcc9845522817c1dff30e5e6 Signed-off-by: dinesha <dineshgs@in.ibm.com>
2019-05-27Fixed Sonar "Blocker Bugs"Vasyl Razinkov2-50/+38
Fixed potential "thread-Leak" Signed-off-by: Vasyl Razinkov <vasylrazinkov@sidero.ie> Issue-ID: AAI-2459 Change-Id: Ic36ff778486a7a860070b05873dc88d7d31f736b