Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Updated description for more clarity where to add the flat properties into a value file.
  • Loading branch information
MarcFriedhoff authored Feb 24, 2024
1 parent deec72b commit 76bfe1d
Showing 1 changed file with 57 additions and 54 deletions.
111 changes: 57 additions & 54 deletions microservicesruntime/examples/msr-defaults/README.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,62 @@
# Recommended default MSR Settings

Running MSR as container, you should go throw the following `application.properties` settings and copy/past these to your configuration (values.yaml).
Running MSR as container, you should go throw the following `application.properties` settings and copy/past these to your configuration (values.yaml) under propertiesFile.content.

```
# Set Administrator password ...
user.Administrator.password=
# Set Pod host/container name (following sample retrieves the hostname from Helm Chart) ...
settings.watt.net.localhost="{{ include \"common.names.fullname\" . }}"
settings.watt.server.scheduler.logical.hostname="{{ include \"common.names.fullname\" . }}"
# Avoid creating backup files for config changes ...
settings.watt.server.saveConfigFiles=false
# Avoid archiving audit log files ...
settings.watt.server.audit.logFilesToKeep=1
# Avoid archiving server log files ...
settings.watt.server.serverlogFilesToKeep=1
# Avoid archiving statistic files ...
settings.watt.server.stats.logFilesToKeep=1
# Value for 1 to 9 to set debug level of server log ...
# settings.watt.debug.level=
# Avoid saving/restore pipeline settings in service ...
settings.watt.server.pipeline.processor=false
# Set the maximum number of permitted service threads in the global pool ...
settings.watt.server.threadPool=750
# Set the default response type if Accept header missing in outbound http calls ...
settings.watt.net.default.accept=json
# Set the default response behavior on error ...
settings.watt.server.http.returnException=messageOnly
# Set the default request/response content-type ...
settings.watt.net.default.content-type=json
# Avoid IS internal statistic data collector ...
statisticsdatacollector.monitorConfig.enabled=false
# If you have stateless MSR and default UM wM messaging connection IS_UM_CONNECTION, disable CSQ (to reduce risk of data loss) and RequestReply queues ...
messaging.IS_UM_CONNECTION.CLIENTPREFIX=
messaging.IS_UM_CONNECTION.default=true
messaging.IS_UM_CONNECTION.enableRequestReply=false
messaging.IS_UM_CONNECTION.enabled=true
messaging.IS_UM_CONNECTION.type=UM
messaging.IS_UM_CONNECTION.url=
messaging.IS_UM_CONNECTION.useCSQ=false
# If you have stateless MSR and default UM JMS connection DEFAULT_IS_JMS_CONNECTION, disable CSQ (to reduce risk of data loss) ...
jms.DEFAULT_IS_JMS_CONNECTION.clientID=
jms.DEFAULT_IS_JMS_CONNECTION.csqSize=0
jms.DEFAULT_IS_JMS_CONNECTION.enabled=true
propertiesFile:
content: |
# Set Administrator password ...
user.Administrator.password=
# Set Pod host/container name (following sample retrieves the hostname from Helm Chart) ...
settings.watt.net.localhost={{ include "common.names.fullname" . }}
settings.watt.server.scheduler.logical.hostname={{ include "common.names.fullname" . }}
# Avoid creating backup files for config changes ...
settings.watt.server.saveConfigFiles=false
# Avoid archiving audit log files ...
settings.watt.server.audit.logFilesToKeep=1
# Avoid archiving server log files ...
settings.watt.server.serverlogFilesToKeep=1
# Avoid archiving statistic files ...
settings.watt.server.stats.logFilesToKeep=1
# Value for 1 to 9 to set debug level of server log ...
# settings.watt.debug.level=
# Avoid saving/restore pipeline settings in service ...
settings.watt.server.pipeline.processor=false
# Set the maximum number of permitted service threads in the global pool ...
settings.watt.server.threadPool=750
# Set the default response type if Accept header missing in outbound http calls ...
settings.watt.net.default.accept=json
# Set the default response behavior on error ...
settings.watt.server.http.returnException=messageOnly
# Set the default request/response content-type ...
settings.watt.net.default.content-type=json
# Avoid IS internal statistic data collector ...
statisticsdatacollector.monitorConfig.enabled=false
# If you have stateless MSR and default UM wM messaging connection IS_UM_CONNECTION, disable CSQ (to reduce risk of data loss) and RequestReply queues ...
messaging.IS_UM_CONNECTION.CLIENTPREFIX=
messaging.IS_UM_CONNECTION.default=true
messaging.IS_UM_CONNECTION.enableRequestReply=false
messaging.IS_UM_CONNECTION.enabled=true
messaging.IS_UM_CONNECTION.type=UM
messaging.IS_UM_CONNECTION.url=
messaging.IS_UM_CONNECTION.useCSQ=false
# If you have stateless MSR and default UM JMS connection DEFAULT_IS_JMS_CONNECTION, disable CSQ (to reduce risk of data loss) ...
jms.DEFAULT_IS_JMS_CONNECTION.clientID=
jms.DEFAULT_IS_JMS_CONNECTION.csqSize=0
jms.DEFAULT_IS_JMS_CONNECTION.enabled=true
```

0 comments on commit 76bfe1d

Please sign in to comment.