summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-10-18 15:28:34 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-10-18 15:28:34 +0200
commit53208e359d28bebe8dc5116d295b19dba7010d68 (patch)
treea5941651c4e9a7dfc38dbcd387a156934a3270ec
parent7a3084fa7d00fc77bc286ca0a487b14d31f919e8 (diff)
Update spring-boot to 2.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>
-rw-r--r--aai-resources/pom.xml4
-rw-r--r--aai-resources/src/main/resources/application.properties2
2 files changed, 3 insertions, 3 deletions
diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml
index dcc125c..51c7e55 100644
--- a/aai-resources/pom.xml
+++ b/aai-resources/pom.xml
@@ -32,8 +32,8 @@
</parent>
<properties>
<java.version>1.8</java.version>
- <spring.boot.version>2.2.13.RELEASE</spring.boot.version>
- <spring.version>5.2.12.RELEASE</spring.version>
+ <spring.boot.version>2.3.12.RELEASE</spring.boot.version>
+ <spring.version>5.2.15.RELEASE</spring.version>
<spring.jms.version>${spring.version}</spring.jms.version>
<spring.test.version>${spring.version}</spring.test.version>
<start-class>org.onap.aai.ResourcesApp</start-class>
diff --git a/aai-resources/src/main/resources/application.properties b/aai-resources/src/main/resources/application.properties
index af2e16e..3905dd8 100644
--- a/aai-resources/src/main/resources/application.properties
+++ b/aai-resources/src/main/resources/application.properties
@@ -100,7 +100,7 @@ management.endpoints.enabled-by-default=true
management.endpoints.web.exposure.include=info, health, prometheus
management.metrics.web.server.request.autotime.enabled=false
management.metrics.distribution.percentiles-histogram[http.server.requests]=true
-management.metrics.distribution.sla[http.server.requests]=20ms, 30ms, 40ms, 50ms, 60ms, 70ms, 80ms, 90ms, 100ms, 500ms, 1000ms, 5000ms, 7000ms
+management.metrics.distribution.slo.http.server.requests=20ms, 30ms, 40ms, 50ms, 60ms, 70ms, 80ms, 90ms, 100ms, 500ms, 1000ms, 5000ms, 7000ms
management.metrics.tags.group_id=aai
# management.metrics.tags.app_id=${info.build.artifact}
# management.metrics.tags.aai_uri=${schema.uri.base.path}