From 05642db428f2cf77890be0742070f6b6f5defcfc Mon Sep 17 00:00:00 2001
From: Jan Zickermann <jan.zickermann@dataport.de>
Date: Mon, 27 Jan 2025 14:22:40 +0100
Subject: [PATCH] OZG-4095 config: Disable osi2.enable by default for `stage`

---
 src/main/resources/application-stage.yml  | 2 +-
 src/test/resources/application-itcase.yml | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/main/resources/application-stage.yml b/src/main/resources/application-stage.yml
index f7c2e25..6892480 100644
--- a/src/main/resources/application-stage.yml
+++ b/src/main/resources/application-stage.yml
@@ -14,7 +14,7 @@ spring:
             token-uri: 'https://idp.serviceportal-stage.schleswig-holstein.de/webidp2/connect/token'
 ozgcloud:
   osiv2-postfach:
-    enabled: true
+    enabled: false
     api:
       resource: 'urn:dataport:osi:postfach:rz2:stage:sh'
       url: 'https://api-gateway-stage.dataport.de:443/api/osi_postfach/1.0.0'
diff --git a/src/test/resources/application-itcase.yml b/src/test/resources/application-itcase.yml
index dcbea65..d8cacf7 100644
--- a/src/test/resources/application-itcase.yml
+++ b/src/test/resources/application-itcase.yml
@@ -1,3 +1,6 @@
+ozgcloud:
+  osiv2-postfach:
+    enabled: true
 logging:
   level:
     de.ozgcloud.nachrichten.postfach.osiv2: DEBUG
-- 
GitLab