mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
* chore: use ember-cli-babel for TS compliation instead of ember-cli-typescript * chore: fix import paths to be ES module compatible * chore(test): fix setupControlGroup helper import * chore: fix engine definitions and swagger-ui imports * update lockfile * chore: remove babel inline-json-import --------- Co-authored-by: Matthew Irish <matthew@hashicorp.com>
19 lines
749 B
JavaScript
19 lines
749 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import { helper as buildHelper } from '@ember/component/helper';
|
|
|
|
const REPLICATION_MODE_DESCRIPTIONS = {
|
|
dr: 'Disaster Recovery Replication is designed to protect against catastrophic failure of entire clusters. Secondaries do not forward service requests until they are elected and become a new primary.',
|
|
performance:
|
|
'Performance Replication scales workloads horizontally across clusters to make requests faster. Local secondaries handle read requests but forward writes to the primary to be handled.',
|
|
};
|
|
|
|
function replicationModeDescription([mode]) {
|
|
return REPLICATION_MODE_DESCRIPTIONS[mode];
|
|
}
|
|
|
|
export default buildHelper(replicationModeDescription);
|