open-consul/ui/packages/consul-ui/app/models/discovery-chain.js

15 lines
346 B
JavaScript

import Model, { attr } from '@ember-data/model';
export const PRIMARY_KEY = 'uid';
export const SLUG_KEY = 'ServiceName';
export default class DiscoveryChain extends Model {
@attr('string') uid;
@attr('string') ServiceName;
@attr('string') Datacenter;
// FIXME: Does this need partition?
@attr() Chain; // {}
@attr() meta; // {}
}