Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

REST Configuration

Randgalt edited this page Apr 6, 2012 · 8 revisions

APIs concerning the Exhibitor Shared Configuration. See REST Entities for descriptions of any arguments/results.

getSystemState

Method GET
URL exhibitor/v1/config/get-state
Argument n/a
Response State

Returns a complete system state. Can be polled periodically.

setConfig

Method POST
URL exhibitor/v1/config/set
Argument Config
Response Result

Change the config. IMPORTANT: this can cause instance restarts.

setConfigRolling

Method POST
URL exhibitor/v1/config/set-rolling
Argument Config
Response Result

Sets the given config as a rolling config and causes rolling configuration to begin.

forceCommitRolling

Method GET
URL exhibitor/v1/config/force-commit-rolling
Argument n/a
Response Result

Cancels the rolling config and sets the master config to the rolling config values.

rollbackRolling

Method GET
URL exhibitor/v1/config/rollback-rolling
Argument n/a
Response Result

Cancels the rolling config and leaves the master config as is.