summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main
AgeCommit message (Collapse)AuthorFilesLines
2024-01-29Merge "Revert "Update aai-common-alpine base image in resources""Fiete Ostkamp1-2/+4
2024-01-29Revert "Update aai-common-alpine base image in resources"Fiete Ostkamp1-2/+4
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 Rajewski1-4/+2
2024-01-19Upgrade aai-common dependency to 1.13.1 in resourcesFiete Ostkamp1-1/+1
- 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 Ostkamp1-4/+2
- 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-10Return an index of invalid bulk operation if there are missing parameters on ↵Michal Jagiello1-8/+10
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] Update aai-schema version into v28 for cell and neighbour attributesnandkishorpatke1-2/+2
- 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 Rajewski1-1/+7
2023-11-02Change default logback config to write to stdoutFiete Ostkamp1-102/+12
- 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 Ostkamp1-1/+7
- 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 Ostkamp4-6/+6
- 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 Ostkamp1-1/+1
- 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 Ostkamp8-11/+30
- 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>
2022-11-15Merge "Remove raw-type related warnings in resources"William Reehil2-2/+2
2022-11-15Merge "Reduce the number of problems in resources by removing unused imports"William Reehil5-16/+0
2022-11-15Remove raw-type related warnings in resourcesFiete Ostkamp2-2/+2
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 Ostkamp5-16/+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 Ostkamp5-14/+42
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 Ostkamp55-3153/+3235
- 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 Ostkamp1-4/+8
- 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-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-22Merge "AAI-resources logging structure enhancement"William Reehil2-27/+97
2022-09-21AAI-resources logging structure enhancementRommel Pawar2-27/+97
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 Kataria4-91/+345
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 v27wr148d1-3/+3
Issue-ID: AAI-3489 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Id5b843284fa475ea9536ace9f07a6c3c7df78d7d
2022-02-14[AAI] Update resources to use the new v26 schema and upversion to 1.9.4wr148d1-2/+2
Issue-ID: AAI-3435 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Ic631a118869421f388ceb1405eaf9ba1c172d3b1
2021-08-24Merge "[AAI] Integrate Micrometer to identify slow APIs (Making aai_uri tag ↵William Reehil2-3/+11
configurable)"
2021-08-18[AAI] Updates for latest versions for Istanbulwr148d1-2/+2
Issue-ID: AAI-3361 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I460a4966a0448478c6bd8edfbdb129205867b3e6
2021-08-18[AAI] Integrate Micrometer to identify slow APIs (Making aai_uri tag ↵Dimple Soni2-3/+11
configurable) Issue-ID: AAI-3367 Signed-off-by: Dimple Soni <dimple.soni@yoppworks.com>" Change-Id: I7879c7e6a5ae9b3a3943f4accceede0c7ba2ade0
2021-05-19[AAI] Export relevant key metrics for monitoring in Prometheusroger yuan9-1/+86
Make the key metrics available to the monitoring system by instrumenting the code. The Key metrics are available via /actuator/prometheus /actuator/info /actuator/health Issue-ID: AAI-3343 Signed-off-by: Roger Yuan <roger.yuan@yoppworks.com> Change-Id: I69f7eafb5105a04369526c70902ac7b676038c36
2021-02-23Pass roles at delete methodEric Santos1-2/+2
Issue-ID: AAI-3290 Signed-off-by: Santos, Eric <eric.santos@yoppworks.com> Change-Id: If7f3aa4977230150cb9315b99c6e0eaad155aa10
2021-02-02Update resources to use v23Harish Venkata Kajur1-2/+2
Issue-ID: AAI-3249 Change-Id: I1bcc27a79e7e34c47bff146c76c5a648105d772d Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2021-01-12Using new OwnerCheck implementationM.Hosnidokht3-10/+25
- Bump up aai-common version Issue-ID: AAI-3226 Signed-off-by: Mohammad Hosnidokht <mohammad.hosnidokht@yoppworks.com> Change-Id: I7c74bf65a8a8218d172d865b19fb672a1b87e988
2020-11-03fix sonar issuesMariano Diaz2-2/+3
Issue-ID: AAI-2882 Signed-off-by: Mariano Diaz <mariano.diaz@yoppworks.com> Change-Id: I9d48b036ca7e0f50ecc775ea6ecb6503d4688165
2020-09-17Update to use aai-common 1.7.2 and use common aaf authMaharajh, Robby (rx2202)4-217/+0
Issue-ID: AAI-3128 Change-Id: Iae516212cce319f4aad48a833c76499d8041903d Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2020-09-11Pass roles to HttpEntryNeil Derraugh2-11/+31
- Pass roles to HttpEntry so that OwnerCheck can verify owning-entity Issue-ID: AAI-3177 Signed-off-by: Neil Derraugh <neil.derraugh@yoppworks.com> Change-Id: Ie1536c625be3637fc62658d74690bddcde0a4cba
2020-09-10Fix aaf startup issue for spring boot updateMaharajh, Robby (rx2202)6-189/+221
Issue-ID: AAI-2886 Change-Id: I7aeec1fe74ec16eff1b131c9fbd40385312afdf4 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2020-09-09Update resources to use v21Maharajh, Robby (rx2202)1-2/+2
Issue-ID: AAI-3128 Change-Id: Icc4e17d9f68f4f0661c0877328b37ddaa3ea41c7 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2020-09-09Clean up commented propertiesNeil Derraugh1-2/+0
- These properties aren't needed, we can remove them Issue-ID: AAI-3129 Signed-off-by: Neil Derraugh <neil.derraugh@yoppworks.com> Change-Id: I863209ba3525710f361b3b1fecd7a36218850317
2020-09-08Add keycloak integrationRodrigo Lima3-1/+105
- The feature can be enabled by adding keycloak spring profile in application properties. - Add keycloak springboot and spring security adapter to pom - Exclude keycloak and spring security autoconfiguration in application properties - Add keycloak application properties that is activated when keycloak profile used - Add WebSecurityConfig to config authorization Issue-ID: AAI-3129 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: Iaa086b4075c03237388a997274d01bf8b8114b4d
2020-08-31Updated the retired api versions regex patternwreehil1-1/+1
Issue-ID: AAI-2367 Signed-off-by: wreehil <wr148d@att.com> Change-Id: Ib8507c5b170f0f8ea959b9278d3629e1e0aa70bc
2020-07-07Update to spring boot 2Igor Dysko1-1/+1
Replaced unsupported property Issue-ID: AAI-2526 Signed-off-by: Igor Dysko <igor1.dysko@orange.com> Change-Id: I98bde0863a4c473175f5f19c19f9b36d101a2ec1
2020-06-26support for v20LaMont, William (wl2432)18-30/+42
Issue-ID: AAI-2965 Change-Id: I87737d2cfcf6b499af6083c2355042d66278e73c Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
2020-06-22Update to spring boot 2Igor Dysko4-13/+12
Update of code and dependencies, no changes in functionality Issue-ID: AAI-2526 Signed-off-by: Igor Dysko <igor1.dysko@orange.com> Change-Id: I62c1a5b5e8439f1a076b0507b3834a53bc084637
2020-04-15update resources processing for v19LaMont, William(wl2432)1-8/+9
Issue-ID: AAI-2865 Change-Id: I2431b1414fe44e0df2874e516f551ac4c596c575 Signed-off-by: LaMont, William(wl2432) <wl2432@att.com>
2020-03-03Run as aaiadmin instead of rootJimmy Forsyth2-25/+23
Issue-ID: AAI-2822 Change-Id: I85fd62b6cdaf40addcad06614e85f1ba856ecd4f Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2020-03-03Update resources to use aai-common changesKajur, Harish (vk250x)45-1054/+1979
Issue-ID: AAI-2750 Change-Id: I33ea2b3d7b4b706edc59c3d45c9957d05effd306 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-09-23Update the code to read aaf generated passwordsKajur, Harish (vk250x)2-13/+88
Issue-ID: AAI-2476 Change-Id: I196f3da1f3f82c5d4b4707b97ffd4a4e36868088 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-09-18Remove the cadi jar file from resourcesKajur, Harish (vk250x)1-0/+0
Issue-ID: AAI-2622 Change-Id: I083f0a91e761cb8ab41e7197e029b5829f57aa52 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-08-29Fixed project version parsingDmitry Puzikov2-33/+25
Change-Id: Ie32719f771e86f7dac5aa2ce3124f7c507183bdc Issue-ID: INT-761 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>