mirror of https://github.com/hashicorp/consul
18 lines
355 B
JavaScript
18 lines
355 B
JavaScript
import Route from './services';
|
|
|
|
export default class UpstreamsRoute extends Route {
|
|
queryParams = {
|
|
sortBy: 'sort',
|
|
instance: 'instance',
|
|
searchproperty: {
|
|
as: 'searchproperty',
|
|
empty: [['Name', 'Tags']],
|
|
},
|
|
search: {
|
|
as: 'filter',
|
|
replace: true,
|
|
},
|
|
};
|
|
templateName = 'dc/services/show/upstreams';
|
|
}
|