Admin UI for seeing and modifying the server's com.twitter.finagle.toggle.Toggles.
This handler should be available at "/admin/toggles".
GET requests shows the current state of all StandardToggleMaps.
Requests should be of the form "/admin/toggles{/$libraryName}{/$id}".
Note that the library name and toggle id components are optional
but do allow for filtering the output on those constraints.
The output is JSON and it looks roughly like:
There will be a hash for each library registered with
com.twitter.finagle.toggle.StandardToggleMap. For each Toggle
the "current" hash shows the current configuration while the
"components" array has a hash per ToggleMap source. These
are ordered by evaluation order and as such, sources earlier in a
component array are used first.
PUT requests allow for update/create of the mutable Toggles
while DELETE requests allow for removal. These apply only to the
ToggleMap.Mutable within a StandardToggleMap.
Requests must be of the form "/admin/toggles/$libraryName/$id".
For create and update, and an additional "fraction" request parameter
must be set as well.
Linear Supertypes
Service[Request, Response], Closable, (Request) ⇒ Future[Response], AnyRef, Any
Admin UI for seeing and modifying the server's
com.twitter.finagle.toggle.Toggles
.This handler should be available at "/admin/toggles".
GET requests shows the current state of all StandardToggleMaps. Requests should be of the form "/admin/toggles{/$libraryName}{/$id}". Note that the library name and toggle id components are optional but do allow for filtering the output on those constraints. The output is JSON and it looks roughly like:
There will be a hash for each library registered with
com.twitter.finagle.toggle.StandardToggleMap
. For eachToggle
the "current" hash shows the current configuration while the "components" array has a hash perToggleMap
source. These are ordered by evaluation order and as such, sources earlier in a component array are used first.PUT requests allow for update/create of the mutable Toggles while DELETE requests allow for removal. These apply only to the ToggleMap.Mutable within a StandardToggleMap. Requests must be of the form "/admin/toggles/$libraryName/$id". For create and update, and an additional "fraction" request parameter must be set as well.