-
-
Notifications
You must be signed in to change notification settings - Fork 9
Command Line Parameters
assimbly edited this page May 24, 2022
·
8 revisions
Assimbly Gateway can be started with several command line parameters:
java -jar gataway.jar --parameter1=value1 --parameter2=value2
- Parameter: server.port
- Example: --server.port=8083
- Explanation: Change the port to host Assimbly
- Parameter: application.gateway.name
- Example: --application.gateway.name=Gateway1
- Explanation: Set the name of the Gateway instance
- Parameter: application.gateway.base-directory
- Example: --application.gateway.base-directory=/path/todir
- Explanation: Directory where resources stored (logs, certificates, database)
- Parameter: application.gateway.tracing
- Example: --application.gateway.tracing=true
- Explanation: Tracing logs message details of all flows
- Parameter: application.gateway.debugging
- Example: --application.gateway.debugging=true
- Explanation: Turns on debug logging
- Parameter: clean
- Example: --clean=true
- Explanation: Deletes the base-directory of .assimbly (removes all logs, alerts and data)
- Parameter: backup
- Example: --backup=/pathto/directory
- Explanation: Backups the base-directory to a specified directory
- Parameter: restore
- Example: --restore=/pathto/directory
- Explanation: Restores a previous made backup to the base-directory (overwrites existing base-directory)
- Parameter: application.gateway.deploy-directory.deploy-on-start
- Example: --application.gateway.deploy-directory.deploy-on-start=false
- Explanation: When parameter is set to false, Assimbly ignores the files in the deploy directory.
- Parameter: deploy-on-change
- Example: --application.gateway.deploy-directory.deploy-on-change=false
- Explanation: When parameter is set to false, Assimbly ignores the files changed (create/update/delete) in the deploy directory.
- Parameter: cleandb
- Example: --cleandb=true
- Explanation: Deletes the database .assimbly (removes all data)
- Parameter: spring.datasource.url
- Example: --spring.datasource.url=jdbc:mysql://localhost:3306/gateway
- Explanation: JDBC url of an external database (MySQL, PostrgreSQL etc)
- Parameter: spring.datasource.username
- Example: --spring.datasource.username=myUsername
- Explanation: Username of an external database
- Parameter: spring.datasource.password
- Example: --spring.datasource.password=myPassword
- Explanation: Password of an external database
Assimbly is a Spring Boot application. This means that it possible to set command line parameters from the Spring Boot configuration. You can find the configuration files here