2020-11-05 16:03:49 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"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",
|
2021-05-19 10:05:54 +00:00
|
|
|
"NodeChecks":["serfHealth"],
|
2021-08-04 16:41:41 +00:00
|
|
|
"ServiceChecks": [
|
|
|
|
{
|
|
|
|
"ID": "${fake.hacker.noun()}Health",
|
|
|
|
"Namespace": "${
|
|
|
|
typeof location.search.ns !== 'undefined' ? location.search.ns :
|
|
|
|
typeof http.body.Namespace !== 'undefined' ? http.body.Namespace : 'default'
|
|
|
|
}"
|
|
|
|
}
|
|
|
|
],
|
2020-11-05 16:03:49 +00:00
|
|
|
"LockDelay":15000000000,
|
|
|
|
"Behavior":"${fake.helpers.randomize(['release', 'delete'])}",
|
|
|
|
"TTL":"",
|
|
|
|
"CreateIndex":2782,
|
|
|
|
"ModifyIndex":2782
|
|
|
|
}
|
|
|
|
]
|