WorkOrders
Introduction
Section titled “Introduction”Work orders database
Configuration
Section titled “Configuration”Main configuration
Section titled “Main configuration”The main part of the configuration.
| Name | Description | Default | Mandatory |
|---|---|---|---|
| namespace | Modules within the same namespace belong together. | ||
| db_driver | Database driver, fully qualified class name | ||
| jdbc.url | JDBC url | ||
| jdbc.username | JDBC username | ||
| jdbc.password | JDBC password | ||
| encryption_key | |||
| file_source_dir | Fetch order specification files here | ||
| file_storage_dir | Store order specification files here | ||
| copy_files | If true, leave a copy in file_source_dir | true | |
| order_executions[] | Batch execution of orders | * | |
| order_executions[].order_types[] | Order types for batch execution | ||
| order_executions[].accept_pipe | Execute pipe for accepted orders | ||
| order_executions[].reject_pipe | Execute pipe for rejected orders | ||
| order_executions[].interval_millis | Batch job interval millis | ||
| order_executions[].batch_size | Batch job size |
{ "name": "WorkOrders", "config": { "namespace": "default", "db_driver": "com.microsoft.sqlserver.jdbc.SQLServerDriver", "jdbc": { "url": "jdbc:sqlserver://<host>:<port>;database=<database>;encrypt=false", "username": "<user>", "password": "<password>" }, "encryption_key": "<encryption key>", "file_source_dir": "/path/to/temp/dir", "file_storage_dir": "/path/to/storage/dir", "copy_files": true, "order_executions": [ { "order_types": ["CreateAccount"], "accept_pipe": "create_account_accept", "reject_pipe": "create_account_reject", "interval_millis": 30000, "batch_size": 500 } ] }}*) If order_executions is left empty, the system configures a single batch execution of all order types, with interval 1300 ms and batch size 100