浏览代码

Make Coriolis Regions field non-required

The Coriolis Regions field is no longer required. It also now includes a
tooltip description.
Sergiu Miclea 5 年之前
父节点
当前提交
2d8c441887
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/plugins/endpoint/default/ConnectionSchemaPlugin.ts

+ 4 - 1
src/plugins/endpoint/default/ConnectionSchemaPlugin.ts

@@ -100,10 +100,13 @@ export const generateBaseFields = () => [
   generateField({
     name: 'mapped_regions',
     title: 'Coriolis Regions',
-    required: true,
     type: 'array',
     noItemsMessage: 'No regions available',
     noSelectionMessage: 'Choose regions',
+    description: `Optional list of one or more Coriolis Regions the Endpoint should be mapped to.
+    Mapping this Endpoint to a set of Regions will mean that any operations related to the Endpoint will be executed on Coriolis services which are marked as being in the same Region.
+    (e.g. running DRaaS operations with some Coriolis services running on a private source platform and some on a public target).
+    Can be left unselected for all-in-one Coriolis installations or when the source/target platform is accessible by the whole Coriolis deployment.`,
   }),
   generateField({ name: 'description', title: 'Description' }),
 ]