From 97f46ba65757293386b9d84a14fa8dd359d2758b Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 27 Oct 2023 15:07:10 -0700 Subject: [PATCH] [Backport 2.11] Add integrations queries for Flint (#1195) Co-authored-by: github-actions[bot] --- .../setup_integration.test.tsx.snap | 35 ++++- .../components/create_integration_helpers.ts | 13 +- .../components/setup_integration.tsx | 139 +++++++++++++----- .../aws_cloudtrail/aws_cloudtrail-1.0.0.json | 2 +- .../aws_elb/assets/create_mv-1.0.0.sql | 38 +++++ .../aws_elb/assets/create_table-1.0.0.sql | 36 +++++ .../aws_elb/assets/refresh_mv-1.0.0.sql | 1 + .../repository/aws_elb/aws_elb-1.0.0.json | 19 ++- .../aws_vpc_flow/aws_vpc_flow-1.0.0.json | 2 +- .../repository/nginx/nginx-1.0.0.json | 2 +- 10 files changed, 237 insertions(+), 50 deletions(-) create mode 100644 server/adaptors/integrations/__data__/repository/aws_elb/assets/create_mv-1.0.0.sql create mode 100644 server/adaptors/integrations/__data__/repository/aws_elb/assets/create_table-1.0.0.sql create mode 100644 server/adaptors/integrations/__data__/repository/aws_elb/assets/refresh_mv-1.0.0.sql diff --git a/public/components/integrations/components/__tests__/__snapshots__/setup_integration.test.tsx.snap b/public/components/integrations/components/__tests__/__snapshots__/setup_integration.test.tsx.snap index e8f7bee82d..3688bcb349 100644 --- a/public/components/integrations/components/__tests__/__snapshots__/setup_integration.test.tsx.snap +++ b/public/components/integrations/components/__tests__/__snapshots__/setup_integration.test.tsx.snap @@ -31,6 +31,7 @@ exports[`Integration Setup Page Renders integration setup page as expected 1`] = Object { "connectionDataSource": "", "connectionLocation": "", + "connectionTableName": "sample", "connectionType": "index", "displayName": "sample Integration", } @@ -87,9 +88,15 @@ exports[`Integration Setup Page Renders integration setup page as expected 1`] = @@ -101,12 +108,15 @@ exports[`Integration Setup Page Renders integration setup page as expected 1`] = className="euiFormRow__labelWrapper" >