vault/ui/mirage/handlers/index.js
Vault Automation 9538905b86
UI: Build snapshot manage form (#8675) (#8957)
* build mirage handler for snapshot recovery endpoints

* WIP add namespace and mount fields to read/recover form

* change option to engine object

* update badge color according to status and make loaded snapshot reqs within root ns

* wip read reqs and view

* add recovery banner and form validation

* move read view into modal

* tidying

* organize

* tests

* style fixes

* error handling

* tests

* update requests with snapshot params

* style fix

* yarn lock update for latest spec updates

* tests

* add polling for snapshot status

* disable button when not in ready state

* reset errors

* don't poll during tests

* remove todo

* test updates

* fix ns select + test

* remove todo

* styling, tidy, mount options, engine types

* lots of tidying, add manual mount input, slower polling

* make read + recover requests in selected namespace

* link to child ns if recovering there

* test updates

* centralize recovery data values

* type, state and error improvements

---------

Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
Co-authored-by: Lane Wetmore <lane.wetmore@hashicorp.com>
2025-09-03 12:22:30 -06:00

45 lines
1009 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
// add all handlers here
// individual lookup done in mirage config
import base from './base';
import chrootNamespace from './chroot-namespace';
import clients from './clients';
import customLogin from './custom-login';
import customMessages from './custom-messages';
import database from './database';
import hcpLink from './hcp-link';
import kms from './kms';
import kubernetes from './kubernetes';
import ldap from './ldap';
import mfaConfig from './mfa-config';
import mfaLogin from './mfa-login';
import oidcConfig from './oidc-config';
import recovery from './recovery';
import reducedDisclosure from './reduced-disclosure';
import replication from './replication';
import sync from './sync';
export {
base,
chrootNamespace,
clients,
customLogin,
customMessages,
database,
hcpLink,
kms,
kubernetes,
ldap,
mfaConfig,
mfaLogin,
oidcConfig,
recovery,
reducedDisclosure,
replication,
sync,
};