aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema-ingest
AgeCommit message (Collapse)AuthorFilesLines
9 daysRemove eelf-core from aai-commonFiete Ostkamp1-5/+1
- the dependency is not maintained anymore Issue-ID: AAI-4059 Change-Id: I5f089236e680630bb14bcfd9b29f3b1cd4545574 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-11-08Upgrade spring boot to 2.6Fiete Ostkamp42-389/+268
- upgrade spring boot (2.5.15 -> 2.6.15) - migrate aai-schema-ingest module to JUnit 5 Issue-ID: AAI-4048 Change-Id: I72a59891fdbcdea9b54f6c02aae09fcc7a26947a Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-10-17Update logback in aai-commonFiete Ostkamp1-1/+1
- update logback (1.2.3 + 1.2.7 -> 1.2.13) - bump snapshot version to 1.15.2-SNAPSHOT Issue-ID: AAI-4020 Change-Id: I1f961ffddfbefe810044cafac500defeb6727da8 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-10-16Add more meaningful exception when path to schema files is wrongFiete Ostkamp1-5/+9
- throw runtime exception when schema files cannot be found - update eclipse persistence (2.7.11 -> 2.7.15) Issue-ID: AAI-4018 Change-Id: Id3a91fbddd903433413e0409c64deac360c80365 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-10-13Remove groovy dependency from aai-commonFiete Ostkamp1-7/+0
- remove org.codehaus.groovy declaration Issue-ID: AAI-3941 Change-Id: I28480671031b81813e151202531dd08995bf42b3 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-10-07Update oparent to version 3.XFiete Ostkamp1-1/+1
- update oparent (2.1.0 -> 3.0.2) - bump snapshot version to 1.15.1-SNAPSHOT Issue-ID: AAI-4012 Change-Id: I308d825c438e89f23fbe018d22a7bf4ef56fd114 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-09-21Migrate JAXB to jakartaFiete Ostkamp3-5/+5
- change javax.* JAXB packages to jakarta.* - bump snapshot version to 1.15.0-SNAPSHOT Issue-ID: AAI-4005 Change-Id: I2a208f717206a2ee8c2acaec8abb0a04fc620123 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-09-06AAI events are not being publishedFiete Ostkamp1-1/+1
- create e2e test case for notification sending - fix notification sending - disable tests since they can only be active with some larger refactoring Issue-ID: AAI-3988 Change-Id: I498b3b02218d81821dd17c3d8ad0da4de859924b Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-08-13Update Janusgraph to 0.6.4 in aai-commonFiete Ostkamp1-1/+1
- update Tinkerpop (3.5.0 -> 3.5.8), Janusgraph (0.6.0 -> 0.6.4) - change snapshot version to 1.14.6-SNAPSHOT Issue-ID: AAI-3956 Change-Id: I209f8163556dccb250568da18d75c0dca817a250 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-07-30Make full context scan work with schema.translator.list=schema-serviceFiete Ostkamp3-3/+9
- conditionally hide schema.translator.list=config related beans Issue-ID: AAI-3939 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I1046f4de1566923118ca2b9bb891caa759c387a5
2024-07-09Bump aai-common version to 1.14.5-SNAPSHOTFiete Ostkamp1-1/+1
Issue-ID: AAI-3928 Change-Id: I0bf49334b9c48df447082979e4311e922052775d Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-07-03Pagination will throw an IllegalArgumentException if there are no vertices ↵Fiete Ostkamp1-1/+1
of the requested type - provide empty PaginationResponse when traversal.next() throws IllegalArgumentException Issue-ID: AAI-3917 Change-Id: I280f216050ea16953015023146d40674e067f028 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-06-28Update Janusgraph to 0.5.0 in aai-commonFiete Ostkamp2-57/+1
- update tinkerpop to 3.4.13 - update janusgraph to 0.5.0 - restore the total-pages header that was accidentally removed in the last pagination commit - remove stateful pagination logic from HttpEntry Issue-ID: AAI-3900 Change-Id: I5fac397ece75136673b8dc3866e10ff15dfdcee3 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-06-26Add gremlin-based pagination to aai-commonFiete Ostkamp2-1/+7
- enhance query building to support gremlin-based pagination - pagination is supported in two variants: with and without the total count of elements [1] - enhance query building to support gremlin-based sorting - add query logging that is currently disabled [1] due to the design of gremlin, including the total count results in a full graph scan. As such there is the option to not include it, which should make it (much) faster for the first pages that are returned. Issue-ID: AAI-3893 Change-Id: I6bc0c9b9f398556cc41a0a8f82e24e50c85e5690 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-06-19Update Janusgraph to 0.4.0 in aai-commonFiete Ostkamp1-1/+1
- update tinkerpop to 3.4.0 + janusgraph to 0.4.0 - bump snapshot version to 1.14.2-SNAPSHOT Issue-ID: AAI-3888 Change-Id: I2e45b37e4cda4f82c46399a899ba28f7463c0a95 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-06-17Bump aai-common version to 1.14.1Fiete Ostkamp1-1/+1
Issue-ID: AAI-3883 Change-Id: If89ec7af4b54462852c5578597112eb371b0c2f6 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-06-15Update tinkerpop to 3.3.11 in aai-commonFiete Ostkamp2-10/+4
Issue-ID: AAI-3875 Change-Id: Iba69b1d4850fcd86dc0ee9cd209c74396e2e8f4a Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-06-04Update janusgraph to 0.3.3Fiete Ostkamp2-1/+2
- update tinkerpop version from 3.2.11 to 3.3.0 - update janusgraph from 0.2.3 to 0.3.3 - the default GraphSON version would change with this update but was held back [1] - add jackson-dataformat-xml dependency to aai-core as the XmlMapper is used in the ErrorLogHelper [1] a separate story AAI-3796 - Use GraphSON v2 or v3 in AAI has been created for this Issue-ID: AAI-3795 Change-Id: I4539e83aa74c260d5238ebe869e9884d4396e9f4 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-04-12Change AAI-Common SNAPSHOT Version from 1.13.5 to 1.13.6Singh1-1/+1
- Update AAI-common version from 1.13.5-SNAPSHOT to 1.13.6-SNAPSHOT Issue-ID: AAI-3792 Change-Id: Ic281351007bab8bbc634c8f431be6bcd27ad83cd Signed-off-by: Singh <soumya.e.singh@accenture.com>
2024-02-26Only load SchemaService related beans in aai-common when ↵Fiete Ostkamp6-33/+44
schema.translator.list=schema-service - conditionally load schema-service related config, otherwise use the ConfigTranslator - this prepares locally running traversal via mvn spring-boot:run Issue-ID: AAI-3787 Change-Id: I9415802fb708933e8596b62e7540fa8a156e4cd6 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-02-21Enhance SchemaGenerator to also generate indices for relationshipsFiete Ostkamp1-1/+1
- generate edge indexes when they not already exist - reindex existing indexes when they are not in status ENABLED - try to recover indexes that are in INSTALLED state - bump version to 1.13.5 Issue-ID: AAI-3782 Change-Id: I127e0f83b17485d7a6721206ade92cd50c89a51b Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-02-15Enable dependency injection for some aai-common classesFiete Ostkamp5-18/+21
- minor refactorings in SchemaServiceTranslator - annotate the other classes with @Component to make them available for dependency injection Issue-ID: AAI-3780 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ia48743b81de36e1da3e71eee8821baa526c86885
2024-02-06Switch aai-common baseimage back to java 8Fiete Ostkamp1-1/+1
- downgrade base image to java 8 until aai-common is compatible with java 11 Issue-ID: AAI-3766 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I90505b6a15b92fcf983e6444b60523574b2d2388
2024-02-05Bump version to 1.13.3Fiete Ostkamp1-1/+1
Issue-ID: AAI-3762 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I8fc12af8d43996ca5408679e78632ca91f13a6e3
2024-02-05Pivoting a TraversalURIOptimisedQuery is broken in release 1.13.2Fiete Ostkamp1-1/+1
- fix query building for TraversalURIOptimizedQuery - enable DataLinkTests for TRAVERSAL_URI again - add further tests to test pivoting more directly - roll back version to 1.13.2 to rerelease fixed version - add python six dependency to fix upstream issue with sphinxcontrib-swagger dependency Issue-ID: AAI-3758 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I3e54216e00d0491d64265e149f55cf8aba6fabd9
2024-01-29Update tinkerpop to 3.2.11Fiete Ostkamp1-1/+1
- update tinkerpop from 3.2.4 to 3.2.11 - bump version to 1.13.3 Issue-ID: AAI-3745 Change-Id: I492aba96f8e4916bc99e80fc24e9e20da26c20ba Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-25Update tinkerpop to 3.2.4Fiete Ostkamp1-1/+1
- 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 Patke1-1/+1
2024-01-20Revert "Update tinkerpop to 3.2.3 in aai-core"Fiete Ostkamp1-1/+1
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 Patke1-1/+1
2024-01-19Update tinkerpop to 3.2.3 in aai-coreFiete Ostkamp1-1/+1
- 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-11Update spring boot to 2.4Fiete Ostkamp1-1/+13
- 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 Ostkamp1-1/+1
- 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-10Update spring boot to 2.2Fiete Ostkamp2-18/+18
- 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>
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 Ostkamp1-140/+34
- 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-04Make URIParser code more readableFiete Ostkamp1-0/+7
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 "Reduce the number of raw-type related warnings in aai-common"William Reehil2-7/+9
2022-11-10Replace deprecated methods in aai-commonFiete Ostkamp1-4/+1
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 Ostkamp2-7/+9
Issue-ID: AAI-3586 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: If4affb02cfe40b4b82ecbdbb1a25d919d88be25c
2022-11-07Reduce the number of problems in aai-common by removing unused importsFiete Ostkamp31-123/+84
- 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-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-14Merge "Remove the apache commons-lang dependency in aai-common"William Reehil5-19/+30
2022-10-14Remove the apache commons-lang dependency in aai-commonFiete Ostkamp5-19/+30
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 Ostkamp1-1/+0
- 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-13Project build error due to reporting configuration not being in reporting ↵Fiete Ostkamp2-3/+17
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-03-07[AAI] Update common to fix security vulnerabilitieswr148d1-0/+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