1515@CloudMySql
1616Feature : CloudMySql Sink - Run time scenarios
1717
18- @BQ_SOURCE_TEST @CLOUDMYSQL_TEST_TABLE
18+ @BQ_SOURCE_TEST @CLOUDMYSQL_TEST_TABLE @PLUGIN-1526
1919 Scenario : To verify data is getting transferred from BigQuery source to CloudMySql sink successfully
2020 Given Open Datafusion Project to configure pipeline
2121 When Expand Plugin group in the LHS plugins list: "Source"
@@ -24,7 +24,7 @@ Feature: CloudMySql Sink - Run time scenarios
2424 And Enter input plugin property: "referenceName" with value: "Reference"
2525 And Replace input plugin property: "project" with value: "projectId"
2626 And Enter input plugin property: "datasetProject" with value: "datasetprojectId"
27- And Enter input plugin property: "dataset" with value: "dataset"
27+ And Replace input plugin property: "dataset" with value: "dataset"
2828 And Enter input plugin property: "table" with value: "bqSourceTable"
2929 Then Click on the Get Schema button
3030 Then Verify the Output Schema matches the Expected Schema: "bqOutputMultipleDatatypesSchema"
@@ -36,7 +36,7 @@ Feature: CloudMySql Sink - Run time scenarios
3636 Then Navigate to the properties page of plugin: "CloudSQL MySQL"
3737 Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "cloudsql-mysql"
3838 Then Select radio button plugin property: "instanceType" with value: "public"
39- Then Enter input plugin property: "connectionName" with value: "ConnectionName"
39+ Then Replace input plugin property: "connectionName" with value: "connectionName" for Credentials and Authorization related fields
4040 Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
4141 Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
4242 Then Enter input plugin property: "referenceName" with value: "RefName"
@@ -57,7 +57,96 @@ Feature: CloudMySql Sink - Run time scenarios
5757 Then Open and capture logs
5858 Then Verify the pipeline status is "Succeeded"
5959 Then Close the pipeline logs
60+ Then Validate the values of records transferred to target CloudSQLMySQL table is equal to the values from source BigQuery table
6061
62+ @BQ_SOURCE_TEST @CLOUDMYSQL_TEST_TABLE @PLUGIN-1526
63+ Scenario : To verify data is getting transferred from BigQuery source to CloudMySql sink successfully when connection arguments are set
64+ Given Open Datafusion Project to configure pipeline
65+ When Expand Plugin group in the LHS plugins list: "Source"
66+ When Select plugin: "BigQuery" from the plugins list as: "Source"
67+ And Navigate to the properties page of plugin: "BigQuery"
68+ And Enter input plugin property: "referenceName" with value: "Reference"
69+ And Replace input plugin property: "project" with value: "projectId"
70+ And Enter input plugin property: "datasetProject" with value: "datasetprojectId"
71+ And Replace input plugin property: "dataset" with value: "dataset"
72+ And Enter input plugin property: "table" with value: "bqSourceTable"
73+ Then Click on the Get Schema button
74+ Then Verify the Output Schema matches the Expected Schema: "bqOutputMultipleDatatypesSchema"
75+ Then Validate "BigQuery" plugin properties
76+ And Close the Plugin Properties page
77+ When Expand Plugin group in the LHS plugins list: "Sink"
78+ When Select plugin: "CloudSQL MySQL" from the plugins list as: "Sink"
79+ Then Connect plugins: "BigQuery" and "CloudSQL MySQL" to establish connection
80+ Then Navigate to the properties page of plugin: "CloudSQL MySQL"
81+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "cloudsql-mysql"
82+ Then Select radio button plugin property: "instanceType" with value: "public"
83+ Then Replace input plugin property: "connectionName" with value: "connectionName" for Credentials and Authorization related fields
84+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
85+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
86+ Then Enter key value pairs for plugin property: "connectionArguments" with values from json: "connectionArgumentsList"
87+ Then Enter input plugin property: "referenceName" with value: "RefName"
88+ Then Enter input plugin property: "database" with value: "DatabaseName"
89+ Then Replace input plugin property: "tableName" with value: "targetTable"
90+ Then Validate "CloudSQL MySQL" plugin properties
91+ Then Close the Plugin Properties page
92+ Then Save the pipeline
93+ Then Preview and run the pipeline
94+ Then Wait till pipeline preview is in running state
95+ Then Open and capture pipeline preview logs
96+ Then Verify the preview run status of pipeline in the logs is "succeeded"
97+ Then Close the pipeline logs
98+ Then Close the preview
99+ Then Deploy the pipeline
100+ Then Run the Pipeline in Runtime
101+ Then Wait till pipeline is in running state
102+ Then Open and capture logs
103+ Then Verify the pipeline status is "Succeeded"
104+ Then Close the pipeline logs
105+ Then Validate the values of records transferred to target CloudSQLMySQL table is equal to the values from source BigQuery table
61106
107+ @BQ_SOURCE_TEST @CLOUDMYSQL_TEST_TABLE @PLUGIN-1526
108+ Scenario : To verify data is getting transferred from BigQuery source to CloudSMySQL sink with Advanced property Connection timeout
109+ Given Open Datafusion Project to configure pipeline
110+ When Expand Plugin group in the LHS plugins list: "Source"
111+ When Select plugin: "BigQuery" from the plugins list as: "Source"
112+ And Navigate to the properties page of plugin: "BigQuery"
113+ And Enter input plugin property: "referenceName" with value: "Reference"
114+ And Replace input plugin property: "project" with value: "projectId"
115+ And Enter input plugin property: "datasetProject" with value: "datasetprojectId"
116+ And Replace input plugin property: "dataset" with value: "dataset"
117+ And Enter input plugin property: "table" with value: "bqSourceTable"
118+ Then Click on the Get Schema button
119+ Then Verify the Output Schema matches the Expected Schema: "bqOutputMultipleDatatypesSchema"
120+ Then Validate "BigQuery" plugin properties
121+ And Close the Plugin Properties page
122+ When Expand Plugin group in the LHS plugins list: "Sink"
123+ When Select plugin: "CloudSQL MySQL" from the plugins list as: "Sink"
124+ Then Connect plugins: "BigQuery" and "CloudSQL MySQL" to establish connection
125+ Then Navigate to the properties page of plugin: "CloudSQL MySQL"
126+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "cloudsql-mysql"
127+ Then Select radio button plugin property: "instanceType" with value: "public"
128+ Then Replace input plugin property: "connectionName" with value: "connectionName" for Credentials and Authorization related fields
129+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
130+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
131+ Then Enter input plugin property: "referenceName" with value: "RefName"
132+ Then Enter input plugin property: "database" with value: "DatabaseName"
133+ Then Replace input plugin property: "tableName" with value: "targetTable"
134+ Then Replace input plugin property: "connectionTimeout" with value: "connectionTimeout"
135+ Then Validate "CloudSQL MySQL" plugin properties
136+ Then Close the Plugin Properties page
137+ Then Save the pipeline
138+ Then Preview and run the pipeline
139+ Then Wait till pipeline preview is in running state
140+ Then Open and capture pipeline preview logs
141+ Then Verify the preview run status of pipeline in the logs is "succeeded"
142+ Then Close the pipeline logs
143+ Then Close the preview
144+ Then Deploy the pipeline
145+ Then Run the Pipeline in Runtime
146+ Then Wait till pipeline is in running state
147+ Then Open and capture logs
148+ Then Verify the pipeline status is "Succeeded"
149+ Then Close the pipeline logs
150+ Then Validate the values of records transferred to target CloudSQLMySQL table is equal to the values from source BigQuery table
62151
63152
0 commit comments