Skip to content

Commit

Permalink
Merge pull request #722 from cloudsufi/wranglerConnectionStepChanges
Browse files Browse the repository at this point in the history
Wrangler connection step changes
  • Loading branch information
AnkitCLI authored Dec 16, 2024
2 parents 2742750 + 4f72b14 commit 7cdd796
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Wrangler_Required
Feature: Runtime Scenarios for datatype parsers

@BQ_SOURCE_TS_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST
@BQ_SOURCE_TS_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST @BQ_CONNECTION
Scenario: To verify User is able to run a pipeline using parse timestamp directive
Given Open Wrangler connections page
Then Click plugin property: "addConnection" button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Wrangler
Feature: Wrangler - Run time scenarios for parse csv using UI

@BQ_SOURCE_CSV_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST
@BQ_SOURCE_CSV_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST @BQ_CONNECTION
Scenario: To verify User is able to run a pipeline using parse csv directive
Given Open Wrangler connections page
Then Click plugin property: "addConnection" button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Wrangler
Feature: Parse as excel

@BQ_SINK_TEST
@BQ_SINK_TEST @BQ_CONNECTION
Scenario: To verify User is able to run a pipeline using parse Excel directive
Given Open Wrangler connections page
Then Click plugin property: "addConnection" button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Wrangler_Required
Feature: parse as fixed length

@BQ_SOURCE_FXDLEN_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST
@BQ_SOURCE_FXDLEN_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST @BQ_CONNECTION
Scenario: To verify User is able to run a pipeline using parse fixedlength directive
Given Open Wrangler connections page
Then Click plugin property: "addConnection" button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Wrangler
Feature: parse as HL7

@BQ_SOURCE_HL7_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST
@BQ_SOURCE_HL7_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST @BQ_CONNECTION
Scenario: To verify User is able to run a pipeline using parse hl7 directive
Given Open Wrangler connections page
Then Click plugin property: "addConnection" button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Wrangler
Feature: parse as Json

@BQ_SOURCE_JSON_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST
@BQ_SOURCE_JSON_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST @BQ_CONNECTION
Scenario: To verify User is able to run a pipeline using parse Json directive
Given Open Wrangler connections page
Then Click plugin property: "addConnection" button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Wrangler
Feature: Wrangler - Run time scenarios for Parse Log

@BQ_SOURCE_LOG_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST
@BQ_SOURCE_LOG_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST @BQ_CONNECTION
Scenario: To verify User is able to run a pipeline using parse log directive
Given Open Wrangler connections page
Then Click plugin property: "addConnection" button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Wrangler
Feature: parse as XmlToJson

@BQ_SOURCE_XML_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST
@BQ_SOURCE_XML_TEST @BQ_SOURCE_TEST @BQ_SINK_TEST @BQ_CONNECTION
Scenario: To verify User is able to run a pipeline using parse XmlToJson directive
Given Open Wrangler connections page
Then Click plugin property: "addConnection" button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,9 @@ private static void createSourceBQTableWithQueries(String bqCreateTableQueryFile
PluginPropertyUtils.addPluginProp("bqSourceTable", bqSourceTable);
BeforeActions.scenario.write("BQ Source Table " + bqSourceTable + " created successfully");
}

@Before(order = 1, value = "@BQ_CONNECTION")
public static void setBQConnectionName() {
PluginPropertyUtils.addPluginProp("bqConnectionName", "BQ-" + UUID.randomUUID());
}
}

0 comments on commit 7cdd796

Please sign in to comment.