You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,3 +55,31 @@ See [HyperFlow Kubernetes deployment](https://github.com/hyperflow-wms/hyperflow
55
55
* Start the RabbitMQ container: `docker run -d --name rabbitmq rabbitmq:3`
56
56
* Add option `-e AMQP_URL=amqp://rabbitmq`
57
57
* More information in the [hyperflow-amqp-executor](https://github.com/hyperflow-wms/hyperflow-amqp-executor) project (warning: currently not maintained and not tested with latest HyperFlow versions)
58
+
59
+
### Local configuration files
60
+
You can provide workflow configuration through local configuration files:
61
+
*`workflow.config.json` -- main configuration file
62
+
*`workflow.config.{name}.json` -- any number of secondary configuration files
63
+
64
+
The content from all configuration files will be merged and passed to workflow functions via `context.appConfig`. For example for files:
65
+
```
66
+
workflow.config.json:
67
+
{
68
+
"main": "mainValue"
69
+
}
70
+
71
+
workflow.config.foo.json:
72
+
{
73
+
"secondary": "secondaryValue"
74
+
}
75
+
```
76
+
The following will be passed in `context.appConfig`:
0 commit comments