Merge branch 'DEVELOP_BE' of ssh://172.18.22.160:29418/Dropwizard/Microservices/mics-central-service into DEVELOP_BE
diff --git a/my_wrapper_script.sh b/my_wrapper_script.sh
index dc9b05c..b332df0 100644
--- a/my_wrapper_script.sh
+++ b/my_wrapper_script.sh
@@ -1,4 +1,4 @@
#!/bin/bash
cd microservices/mics-central-service/
-java -jar target/mics-central-service.jar server serviceConfigDevLocal.yml
\ No newline at end of file
+java -jar target/mics-central-service.jar server serviceConfigDocker.yml
\ No newline at end of file
diff --git a/serviceConfigDocker.yml b/serviceConfigDocker.yml
new file mode 100644
index 0000000..f1f2052
--- /dev/null
+++ b/serviceConfigDocker.yml
@@ -0,0 +1,25 @@
+servicesDistributionFileName: servicesDistributionDocker.json
+
+
+logging:
+ level: INFO
+ appenders:
+ - type: file
+ currentLogFilename: /log/mics-central-service.log
+ threshold: ALL
+ archive: true
+ archivedLogFilenamePattern: /log/mics-central-service-%d.log
+ archivedFileCount: 5
+ timeZone: UTC
+ loggers:
+ pta: DEBUG
+ org.eclipse.jetty.servlets: DEBUG
+
+server:
+ applicationConnectors:
+ - type: http
+ port: 9010
+ adminConnectors:
+ - type: http
+ port: 9011
+
diff --git a/servicesDistributionDocker.json b/servicesDistributionDocker.json
new file mode 100644
index 0000000..b67cef1
--- /dev/null
+++ b/servicesDistributionDocker.json
@@ -0,0 +1,56 @@
+[
+ {
+ "active": "true",
+ "clustername": "elogbook.openK",
+ "description": "elogbook service cluster for openKonsequenz",
+ "distributions": [
+ {
+ "active": "true",
+ "name": "planned-grid-measures.openK",
+ "protocol": "http",
+ "host": "localhost",
+ "urlPath": "/mics/gridmeasures",
+ "portApp": "9050",
+ "portHealth": "9051",
+ "description": "Planned Grid Measures Backend"
+ },
+ {
+ "active": "true",
+ "name": "mics-central-service",
+ "protocol": "http",
+ "host": "localhost",
+ "urlPath": "/mics/central",
+ "portApp": "9010",
+ "portHealth": "9011",
+ "description": "Mics Central Service-Configures and dispatches different service clusters for different modules"
+ }
+ ]
+ },
+ {
+ "active": "true",
+ "clustername": "openK",
+ "description": "service cluster for openKonsequenz",
+ "distributions": [
+ {
+ "active": "true",
+ "name": "planned-grid-measures.openK",
+ "protocol": "http",
+ "host": "172.25.0.88",
+ "urlPath": "/mics/gridmeasures",
+ "portApp": "9050",
+ "portHealth": "9051",
+ "description": "Planned Grid Measures Backend"
+ },
+ {
+ "active": "true",
+ "name": "mics-central-service",
+ "protocol": "http",
+ "host": "localhost",
+ "urlPath": "/mics/central",
+ "portApp": "9010",
+ "portHealth": "9011",
+ "description": "Mics Central Service-Configures and dispatches different service clusters for different modules"
+ }
+ ]
+ }
+]
\ No newline at end of file