Node
Deploy and manage application modules with the Node module.
The Node module deploys and undeploys a group of modules to form an application. It is the bootstrap module and is not itself deployed from the modules array.
Configuration
Section titled “Configuration”The module reads modules and optional deployment settings from its configuration. The deployment order defaults to first, system, authn, default, last.
| Name | Description | Default | Mandatory |
|---|---|---|---|
modules | Modules to deploy. Each module defines its own name, enabled state, group and configuration. | [] | |
groups | Legacy/top-level deployment group order. The server.deployment.groups setting takes precedence when present. | ["first", "system", "authn", "default", "last"] | |
server.deployment.groups | Deployment group order. | Value of groups, otherwise ["first", "system", "authn", "default", "last"] | |
server.deployment.group_affiliations | Map of module names to their default deployment groups. Configured entries override built-in affiliations. | Built-in platform affiliations | |
heartbeat | Optional HTTP heartbeat configuration. The heartbeat module starts after configured modules have started. | {"enabled": false} |
{ "server.deployment.groups": ["first", "system", "default", "last"], "server.deployment.group_affiliations": { "HttpClient": "system", "MyModule": "default" }, "modules": [ { "name": "HttpClient", "enabled": true, "instances": 2, "worker": false, "config": {} }, { "name": "MyModule", "enabled": true, "group": "default", "instances": 1, "worker": true, "config": {} } ], "heartbeat": { "enabled": false }}Module
Section titled “Module”Each entry in modules supports the following properties:
| Name | Description | Default | Mandatory |
|---|---|---|---|
name | Module class name or alias. | ||
enabled | Whether the module is deployed. | true | |
group | Deployment group. When omitted, the configured or built-in module affiliation is used, then default. | "default" or module affiliation | |
instances | Number of instances to deploy. | 1 | |
worker | Whether to deploy the module using worker execution. | false | |
config | JSON object passed to the module. | {} |
Heartbeat
Section titled “Heartbeat”The optional heartbeat object enables the HTTP heartbeat after all configured modules have started. See Heartbeat for the responder settings and defaults.