{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls/comments/87284739","pull_request_review_id":7902884,"id":87284739,"diff_hunk":"@@ -0,0 +1,828 @@\n+<#\n+\n+.SYNOPSIS\n+\n+Deploys an Azure Data Factory (ADF) from the command line. \n+\n+\n+.DESCRIPTION\n+\n+The script only deploys linked services, datasets and pipelines for a data factory, no current suport for Gateways.\t\n+For this script to run correctly, in the PowerShell context in which this is called, you should have already loged in\n+to your Azure account and selected the correct subscription, e.g.:\n+\tLogin-AzureRmAccount\n+\tGet-AzureRmSubscription �SubscriptionName �YourSubscription� | Select-AzureRmSubscription\n+\n+The script expects the ADF's components to have specific suffixes for each of the elements\n+(linked service, dataset, pipeline) in order for them to be found and deployed correctly. \n+The suffixes are configurable through the *FilenameSuffix set of parameters.\n+\n+Support for linked services connection strings overwriting is supported as well, \n+as long as that is passed in through the DataFactoryConfigFile parameter.\n+\n+.PARAMETER SetupMode \n+\n+The mode in which the script will run. Valid options are:\n+\tCHECK                         # Checks Azure Data Factory existence\n+\tINSTALL                       # Deploys the new Azure Data Factory","path":"Samples/Deploy-AzureDataFactory/Deploy-AzureDataFactory.ps1","position":27,"original_position":27,"commit_id":"d04c5907c0376f8800c47d60c1f5725b29d733c5","original_commit_id":"d04c5907c0376f8800c47d60c1f5725b29d733c5","user":{"login":"bgold09","id":1216026,"avatar_url":"https://avatars.githubusercontent.com/u/1216026?v=3","gravatar_id":"","url":"https://api.github.com/users/bgold09","html_url":"https://github.com/bgold09","followers_url":"https://api.github.com/users/bgold09/followers","following_url":"https://api.github.com/users/bgold09/following{/other_user}","gists_url":"https://api.github.com/users/bgold09/gists{/gist_id}","starred_url":"https://api.github.com/users/bgold09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgold09/subscriptions","organizations_url":"https://api.github.com/users/bgold09/orgs","repos_url":"https://api.github.com/users/bgold09/repos","events_url":"https://api.github.com/users/bgold09/events{/privacy}","received_events_url":"https://api.github.com/users/bgold09/received_events","type":"User","site_admin":false},"body":"We should not use the terminology \"install\" or \"uninstall\" anywhere. This should either be create/delete or deploy/remove, respectively; this is consistent with the terminology we use in the product and also Azure-wide. ","created_at":"2016-11-09T21:50:45Z","updated_at":"2016-11-09T21:54:09Z","html_url":"https://github.com/Azure/Azure-DataFactory/pull/35#discussion_r87284739","pull_request_url":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls/comments/87284739"},"html":{"href":"https://github.com/Azure/Azure-DataFactory/pull/35#discussion_r87284739"},"pull_request":{"href":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls/35","id":91844293,"html_url":"https://github.com/Azure/Azure-DataFactory/pull/35","diff_url":"https://github.com/Azure/Azure-DataFactory/pull/35.diff","patch_url":"https://github.com/Azure/Azure-DataFactory/pull/35.patch","issue_url":"https://api.github.com/repos/Azure/Azure-DataFactory/issues/35","number":35,"state":"open","locked":false,"title":"Initial version of the command-line deployment script for ADF","user":{"login":"GArionMSFT","id":18576528,"avatar_url":"https://avatars.githubusercontent.com/u/18576528?v=3","gravatar_id":"","url":"https://api.github.com/users/GArionMSFT","html_url":"https://github.com/GArionMSFT","followers_url":"https://api.github.com/users/GArionMSFT/followers","following_url":"https://api.github.com/users/GArionMSFT/following{/other_user}","gists_url":"https://api.github.com/users/GArionMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/GArionMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GArionMSFT/subscriptions","organizations_url":"https://api.github.com/users/GArionMSFT/orgs","repos_url":"https://api.github.com/users/GArionMSFT/repos","events_url":"https://api.github.com/users/GArionMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/GArionMSFT/received_events","type":"User","site_admin":false},"body":"This sample script is used by our team to do automated command-line deployments of our Azure Data Factories for several months.","created_at":"2016-11-01T19:07:42Z","updated_at":"2016-11-09T21:54:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1efe6ccd39f29114a49d2ce3edee95359d403d6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls/35/commits","review_comments_url":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls/35/comments","review_comment_url":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/Azure-DataFactory/issues/35/comments","statuses_url":"https://api.github.com/repos/Azure/Azure-DataFactory/statuses/d04c5907c0376f8800c47d60c1f5725b29d733c5","head":{"label":"GArionMSFT:master","ref":"master","sha":"d04c5907c0376f8800c47d60c1f5725b29d733c5","user":{"login":"GArionMSFT","id":18576528,"avatar_url":"https://avatars.githubusercontent.com/u/18576528?v=3","gravatar_id":"","url":"https://api.github.com/users/GArionMSFT","html_url":"https://github.com/GArionMSFT","followers_url":"https://api.github.com/users/GArionMSFT/followers","following_url":"https://api.github.com/users/GArionMSFT/following{/other_user}","gists_url":"https://api.github.com/users/GArionMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/GArionMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GArionMSFT/subscriptions","organizations_url":"https://api.github.com/users/GArionMSFT/orgs","repos_url":"https://api.github.com/users/GArionMSFT/repos","events_url":"https://api.github.com/users/GArionMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/GArionMSFT/received_events","type":"User","site_admin":false},"repo":{"id":72566560,"name":"Azure-DataFactory","full_name":"GArionMSFT/Azure-DataFactory","owner":{"login":"GArionMSFT","id":18576528,"avatar_url":"https://avatars.githubusercontent.com/u/18576528?v=3","gravatar_id":"","url":"https://api.github.com/users/GArionMSFT","html_url":"https://github.com/GArionMSFT","followers_url":"https://api.github.com/users/GArionMSFT/followers","following_url":"https://api.github.com/users/GArionMSFT/following{/other_user}","gists_url":"https://api.github.com/users/GArionMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/GArionMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GArionMSFT/subscriptions","organizations_url":"https://api.github.com/users/GArionMSFT/orgs","repos_url":"https://api.github.com/users/GArionMSFT/repos","events_url":"https://api.github.com/users/GArionMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/GArionMSFT/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GArionMSFT/Azure-DataFactory","description":null,"fork":true,"url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory","forks_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/forks","keys_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/teams","hooks_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/hooks","issue_events_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/issues/events{/number}","events_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/events","assignees_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/assignees{/user}","branches_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/branches{/branch}","tags_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/tags","blobs_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/git/refs{/sha}","trees_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/statuses/{sha}","languages_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/languages","stargazers_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/stargazers","contributors_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/contributors","subscribers_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/subscribers","subscription_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/subscription","commits_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/commits{/sha}","git_commits_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/git/commits{/sha}","comments_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/comments{/number}","issue_comment_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/issues/comments{/number}","contents_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/contents/{+path}","compare_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/merges","archive_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/downloads","issues_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/issues{/number}","pulls_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/pulls{/number}","milestones_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/milestones{/number}","notifications_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/labels{/name}","releases_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/releases{/id}","deployments_url":"https://api.github.com/repos/GArionMSFT/Azure-DataFactory/deployments","created_at":"2016-11-01T18:53:55Z","updated_at":"2016-10-25T09:56:15Z","pushed_at":"2016-11-01T19:04:51Z","git_url":"git://github.com/GArionMSFT/Azure-DataFactory.git","ssh_url":"git@github.com:GArionMSFT/Azure-DataFactory.git","clone_url":"https://github.com/GArionMSFT/Azure-DataFactory.git","svn_url":"https://github.com/GArionMSFT/Azure-DataFactory","homepage":null,"size":4364,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"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":"Azure:master","ref":"master","sha":"e69da7e4a6a9c43fe6720a9524fb82bda3f0b982","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":24960549,"name":"Azure-DataFactory","full_name":"Azure/Azure-DataFactory","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/Azure-DataFactory","description":null,"fork":false,"url":"https://api.github.com/repos/Azure/Azure-DataFactory","forks_url":"https://api.github.com/repos/Azure/Azure-DataFactory/forks","keys_url":"https://api.github.com/repos/Azure/Azure-DataFactory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/Azure-DataFactory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/Azure-DataFactory/teams","hooks_url":"https://api.github.com/repos/Azure/Azure-DataFactory/hooks","issue_events_url":"https://api.github.com/repos/Azure/Azure-DataFactory/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/Azure-DataFactory/events","assignees_url":"https://api.github.com/repos/Azure/Azure-DataFactory/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/Azure-DataFactory/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/Azure-DataFactory/tags","blobs_url":"https://api.github.com/repos/Azure/Azure-DataFactory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/Azure-DataFactory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/Azure-DataFactory/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/Azure-DataFactory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/Azure-DataFactory/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/Azure-DataFactory/languages","stargazers_url":"https://api.github.com/repos/Azure/Azure-DataFactory/stargazers","contributors_url":"https://api.github.com/repos/Azure/Azure-DataFactory/contributors","subscribers_url":"https://api.github.com/repos/Azure/Azure-DataFactory/subscribers","subscription_url":"https://api.github.com/repos/Azure/Azure-DataFactory/subscription","commits_url":"https://api.github.com/repos/Azure/Azure-DataFactory/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/Azure-DataFactory/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/Azure-DataFactory/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/Azure-DataFactory/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/Azure-DataFactory/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/Azure-DataFactory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/Azure-DataFactory/merges","archive_url":"https://api.github.com/repos/Azure/Azure-DataFactory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/Azure-DataFactory/downloads","issues_url":"https://api.github.com/repos/Azure/Azure-DataFactory/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/Azure-DataFactory/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/Azure-DataFactory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/Azure-DataFactory/labels{/name}","releases_url":"https://api.github.com/repos/Azure/Azure-DataFactory/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/Azure-DataFactory/deployments","created_at":"2014-10-08T20:57:31Z","updated_at":"2016-11-08T20:24:52Z","pushed_at":"2016-11-01T19:07:43Z","git_url":"git://github.com/Azure/Azure-DataFactory.git","ssh_url":"git@github.com:Azure/Azure-DataFactory.git","clone_url":"https://github.com/Azure/Azure-DataFactory.git","svn_url":"https://github.com/Azure/Azure-DataFactory","homepage":null,"size":5967,"stargazers_count":65,"watchers_count":65,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":121,"mirror_url":null,"open_issues_count":4,"forks":121,"open_issues":4,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls/35"},"html":{"href":"https://github.com/Azure/Azure-DataFactory/pull/35"},"issue":{"href":"https://api.github.com/repos/Azure/Azure-DataFactory/issues/35"},"comments":{"href":"https://api.github.com/repos/Azure/Azure-DataFactory/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/Azure-DataFactory/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/Azure-DataFactory/statuses/d04c5907c0376f8800c47d60c1f5725b29d733c5"}}}}
{"actor":{"display_login":"bgold09"}}