aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2025-02-25Spring-boot 3 upgrade in graphadminHEADmasterFiete Ostkamp58-277/+186
Issue-ID: AAI-4116 Change-Id: I894e0b0482df4078791cb58d0259852be02c2255 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2025-02-19Ensure that graphadmin schema-create-job exits with a non-zero exit code in ↵1.15.6Fiete Ostkamp1-3/+12
case of failure - currently, when the GenTester program fails, it is not terminating with a non-zero exit code - the consequence of this is that the initContainer/job that executes this is stuck and waits forever - this changes the code in case of failure, which in turn should cause a retry for the container - also bump version to 1.15.6-SNAPSHOT Issue-ID: AAI-4136 Change-Id: Ic8a26df66f2ae1a55a1547b562cc6f042f5a513b Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2025-02-05Fix broken spring context in graphadmin1.15.5Fiete Ostkamp15-39/+32
- scan everything under org.onap.aai to get a working spring context Issue-ID: AAI-4123 Change-Id: I7d96f57109b9acf93b99be737b3bce44bc8a39ca Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2025-02-04Use 1.15.5 aai-common releaseFiete Ostkamp36-529/+229
Issue-ID: AAI-4119 Change-Id: I392037529a8e377cf319981772255d417addac6f Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2025-02-04[AAI] Unnecessary packages must be cleared from all java files for ↵atul.m.singh39-60/+0
aai-graphadmin module - Removed unused imports from the JAVA files so that unnecessary packages are ignored Issue-ID: AAI-4118 Change-Id: I3bbe4d8120bf881bec49768e51e3b3be5c2a97b2 Signed-off-by: atul.m.singh <atul.m.singh@accenture.com>
2025-01-02Updating gremlin query to utilize composite index properly for ↵ankita.singhal1-25/+60
schema-initialized -Refactored Gentester to fetch the vertex once to avoid multiple queries Issue-ID: AAI-4062 Change-Id: Iedbad0f01e2ed22bd810066623b8eba0ef79bd1a Signed-off-by: ankita.singhal <ankita.f.singhal@accenture.com>
2024-12-06Remove reindexing logic from graphadmin schema-creation script1.15.3Fiete Ostkamp1-36/+25
- reindexing is not performantly working Issue-ID: AAI-4082 Change-Id: I8066857577cda7ed884506fb5012e3d0a77402bc Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-12-02Update indexes for schemaInitializedankita.singhal3-22/+63
Issue-ID: AAI-4062 Change-Id: I0709470ac83badd06e499b22df2277cceba0a615 Signed-off-by: ankita.singhal <ankita.f.singhal@accenture.com>
2024-11-25Merge "Use 1.15.3-SNAPSHOT of aai-common"Nandkishor Patke17-116/+38
2024-11-25Use 1.15.3-SNAPSHOT of aai-commonFiete Ostkamp17-116/+38
- upgrade spring-boot (2.6.15 -> 2.7.18) - upgrade tinkerpop (3.7.1 -> 3.7.3) - upgrade janusgraph (1.0.0 -> 1.0.1) - remove eelf-core dependency - remove aai logging-service dependency Issue-ID: AAI-4068 Change-Id: I0e0abe69fdee064c5edd57d8098e8c16fc34a776 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-11-22RestApi for DB Schema Initialization-Address Review commentsUbuntu3-2/+131
Issue-ID: AAI-4062 Change-Id: I14c9881a4067c8de62162da44a65b5868069999b Signed-off-by: ankita.f.singhal <ankita.f.singhal@accenture.com>
2024-11-11Upgrade spring boot to 2.61.15.2Fiete Ostkamp3-73/+88
- upgrade spring-boot (2.5.15 -> 2.6.15) - upgrade vulnerable guava (25.1 -> 33.3.1) and janino (3.1.9 -> 3.1.12) dependencies - bump snapshot version to 1.15.2-SNAPSHOT Issue-ID: AAI-4048 Change-Id: I34d8c62894c6398c5a51906469890c2f76f4a745 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-10-17Upgrade aai-common dependency to 1.15.1-SNAPSHOTFiete Ostkamp4-24/+37
- remove ActiveMq dependency Issue-ID: AAI-4017 Change-Id: Ie475172ad13bc5ddd482822db36f1ce48bc846c9 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-10-07Update janusgraph to 1.0.01.15.0Fiete Ostkamp1-1/+1
- update Janusgraph (0.6.4 -> 1.0.0) - update Tinkerpop (3.5.8 -> 3.7.1) Issue-ID: AAI-3743 Change-Id: I2a8bb2594702bc7fe5968ca8d26b79b1f013e8ad Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-10-03echo liveness probe available under /actuator/healthShantaram Sawant3-85/+216
- Include database connectivity check in the /echo API of AAI modules. Issue-ID: AAI-3999 Change-Id: Ia6eb3ded705e6b5b3f1db0cd9605376a2f442e68 Signed-off-by: Shantaram Sawant <s.shantaram.sawant@accenture.com>
2024-09-18Use Java 11 in graphadmin1.14.7Fiete Ostkamp4-33/+31
- switch compiler version and base image to Java 11 - remove com.sun.jersey (Jersey 1) dependencies - replace heap_size jvm args with MaxRAMPercentage to scale dynamically with the K8s limits Issue-ID: AAI-4001 Change-Id: I17d126cf9972bad4c851a374113845be77fee9f6 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-09-17Update aai-common to 1.14.6 in graphadminFiete Ostkamp1-7/+8
- upgrade spring-boot (2.4.13 -> 2.5.15) - fix vulnerabilities - bump snapshot version to 1.14.7-SNAPSHOT Issue-ID: AAI-3994 Change-Id: Ie692eeb20d0a7e1e0d579134b109d0c2ecfd7840 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-08-09Some graphadmin tools have an incomplete bean context and fail accordinglyFiete Ostkamp11-302/+307
- with recent changes to where some beans are declared in aai-common, the context configuration has to be adjusted Issue-ID: AAI-3954 Change-Id: Ia33c437f98e14e9fd68a12771af138e4d904df8a Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-08-06Update Janusgraph to 0.6.0 in graphadminFiete Ostkamp11-61/+76
- update Janusgraph (0.5.3 -> 0.6.0) - update Tinkerpop (3.4.13 -> 3.5.1) - bump version to 1.14.5-SNAPSHOT Issue-ID: AAI-3929 Change-Id: I75bccadca63eb7cd67bd8f9ebbb8d79978138bcc Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-07-04Use eclipse-temurin:8-jre-alpine docker base image in aai-graphadminFiete Ostkamp4-50/+46
- use /bin/sh instead of /bin/bash for scripts - use wget instead of curl - do not check the container user when executing scripts Issue-ID: AAI-3916 Change-Id: I3e7c6e47f8eb55f1e2f872e7e427b61fae8232bb Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-06-28Update Janusgraph to 0.5.0 in graphadminFiete Ostkamp4-409/+379
- update Janusgraph (0.4.0 -> 0.5.0) and tinkerpop (3.4.0 -> 3.4.13) - try to fix flaky test - disable UpdateToolTest since it's failing in the pipeline but working locally Issue-ID: AAI-3903 Change-Id: I7fe0b074a134fba8708c87153cdd0e845426dab9 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-06-22Update aai-common to 1.14.2 in graphadminFiete Ostkamp2-160/+161
- contains janusgraph update 0.3.3 -> 0.4.0, tinkerpop 3.3.11 -> 3.4.0 Issue-ID: AAI-3889 Change-Id: Iffad56f3dc4ef1c28e89d0c4a3cc351594ff60f9 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-06-15Update aai-common to 1.14.0 in graphadmin1.14.0Fiete Ostkamp7-180/+193
- update aai-common to 1.14.0 which contains Janusgraph update to 0.3.3 - introduce -v parameter to the datasnapshot scripts to specify graphson version Issue-ID: AAI-3871 Change-Id: I4efac6b8ef6cf6f5b264677c5a85e38cd226a194 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-06-13Support exporting to the kryo format in the dataSnapshot scriptFiete Ostkamp1-176/+220
- add support for the kryo format when creating a database snapshot Issue-ID: AAI-3872 Change-Id: Iba085f7227bbfcb928370443c2e0eac95e49bb9c Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-05-25Reindexing in graphadmin not working reliably1.13.7Fiete Ostkamp1-3/+5
- disable the reindexing mechanism that was introduced with 1.13.6 Issue-ID: AAI-3856 Change-Id: Idb3982c816df2b7e99c2edccaaea0c8a20cc1b16 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-05-03Update aai-common to version 1.13.51.13.5Fiete Ostkamp2-88/+116
- update aai-common version from 1.14.4 to 1.13.5 - add reindexing logic that is triggered when db already has data in it upon schema creation Issue-ID: AAI-3842 Change-Id: If8ad30f081689388940059226a941ccf5b4730e6 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-02-22Update aai-common version to 1.13.4 in graphadminFiete Ostkamp2-4/+7
- update to 1.13.4 - bump activemq dep to fix security vulnerability - update mockito from 1.X to 3.4 - bump graphadmin version to 1.13.4 to be in sync with aai-common Issue-ID: AAI-3784 Change-Id: Idcaf9b18ce6cb100b5db88ce0fc6d62157b6c387 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2021-10-01Fix sonar issues :Samuel Liard29-278/+239
Remove all printStackTrace Change split regex Remove all string comparison with != Issue-ID: AAI-3362 Signed-off-by: sliard <samuel.liard@gmail.com> Change-Id: Ia473d0e2d0af5a6cde333e593c42bddd89709167
2021-09-23[AAI] File extensions for the data clean up tasks archive file is changed to zipSuresh Charan1-1/+1
Issue-ID: AAI-3389 Signed-off-by: Suresh Charan <suresh.charan@amdocs.com> Change-Id: Ia7ec839b2cc09142c659078cc165b3826faf6440
2021-05-06Log proper error message for UpdatePropertyToolNiharika Sharma1-1/+1
Issue-ID: AAI-3328 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: I3e38c92b6b4343ec8153219a989e241e8e9e4127
2021-03-25Fixed Concurrent Updates overriding the AAI object such as PserverNiharika Sharma2-9/+25
Issue-ID: AAI-3308 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: I5f5b89d6304f382c186ae03f3f70ba60097ff6e3
2020-09-17Update to use aai-common 1.7.2 and use common aaf auth1.7.0Maharajh, Robby (rx2202)1-187/+0
Issue-ID: AAI-3128 Change-Id: I89fa3c1b442eb8b528b1074ad07eb88f786ba264 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2020-07-22Update to spring boot 2Igor Dysko7-15/+15
Update of code and dependencies Issue-ID: AAI-2530 Signed-off-by: Igor Dysko <igor1.dysko@orange.com> Change-Id: Iff78a028c237586a285c410a7522744f8a488b58
2020-07-08Fix sonar issuesRodrigo Lima13-28/+22
- Fix Sonar issues in the classes : UpdatePropertyToolInternal, MigratePserverAndPnfEquipType, UniquePropertyCheck, AuditOXM, PrintVertexDetails, DataGroomingTasks, DeletePInterface, MigrateDataFromASDCToConfiguration, MigrateSAREvcInventory, MigrateModelVer, PserverDedupWithDifferentSourcesOfTruth, GenericQueryProcessor, DataExportTasks Issue-ID: AAI-2963 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: I76ff744153805a009d8378b9839f83456d9ebe5c
2020-07-06update junit to recheck for snapshot fileLaMont, William(wl2432)36-354/+2204
Issue-ID: AAI-2922 Change-Id: I3ca6189fa6f1eec245f5299c79f052f0fac42be7 Signed-off-by: LaMont, William(wl2432) <wl2432@att.com> Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
2020-04-16sonar fixesDavid Brilla14-508/+341
Issue-ID: AAI-2848 Change-Id: I45a408c00a450144dec723694eddd60eba883c47 Signed-off-by: David Brilla <david.brilla@tieto.com>
2020-03-18Add more test cases and remove unused filesAndrew Muller4-655/+49
Issue-ID: AAI-2829 Signed-off-by: Muller, Andrew (am8383) <am8383@att.com> Change-Id: I117101ed0851bd3f6940210eea32e5e45c5d9396
2020-03-13Add test fileMuller, Andrew (am8383)1-9/+8
Issue-ID: AAI-2829 Signed-off-by: Muller, Andrew (am8383) <am8383@att.com> Change-Id: I6b19ff4da5fc1d51e8da2a364113f693ef80cfd3
2020-03-03support for v17 through v19LaMont, William(wl2432)63-2881/+6166
Issue-ID: AAI-2751 Change-Id: I75c9b2057065e1374f25e2b6b12de0a8003ac781 Signed-off-by: LaMont, William(wl2432) <wl2432@att.com>
2019-09-06fixed issue with --rundisabled flagankitbhatt1-4/+8
also fixed issues for picking up the migrators without having migrator priority flag Issue-ID: AAI-2387 Signed-off-by: Ankit Bhatt <ankit.bhatt@amdocs.com> Change-Id: I992eea15299cbe10af5196e795f68d4a4b4d21b3
2019-07-12Sonar Fix: Configuration.javaArundathi Patil1-1/+4
Fixed sonar issue in this file Issue-ID: AAI-2510 Change-Id: I03dc84d005caad5a3181fa89bd9a750c31153ba2 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-04-18Fix the bug in running migrationsKajur, Harish (vk250x)6-6/+6
Issue-ID: AAI-2385 Change-Id: Ia5a66d219b71a0515bdf08758f04a58ac76aed93 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-04-15Fix GenTester by moving the commit earlierKajur, Harish (vk250x)1-11/+13
so if an exception is thrown during commit it gets caught properly and is handled Issue-ID: AAI-2377 Change-Id: I529edcabad4afe803ff387c1a186d9daba44ddc7 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-04-15Fix GenTester to exit with proper failure codeKajur, Harish (vk250x)1-0/+1
Issue-ID: AAI-2377 Change-Id: Idc84c92c9514cbe4ab37a0788d2b8bc71a85adcb Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-04-10add v16 to local config for graphadminLaMont, William (wl2432)23-794/+859
Issue-ID: AAI-2323 Change-Id: Ia2c01dc7b72e54194821a1c2e92b2eb0d497ead7 Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
2019-04-09Update graphadmin to use schema ingest changes forKajur, Harish (vk250x)2-3/+3
the application to not start if it doesn't start properly Issue-ID: AAI-2329 Change-Id: Ie6b87de99e1a52eccd2762ec19661f1f42c8e083 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-01-22merge of v15 changes to onapLaMont, William (wl2432)51-1847/+11530
Issue-ID: AAI-2088 Change-Id: I588499af58d0e799d860b2b4362da7c48050fafd Signed-off-by: LaMont, William (wl2432) <wl2432@us.att.com> Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-01-15Update graphadmin to remove exceptionHarish Venkata Kajur1-1/+0
Issue-ID: AAI-2076 Change-Id: I1caed32d8f6b7abaa0fa6db17c9604d48467b6b9 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2019-01-08Update the GenTester to exit properlyHarish Venkata Kajur1-18/+18
Issue-ID: AAI-1958 Change-Id: Ifbffd1c15e474dce0cc7b3102f7b6961a72a864e Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2018-12-05Rebuild Edges Functionalityankitbhatt3-532/+759
Enhanced EdgeMigrator Class with new method rebuildEdges, Added utility to support rebuild All Edges. Introduced new flag --rebuildEdges in MigrationControllerInternal Change-Id: Ie60f1a4618451772e4df82378d0a9e7e178c76f5 Issue-ID: AAI-1806 Signed-off-by: ankitbhatt <ankit.bhatt@amdocs.com>