consul/ui/packages/consul-ui/mock-api/v1/session/info/_

27 lines
889 B
Plaintext

[
{
"ID":"${location.pathname.get(3)}",
"Name":"${fake.hacker.noun()}",
"Namespace": "${
typeof location.search.ns !== 'undefined' ? location.search.ns :
typeof http.body.Namespace !== 'undefined' ? http.body.Namespace : 'default'
}",
"Node":"node-1",
"NodeChecks":["serfHealth"],
"ServiceChecks": [
{
"ID": "${fake.hacker.noun()}Health",
"Namespace": "${
typeof location.search.ns !== 'undefined' ? location.search.ns :
typeof http.body.Namespace !== 'undefined' ? http.body.Namespace : 'default'
}"
}
],
"LockDelay":15000000000,
"Behavior":"${fake.helpers.randomize(['release', 'delete'])}",
"TTL":"",
"CreateIndex":2782,
"ModifyIndex":2782
}
]