Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.11] [Enterprise Search][Connectors] Update postreSQL native connector configuration (#169647) #169678

Merged
merged 2 commits into from
Oct 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 24 additions & 5 deletions packages/kbn-search-connectors/types/native_connectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ const DATABASE_LABEL = i18n.translate('searchConnectors.nativeConnectors.databas
defaultMessage: 'Database',
});

const SCHEMA_LABEL = i18n.translate('searchConnectors.nativeConnectors.schemaLabel', {
defaultMessage: 'Schema',
});

const PORT_LABEL = i18n.translate('searchConnectors.nativeConnectors.portLabel', {
defaultMessage: 'Port',
});
Expand Down Expand Up @@ -2108,6 +2112,21 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
validations: [],
value: '',
},
schema: {
default_value: '',
depends_on: [],
display: DisplayType.TEXTBOX,
label: SCHEMA_LABEL,
options: [],
order: 6,
required: true,
sensitive: false,
tooltip: '',
type: FieldType.STRING,
ui_restrictions: [],
validations: [],
value: '',
},
tables: {
default_value: '',
depends_on: [],
Expand All @@ -2119,7 +2138,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
}
),
options: [],
order: 6,
order: 7,
required: true,
sensitive: false,
tooltip: '',
Expand All @@ -2134,7 +2153,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
display: DisplayType.TOGGLE,
label: ENABLE_SSL_LABEL,
options: [],
order: 9,
order: 10,
required: true,
sensitive: false,
tooltip: '',
Expand All @@ -2149,7 +2168,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
display: DisplayType.TEXTBOX,
label: SSL_CERTIFICATE_LABEL,
options: [],
order: 10,
order: 11,
required: true,
sensitive: false,
tooltip: '',
Expand All @@ -2169,7 +2188,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
}
),
options: [],
order: 7,
order: 8,
required: false,
sensitive: false,
tooltip: '',
Expand All @@ -2189,7 +2208,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
}
),
options: [],
order: 8,
order: 9,
required: false,
sensitive: false,
tooltip: '',
Expand Down
Loading