From a18c9bc0d3f4bb99f4e86a15323b2aa3e6fece37 Mon Sep 17 00:00:00 2001 From: petretiandrea Date: Thu, 21 Nov 2024 11:00:12 +0100 Subject: [PATCH] change default version --- openapi/activation.openapi.yaml | 2 +- .../it/gov/pagopa/rtp/activator/RtpActivatorApplication.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/openapi/activation.openapi.yaml b/openapi/activation.openapi.yaml index da37f83..403e49e 100644 --- a/openapi/activation.openapi.yaml +++ b/openapi/activation.openapi.yaml @@ -445,7 +445,7 @@ components: pattern: "^[ -~]{1,64}$" minLength: 1 maxLength: 64 - example: "1.0.0-alpha-a.b-c-somethinglong+build.1-aef.1-its-okay" + example: "v1" # -------------------------------------------------------------------------- # Domain specific basic types. diff --git a/src/main/java/it/gov/pagopa/rtp/activator/RtpActivatorApplication.java b/src/main/java/it/gov/pagopa/rtp/activator/RtpActivatorApplication.java index d258f9d..46fd9e2 100644 --- a/src/main/java/it/gov/pagopa/rtp/activator/RtpActivatorApplication.java +++ b/src/main/java/it/gov/pagopa/rtp/activator/RtpActivatorApplication.java @@ -2,11 +2,13 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import reactor.core.publisher.Hooks; @SpringBootApplication public class RtpActivatorApplication { public static void main(String[] args) { + Hooks.enableAutomaticContextPropagation(); SpringApplication.run(RtpActivatorApplication.class, args); }