mirror of
https://github.com/status-im/consul.git
synced 2025-01-25 13:10:32 +00:00
4d13e31ae0
* Create BindingRule adapter and tests * Create BindingRule serializer and test * Create BindingRule model and repository * Add binding-rules mock data * Create binding-rules router and call endpoint * Create Binding rules tab * Create and use BindingView component * Create empty state for BindingView * Remove binding rule requestForQueryRecord endpoint and tests * Update binding rules selector to be monospaced * Add bind type tooltip * Create and Tabular-dl styling component * Update hr tag global styling * Rename BindingView to BindingList and refactor * Add translations for bind types tooltip info * Remove unused endpoint * Refactor based on review notes
15 lines
316 B
JavaScript
15 lines
316 B
JavaScript
import Adapter from './application';
|
|
|
|
export default class BindingRuleAdapter extends Adapter {
|
|
requestForQuery(request, { dc, ns, authmethod, index, id }) {
|
|
return request`
|
|
GET /v1/acl/binding-rules?${{ dc, authmethod }}
|
|
|
|
${{
|
|
...this.formatNspace(ns),
|
|
index,
|
|
}}
|
|
`;
|
|
}
|
|
}
|