aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources
AgeCommit message (Collapse)AuthorFilesLines
2024-06-12Update aai-common to 1.14.01.14.0Fiete Ostkamp1-2/+1
- update aai-common to 1.14.0 which contains Janusgraph update to 0.3.3 Issue-ID: AAI-3867 Change-Id: I37cd2faae01d486e887844243d9a346dc9bfa615 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-05-23Refactor global exception handlerFiete Ostkamp2-56/+52
- extract similar code to methods - return early - bump snapshot version to 1.13.6 Issue-ID: AAI-3692 Change-Id: I2835a936c3bc60b8f14fd9014de46bdb2367a9fc Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-05-23Merge "Improve tests for exception handling"Lukasz Rajewski5-16/+182
2024-05-23Improve tests for exception handlingFiete Ostkamp5-16/+182
- add more assertions to ExceptionHandlerTest - add class definitions for error responses to allow the usage of object mappers for that Issue-ID: AAI-3691 Change-Id: I0a3f26c7f3a14bf536cc4f023b567aeb4191e963 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-05-22[AAI] Bump aai-resources version to 1.13.5nandkishorpatke1-1/+1
Issue-ID: AAI-3843 Change-Id: I5e3f39bb0112fa618ccdd87b2347f6b31ca0f31e Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
2024-05-22[AAI] Update aai-schema version to 1.12.4 in resourcesnandkishorpatke6-10/+10
- AAI schema addition for 3GPP RAN Network Slice Subnet - and Slice-Profile Attributes & FeasibilityCheckJob - Bump aai-schema pom version to 1.12.4 - Update aai-schema default version to v29 Issue-ID: AAI-3843 Change-Id: I2dcf0141163792cdc9bfdcdd2f7b42dc44f4cb5a Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
2024-05-15Do not use an exception to communicate an ok response in the /echo endpointFiete Ostkamp2-16/+5
- do not use an AAIException to return a 200 OK response Issue-ID: AAI-3847 Change-Id: I29b20bb408fa55d5a18ab4e1981d7c2c435410a4 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-04-15Update AAI-Resources SNAPSHOT version to 1.13.4Dasar1-1/+1
- Change AAI-Resources SNAPSHOT version from 1.13.3. to 1.13.4 Issue-ID: AAI-3793 Change-Id: I8ea8495b38e77e0c784d1685ee3ac3e801e5e5a7 Signed-off-by: Dasar <avinash.ganesh.dasar@accenture.com>
2024-04-12Remove DMaaP dependency from AAI-ResourcesDasar7-35/+38
- Remove DMaaP related references from AAI-resources and added kafka related configuration - Updated AAI-Common version from 1.13.3 to 1.13.6 Issue-ID: AAI-3793 Change-Id: If1e141a3ae71b0c053f68ec13387426d3687f9c0 Signed-off-by: Dasar <avinash.ganesh.dasar@accenture.com>
2024-04-02Migrate resources to Junit 5Fiete Ostkamp30-308/+363
Issue-ID: AAI-3815 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I6d4acbbb38c7674656690978cc1e50106f0c15cf
2024-02-15Make aai-resources runnable locally via mvn spring-boot:runFiete Ostkamp4-7/+7
- make some property files ignorable Issue-ID: AAI-3779 Change-Id: I79cf4c6f989f96d304b35c466221e957b94d3e81 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-02-08Switch 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 Change-Id: Ie6c1f8e4caf77f2bd0d9be2cee1d4d8ffa6fb69a Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-02-08Update aai-common-alpine base image in resourcesFiete Ostkamp2-6/+7
- update to latest aai-common-alpine image that is now based on eclipse-temurin:8-jre-alpine Issue-ID: AAI-3662 Change-Id: Ic807e5eb5e412d3511d7b7bf7adf8b0851c4cf9d Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-02-06Change resources to 1.13.X-SNAPSHOT againFiete Ostkamp1-1/+1
- change resources version to SNAPSHOT since publishing snapshot releases would not work otherwise Issue-ID: AAI-3763 Change-Id: I980986f6cbad4334a9a18b68db304fd46c1c3053 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-02-06Update aai-common to 1.13.3 in resourcesFiete Ostkamp5-6/+16
- update to 1.13.3 that contains fix for TraversalURIOptimizedQuery building - disable tracing in tests - disable log lines for schema generation in tests Issue-ID: AAI-3761 Change-Id: Ifbe1a4ca716e73c1722c1368dc55719b23fe101a Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-29Merge "Revert "Update aai-common-alpine base image in resources""Fiete Ostkamp2-3/+5
2024-01-29Revert "Update aai-common-alpine base image in resources"Fiete Ostkamp2-3/+5
This reverts commit ce788a66989590a2fd1291390fb2f6489cc38e7c. Reason for revert: image versions > 1.6.0 are based on Java 11 Issue-ID: AAI-3662 Change-Id: If46b24913e86d7ed0db4347211817052c8a1d1e5 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-26Merge "Update aai-common-alpine base image in resources"Lukasz Rajewski2-5/+3
2024-01-19Upgrade aai-common dependency to 1.13.1 in resourcesFiete Ostkamp2-6/+14
- upgrade aai-common dependency from 1.13.0 to 1.13.1 - bump version to 1.13.1 Issue-ID: AAI-3733 Change-Id: Ifddadaf916da63f2dada25c71d01618f2bf10e8b Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-01-19Update aai-common-alpine base image in resourcesFiete Ostkamp2-5/+3
- update [aai-common-alpine](https://hub.docker.com/r/onap/aai-common-alpine/tags) base image from 1.6.0 to 1.9.6 - add README-instructions for building the docker image Issue-ID: AAI-3662 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ic0f1993520b95f435543e12ac7b332fb4f4d5f94
2024-01-11Create aai-resources 1.13.0 versionMichal Jagiello1-1/+1
Version with fix of an issue with missing bulk operation index on request body parsing error Issue-ID: AAI-3722 Change-Id: I2faaf901fb063a9ea04cac2c8308fdc749b2ee52 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2024-01-10Return an index of invalid bulk operation if there are missing parameters on ↵Michal Jagiello3-8/+32
request Catch AAIException on AAI Bulk poplulateIntrospectors method to prepare an exception body with failing operation number. Issue-ID: AAI-3722 Change-Id: I38b2e1c802ae7f2843cda5c188365890a86f65af Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2023-11-15[AAI] Up-version aai-resources to 1.12.3 for releasenandkishorpatke1-1/+1
- Updated version for aai-schema to 1.12.3 - Updated version of aai-resources to 1.12.3 Issue-ID: AAI-3677 Change-Id: Ifd31ba1461d126f121efcfe7fdc69e6cb563340f Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
2023-11-15[AAI] Update aai-schema version into v28 for cell and neighbour attributesnandkishorpatke6-10/+10
- Update aai-schema pom version into 1.12.3 - Update aai-schema default version to v28 Issue-ID: AAI-3663 Change-Id: I06f3e7158c94dd1214a122a7d4eb7f88594f49f5 Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
2023-11-07Merge "Add spring-cloud-sleuth for tracing"Lukasz Rajewski3-3/+26
2023-11-07Model distribution from model-loader is failing with resources service ↵Fiete Ostkamp8-53/+191
version >= 1.12.1 - pin eclipse.persistence version to last-working 2.6.2 - add test case to validate correct behaviour - make api-version related assertions in LegacyMoxyConsumerTest dynamic based on default api version Issue-ID: AAI-3675 Change-Id: I655ed28b1d0a6f94c788d68ff2d05ba9f30c4793 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-11-02Change default logback config to write to stdoutFiete Ostkamp3-243/+33
- write to stdout instead of to *.log files [1] - do not version the .classpath in git [1] This change only has an impact on local development (especially when run in docker containers), since the logback.xml is [fully overwritten anyways via OOM](https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/aai/components/aai-resources/resources/config/logback.xml;h=b52318500d1327d4756bea937e79d68b79e733e8;hb=HEAD) Issue-ID: AAI-3671 Change-Id: Ifb4b7b60a2bf7aa22210210fdbcbc05044c59e8b Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-10-19Add spring-cloud-sleuth for tracingFiete Ostkamp4-66/+26
- add tracing dependency - configure both b3 and w3c trace propagation formats to have interoperability between spring-boot 2 (sleuth) and spring-boot 3 (micrometer) tracing Issue-ID: AAI-3668 Change-Id: I429247444715186be562d009f0d6a6f6ede7e1c3 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-10-19Upgrade spring-boot to 2.4Fiete Ostkamp8-46/+48
- update spring-boot to latest available 2.4.X release - Content-Type's on GET requests now result in 415 (instead of being ignored) which necessitates changes to the ConfigurationTest Issue-ID: AAI-3667 Change-Id: If6cbce8185b443a79b5e3b32fa3ffede5cabee60 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-10-18Update spring-boot to 2.3Fiete Ostkamp2-3/+3
- update spring-boot to latest 2.3.X release - replace deprecated property distribution.sla with distribution.slo Issue-ID: AAI-3666 Change-Id: I4d3fcebf7360e1c21cbde7d45c709483a0bdce5b Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-10-18Update spring-boot to 2.2Fiete Ostkamp12-32/+57
- update spring-boot to latest available 2.2.X release - pom inheritance via aai-parent pom makes it necessary to also explicitly specify spring framework versions - replace deprecations around Profiles Issue-ID: AAI-3665 Change-Id: I74b22a76ef14217b888ae6bb12cb83d86f9e4241 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-05-26[AAI] Up-version aai-resources to 1.12.1 for Londonaleem.raja@t-systems.com1-1/+1
Updated version for aai-schema to 1.12.1 Issue-ID: AAI-3653 Signed-off-by: aleem.raja@t-systems.com <aleem.raja@t-systems.com> Change-Id: Ieabfcf86e767514406326eb958dcc587601c863d
2022-11-21[AAI] Up-version aai-resources to 1.12.0 for LondonNiharika Sharma1-1/+1
Issue-ID: AAI-3594 Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com> Change-Id: Ie3a58b17a0c32809c3a917f7e6cf6a57dea7df6c
2022-11-15Merge "Remove raw-type related warnings in resources"William Reehil15-42/+79
2022-11-15Merge "Reduce the number of problems in resources by removing unused imports"William Reehil6-17/+0
2022-11-15Remove raw-type related warnings in resourcesFiete Ostkamp15-43/+79
Issue-ID: AAI-3597 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I62b183fe5b19a232b48623e26ba3be04433fbb4c
2022-11-14Reduce the number of problems in resources by removing unused importsFiete Ostkamp6-17/+0
- add removeUnusedImports option to spotless - update spotless plugin to latest version Issue-ID: AAI-3596 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I2c4c4b71a9c6b1a719f171194c631a88c70c221e
2022-11-14Replace deprecated methods in resourcesFiete Ostkamp17-41/+88
Issue-ID: AAI-3595 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I848bd78338f9a8b15576e11718abbf64a1980663
2022-10-26Run the formatter for the resources serviceFiete Ostkamp86-4794/+4500
- reduces the format violations from ~7000 to ~400 Issue-ID: AAI-3567 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I570805692bfbd3f80a43c0813831adcdb98016d4
2022-10-26Use the 1.9.4 parent pom in resourcesFiete Ostkamp3-20/+18
- upgrade apache commons-configuration to commons-configuration2 to resolve test failures Issue-ID: AAI-3566 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I26657f326c15de33c65abb9ae7c9bb9608defbaf
2022-10-19[AAI] Upversion resources to 1.11.0 for Kohnwr148d1-1/+1
Issue-ID: AAI-3537 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Iaff2e738801c7176d4aea4fc27e8c4fa60cdf65c
2022-10-10Migrate Mockito 1 to version 2 in the resources serviceFiete Ostkamp9-76/+170
- update mockito to version 2.4.0 - update eelf-core since it has a compile time dependency to mockito 1.10.19 in version 1 Issue-ID: AAI-3546 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I6ba724fe26b57e9a468bdeb89cadaa6f51e68634
2022-09-23Add latency metrics configurations for AAI-resourcesleila1-1/+3
Latency metrics based on the percentiles of histogram quantile function Updated pom.xml Issue-ID: AAI-3529 Signed-off-by: leila <leila.nishimwe@bell.ca> Change-Id: Icf3fe2566d5b3068f4795a4ce7793c9812d7547b
2022-09-23[AAI] Upversion to 1.9.7 for resources cassandra healthcheckwr148d1-1/+1
Issue-ID: AAI-3528 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I8f4c4cc36a4f2210a210b61ff69dba500aafd2a7
2022-09-22Merge "AAI-resources logging structure enhancement"William Reehil3-27/+106
2022-09-21AAI-resources logging structure enhancementRommel Pawar3-27/+106
Issue-ID: AAI-3524 Signed-off-by: Rommel Pawar <rommel.pawar@bell.ca> Change-Id: I06de1942b3b215d615a7fcad1de6c6889111f912
2022-09-21Add aai-resources healthcheck based on Cassandra DB HealthcheckRaghav Kataria8-142/+532
Issue-ID: AAI-3528 Signed-off-by: Rommel Pawar <rommel.pawar@bell.ca> Change-Id: I21022bd81c5cd9eed2dd841f96812855adebe528
2022-08-16[AAI] Upversion to 1.9.6 to include v27wr148d3-8/+8
Issue-ID: AAI-3489 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Id5b843284fa475ea9536ace9f07a6c3c7df78d7d
2022-03-21[AAI] Upversion microservices to 1.9.4 and 1.9.5 to include the v25/v26 XSDswr148d1-1/+1
Issue-ID: AAI-3435 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I5c6d6cff03f2a6910918185ad2f101d8c44791ee
2022-03-07[AAI] Update resources to fix security vulnerabilitieswr148d1-0/+7
Issue-ID: AAI-3414 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I191395e86b2f48492a9c9bfad3048e1d86b3f153