Skip to content

Command Line Parameters

assimbly edited this page Feb 25, 2021 · 8 revisions

Command Line Parameters

Assimbly Gateway can be started with several command line parameters:

java -jar gataway.jar --parameter1=value1 --parameter2=value2

Port

  • Parameter: server.port
  • Example: --server.port=8083
  • Explanation: Change the port to host Assimbly

Gateway name

  • Parameter: application.gateway.name
  • Example: --application.gateway.name=Gateway1
  • Explanation: Set the name of the Gateway instance

Base Directory

  • Parameter: application.gateway.base-directory
  • Example: --application.gateway.base-directory=/path/todir
  • Explanation: Directory where resources stored (logs, certificates, database)

Tracing

  • Parameter: application.gateway.tracing
  • Example: --application.gateway.tracing=true
  • Explanation: Tracing logs message details of all flows

Debugging

  • Parameter: application.gateway.debugging
  • Example: --application.gateway.debugging=true
  • Explanation: Turns on debug logging

Clean

  • Parameter: clean
  • Example: --clean=true
  • Explanation: Deletes the base-directory of .assimbly (removes all logs, alerts and data)

Backup

  • Parameter: backup
  • Example: --backup=/pathto/directory
  • Explanation: Backups the base-directory to a specified directory

Restore

  • Parameter: restore
  • Example: --restore=/pathto/directory
  • Explanation: Restores a previous made backup to the base-directory (overwrites existing base-directory)

Spring boot configuration

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

More info:

Spring Boot Externalized Configuration

Clone this wiki locally