dae1f9d0b8
* ui: Add peer searching and sorting Initial name search and sort only, more to come here * Remove old peerings::search component * Use @model peers * ui: Peer listing with dc/ns/partition/name based unique IDs and polling deletion (#13648) * ui: Add peer repo with listing datasource * ui: Use data-loader component to use the data-source * ui: Remove ember-data REST things and Route.model hook * 10 second not 1 second poll * Fill out Datacenter and Partition * route > routeName * Faker randomised mocks for peering endpoint * ui: Adds initial peer detail page plus address tab (#13651)
27 lines
575 B
Plaintext
27 lines
575 B
Plaintext
[
|
|
${
|
|
range(
|
|
env('CONSUL_PEER_COUNT', Math.floor((Math.random() * 10) + 1))
|
|
).map(i => `
|
|
|
|
{
|
|
"ID": "${fake.random.uuid()}-${i}",
|
|
"Name": "${fake.hacker.noun()}-peer-${i}",
|
|
"State": "${fake.helpers.randomize([
|
|
'ACTIVE',
|
|
'PENDING',
|
|
'ESTABLISHING',
|
|
'FAILING',
|
|
'DELETING',
|
|
'TERMINATED',
|
|
'UNDEFINED'
|
|
])}",
|
|
"ImportedServiceCount": ${fake.random.number({min: 0, max: 4000})},
|
|
"ExportedServiceCount": ${fake.random.number({min: 0, max: 4000})},
|
|
"CreateIndex": 16,
|
|
"ModifyIndex": 16
|
|
}
|
|
|
|
`)}
|
|
]
|