|
| 1 | +# |
| 2 | +# Copyright © 2023 Cask Data, Inc. |
| 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 | +# |
| 16 | + |
| 17 | +@Oracle @Oracle_Required |
| 18 | +Feature: Oracle sink - Verify Oracle sink plugin design time scenarios |
| 19 | + |
| 20 | + Scenario: To verify Oracle sink plugin validation with connection and basic details for connectivity |
| 21 | + Given Open Datafusion Project to configure pipeline |
| 22 | + When Expand Plugin group in the LHS plugins list: "Sink" |
| 23 | + When Select plugin: "Oracle" from the plugins list as: "Sink" |
| 24 | + Then Navigate to the properties page of plugin: "Oracle" |
| 25 | + Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName" |
| 26 | + Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields |
| 27 | + Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields |
| 28 | + Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields |
| 29 | + Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields |
| 30 | + Then Select radio button plugin property: "role" with value: "normal" |
| 31 | + Then Select radio button plugin property: "connectionType" with value: "service" |
| 32 | + Then Enter input plugin property: "referenceName" with value: "targetRef" |
| 33 | + Then Replace input plugin property: "database" with value: "databaseName" |
| 34 | + Then Replace input plugin property: "tableName" with value: "targetTable" |
| 35 | + Then Replace input plugin property: "dbSchemaName" with value: "schema" |
| 36 | + Then Validate "Oracle" plugin properties |
| 37 | + Then Close the Plugin Properties page |
| 38 | + |
| 39 | + Scenario: To verify Oracle sink plugin validation with connection arguments |
| 40 | + Given Open Datafusion Project to configure pipeline |
| 41 | + When Expand Plugin group in the LHS plugins list: "Sink" |
| 42 | + When Select plugin: "Oracle" from the plugins list as: "Sink" |
| 43 | + Then Navigate to the properties page of plugin: "Oracle" |
| 44 | + Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName" |
| 45 | + Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields |
| 46 | + Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields |
| 47 | + Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields |
| 48 | + Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields |
| 49 | + Then Select radio button plugin property: "role" with value: "normal" |
| 50 | + Then Select radio button plugin property: "connectionType" with value: "service" |
| 51 | + Then Enter input plugin property: "referenceName" with value: "targetRef" |
| 52 | + Then Replace input plugin property: "database" with value: "databaseName" |
| 53 | + Then Replace input plugin property: "tableName" with value: "targetTable" |
| 54 | + Then Replace input plugin property: "dbSchemaName" with value: "schema" |
| 55 | + Then Enter key value pairs for plugin property: "connectionArguments" with values from json: "connectionArgumentsList" |
| 56 | + Then Validate "Oracle" plugin properties |
| 57 | + Then Close the Plugin Properties page |
| 58 | + |
| 59 | + Scenario: To verify Oracle sink plugin validation with advanced details with batch value |
| 60 | + Given Open Datafusion Project to configure pipeline |
| 61 | + When Expand Plugin group in the LHS plugins list: "Sink" |
| 62 | + When Select plugin: "Oracle" from the plugins list as: "Sink" |
| 63 | + Then Navigate to the properties page of plugin: "Oracle" |
| 64 | + Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName" |
| 65 | + Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields |
| 66 | + Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields |
| 67 | + Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields |
| 68 | + Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields |
| 69 | + Then Select radio button plugin property: "role" with value: "normal" |
| 70 | + Then Select radio button plugin property: "connectionType" with value: "service" |
| 71 | + Then Enter input plugin property: "referenceName" with value: "targetRef" |
| 72 | + Then Replace input plugin property: "database" with value: "databaseName" |
| 73 | + Then Replace input plugin property: "tableName" with value: "targetTable" |
| 74 | + Then Replace input plugin property: "defaultBatchValue" with value: "batchValue" |
| 75 | + Then Validate "Oracle" plugin properties |
| 76 | + Then Close the Plugin Properties page |
0 commit comments