{"action":"opened","number":982,"pull_request":{"url":"https://api.github.com/repos/apache/nifi/pulls/982","id":83560574,"html_url":"https://github.com/apache/nifi/pull/982","diff_url":"https://github.com/apache/nifi/pull/982.diff","patch_url":"https://github.com/apache/nifi/pull/982.patch","issue_url":"https://api.github.com/repos/apache/nifi/issues/982","number":982,"state":"open","locked":false,"title":"NIFI-2251 - Initial commit for client side provenance lineage svg download","user":{"login":"YolandaMDavis","id":1371858,"avatar_url":"https://avatars.githubusercontent.com/u/1371858?v=3","gravatar_id":"","url":"https://api.github.com/users/YolandaMDavis","html_url":"https://github.com/YolandaMDavis","followers_url":"https://api.github.com/users/YolandaMDavis/followers","following_url":"https://api.github.com/users/YolandaMDavis/following{/other_user}","gists_url":"https://api.github.com/users/YolandaMDavis/gists{/gist_id}","starred_url":"https://api.github.com/users/YolandaMDavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YolandaMDavis/subscriptions","organizations_url":"https://api.github.com/users/YolandaMDavis/orgs","repos_url":"https://api.github.com/users/YolandaMDavis/repos","events_url":"https://api.github.com/users/YolandaMDavis/events{/privacy}","received_events_url":"https://api.github.com/users/YolandaMDavis/received_events","type":"User","site_admin":false},"body":"This provides a client side solution for downloading the svg lineage graph file (essentially replacing the functionality of the DownloadSVG servlet).  There are two different download models supported (both methods using data URI for content delivery):\r\n\r\n1) If the user clicks the download button, and the download anchor tag attribute is supported by the browser, then NiFi will automatically trigger a hidden link with the data URI referenced for file content and a file name provided for the download attribute. This will allow the browser to prompt the user to save the file with the given filename to their local drive.\r\n\r\n2) If the download attribute is not supported (e.g. Safari) then a separate tab will open displaying the svg file which can then be saved by the user using the browser's \"Save As\" menu.\r\n\r\n","created_at":"2016-09-01T02:24:48Z","updated_at":"2016-09-01T02:24:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/nifi/pulls/982/commits","review_comments_url":"https://api.github.com/repos/apache/nifi/pulls/982/comments","review_comment_url":"https://api.github.com/repos/apache/nifi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/nifi/issues/982/comments","statuses_url":"https://api.github.com/repos/apache/nifi/statuses/eddab945e2ef2462ed652259f250564a1199dd5d","head":{"label":"YolandaMDavis:NIFI-2251","ref":"NIFI-2251","sha":"eddab945e2ef2462ed652259f250564a1199dd5d","user":{"login":"YolandaMDavis","id":1371858,"avatar_url":"https://avatars.githubusercontent.com/u/1371858?v=3","gravatar_id":"","url":"https://api.github.com/users/YolandaMDavis","html_url":"https://github.com/YolandaMDavis","followers_url":"https://api.github.com/users/YolandaMDavis/followers","following_url":"https://api.github.com/users/YolandaMDavis/following{/other_user}","gists_url":"https://api.github.com/users/YolandaMDavis/gists{/gist_id}","starred_url":"https://api.github.com/users/YolandaMDavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YolandaMDavis/subscriptions","organizations_url":"https://api.github.com/users/YolandaMDavis/orgs","repos_url":"https://api.github.com/users/YolandaMDavis/repos","events_url":"https://api.github.com/users/YolandaMDavis/events{/privacy}","received_events_url":"https://api.github.com/users/YolandaMDavis/received_events","type":"User","site_admin":false},"repo":{"id":56233404,"name":"nifi","full_name":"YolandaMDavis/nifi","owner":{"login":"YolandaMDavis","id":1371858,"avatar_url":"https://avatars.githubusercontent.com/u/1371858?v=3","gravatar_id":"","url":"https://api.github.com/users/YolandaMDavis","html_url":"https://github.com/YolandaMDavis","followers_url":"https://api.github.com/users/YolandaMDavis/followers","following_url":"https://api.github.com/users/YolandaMDavis/following{/other_user}","gists_url":"https://api.github.com/users/YolandaMDavis/gists{/gist_id}","starred_url":"https://api.github.com/users/YolandaMDavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YolandaMDavis/subscriptions","organizations_url":"https://api.github.com/users/YolandaMDavis/orgs","repos_url":"https://api.github.com/users/YolandaMDavis/repos","events_url":"https://api.github.com/users/YolandaMDavis/events{/privacy}","received_events_url":"https://api.github.com/users/YolandaMDavis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YolandaMDavis/nifi","description":"Mirror of Apache NiFi","fork":true,"url":"https://api.github.com/repos/YolandaMDavis/nifi","forks_url":"https://api.github.com/repos/YolandaMDavis/nifi/forks","keys_url":"https://api.github.com/repos/YolandaMDavis/nifi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YolandaMDavis/nifi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YolandaMDavis/nifi/teams","hooks_url":"https://api.github.com/repos/YolandaMDavis/nifi/hooks","issue_events_url":"https://api.github.com/repos/YolandaMDavis/nifi/issues/events{/number}","events_url":"https://api.github.com/repos/YolandaMDavis/nifi/events","assignees_url":"https://api.github.com/repos/YolandaMDavis/nifi/assignees{/user}","branches_url":"https://api.github.com/repos/YolandaMDavis/nifi/branches{/branch}","tags_url":"https://api.github.com/repos/YolandaMDavis/nifi/tags","blobs_url":"https://api.github.com/repos/YolandaMDavis/nifi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YolandaMDavis/nifi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YolandaMDavis/nifi/git/refs{/sha}","trees_url":"https://api.github.com/repos/YolandaMDavis/nifi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YolandaMDavis/nifi/statuses/{sha}","languages_url":"https://api.github.com/repos/YolandaMDavis/nifi/languages","stargazers_url":"https://api.github.com/repos/YolandaMDavis/nifi/stargazers","contributors_url":"https://api.github.com/repos/YolandaMDavis/nifi/contributors","subscribers_url":"https://api.github.com/repos/YolandaMDavis/nifi/subscribers","subscription_url":"https://api.github.com/repos/YolandaMDavis/nifi/subscription","commits_url":"https://api.github.com/repos/YolandaMDavis/nifi/commits{/sha}","git_commits_url":"https://api.github.com/repos/YolandaMDavis/nifi/git/commits{/sha}","comments_url":"https://api.github.com/repos/YolandaMDavis/nifi/comments{/number}","issue_comment_url":"https://api.github.com/repos/YolandaMDavis/nifi/issues/comments{/number}","contents_url":"https://api.github.com/repos/YolandaMDavis/nifi/contents/{+path}","compare_url":"https://api.github.com/repos/YolandaMDavis/nifi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YolandaMDavis/nifi/merges","archive_url":"https://api.github.com/repos/YolandaMDavis/nifi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YolandaMDavis/nifi/downloads","issues_url":"https://api.github.com/repos/YolandaMDavis/nifi/issues{/number}","pulls_url":"https://api.github.com/repos/YolandaMDavis/nifi/pulls{/number}","milestones_url":"https://api.github.com/repos/YolandaMDavis/nifi/milestones{/number}","notifications_url":"https://api.github.com/repos/YolandaMDavis/nifi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YolandaMDavis/nifi/labels{/name}","releases_url":"https://api.github.com/repos/YolandaMDavis/nifi/releases{/id}","deployments_url":"https://api.github.com/repos/YolandaMDavis/nifi/deployments","created_at":"2016-04-14T11:54:50Z","updated_at":"2016-04-14T11:55:08Z","pushed_at":"2016-09-01T02:02:20Z","git_url":"git://github.com/YolandaMDavis/nifi.git","ssh_url":"git@github.com:YolandaMDavis/nifi.git","clone_url":"https://github.com/YolandaMDavis/nifi.git","svn_url":"https://github.com/YolandaMDavis/nifi","homepage":"","size":64087,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"bc50329d5e3df2ce5bb7b9d3a1f8d4413ee24da0","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":27911088,"name":"nifi","full_name":"apache/nifi","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/nifi","description":"Mirror of Apache NiFi","fork":false,"url":"https://api.github.com/repos/apache/nifi","forks_url":"https://api.github.com/repos/apache/nifi/forks","keys_url":"https://api.github.com/repos/apache/nifi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/nifi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/nifi/teams","hooks_url":"https://api.github.com/repos/apache/nifi/hooks","issue_events_url":"https://api.github.com/repos/apache/nifi/issues/events{/number}","events_url":"https://api.github.com/repos/apache/nifi/events","assignees_url":"https://api.github.com/repos/apache/nifi/assignees{/user}","branches_url":"https://api.github.com/repos/apache/nifi/branches{/branch}","tags_url":"https://api.github.com/repos/apache/nifi/tags","blobs_url":"https://api.github.com/repos/apache/nifi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/nifi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/nifi/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/nifi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/nifi/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/nifi/languages","stargazers_url":"https://api.github.com/repos/apache/nifi/stargazers","contributors_url":"https://api.github.com/repos/apache/nifi/contributors","subscribers_url":"https://api.github.com/repos/apache/nifi/subscribers","subscription_url":"https://api.github.com/repos/apache/nifi/subscription","commits_url":"https://api.github.com/repos/apache/nifi/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/nifi/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/nifi/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/nifi/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/nifi/contents/{+path}","compare_url":"https://api.github.com/repos/apache/nifi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/nifi/merges","archive_url":"https://api.github.com/repos/apache/nifi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/nifi/downloads","issues_url":"https://api.github.com/repos/apache/nifi/issues{/number}","pulls_url":"https://api.github.com/repos/apache/nifi/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/nifi/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/nifi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/nifi/labels{/name}","releases_url":"https://api.github.com/repos/apache/nifi/releases{/id}","deployments_url":"https://api.github.com/repos/apache/nifi/deployments","created_at":"2014-12-12T08:00:05Z","updated_at":"2016-08-31T17:44:14Z","pushed_at":"2016-08-31T23:35:17Z","git_url":"git://github.com/apache/nifi.git","ssh_url":"git@github.com:apache/nifi.git","clone_url":"https://github.com/apache/nifi.git","svn_url":"https://github.com/apache/nifi","homepage":"","size":90498,"stargazers_count":349,"watchers_count":349,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":306,"mirror_url":"git://git.apache.org/nifi.git","open_issues_count":62,"forks":306,"open_issues":62,"watchers":349,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/nifi/pulls/982"},"html":{"href":"https://github.com/apache/nifi/pull/982"},"issue":{"href":"https://api.github.com/repos/apache/nifi/issues/982"},"comments":{"href":"https://api.github.com/repos/apache/nifi/issues/982/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/nifi/pulls/982/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/nifi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/nifi/pulls/982/commits"},"statuses":{"href":"https://api.github.com/repos/apache/nifi/statuses/eddab945e2ef2462ed652259f250564a1199dd5d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":76,"deletions":63,"changed_files":2}}
{"actor":{"display_login":"YolandaMDavis"}}