Web console: fix typos in Kinesis suggestions, add regions and groups (#15900)

* fix typo

* update regions

* add China

* Update web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx

Co-authored-by: Benedict Jin <asdf2014@apache.org>

* add ,

---------

Co-authored-by: Benedict Jin <asdf2014@apache.org>
This commit is contained in:
Vadim Ogievetsky 2024-02-26 18:00:02 -08:00 committed by GitHub
parent bf3139562c
commit a81429746d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 82 additions and 22 deletions

View File

@ -1129,28 +1129,88 @@ export function getIoConfigFormFields(ingestionComboType: IngestionComboType): F
type: 'string', type: 'string',
defaultValue: 'kinesis.us-east-1.amazonaws.com', defaultValue: 'kinesis.us-east-1.amazonaws.com',
suggestions: [ suggestions: [
'kinesis.us-east-2.amazonaws.com', {
'kinesis.us-east-1.amazonaws.com', group: 'US East',
'kinesis.us-west-1.amazonaws.com', suggestions: [
'kinesis.us-west-2.amazonaws.com', 'kinesis.us-east-1.amazonaws.com',
'kinesis.ap-east-1.amazonaws.com', 'kinesis-fips.us-east-1.amazonaws.com',
'kinesis.ap-south-1.amazonaws.com', 'kinesis.us-east-2.amazonaws.com',
'kinesis.ap-northeast-3.amazonaws.com', 'kinesis-fips.us-east-2.amazonaws.com',
'kinesis.ap-northeast-2.amazonaws.com', ],
'kinesis.ap-southeast-1.amazonaws.com', },
'kinesis.ap-southeast-2.amazonaws.com', {
'kinesis.ap-northeast-1.amazonaws.com', group: 'US Gameday Northeast',
'kinesis.ca-central-1.amazonaws.com', suggestions: ['kinesis.us-northeast-1.amazonaws.com'],
'kinesis.cn-north-1.amazonaws.com.com', },
'kinesis.cn-northwest-1.amazonaws.com.com', {
'kinesis.eu-central-1.amazonaws.com', group: 'US West',
'kinesis.eu-west-1.amazonaws.com', suggestions: [
'kinesis.eu-west-2.amazonaws.com', 'kinesis.us-west-1.amazonaws.com',
'kinesis.eu-west-3.amazonaws.com', 'kinesis-fips.us-west-1.amazonaws.com',
'kinesis.eu-north-1.amazonaws.com', 'kinesis.us-west-2.amazonaws.com',
'kinesis.sa-east-1.amazonaws.com', 'kinesis-fips.us-west-2.amazonaws.com',
'kinesis.us-gov-east-1.amazonaws.com', ],
'kinesis.us-gov-west-1.amazonaws.com', },
{ group: 'Africa', suggestions: ['kinesis.af-south-1.amazonaws.com'] },
{
group: 'Asia Pacific',
suggestions: [
'kinesis.ap-east-1.amazonaws.com',
'kinesis.ap-south-2.amazonaws.com',
'kinesis.ap-southeast-3.amazonaws.com',
'kinesis.ap-southeast-5.amazonaws.com',
'kinesis.ap-southeast-4.amazonaws.com',
'kinesis.ap-south-1.amazonaws.com',
'kinesis.ap-northeast-3.amazonaws.com',
'kinesis.ap-northeast-2.amazonaws.com',
'kinesis.ap-southeast-1.amazonaws.com',
'kinesis.ap-southeast-2.amazonaws.com',
'kinesis.ap-northeast-1.amazonaws.com',
],
},
{
group: 'Canada',
suggestions: [
'kinesis.ca-central-1.amazonaws.com',
'kinesis.ca-west-1.amazonaws.com',
],
},
{
group: 'China',
suggestions: [
'kinesis.cn-north-1.amazonaws.com.cn',
'kinesis.cn-northwest-1.amazonaws.com.cn',
],
},
{
group: 'Europe',
suggestions: [
'kinesis.eu-central-1.amazonaws.com',
'kinesis.eu-west-1.amazonaws.com',
'kinesis.eu-west-2.amazonaws.com',
'kinesis.eu-south-1.amazonaws.com',
'kinesis.eu-west-3.amazonaws.com',
'kinesis.eu-south-2.amazonaws.com',
'kinesis.eu-north-1.amazonaws.com',
'kinesis.eu-central-2.amazonaws.com',
],
},
{ group: 'Israel', suggestions: ['kinesis.il-central-1.amazonaws.com'] },
{
group: 'Middle East',
suggestions: [
'kinesis.me-south-1.amazonaws.com',
'kinesis.me-central-1.amazonaws.com',
],
},
{ group: 'South America', suggestions: ['kinesis.sa-east-1.amazonaws.com'] },
{
group: 'AWS GovCloud',
suggestions: [
'kinesis.us-gov-east-1.amazonaws.com',
'kinesis.us-gov-west-1.amazonaws.com',
],
},
], ],
info: ( info: (
<> <>