Skip to Content

Settings

Overview

The Settings operator provides a way to update properties of graph nodes without requiring a restart.

Examples

Overide self settings

name: settings nodes: - id: start operator: HTTPIn method: ^(GET)$ routes: - /settings - id: translate operator: MessageTranslator mode: json template: | { "settings": { "stub": { "name": "Bar" } } } - id: settings operator: Settings - id: stub operator: Stub data: name: Foo edges: - { from: start, to: translate } - { from: translate, to: settings } - { from: settings, to: stub }

Request

curl -v http://localhost:2243/settings Next call will reflect the new settings: curl -v http://localhost:2243/settings

Response

{"name":"Bar"}

Configuration Reference

name

Must be 'Settings'

Stringrequired