{"action":"created","comment":{"url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls/comments/81476297","pull_request_review_id":2454277,"id":81476297,"diff_hunk":"@@ -0,0 +1,163 @@\n+#Testing in Production with Azure Websites - PartsUnlimited\n+\n+According to the internal sales team, oil and filters are still not selling with a 20% discount. The engineering team is looking for a way to remedy this and would like to try increasing the current 5 second-interval on the homepage carousel showing the 20% discount to 10 seconds. The team would like to have 10-second intervals in a test version of the website and keep the current 5-second interval in production.\n+\n+Using an additional website slot and Application Request Routing rules, the team can dynamically adjust the percentage of traffic that goes to the test slot and then ultimately draw conclusions based on the test results. If updating the carousel timer interval is beneficial, the team would like to gradually roll out the change from test into production to minimize risk (and roll back if needed).\n+\n+In this lab, you will learn about adding a deployment slot to an Azure Website for deploying new features or enhancements to the website, as well as adding routing rules to direct traffic to the test site with PowerShell.  This lab will provide the foundation for which you could run an experiment using Microsoft Application Insights User telemetry metrics capabilities.\n+\n+**Prerequisites**\n+\n+- Visual Studio 2015 Update 3\n+\n+- Azure PowerShell installed and configured ([https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/](https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/))\n+\n+- PartsUnlimited website deployed to a Microsoft Azure Web App (see [link](https://github.com/Microsoft/PartsUnlimited/blob/master/docs/Deployment.md))\n+\n+**Tasks Overview**\n+\n+1. Adding a Deployment Slot to an Azure Website for Testing\n+2. Adding Route Rules to Direct Traffic to the Test Site with PowerShell\n+\n+###Task 1: Adding a Deployment Slot to an Azure Website for Testing\n+\n+PartsUnlimited already has their production website deployed and in operation. Before we can set up an A/B test and route traffic, we first need to add a new deployment slot to the production site.\n+\n+\n+**Step 1.** Open Internet Explorer and load the preview Azure Portal.\n+\n+![](<media/step1.png>)\n+\n+**Step 2.** Click Browse followed by Resource Groups.","path":"docs/HOL_HDD_Testing_in_Production/README.md","position":31,"original_position":31,"commit_id":"65ff5eaa694c0f3d562979f4ecd2f5f97f603619","original_commit_id":"b88ec2b3ab07f6c542247d5d9814926e84b41644","user":{"login":"bernarden","id":12289537,"avatar_url":"https://avatars.githubusercontent.com/u/12289537?v=3","gravatar_id":"","url":"https://api.github.com/users/bernarden","html_url":"https://github.com/bernarden","followers_url":"https://api.github.com/users/bernarden/followers","following_url":"https://api.github.com/users/bernarden/following{/other_user}","gists_url":"https://api.github.com/users/bernarden/gists{/gist_id}","starred_url":"https://api.github.com/users/bernarden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernarden/subscriptions","organizations_url":"https://api.github.com/users/bernarden/orgs","repos_url":"https://api.github.com/users/bernarden/repos","events_url":"https://api.github.com/users/bernarden/events{/privacy}","received_events_url":"https://api.github.com/users/bernarden/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2016-10-02T19:35:02Z","updated_at":"2016-10-02T19:35:02Z","html_url":"https://github.com/Intergen-NZ/PartsUnlimited/pull/7#discussion_r81476297","pull_request_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls/comments/81476297"},"html":{"href":"https://github.com/Intergen-NZ/PartsUnlimited/pull/7#discussion_r81476297"},"pull_request":{"href":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls/7","id":86995294,"html_url":"https://github.com/Intergen-NZ/PartsUnlimited/pull/7","diff_url":"https://github.com/Intergen-NZ/PartsUnlimited/pull/7.diff","patch_url":"https://github.com/Intergen-NZ/PartsUnlimited/pull/7.patch","issue_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/issues/7","number":7,"state":"open","locked":false,"title":"Review Parts Unlimited by Gavin ","user":{"login":"steven2000nz","id":13090919,"avatar_url":"https://avatars.githubusercontent.com/u/13090919?v=3","gravatar_id":"","url":"https://api.github.com/users/steven2000nz","html_url":"https://github.com/steven2000nz","followers_url":"https://api.github.com/users/steven2000nz/followers","following_url":"https://api.github.com/users/steven2000nz/following{/other_user}","gists_url":"https://api.github.com/users/steven2000nz/gists{/gist_id}","starred_url":"https://api.github.com/users/steven2000nz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steven2000nz/subscriptions","organizations_url":"https://api.github.com/users/steven2000nz/orgs","repos_url":"https://api.github.com/users/steven2000nz/repos","events_url":"https://api.github.com/users/steven2000nz/events{/privacy}","received_events_url":"https://api.github.com/users/steven2000nz/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-27T19:26:35Z","updated_at":"2016-10-02T19:35:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"beea6cb64b3489780b0cee48f5fd1b004dc444df","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/issues/7/comments","statuses_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/statuses/65ff5eaa694c0f3d562979f4ecd2f5f97f603619","head":{"label":"Intergen-NZ:Develop","ref":"Develop","sha":"65ff5eaa694c0f3d562979f4ecd2f5f97f603619","user":{"login":"Intergen-NZ","id":17167744,"avatar_url":"https://avatars.githubusercontent.com/u/17167744?v=3","gravatar_id":"","url":"https://api.github.com/users/Intergen-NZ","html_url":"https://github.com/Intergen-NZ","followers_url":"https://api.github.com/users/Intergen-NZ/followers","following_url":"https://api.github.com/users/Intergen-NZ/following{/other_user}","gists_url":"https://api.github.com/users/Intergen-NZ/gists{/gist_id}","starred_url":"https://api.github.com/users/Intergen-NZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Intergen-NZ/subscriptions","organizations_url":"https://api.github.com/users/Intergen-NZ/orgs","repos_url":"https://api.github.com/users/Intergen-NZ/repos","events_url":"https://api.github.com/users/Intergen-NZ/events{/privacy}","received_events_url":"https://api.github.com/users/Intergen-NZ/received_events","type":"Organization","site_admin":false},"repo":{"id":68247709,"name":"PartsUnlimited","full_name":"Intergen-NZ/PartsUnlimited","owner":{"login":"Intergen-NZ","id":17167744,"avatar_url":"https://avatars.githubusercontent.com/u/17167744?v=3","gravatar_id":"","url":"https://api.github.com/users/Intergen-NZ","html_url":"https://github.com/Intergen-NZ","followers_url":"https://api.github.com/users/Intergen-NZ/followers","following_url":"https://api.github.com/users/Intergen-NZ/following{/other_user}","gists_url":"https://api.github.com/users/Intergen-NZ/gists{/gist_id}","starred_url":"https://api.github.com/users/Intergen-NZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Intergen-NZ/subscriptions","organizations_url":"https://api.github.com/users/Intergen-NZ/orgs","repos_url":"https://api.github.com/users/Intergen-NZ/repos","events_url":"https://api.github.com/users/Intergen-NZ/events{/privacy}","received_events_url":"https://api.github.com/users/Intergen-NZ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Intergen-NZ/PartsUnlimited","description":"Sample for DevOps Scenarios","fork":true,"url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited","forks_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/forks","keys_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/teams","hooks_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/hooks","issue_events_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/issues/events{/number}","events_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/events","assignees_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/assignees{/user}","branches_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/branches{/branch}","tags_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/tags","blobs_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/git/refs{/sha}","trees_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/statuses/{sha}","languages_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/languages","stargazers_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/stargazers","contributors_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/contributors","subscribers_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/subscribers","subscription_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/subscription","commits_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/commits{/sha}","git_commits_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/git/commits{/sha}","comments_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/comments{/number}","issue_comment_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/issues/comments{/number}","contents_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/contents/{+path}","compare_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/merges","archive_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/downloads","issues_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/issues{/number}","pulls_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls{/number}","milestones_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/milestones{/number}","notifications_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/labels{/name}","releases_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/releases{/id}","deployments_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/deployments","created_at":"2016-09-14T22:15:17Z","updated_at":"2016-09-14T22:15:18Z","pushed_at":"2016-10-02T03:42:48Z","git_url":"git://github.com/Intergen-NZ/PartsUnlimited.git","ssh_url":"git@github.com:Intergen-NZ/PartsUnlimited.git","clone_url":"https://github.com/Intergen-NZ/PartsUnlimited.git","svn_url":"https://github.com/Intergen-NZ/PartsUnlimited","homepage":"","size":40994,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"Develop"}},"base":{"label":"Intergen-NZ:master","ref":"master","sha":"7903c98bfaf4cce95e9bd5c61769b4cc7c4be311","user":{"login":"Intergen-NZ","id":17167744,"avatar_url":"https://avatars.githubusercontent.com/u/17167744?v=3","gravatar_id":"","url":"https://api.github.com/users/Intergen-NZ","html_url":"https://github.com/Intergen-NZ","followers_url":"https://api.github.com/users/Intergen-NZ/followers","following_url":"https://api.github.com/users/Intergen-NZ/following{/other_user}","gists_url":"https://api.github.com/users/Intergen-NZ/gists{/gist_id}","starred_url":"https://api.github.com/users/Intergen-NZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Intergen-NZ/subscriptions","organizations_url":"https://api.github.com/users/Intergen-NZ/orgs","repos_url":"https://api.github.com/users/Intergen-NZ/repos","events_url":"https://api.github.com/users/Intergen-NZ/events{/privacy}","received_events_url":"https://api.github.com/users/Intergen-NZ/received_events","type":"Organization","site_admin":false},"repo":{"id":68247709,"name":"PartsUnlimited","full_name":"Intergen-NZ/PartsUnlimited","owner":{"login":"Intergen-NZ","id":17167744,"avatar_url":"https://avatars.githubusercontent.com/u/17167744?v=3","gravatar_id":"","url":"https://api.github.com/users/Intergen-NZ","html_url":"https://github.com/Intergen-NZ","followers_url":"https://api.github.com/users/Intergen-NZ/followers","following_url":"https://api.github.com/users/Intergen-NZ/following{/other_user}","gists_url":"https://api.github.com/users/Intergen-NZ/gists{/gist_id}","starred_url":"https://api.github.com/users/Intergen-NZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Intergen-NZ/subscriptions","organizations_url":"https://api.github.com/users/Intergen-NZ/orgs","repos_url":"https://api.github.com/users/Intergen-NZ/repos","events_url":"https://api.github.com/users/Intergen-NZ/events{/privacy}","received_events_url":"https://api.github.com/users/Intergen-NZ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Intergen-NZ/PartsUnlimited","description":"Sample for DevOps Scenarios","fork":true,"url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited","forks_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/forks","keys_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/teams","hooks_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/hooks","issue_events_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/issues/events{/number}","events_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/events","assignees_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/assignees{/user}","branches_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/branches{/branch}","tags_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/tags","blobs_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/git/refs{/sha}","trees_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/statuses/{sha}","languages_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/languages","stargazers_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/stargazers","contributors_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/contributors","subscribers_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/subscribers","subscription_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/subscription","commits_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/commits{/sha}","git_commits_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/git/commits{/sha}","comments_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/comments{/number}","issue_comment_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/issues/comments{/number}","contents_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/contents/{+path}","compare_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/merges","archive_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/downloads","issues_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/issues{/number}","pulls_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls{/number}","milestones_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/milestones{/number}","notifications_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/labels{/name}","releases_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/releases{/id}","deployments_url":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/deployments","created_at":"2016-09-14T22:15:17Z","updated_at":"2016-09-14T22:15:18Z","pushed_at":"2016-10-02T03:42:48Z","git_url":"git://github.com/Intergen-NZ/PartsUnlimited.git","ssh_url":"git@github.com:Intergen-NZ/PartsUnlimited.git","clone_url":"https://github.com/Intergen-NZ/PartsUnlimited.git","svn_url":"https://github.com/Intergen-NZ/PartsUnlimited","homepage":"","size":40994,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"Develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls/7"},"html":{"href":"https://github.com/Intergen-NZ/PartsUnlimited/pull/7"},"issue":{"href":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/issues/7"},"comments":{"href":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Intergen-NZ/PartsUnlimited/statuses/65ff5eaa694c0f3d562979f4ecd2f5f97f603619"}}}}
{"actor":{"display_login":"bernarden"}}