mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 05:45:46 +00:00
27e50ae925
* 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)
16 lines
354 B
JavaScript
16 lines
354 B
JavaScript
import Model, { attr } from '@ember-data/model';
|
|
|
|
export default class Peer extends Model {
|
|
@attr('string') uri;
|
|
@attr() meta;
|
|
|
|
@attr('string') Datacenter;
|
|
@attr('string') Partition;
|
|
|
|
@attr('string') Name;
|
|
@attr('string') State;
|
|
@attr('number') ImportedServiceCount;
|
|
@attr('number') ExportedServiceCount;
|
|
@attr() PeerServerAddresses;
|
|
}
|