open-consul/ui/packages/consul-ui/app/models/proxy.js
John Cowen 493ebb0713
ui: Move linting to the node:test script (#9385)
* Reconfigure linting to be a node-test

* Fixup linting across the project
2020-12-14 15:28:35 +00:00

20 lines
531 B
JavaScript

import { attr } from '@ember-data/model';
import ServiceInstanceModel from './service-instance';
export const PRIMARY_KEY = 'uid';
export const SLUG_KEY = 'Node,ServiceID';
// TODO: This should be changed to ProxyInstance
export default class Proxy extends ServiceInstanceModel {
@attr('string') uid;
@attr('string') ID;
@attr('string') Datacenter;
@attr('string') Namespace;
@attr('string') ServiceName;
@attr('string') ServiceID;
@attr('string') Node;
@attr('number') SyncTime;
@attr() ServiceProxy; // {}
}