Skip to content

Commit

Permalink
added step for validation.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkitCLI committed Jan 23, 2024
1 parent 616cad6 commit d3b0ee2
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ Feature: datatype parsers
Then Replace input plugin property: "dataset" with value: "dataset"
Then Replace input plugin property: "table" with value: "bqSourceTable"
Then Click on the Get Schema button
Then Validate "BigQueryTable" plugin properties
Then Close the Plugin Properties page
Then Navigate to the properties page of plugin: "BigQuery2"
Then Replace input plugin property: "project" with value: "projectId"
Then Replace input plugin property: "table" with value: "bqTargetTable"
Then Replace input plugin property: "dataset" with value: "dataset"
Then Click on the Validate button
Then Validate "BigQuery2" plugin properties
Then Close the Plugin Properties page
Then Rename the pipeline
Then Deploy the pipeline
Expand All @@ -53,11 +54,13 @@ Feature: datatype parsers
Then Replace input plugin property: "table" with value: "bqSourceTable"
Then Click on the Get Schema button
Then Close the Plugin Properties page
Then Validate "BigQueryTable" plugin properties
Then Navigate to the properties page of plugin: "BigQuery2"
Then Replace input plugin property: "project" with value: "projectId"
Then Replace input plugin property: "table" with value: "bqTargetTable"
Then Replace input plugin property: "dataset" with value: "dataset"
Then Click on the Validate button
Then Validate "BigQuery2" plugin properties
Then Close the Plugin Properties page
Then Rename the pipeline
Then Deploy the pipeline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ Feature: Wrangler - Run time scenarios for parse csv
Then Replace input plugin property: "dataset" with value: "dataset"
Then Replace input plugin property: "table" with value: "bqSourceTable"
Then Click on the Get Schema button
Then Validate "BigQueryTable" plugin properties
Then Close the Plugin Properties page
Then Navigate to the properties page of plugin: "BigQuery2"
Then Replace input plugin property: "project" with value: "projectId"
Then Replace input plugin property: "table" with value: "bqTargetTable"
Then Replace input plugin property: "dataset" with value: "dataset"
Then Click on the Validate button
Then Validate "BigQuery2" plugin properties
Then Close the Plugin Properties page
Then Rename the pipeline
Then Deploy the pipeline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Feature: Parse as excel
Then Replace input plugin property: "project" with value: "projectId"
Then Replace input plugin property: "table" with value: "bqTargetTable"
Then Replace input plugin property: "dataset" with value: "dataset"
Then Click on the Validate button
Then Validate "BigQuery" plugin properties
Then Close the Plugin Properties page
Then Rename the pipeline
Then Deploy the pipeline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ Feature: parse as fixed length
Then Replace input plugin property: "dataset" with value: "dataset"
Then Replace input plugin property: "table" with value: "bqSourceTable"
Then Click on the Get Schema button
Then Validate "BigQueryTable" plugin properties
Then Close the Plugin Properties page
Then Navigate to the properties page of plugin: "BigQuery2"
Then Replace input plugin property: "project" with value: "projectId"
Then Replace input plugin property: "table" with value: "bqTargetTable"
Then Replace input plugin property: "dataset" with value: "dataset"
Then Click on the Validate button
Then Validate "BigQuery2" plugin properties
Then Close the Plugin Properties page
Then Rename the pipeline
Then Deploy the pipeline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ Feature: parse as HL7
Then Replace input plugin property: "dataset" with value: "dataset"
Then Replace input plugin property: "table" with value: "bqSourceTable"
Then Click on the Get Schema button
Then Validate "BigQueryTable" plugin properties
Then Close the Plugin Properties page
Then Navigate to the properties page of plugin: "BigQuery2"
Then Replace input plugin property: "project" with value: "projectId"
Then Replace input plugin property: "table" with value: "bqTargetTable"
Then Replace input plugin property: "dataset" with value: "dataset"
Then Click on the Validate button
Then Validate "BigQuery2" plugin properties
Then Close the Plugin Properties page
Then Rename the pipeline
Then Deploy the pipeline
Then Save and Deploy Pipeline
Then Run the Pipeline in Runtime
Then Wait till pipeline is in running state
Then Open and capture logs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ Feature: parse as Json
Then Replace input plugin property: "dataset" with value: "dataset"
Then Replace input plugin property: "table" with value: "bqSourceTable"
Then Click on the Get Schema button
Then Validate "BigQueryTable" plugin properties
Then Close the Plugin Properties page
Then Navigate to the properties page of plugin: "BigQuery2"
Then Replace input plugin property: "project" with value: "projectId"
Then Replace input plugin property: "table" with value: "bqTargetTable"
Then Replace input plugin property: "dataset" with value: "dataset"
Then Click on the Validate button
Then Validate "BigQuery2" plugin properties
Then Close the Plugin Properties page
Then Rename the pipeline
Then Deploy the pipeline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ Feature: parse as XmlToJson
Then Replace input plugin property: "dataset" with value: "dataset"
Then Replace input plugin property: "table" with value: "bqSourceTable"
Then Click on the Get Schema button
Then Validate "BigQueryTable" plugin properties
Then Close the Plugin Properties page
Then Navigate to the properties page of plugin: "BigQuery2"
Then Replace input plugin property: "project" with value: "projectId"
Then Replace input plugin property: "table" with value: "bqTargetTable"
Then Replace input plugin property: "dataset" with value: "dataset"
Then Click on the Validate button
Then Validate "BigQuery2" plugin properties
Then Close the Plugin Properties page
Then Rename the pipeline
Then Deploy the pipeline
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
validationSuccessMessage=No errors found.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Directive_parse_excel=testData/Wrangler/parse_excel_wrangler_copy-cdap-data-pipe
Directive_parse_csv=testData/Wrangler\
/parse_csv_wrangle-cdap-data-pipeline.json
bqSourceTable=dummy
bqTargetTable=dummy
sourcePath=example/hello.csv
gcsSourceBucket=dummy
testFile=BQtesdata/BigQuery/test1.xlsx
Expand Down

0 comments on commit d3b0ee2

Please sign in to comment.