mirror of
https://github.com/status-im/consul.git
synced 2025-02-01 00:16:27 +00:00
268f930de4
* Add consul-api-double under api * Update config to reflect api change * Remove consul-api-double as a dependency * api -> mock-api * Fixup mocks path for staging
18 lines
536 B
Plaintext
18 lines
536 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",
|
|
"Checks":["serfHealth"],
|
|
"LockDelay":15000000000,
|
|
"Behavior":"${fake.helpers.randomize(['release', 'delete'])}",
|
|
"TTL":"",
|
|
"CreateIndex":2782,
|
|
"ModifyIndex":2782
|
|
}
|
|
]
|