mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
a41c13ae83
Include node name in the URL for service instances Integrate the node name slug into tests for service instance pages
14 lines
344 B
JavaScript
14 lines
344 B
JavaScript
import Model from 'ember-data/model';
|
|
import attr from 'ember-data/attr';
|
|
|
|
export const PRIMARY_KEY = 'uid';
|
|
export const SLUG_KEY = 'ID';
|
|
export default Model.extend({
|
|
[PRIMARY_KEY]: attr('string'),
|
|
[SLUG_KEY]: attr('string'),
|
|
ServiceName: attr('string'),
|
|
ServiceID: attr('string'),
|
|
Node: attr('string'),
|
|
ServiceProxy: attr(),
|
|
});
|