|
| 1 | +@Dataplex_Sink |
| 2 | +Feature: Dataplex sink - Verification of BQ source to dataplex sink with update metadata enabled |
| 3 | + |
| 4 | + @Dataplex_SINK_TEST @GCS_SINK_TEST @BQ_SOURCE_TEST |
| 5 | + Scenario:Validate successful records transfer from BigQuery to Dataplex with update metadata enabled |
| 6 | + Given Open Datafusion Project to configure pipeline |
| 7 | + When Source is BigQuery |
| 8 | + When Sink is Dataplex |
| 9 | + Then Connect source as "BigQuery" and sink as "Dataplex" to establish connection |
| 10 | + Then Open BigQuery source properties |
| 11 | + Then Enter BigQuery property reference name |
| 12 | + Then Enter BigQuery property projectId "projectId" |
| 13 | + Then Enter BigQuery property datasetProjectId "projectId" |
| 14 | + Then Enter BigQuery property dataset "dataset" |
| 15 | + Then Enter BigQuery source property table name |
| 16 | + Then Override Service account details if set in environment variables |
| 17 | + Then Enter BiqQuery property encryption key name "cmekBQ" if cmek is enabled |
| 18 | + Then Validate output schema with expectedSchema "bqSourceSchema" |
| 19 | + Then Validate "BigQuery" plugin properties |
| 20 | + Then Close the BigQuery properties |
| 21 | + Then Open Dataplex sink properties |
| 22 | + Then Override Service account details if set in environment variables |
| 23 | + Then Enter the Dataplex mandatory properties |
| 24 | + Then Enter the Dataplex sink mandatory properties |
| 25 | + Then Enable Metadata Update |
| 26 | + Then Validate "Dataplex" plugin properties |
| 27 | + Then Close the Dataplex properties |
| 28 | + Then Save and Deploy Pipeline |
| 29 | + Then Run the Pipeline in Runtime |
| 30 | + Then Wait till pipeline is in running state |
| 31 | + Then Open and capture logs |
| 32 | + Then Verify the pipeline status is "Succeeded" |
| 33 | + Given Open Datafusion Project to configure pipeline |
| 34 | + When Source is Dataplex |
| 35 | + When Sink is Dataplex |
| 36 | + Then Connect source as "Dataplex" and sink as "Dataplex" to establish connection |
| 37 | + Then Open Dataplex source properties |
| 38 | + Then Enter the Dataplex mandatory properties |
| 39 | + Then Enter the Dataplex source mandatory properties |
| 40 | + Then Override Service account details if set in environment variables |
| 41 | + Then Validate output schema with expectedSchema "dataplexSourceSchema" |
| 42 | + Then Validate "Dataplex" plugin properties |
| 43 | + Then Close the Dataplex properties |
| 44 | + Then Open Dataplex sink properties |
| 45 | + Then Override Service account details if set in environment variables |
| 46 | + Then Enter the Dataplex mandatory properties |
| 47 | + Then Enter the Dataplex sink mandatory properties |
| 48 | + Then Enable Metadata Update |
| 49 | + Then Remove "ts" column from output schema |
| 50 | + Then Validate "Dataplex" plugin properties |
| 51 | + Then Close the Dataplex properties |
| 52 | + Then Save and Deploy Pipeline |
| 53 | + Then Run the Pipeline in Runtime |
| 54 | + Then Wait till pipeline is in running state |
| 55 | + Then Open and capture logs |
| 56 | + Then Verify the pipeline status is "Succeeded" |
0 commit comments