[
https://issues.apache.org/jira/browse/BEAM-9726?focusedWorklogId=419517&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-419517
]
ASF GitHub Bot logged work on BEAM-9726:
----------------------------------------
Author: ASF GitHub Bot
Created on: 09/Apr/20 16:22
Start Date: 09/Apr/20 16:22
Worklog Time Spent: 10m
Work Description: aaltay commented on pull request #11353: [BEAM-9726]
Make region optional for non-service runner.
URL: https://github.com/apache/beam/pull/11353#discussion_r406322401
##########
File path:
runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowRunner.java
##########
@@ -224,6 +225,9 @@
*/
public static final String PROJECT_ID_REGEXP = "[a-z][-a-z0-9:.]+[a-z0-9]";
+ /** Dataflow service endpoints are expected to match this pattern. */
+ static final String ENDPOINT_REGEXP = "https://[\\S]*googleapis\\.com[/]?";
Review comment:
Is this always true? (I do not know the answer but probably good to check
wrt staging etc. endpoints.)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 419517)
Time Spent: 40m (was: 0.5h)
> Don't require --region for non-service Dataflow endpoints.
> ----------------------------------------------------------
>
> Key: BEAM-9726
> URL: https://issues.apache.org/jira/browse/BEAM-9726
> Project: Beam
> Issue Type: Bug
> Components: runner-dataflow
> Reporter: Kyle Weaver
> Assignee: Kyle Weaver
> Priority: Major
> Fix For: 2.21.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Some Dataflow internal tests don't run on the real Dataflow service. Since
> region only applies to the real Dataflow service, we should not require these
> tests to specify a region.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)