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

31 lines
1.1 KiB
Plaintext
Raw Normal View History

[
{
"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'
}",
"Partition": "${
typeof location.search.partition !== 'undefined' ? location.search.partition :
typeof http.body.Partition !== 'undefined' ? http.body.Partition : '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
}
]