5875e4b15b
* 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
25 lines
545 B
Plaintext
25 lines
545 B
Plaintext
{
|
|
"Name": "${location.pathname.get(2)}",
|
|
"Description": "${fake.lorem.sentence()}",
|
|
"ACLs": {
|
|
"PolicyDefaults": [
|
|
${range(env('CONSUL_POLICY_COUNT', 3)).map((i) => `
|
|
{
|
|
"ID": "${fake.random.uuid()}-${i}",
|
|
"Name": "${fake.hacker.noun()}-policy"
|
|
}
|
|
`)}
|
|
],
|
|
"RoleDefaults": [
|
|
${range(env('CONSUL_ROLE_COUNT', 3)).map((i) => `
|
|
{
|
|
"ID": "${fake.random.uuid()}-${i}",
|
|
"Name": "${fake.hacker.noun()}-role"
|
|
}
|
|
`)}
|
|
]
|
|
},
|
|
"CreateIndex": 12,
|
|
"ModifyIndex": 16
|
|
}
|