Skip to content

Commit 7d1c2d4

Browse files
authored
Update CloudNativeDeployment.md
Adding more micro-service configuration properties.
1 parent ced20f5 commit 7d1c2d4

1 file changed

Lines changed: 62 additions & 0 deletions

File tree

CloudNativeDeployment.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ Finally, launch each micro-service. The order doesn't really matter other than
168168
debug the output interactively, you can run `./service.sh console` on Unix based machines to see the logs in your terminal (vs only seeing them in the log file). To stop the service, simply run
169169
`./service.sh stop` or press `CTRL+C` if running interactively.
170170

171+
Once the services are up and running, you can perform a preliminary test that system is working by accessing the Config UI at http://<server IP>:8080/
172+
171173
## Modify Service Default Configuration
172174

173175
Each service is coded with a default set of configuration values, however you may want/need to override these setting to suite your deployment needs. For example, the configuration service and James uses a local file based database with
@@ -198,7 +200,67 @@ list some of the common application settings that you may want to customized dep
198200

199201
### Message Monitor
200202

203+
| Name | Description | Default Value |
201204
| :--- | :--- | :--- |
202205
| spring.data.* | Database connection configuration. See Spring [data properties](https://docs.spring.io/spring-boot/appendix/application-properties/index.html#appendix.application-properties.data) settings for full details. | url: `jdbc:derby:msgmonitor;create=true`<br> username: `nhind`<br>password: `nhind` |
203206
| spring.rabbitmq.* | RabbitMQ connection properties. See Spring [integration properties](https://docs.spring.io/spring-boot/appendix/application-properties/index.html#appendix.application-properties.integration) settings for full details. | host: `localhost`<br>port: `5672`<br>username: `guest`<br>password: `guest` |
207+
| direct.msgmonitor.condition.generalConditionTimeout | Time in miliseconds the system will wait for MDN or DSN notification messages before generating an error message | `3600000` |
208+
| direct.msgmonitor.condition.reliableConditionTimeout | Time in miliseconds the system will wait for MDN or DNS notification messages before generating an error message when the original sender invokes the "implementation guide for delivery notification" | `3600000` |
209+
| direct.msgmonitor.dupStateDao.retensionTime | Time in days the tracking information will be store in the system before being purged | `7` |
210+
211+
### SMTP/MQ Gateway
212+
| Name | Description | Default Value |
213+
| :--- | :--- | :--- |
214+
| spring.rabbitmq.* | RabbitMQ connection properties. See Spring [integration properties](https://docs.spring.io/spring-boot/appendix/application-properties/index.html#appendix.application-properties.integration) settings for full details. | host: `localhost`<br>port: `5672`<br>username: `guest`<br>password: `guest` |
215+
| direct.smtpmqgateway.binding.port | The port that the server will listen on for incoming SMTP traffic. If you intend to make this server your primary SMTP interface to the internet, you should change this value to `25` | `1025` |
216+
| direct.smtpmqgateway.binding.host | The local IP address that this server will bind to. By default, it will bind to all addresses. | `0.0.0.0` |
217+
| direct.smtpmqgateway.binding.maxHeaderSize | The maximum size in byte that the Mime header may be in incoming messages. | `262144` |
218+
| direct.smtpmqgateway.binding.maxMessageSize | The maximum size in byte allowed for incoming messages | `39845888` |
219+
220+
### Security and Trust Agent
221+
| Name | Description | Default Value |
222+
| :--- | :--- | :--- |
223+
| spring.rabbitmq.* | RabbitMQ connection properties. See Spring [integration properties](https://docs.spring.io/spring-boot/appendix/application-properties/index.html#appendix.application-properties.integration) settings for full details. | host: `localhost`<br>port: `5672`<br>username: `guest`<br>password: `guest` |
224+
| direct.webservice.security.basic.user.name | Basic auth user name to access to the configuration service API. | `admin` |
225+
| direct.webservice.security.basic.user.password | Basic auth password to access to the configuration service API. |`d1r3ct;` |
226+
| direct.config.service.url | URL of the configuration service API | `http://localhost:8082/' |
204227

228+
### Apache James
229+
| Name | Description | Default Value |
230+
| :--- | :--- | :--- |
231+
| spring.data.* | Database connection configuration. See Spring [data properties](https://docs.spring.io/spring-boot/appendix/application-properties/index.html#appendix.application-properties.data) settings for full details. | url: `jdbc:derby:./var/store/derby;create=true`<br> username: `app`<br>password: `app`<br>driver-class-name: `org.apache.derby.jdbc.EmbeddedDriver`<br>adapter: `DERBY`<br>streaming: `false` |
232+
| spring.rabbitmq.* | RabbitMQ connection properties. See Spring [integration properties](https://docs.spring.io/spring-boot/appendix/application-properties/index.html#appendix.application-properties.integration) settings for full details. | host: `localhost`<br>port: `5672`<br>username: `guest`<br>password: `guest` |
233+
| direct.webservice.security.basic.user.name | Basic auth user name to access to the configuration service API. | `admin` |
234+
| direct.webservice.security.basic.user.password | Basic auth password to access to the configuration service API. |`d1r3ct;` |
235+
| direct.config.service.url | URL of the configuration service API | `http://localhost:8082/' |
236+
| james.server.webadmin.enabled | Enables the james web admin API. | `true` |
237+
| james.server.webadmin.username | Basic auth user name to access to the james web admin API. | `admin` |
238+
| james.server.webadmin.password | Basic auth password to access to the james web admin API. | `d1r3ct` |
239+
| james.server.webadmin.port | The HTTP port to access to the james web admin API. | `8084` |
240+
| james.server.imap.bind | The local IP address that this server will bind to for the IMAP protocol. By default, it will bind to all addresses. | `0.0.0.0` |
241+
| james.server.imap.port | The HTTP port that IMAP protocol will listen on for incoming connections. | `1143` |
242+
| james.server.imap.sockettls | Indicates if the intial IMAP connection is done over TLS | `false` |
243+
| james.server.imap.starttls | Indicates if the IMAP protocoal support the upgrade option to TLS | `true` |
244+
| james.server.imap.imapKeyStore | The key store file used for IMAP TLS connection | `/properties/keystore` |
245+
| james.server.imap.imapKeyStorePassword | The password for the IMAP key store file | `1kingpuff` |
246+
| james.server.pop3.bind | The local IP address that this server will bind to for the POP3 protocol. By default, it will bind to all addresses. | `0.0.0.0` |
247+
| james.server.pop3.port | The HTTP port that POP3 protocol will listen on for incoming connections. | `1110` |
248+
| james.server.pop3.sockettls | Indicates if the intial POP3 connection is done over TLS | `false` |
249+
| james.server.pop3.starttls | Indicates if the POP3 protocoal support the upgrade option to TLS | `true` |
250+
| james.server.pop3.imapKeyStore | The key store file used for POP3 TLS connection | `/properties/keystore` |
251+
| james.server.pop3.imapKeyStorePassword | The password for the POP3 key store file | `1kingpuff` |
252+
| james.server.smtp.bind | The local IP address that this server will bind to for the SMTP protocol. By default, it will bind to all addresses. | `0.0.0.0` |
253+
| james.server.smtp.port | The HTTP port that SMTP protocol will listen on for incoming connections. | `1587` |
254+
| james.server.smtp.sockettls | Indicates if the intial SMTP connection is done over TLS | `false` |
255+
| james.server.smtp.starttls | Indicates if the SMTP protocoal support the upgrade option to TLS | `true` |
256+
| james.server.smtp.imapKeyStore | The key store file used for SMTP TLS connection | `/properties/keystore` |
257+
| james.server.smtp.imapKeyStorePassword | The password for the SMTP key store file | `1kingpuff` |
258+
259+
### XD
260+
| Name | Description | Default Value |
261+
| :--- | :--- | :--- |
262+
| spring.rabbitmq.* | RabbitMQ connection properties. See Spring [integration properties](https://docs.spring.io/spring-boot/appendix/application-properties/index.html#appendix.application-properties.integration) settings for full details. | host: `localhost`<br>port: `5672`<br>username: `guest`<br>password: `guest` |
263+
| server.servlet.context-path | The application context path for HTTP requests | `/xd` |
264+
| direct.webservice.security.basic.user.name | Basic auth user name to access to the configuration service API. You will need to set the value | `` |
265+
| direct.webservice.security.basic.user.password | Basic auth password to access to the configuration service API. You will need to set the value | `` |
266+
| direct.config.service.url | URL of the configuration service API. You will need to change this value to `http://localhost:8082/`| `http://localhost:8080/config-service' |

0 commit comments

Comments
 (0)