mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-20 06:01:10 +02:00
* add config directory, rename crl and urls models * fix imports * add cluster config fields to edit form * reorder url save * update tests * add to details page * add details test; * fix adapter name * fix cluster adapter test name * combine adapter tests * update imports * fix git diff * move crl and urls adapters to config folder * add config file * woops add config adapter * final renaming!! * fix imports after naming to base * add cluster to beforeModel hook * hide help text * maybe you should write tests that actually pass, claire * seriously claire its embarrassing
16 lines
370 B
JavaScript
16 lines
370 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import { encodePath } from 'vault/utils/path-encoding-helpers';
|
|
import PkiConfigBaseAdapter from './base';
|
|
|
|
export default class PkiConfigCrlAdapter extends PkiConfigBaseAdapter {
|
|
namespace = 'v1';
|
|
|
|
_url(backend) {
|
|
return `${this.buildURL()}/${encodePath(backend)}/config/crl`;
|
|
}
|
|
}
|