From 74fecb89eee3d57229f1b05275a5de65056a9694 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Mon, 9 Oct 2023 14:35:37 +0200
Subject: [PATCH] OZG-4428 fix local configuration

---
 .../src/main/resources/application-local.yml  | 18 ++++++++
 .../src/main/resources/application.yml        | 44 +++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 enterprise-adapter/src/main/resources/application-local.yml
 create mode 100644 enterprise-adapter/src/main/resources/application.yml

diff --git a/enterprise-adapter/src/main/resources/application-local.yml b/enterprise-adapter/src/main/resources/application-local.yml
new file mode 100644
index 000000000..59827f122
--- /dev/null
+++ b/enterprise-adapter/src/main/resources/application-local.yml
@@ -0,0 +1,18 @@
+logging:
+  config: classpath:log4j2-local.xml
+
+server:
+  port: 9294
+  error:
+    include-stacktrace: always
+
+kop:
+  adapter:
+    targetPlutoName: local
+    fallbackStrategy: DENY
+    
+grpc:
+  client:
+    pluto-local:
+      address: static://127.0.0.1:9090
+      negotiationType: PLAINTEXT
\ No newline at end of file
diff --git a/enterprise-adapter/src/main/resources/application.yml b/enterprise-adapter/src/main/resources/application.yml
new file mode 100644
index 000000000..6ebdfd473
--- /dev/null
+++ b/enterprise-adapter/src/main/resources/application.yml
@@ -0,0 +1,44 @@
+logging:
+  level:
+    ROOT: WARN
+    '[de.itvsh]': INFO
+    
+spring:
+  servlet:
+    multipart:
+      max-file-size: 124MB
+      max-request-size: 256MB
+      file-size-threshold: 10MB 
+    
+server:
+  http2:
+    enabled: true
+  error:
+    include-stacktrace: never
+    
+management:
+  server:
+    port: 8081
+  health:
+    livenessState:
+      enabled: true
+    readinessState:
+      enabled: true
+  endpoint:
+    health:
+      group:
+        exploratory:
+          include: livenessState,readinessState,ping
+          show-details: always
+      probes:
+        enabled: true
+    prometheus:
+      enabled: true
+  endpoints:
+    web:
+      exposure:
+        include: health,prometheus
+        
+kop:
+  adapter:
+    routingStrategy: SINGLE
\ No newline at end of file
-- 
GitLab