You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/ui/packages/consul-ui/mock-api/v1/namespace/_

25 lines
545 B

{
"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
}