From 56a23e0d4baedb464601cbefdb514773cc254f39 Mon Sep 17 00:00:00 2001 From: Daniel Vincze Date: Wed, 4 Dec 2024 16:18:26 +0200 Subject: [PATCH] Adds descritpion for `shutdown_instances` option and updates some other labels --- .../DashboardModule/DashboardLicence/DashboardLicence.tsx | 2 +- src/components/modules/LicenceModule/LicenceModule.tsx | 4 ++-- .../TransferExecutionOptions/TransferExecutionOptions.tsx | 2 +- src/constants.ts | 2 ++ src/utils/LabelDictionary.ts | 6 +++++- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/components/modules/DashboardModule/DashboardLicence/DashboardLicence.tsx b/src/components/modules/DashboardModule/DashboardLicence/DashboardLicence.tsx index af1e6230..9f1882ad 100644 --- a/src/components/modules/DashboardModule/DashboardLicence/DashboardLicence.tsx +++ b/src/components/modules/DashboardModule/DashboardLicence/DashboardLicence.tsx @@ -277,7 +277,7 @@ class DashboardLicence extends React.Component { return (

- Please contact Cloudbase Solutions with your Appliance ID in order to + Please contact your Coriolis representative with the Appliance ID in order to obtain a Coriolis® licence.

diff --git a/src/components/modules/LicenceModule/LicenceModule.tsx b/src/components/modules/LicenceModule/LicenceModule.tsx index 0078077d..a6e659a5 100644 --- a/src/components/modules/LicenceModule/LicenceModule.tsx +++ b/src/components/modules/LicenceModule/LicenceModule.tsx @@ -299,7 +299,7 @@ class LicenceModule extends React.Component { if ( new Date(info.earliestLicenceExpiryDate).getTime() < new Date().getTime() ) { - return "Please contact Cloudbase Solutions with your Appliance ID in order to obtain a Coriolis® licence"; + return "Please contact your Coriolis representative with the Appliance ID in order to obtain a Coriolis® licence"; } return ( @@ -346,7 +346,7 @@ class LicenceModule extends React.Component { - Read Coriolis© EULA + Read the Coriolis© EULA { description={ this.props.disableExecutionOptions ? "The execution options are disabled for the source provider" - : "" + : LabelDictionary.getDescription(field.name) } /> ))} diff --git a/src/constants.ts b/src/constants.ts index ec0062ee..6f9f9234 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -64,8 +64,10 @@ export const executionOptions = [ { name: "shutdown_instances", type: "boolean", + label: "Shutdown Instance(s)", defaultValue: false, nullableBoolean: false, + description: "When enabling this option, Coriolis will attempt to gracefully shut down the source instance(s), before syncing their data. This is recommended when executing Migrations, right before planning on completely Deploying on the destination cloud, as it will transfer the last chunks of data after the instance(s) have been shut down, and it leaves the source instance(s) off." }, ]; diff --git a/src/utils/LabelDictionary.ts b/src/utils/LabelDictionary.ts index 943a371d..020ee064 100644 --- a/src/utils/LabelDictionary.ts +++ b/src/utils/LabelDictionary.ts @@ -69,7 +69,7 @@ const dictionary = { storage_endpoint: "Storage Endpoint Suffix", preserve_nic_ips: "Preserve NIC IPs", openstack_use_current_user: - "Use Current User/Project/Domain for Authentification", + "Use Current User/Project/Domain for Authentication", windows_os_image: "Windows OS", linux_os_image: "Linux OS", skip_os_morphing: { @@ -87,6 +87,10 @@ const dictionary = { description: `Whether or not Coriolis should clone the Transfer disks on the destination platforms before optionally performing the OSMorphing process and booting the final VM. Skipping disk cloning leads to a shorter deployment time, but means that the Transfer disks will be allocated to the new VM, and thus the next Transfer Execution will have to sync the disks from scratch.`, }, + shutdown_instances: { + label: "Shutdown Instance(s)", + description: "This option can be used before completing the Deployment on the target cloud. After the source instance(s) shutdown, a last snapshot will be executed, in order to transfer the last bits of data to the target cloud, and the source instance(s) will be left stopped." + } }; const cache: {