|
| 1 | +# |
1 | 2 | # Copyright © 2023 Cask Data, Inc.
|
2 |
| -## |
3 |
| -## Licensed under the Apache License, Version 2.0 (the "License"); you may not |
4 |
| -## use this file except in compliance with the License. You may obtain a copy of |
5 |
| -## the License at |
6 |
| -## |
7 |
| -## http://www.apache.org/licenses/LICENSE-2.0 |
8 |
| -## |
9 |
| -## Unless required by applicable law or agreed to in writing, software |
10 |
| -## distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
11 |
| -## WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
12 |
| -## License for the specific language governing permissions and limitations under |
13 |
| -# the License.. |
| 3 | +# |
| 4 | +# Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 5 | +# use this file except in compliance with the License. You may obtain a copy of |
| 6 | +# the License at |
| 7 | +# |
| 8 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 12 | +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 13 | +# License for the specific language governing permissions and limitations under |
| 14 | +# the License. |
| 15 | +# |
14 | 16 |
|
15 |
| -@CLOUDSQL |
16 |
| -Feature: CLOUDSQL Sink - Design time scenarios |
| 17 | +@Cloudsqlpostgresql_Sink @Cloudsqlpostgresql_Sink_Required |
| 18 | +Feature: CloudSQL-PostgreSQL sink - Verify CloudSQL-PostgreSQL sink plugin design time scenarios |
17 | 19 |
|
18 |
| - @CLOUDSQL_SINK @CLOUDSQL_SINK_BASIC |
19 |
| - Scenario: To verify CLOUDSQL sink plugin validation with connection and basic details for connectivity |
| 20 | + Scenario: To verify CloudSQLPostgreSQL sink plugin validation with connection and basic details for connectivity |
20 | 21 | Given Open Datafusion Project to configure pipeline
|
21 | 22 | When Expand Plugin group in the LHS plugins list: "Sink"
|
22 | 23 | When Select plugin: "CloudSQL PostgreSQL" from the plugins list as: "Sink"
|
23 | 24 | Then Navigate to the properties page of plugin: "CloudSQL PostgreSQL"
|
24 |
| - Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "cloudsql-postgresql" |
| 25 | + Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName" |
25 | 26 | Then Select radio button plugin property: "instanceType" with value: "public"
|
26 | 27 | Then Replace input plugin property: "connectionName" with value: "connectionName"
|
27 |
| - Then Replace input plugin property: "user" with value: "user" for Credentials and Authorization related fields |
| 28 | + Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields |
28 | 29 | Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
|
29 |
| - Then Enter input plugin property: "referenceName" with value: "RefName" |
30 |
| - Then Replace input plugin property: "database" with value: "test_automation_db" |
31 |
| - Then Replace input plugin property: "tableName" with value: "tableName" |
32 |
| - Then Replace input plugin property: "dbSchemaName" with value: "dbSchemaName" |
| 30 | + Then Enter input plugin property: "referenceName" with value: "targetRef" |
| 31 | + Then Replace input plugin property: "database" with value: "databaseName" |
| 32 | + Then Replace input plugin property: "tableName" with value: "targetTable" |
| 33 | + Then Replace input plugin property: "dbSchemaName" with value: "schema" |
33 | 34 | Then Validate "CloudSQL PostgreSQL" plugin properties
|
34 | 35 | Then Close the Plugin Properties page
|
35 | 36 |
|
36 |
| - @CLOUDSQL_SINK @CLOUDSQL_CONNECTION_ARGUMENT |
37 |
| - Scenario: To verify CLOUDSQL sink plugin validation with connection argument |
38 |
| - Given Open Datafusion Project to configure pipeline |
39 |
| - When Expand Plugin group in the LHS plugins list: "Sink" |
40 |
| - When Select plugin: "CloudSQL PostgreSQL" from the plugins list as: "Sink" |
41 |
| - Then Navigate to the properties page of plugin: "CloudSQL PostgreSQL" |
42 |
| - Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "cloudsql-postgresql" |
43 |
| - Then Select radio button plugin property: "instanceType" with value: "public" |
44 |
| - Then Replace input plugin property: "connectionName" with value: "connectionName" |
45 |
| - Then Replace input plugin property: "user" with value: "user" for Credentials and Authorization related fields |
46 |
| - Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields |
47 |
| - Then Enter key value pairs for plugin property: "connectionArguments" with values from json: "connectionArgumentsList" |
48 |
| - Then Enter input plugin property: "referenceName" with value: "RefName" |
49 |
| - Then Replace input plugin property: "database" with value: "test_automation_db" |
50 |
| - Then Replace input plugin property: "tableName" with value: "tableName" |
51 |
| - Then Replace input plugin property: "dbSchemaName" with value: "dbSchemaName" |
52 |
| - Then Validate "CloudSQL PostgreSQL" plugin properties |
53 |
| - Then Close the Plugin Properties page |
54 |
| - |
55 |
| - @CLOUDSQL_SINK @CLOUDSINK_REFERENCE |
56 |
| - Scenario: To verify CLOUDSQL sink plugin validation with Advanced details for connectivity |
57 |
| - Given Open Datafusion Project to configure pipeline |
58 |
| - When Expand Plugin group in the LHS plugins list: "Sink" |
59 |
| - When Select plugin: "CloudSQL PostgreSQL" from the plugins list as: "Sink" |
60 |
| - Then Navigate to the properties page of plugin: "CloudSQL PostgreSQL" |
61 |
| - Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "cloudsql-postgresql" |
62 |
| - Then Select radio button plugin property: "instanceType" with value: "public" |
63 |
| - Then Replace input plugin property: "connectionName" with value: "connectionName" |
64 |
| - Then Replace input plugin property: "user" with value: "user" for Credentials and Authorization related fields |
65 |
| - Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields |
66 |
| - Then Enter key value pairs for plugin property: "connectionArguments" with values from json: "connectionArgumentsList" |
67 |
| - Then Enter input plugin property: "referenceName" with value: "RefName" |
68 |
| - Then Replace input plugin property: "database" with value: "test_automation_db" |
69 |
| - Then Replace input plugin property: "tableName" with value: "tableName" |
70 |
| - Then Replace input plugin property: "dbSchemaName" with value: "dbSchemaName" |
71 |
| - Then Select dropdown plugin property: "transactionIsolationLevel" with option value: "transactionLevel" |
72 |
| - Then Replace input plugin property: "connectionTimeout" with value: "connectionTimeout" |
73 |
| - Then Validate "CloudSQL PostgreSQL" plugin properties |
74 |
| - Then Close the Plugin Properties page |
75 |
| - |
| 37 | + Scenario: To verify CloudSQLPostgreSQL sink plugin validation with connection arguments |
| 38 | + Given Open Datafusion Project to configure pipeline |
| 39 | + When Expand Plugin group in the LHS plugins list: "Sink" |
| 40 | + When Select plugin: "CloudSQL PostgreSQL" from the plugins list as: "Sink" |
| 41 | + Then Navigate to the properties page of plugin: "CloudSQL PostgreSQL" |
| 42 | + Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName" |
| 43 | + Then Select radio button plugin property: "instanceType" with value: "public" |
| 44 | + Then Replace input plugin property: "connectionName" with value: "connectionName" |
| 45 | + Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields |
| 46 | + Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields |
| 47 | + Then Enter input plugin property: "referenceName" with value: "targetRef" |
| 48 | + Then Replace input plugin property: "database" with value: "databaseName" |
| 49 | + Then Replace input plugin property: "tableName" with value: "targetTable" |
| 50 | + Then Replace input plugin property: "dbSchemaName" with value: "schema" |
| 51 | + Then Enter key value pairs for plugin property: "connectionArguments" with values from json: "connectionArgumentsList" |
| 52 | + Then Validate "CloudSQL PostgreSQL" plugin properties |
| 53 | + Then Close the Plugin Properties page |
76 | 54 |
|
| 55 | + Scenario: To verify CloudSQLPostgreSQL sink plugin validation with advanced details with connection timeout |
| 56 | + Given Open Datafusion Project to configure pipeline |
| 57 | + When Expand Plugin group in the LHS plugins list: "Sink" |
| 58 | + When Select plugin: "CloudSQL PostgreSQL" from the plugins list as: "Sink" |
| 59 | + Then Navigate to the properties page of plugin: "CloudSQL PostgreSQL" |
| 60 | + Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName" |
| 61 | + Then Select radio button plugin property: "instanceType" with value: "public" |
| 62 | + Then Replace input plugin property: "connectionName" with value: "connectionName" |
| 63 | + Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields |
| 64 | + Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields |
| 65 | + Then Enter input plugin property: "referenceName" with value: "targetRef" |
| 66 | + Then Replace input plugin property: "database" with value: "databaseName" |
| 67 | + Then Replace input plugin property: "tableName" with value: "targetTable" |
| 68 | + Then Replace input plugin property: "connectionTimeout" with value: "connectionTimeout" |
| 69 | + Then Validate "CloudSQL PostgreSQL" plugin properties |
| 70 | + Then Close the Plugin Properties page |
0 commit comments