From 0070e278df7b7e448371b90f76e8fbf89b98a89d Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 6 Oct 2023 08:37:06 -0700 Subject: [PATCH] [Backport 2.11] Data sources copy updates (#1092) Co-authored-by: github-actions[bot] --- common/constants/data_connections.ts | 2 +- .../connection_details.test.tsx.snap | 4 +-- .../data_connection.test.tsx.snap | 22 +++++++-------- ...data_connections_description.test.tsx.snap | 4 +-- ...anage_data_connections_table.test.tsx.snap | 8 +++--- .../components/data_connections_header.tsx | 4 +-- .../components/manage/access_control_tab.tsx | 2 +- .../manage/connection_management_callout.tsx | 2 +- .../components/manage/data_connection.tsx | 15 ++++++----- .../manage_data_connections_description.tsx | 4 +-- .../components/new/auth_details.tsx | 2 +- .../components/new/configure_datasource.tsx | 4 +-- .../new/configure_prometheus_datasource.tsx | 13 +++++---- .../new/configure_s3_datasource.tsx | 27 +++++++++---------- .../new/new_datasource_card_view.tsx | 2 +- .../components/new/query_permissions.tsx | 2 +- ...ew_prometheus_datasource_configuration.tsx | 4 +-- .../review_s3_datasource_configuration.tsx | 8 +++--- 18 files changed, 65 insertions(+), 64 deletions(-) diff --git a/common/constants/data_connections.ts b/common/constants/data_connections.ts index 41520976e3..570c551e43 100644 --- a/common/constants/data_connections.ts +++ b/common/constants/data_connections.ts @@ -14,7 +14,7 @@ export const QUERY_ALL = 'query-all'; export const DatasourceTypeToDisplayName: { [key in DatasourceType]: string } = { PROMETHEUS: 'Prometheus', - S3GLUE: 'S3', + S3GLUE: 'Amazon S3', }; export type AuthMethod = 'noauth' | 'basicauth' | 'awssigv4'; diff --git a/public/components/datasources/components/__tests__/__snapshots__/connection_details.test.tsx.snap b/public/components/datasources/components/__tests__/__snapshots__/connection_details.test.tsx.snap index 104567f9d7..6ebfa5078a 100644 --- a/public/components/datasources/components/__tests__/__snapshots__/connection_details.test.tsx.snap +++ b/public/components/datasources/components/__tests__/__snapshots__/connection_details.test.tsx.snap @@ -79,7 +79,7 @@ exports[`Connection Details test Renders connection details for prometheus datas
- Access to data can be managed in other systems outside of OpenSearch. Check with your administrator for additional configurations. + Access to data may be managed in other systems outside of OpenSearch. Check with your administrator for additional configurations.
@@ -338,7 +338,7 @@ exports[`Connection Details test Renders connection details for s3 datasource 1`
- Access to data can be managed in other systems outside of OpenSearch. Check with your administrator for additional configurations. + Access to data may be managed in other systems outside of OpenSearch. Check with your administrator for additional configurations.
diff --git a/public/components/datasources/components/__tests__/__snapshots__/data_connection.test.tsx.snap b/public/components/datasources/components/__tests__/__snapshots__/data_connection.test.tsx.snap index 51ae568829..bb7b39ed6b 100644 --- a/public/components/datasources/components/__tests__/__snapshots__/data_connection.test.tsx.snap +++ b/public/components/datasources/components/__tests__/__snapshots__/data_connection.test.tsx.snap @@ -132,7 +132,7 @@ exports[`Data Connection Page test Renders Prometheus data connection page with - Ways to use in Dashboards + Use cases for Prometheus in OpenSearch Dashboards @@ -270,7 +270,7 @@ exports[`Data Connection Page test Renders Prometheus data connection page with
- Access to data can be managed in other systems outside of OpenSearch. Check with your administrator for additional configurations. + Access to data may be managed in other systems outside of OpenSearch. Check with your administrator for additional configurations.
@@ -292,7 +292,7 @@ exports[`Data Connection Page test Renders Prometheus data connection page with

- Access Control + Access control

Control which OpenSearch users have access to this data source. @@ -495,7 +495,7 @@ exports[`Data Connection Page test Renders S3 data connection page with data 1`] - Ways to use in Dashboards + Use cases for Amazon S3 in OpenSearch Dashboards @@ -560,7 +560,7 @@ exports[`Data Connection Page test Renders S3 data connection page with data 1`] id="random_html_idDescription" >

- Query your data in Data Explorer or Observability Logs. + Query your data in Data Explorer or Observability Logs

@@ -605,7 +605,7 @@ exports[`Data Connection Page test Renders S3 data connection page with data 1`] id="random_html_idDescription" >

- Accelerate performance through OpenSearch indexing. + Accelerate performance by using OpenSearch indexing

@@ -642,7 +642,7 @@ exports[`Data Connection Page test Renders S3 data connection page with data 1`] aria-describedby=" random_html_idDescription" class="euiCard__titleButton" > - Tables + Define tables

- Manually Define Tables + Manually define tables

@@ -687,7 +687,7 @@ exports[`Data Connection Page test Renders S3 data connection page with data 1`] aria-describedby=" random_html_idDescription" class="euiCard__titleButton" > - Integrations data + Integrate data
- Access to data can be managed in other systems outside of OpenSearch. Check with your administrator for additional configurations. + Access to data may be managed in other systems outside of OpenSearch. Check with your administrator for additional configurations.
@@ -803,7 +803,7 @@ exports[`Data Connection Page test Renders S3 data connection page with data 1`]

- Access Control + Access control

Control which OpenSearch users have access to this data source. diff --git a/public/components/datasources/components/__tests__/__snapshots__/manage_data_connections_description.test.tsx.snap b/public/components/datasources/components/__tests__/__snapshots__/manage_data_connections_description.test.tsx.snap index 55b247e8ab..d724537df8 100644 --- a/public/components/datasources/components/__tests__/__snapshots__/manage_data_connections_description.test.tsx.snap +++ b/public/components/datasources/components/__tests__/__snapshots__/manage_data_connections_description.test.tsx.snap @@ -23,7 +23,7 @@ exports[`Manage Data Connections Description test Renders manage data connection

- Manage existing data sources + Manage data sources

- Manage already created data sources or + Manage existing data sources or - Connect and manage compatible OpenSearch and OpenSearch Dashboard data sources. + Connect and manage compatible OpenSearch and OpenSearch Dashboards data sources. - Manage data source + Manage data sources