{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-beam/pulls/comments/62545688","id":62545688,"diff_hunk":"@@ -0,0 +1,58 @@\n+/*\n+ * Licensed to the Apache Software Foundation (ASF) under one\n+ * or more contributor license agreements.  See the NOTICE file\n+ * distributed with this work for additional information\n+ * regarding copyright ownership.  The ASF licenses this file\n+ * to you under the Apache License, Version 2.0 (the\n+ * \"License\"); you may not use this file except in compliance\n+ * with the License.  You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package org.apache.beam.runners.dataflow.transforms;\n+\n+import org.apache.beam.runners.dataflow.DataflowPipelineRunner;\n+import org.apache.beam.runners.dataflow.options.DataflowPipelineDebugOptions;\n+import org.apache.beam.runners.dataflow.options.DataflowPipelineOptions;\n+import org.apache.beam.sdk.options.GcpOptions;\n+import org.apache.beam.sdk.options.PipelineOptionsFactory;\n+import org.apache.beam.sdk.transforms.display.DisplayDataEvaluator;\n+import org.apache.beam.sdk.util.NoopCredentialFactory;\n+import org.apache.beam.sdk.util.NoopPathValidator;\n+\n+import com.google.common.collect.Lists;\n+\n+import java.io.File;\n+\n+/**\n+ * Factory methods for creating {@link DisplayDataEvaluator} instances against the\n+ * {@link DataflowPipelineRunner}.\n+ */\n+final class DataflowDisplayDataEvaluator {\n+  /** Do not instantiate. */\n+  private DataflowDisplayDataEvaluator() {}\n+\n+  /**\n+   * Create a {@link DisplayDataEvaluator} instance to evaluate pipeline display data against\n+   * the {@link DataflowPipelineRunner}.\n+   *\n+   * @param tempLocation Temp location for {@link DataflowPipelineOptions#setTempLocation(String)}\n+   */\n+  static DisplayDataEvaluator create(File tempLocation) {","path":"runners/google-cloud-dataflow-java/src/test/java/org/apache/beam/runners/dataflow/transforms/DataflowDisplayDataEvaluator.java","position":null,"original_position":47,"commit_id":"1e08c6d6047ba4f8f078be7322e29d69befae89a","original_commit_id":"9103deef132e298b23240307412b249b6347605c","user":{"login":"swegner","id":674021,"avatar_url":"https://avatars.githubusercontent.com/u/674021?v=3","gravatar_id":"","url":"https://api.github.com/users/swegner","html_url":"https://github.com/swegner","followers_url":"https://api.github.com/users/swegner/followers","following_url":"https://api.github.com/users/swegner/following{/other_user}","gists_url":"https://api.github.com/users/swegner/gists{/gist_id}","starred_url":"https://api.github.com/users/swegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swegner/subscriptions","organizations_url":"https://api.github.com/users/swegner/orgs","repos_url":"https://api.github.com/users/swegner/repos","events_url":"https://api.github.com/users/swegner/events{/privacy}","received_events_url":"https://api.github.com/users/swegner/received_events","type":"User","site_admin":false},"body":"The temp value parameter is gone in the latest version. Some DataflowPipelineOptions require a GCS path, so we're using a stub GCS instead.","created_at":"2016-05-09T18:12:36Z","updated_at":"2016-05-09T18:12:36Z","html_url":"https://github.com/apache/incubator-beam/pull/280#discussion_r62545688","pull_request_url":"https://api.github.com/repos/apache/incubator-beam/pulls/280","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/comments/62545688"},"html":{"href":"https://github.com/apache/incubator-beam/pull/280#discussion_r62545688"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/280"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-beam/pulls/280","id":68771403,"html_url":"https://github.com/apache/incubator-beam/pull/280","diff_url":"https://github.com/apache/incubator-beam/pull/280.diff","patch_url":"https://github.com/apache/incubator-beam/pull/280.patch","issue_url":"https://api.github.com/repos/apache/incubator-beam/issues/280","number":280,"state":"open","locked":false,"title":"[BEAM-248] Add display data to additional PTransforms","user":{"login":"swegner","id":674021,"avatar_url":"https://avatars.githubusercontent.com/u/674021?v=3","gravatar_id":"","url":"https://api.github.com/users/swegner","html_url":"https://github.com/swegner","followers_url":"https://api.github.com/users/swegner/followers","following_url":"https://api.github.com/users/swegner/following{/other_user}","gists_url":"https://api.github.com/users/swegner/gists{/gist_id}","starred_url":"https://api.github.com/users/swegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swegner/subscriptions","organizations_url":"https://api.github.com/users/swegner/orgs","repos_url":"https://api.github.com/users/swegner/repos","events_url":"https://api.github.com/users/swegner/events{/privacy}","received_events_url":"https://api.github.com/users/swegner/received_events","type":"User","site_admin":false},"body":"Be sure to do all of the following to help us incorporate your contribution\r\nquickly and easily:\r\n\r\n - [ ] Make sure the PR title is formatted like:\r\n   `[BEAM-<Jira issue #>] Description of pull request`\r\n - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable\r\n       Travis-CI on your fork and ensure the whole test matrix passes).\r\n - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue\r\n       number, if there is one.\r\n - [ ] If this contribution is large, please file an Apache\r\n       [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt).\r\n\r\n---\r\n","created_at":"2016-05-03T20:42:12Z","updated_at":"2016-05-09T18:12:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d37eb6f68049865c03b17d6c0c2c61946a0356fe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-beam/pulls/280/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-beam/pulls/280/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-beam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-beam/issues/280/comments","statuses_url":"https://api.github.com/repos/apache/incubator-beam/statuses/1e08c6d6047ba4f8f078be7322e29d69befae89a","head":{"label":"swegner:displaydata-leaves","ref":"displaydata-leaves","sha":"1e08c6d6047ba4f8f078be7322e29d69befae89a","user":{"login":"swegner","id":674021,"avatar_url":"https://avatars.githubusercontent.com/u/674021?v=3","gravatar_id":"","url":"https://api.github.com/users/swegner","html_url":"https://github.com/swegner","followers_url":"https://api.github.com/users/swegner/followers","following_url":"https://api.github.com/users/swegner/following{/other_user}","gists_url":"https://api.github.com/users/swegner/gists{/gist_id}","starred_url":"https://api.github.com/users/swegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swegner/subscriptions","organizations_url":"https://api.github.com/users/swegner/orgs","repos_url":"https://api.github.com/users/swegner/repos","events_url":"https://api.github.com/users/swegner/events{/privacy}","received_events_url":"https://api.github.com/users/swegner/received_events","type":"User","site_admin":false},"repo":{"id":52832170,"name":"incubator-beam","full_name":"swegner/incubator-beam","owner":{"login":"swegner","id":674021,"avatar_url":"https://avatars.githubusercontent.com/u/674021?v=3","gravatar_id":"","url":"https://api.github.com/users/swegner","html_url":"https://github.com/swegner","followers_url":"https://api.github.com/users/swegner/followers","following_url":"https://api.github.com/users/swegner/following{/other_user}","gists_url":"https://api.github.com/users/swegner/gists{/gist_id}","starred_url":"https://api.github.com/users/swegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swegner/subscriptions","organizations_url":"https://api.github.com/users/swegner/orgs","repos_url":"https://api.github.com/users/swegner/repos","events_url":"https://api.github.com/users/swegner/events{/privacy}","received_events_url":"https://api.github.com/users/swegner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/swegner/incubator-beam","description":"Mirror of Apache Beam (Incubating)","fork":true,"url":"https://api.github.com/repos/swegner/incubator-beam","forks_url":"https://api.github.com/repos/swegner/incubator-beam/forks","keys_url":"https://api.github.com/repos/swegner/incubator-beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swegner/incubator-beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swegner/incubator-beam/teams","hooks_url":"https://api.github.com/repos/swegner/incubator-beam/hooks","issue_events_url":"https://api.github.com/repos/swegner/incubator-beam/issues/events{/number}","events_url":"https://api.github.com/repos/swegner/incubator-beam/events","assignees_url":"https://api.github.com/repos/swegner/incubator-beam/assignees{/user}","branches_url":"https://api.github.com/repos/swegner/incubator-beam/branches{/branch}","tags_url":"https://api.github.com/repos/swegner/incubator-beam/tags","blobs_url":"https://api.github.com/repos/swegner/incubator-beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swegner/incubator-beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swegner/incubator-beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/swegner/incubator-beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swegner/incubator-beam/statuses/{sha}","languages_url":"https://api.github.com/repos/swegner/incubator-beam/languages","stargazers_url":"https://api.github.com/repos/swegner/incubator-beam/stargazers","contributors_url":"https://api.github.com/repos/swegner/incubator-beam/contributors","subscribers_url":"https://api.github.com/repos/swegner/incubator-beam/subscribers","subscription_url":"https://api.github.com/repos/swegner/incubator-beam/subscription","commits_url":"https://api.github.com/repos/swegner/incubator-beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/swegner/incubator-beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/swegner/incubator-beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/swegner/incubator-beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/swegner/incubator-beam/contents/{+path}","compare_url":"https://api.github.com/repos/swegner/incubator-beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swegner/incubator-beam/merges","archive_url":"https://api.github.com/repos/swegner/incubator-beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swegner/incubator-beam/downloads","issues_url":"https://api.github.com/repos/swegner/incubator-beam/issues{/number}","pulls_url":"https://api.github.com/repos/swegner/incubator-beam/pulls{/number}","milestones_url":"https://api.github.com/repos/swegner/incubator-beam/milestones{/number}","notifications_url":"https://api.github.com/repos/swegner/incubator-beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swegner/incubator-beam/labels{/name}","releases_url":"https://api.github.com/repos/swegner/incubator-beam/releases{/id}","deployments_url":"https://api.github.com/repos/swegner/incubator-beam/deployments","created_at":"2016-02-29T23:20:08Z","updated_at":"2016-02-29T23:20:11Z","pushed_at":"2016-05-06T23:48:36Z","git_url":"git://github.com/swegner/incubator-beam.git","ssh_url":"git@github.com:swegner/incubator-beam.git","clone_url":"https://github.com/swegner/incubator-beam.git","svn_url":"https://github.com/swegner/incubator-beam","homepage":null,"size":13822,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"ff825b077fc2deb1483e27bfd78655cb420d0042","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":50904245,"name":"incubator-beam","full_name":"apache/incubator-beam","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-beam","description":"Mirror of Apache Beam (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-beam","forks_url":"https://api.github.com/repos/apache/incubator-beam/forks","keys_url":"https://api.github.com/repos/apache/incubator-beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-beam/teams","hooks_url":"https://api.github.com/repos/apache/incubator-beam/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-beam/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-beam/events","assignees_url":"https://api.github.com/repos/apache/incubator-beam/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-beam/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-beam/tags","blobs_url":"https://api.github.com/repos/apache/incubator-beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-beam/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-beam/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-beam/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-beam/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-beam/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-beam/subscription","commits_url":"https://api.github.com/repos/apache/incubator-beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-beam/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-beam/merges","archive_url":"https://api.github.com/repos/apache/incubator-beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-beam/downloads","issues_url":"https://api.github.com/repos/apache/incubator-beam/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-beam/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-beam/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-beam/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-beam/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-beam/deployments","created_at":"2016-02-02T08:00:06Z","updated_at":"2016-05-09T12:22:10Z","pushed_at":"2016-05-09T18:09:17Z","git_url":"git://github.com/apache/incubator-beam.git","ssh_url":"git@github.com:apache/incubator-beam.git","clone_url":"https://github.com/apache/incubator-beam.git","svn_url":"https://github.com/apache/incubator-beam","homepage":null,"size":16235,"stargazers_count":171,"watchers_count":171,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":84,"mirror_url":"git://git.apache.org/incubator-beam.git","open_issues_count":25,"forks":84,"open_issues":25,"watchers":171,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/280"},"html":{"href":"https://github.com/apache/incubator-beam/pull/280"},"issue":{"href":"https://api.github.com/repos/apache/incubator-beam/issues/280"},"comments":{"href":"https://api.github.com/repos/apache/incubator-beam/issues/280/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/280/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/280/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-beam/statuses/1e08c6d6047ba4f8f078be7322e29d69befae89a"}}}}