{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-functions-ux/pulls/comments/135563856","pull_request_review_id":58988670,"id":135563856,"diff_hunk":"@@ -0,0 +1,108 @@\n+import { SiteConfig } from '../shared/models/arm/site-config';\n+import { ArmObj } from '../shared/models/arm/arm-obj';\n+import { CacheService } from '../shared/services/cache.service';\n+import { BusyStateScopeManager } from '../busy-state/busy-state-scope-manager';\n+import { SiteData, TreeViewInfo } from '../tree-view/models/tree-view-info';\n+import { Observable } from 'rxjs/Observable';\n+import { Subject } from 'rxjs/Subject';\n+import { Subscription as RxSubscription } from 'rxjs/Subscription';\n+import 'rxjs/add/operator/do';\n+import 'rxjs/add/operator/first';\n+import 'rxjs/add/operator/map';\n+import 'rxjs/add/operator/mergeMap';\n+import 'rxjs/add/operator/retry';\n+import 'rxjs/add/operator/switchMap';\n+import 'rxjs/add/observable/of';\n+import 'rxjs/add/observable/zip';\n+\n+import { BusyStateComponent } from '../busy-state/busy-state.component';\n+import { AuthzService } from '../shared/services/authz.service';\n+import { AiService } from '../shared/services/ai.service';\n+import { SiteTabComponent } from '../site/site-dashboard/site-tab/site-tab.component';\n+import { Component, Input, OnInit } from '@angular/core';\n+\n+@Component({\n+    selector: 'app-deployment-center',\n+    templateUrl: './deployment-center.component.html',\n+    styleUrls: ['./deployment-center.component.scss']\n+})\n+export class DeploymentCenterComponent implements OnInit {\n+    public viewInfoStream: Subject<TreeViewInfo<SiteData>>;\n+    private _viewInfoSubscription: RxSubscription;\n+    @Input()\n+    set viewInfoInput(viewInfo: TreeViewInfo<SiteData>) {\n+        this.viewInfoStream.next(viewInfo);\n+    }\n+\n+    private _writePermission = true;\n+    private _readOnlyLock = false;\n+    public hasWritePermissions = true;\n+\n+    private _siteConfigObject: ArmObj<SiteConfig>;\n+    private _busyState: BusyStateComponent;\n+    private _busyStateScopeManager: BusyStateScopeManager;\n+\n+    public resourceId: string;\n+    constructor(\n+        private _aiService: AiService,\n+        private _authZService: AuthzService,\n+        siteTabsComponent: SiteTabComponent,\n+        private _cacheService: CacheService\n+    ) {\n+        this._busyState = siteTabsComponent.busyState;\n+        this._busyStateScopeManager = this._busyState.getScopeManager();","path":"AzureFunctions.AngularClient/src/app/deployment-center/deployment-center.component.ts","position":53,"original_position":53,"commit_id":"bfaee71d9232f31552b522197b57b1408796979c","original_commit_id":"bfaee71d9232f31552b522197b57b1408796979c","user":{"login":"ehamai","id":5695405,"avatar_url":"https://avatars2.githubusercontent.com/u/5695405?v=4","gravatar_id":"","url":"https://api.github.com/users/ehamai","html_url":"https://github.com/ehamai","followers_url":"https://api.github.com/users/ehamai/followers","following_url":"https://api.github.com/users/ehamai/following{/other_user}","gists_url":"https://api.github.com/users/ehamai/gists{/gist_id}","starred_url":"https://api.github.com/users/ehamai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehamai/subscriptions","organizations_url":"https://api.github.com/users/ehamai/orgs","repos_url":"https://api.github.com/users/ehamai/repos","events_url":"https://api.github.com/users/ehamai/events{/privacy}","received_events_url":"https://api.github.com/users/ehamai/received_events","type":"User","site_admin":false},"body":">_busyStateScopeManager [](start = 13, length = 22)\r\n\r\nThis needs to be disposed","created_at":"2017-08-28T16:09:09Z","updated_at":"2017-08-28T16:09:09Z","html_url":"https://github.com/Azure/azure-functions-ux/pull/1723#discussion_r135563856","pull_request_url":"https://api.github.com/repos/Azure/azure-functions-ux/pulls/1723","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-functions-ux/pulls/comments/135563856"},"html":{"href":"https://github.com/Azure/azure-functions-ux/pull/1723#discussion_r135563856"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-functions-ux/pulls/1723"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-functions-ux/pulls/1723","id":137551163,"html_url":"https://github.com/Azure/azure-functions-ux/pull/1723","diff_url":"https://github.com/Azure/azure-functions-ux/pull/1723.diff","patch_url":"https://github.com/Azure/azure-functions-ux/pull/1723.patch","issue_url":"https://api.github.com/repos/Azure/azure-functions-ux/issues/1723","number":1723,"state":"closed","locked":false,"title":"[WIP] Continuous Deployment","user":{"login":"hartra344","id":13208452,"avatar_url":"https://avatars2.githubusercontent.com/u/13208452?v=4","gravatar_id":"","url":"https://api.github.com/users/hartra344","html_url":"https://github.com/hartra344","followers_url":"https://api.github.com/users/hartra344/followers","following_url":"https://api.github.com/users/hartra344/following{/other_user}","gists_url":"https://api.github.com/users/hartra344/gists{/gist_id}","starred_url":"https://api.github.com/users/hartra344/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartra344/subscriptions","organizations_url":"https://api.github.com/users/hartra344/orgs","repos_url":"https://api.github.com/users/hartra344/repos","events_url":"https://api.github.com/users/hartra344/events{/privacy}","received_events_url":"https://api.github.com/users/hartra344/received_events","type":"User","site_admin":false},"body":"This is very early WIP, only looking for high level criticism before things get too large. \r\n![giphy 4](https://user-images.githubusercontent.com/13208452/29688536-f7030104-88d4-11e7-829a-bb83a2196cab.gif)\r\n\r\n\r\n","created_at":"2017-08-24T21:03:17Z","updated_at":"2017-08-28T16:09:09Z","closed_at":"2017-08-25T17:41:05Z","merged_at":null,"merge_commit_sha":"23eb080204ed14918ddd4d5f1644db9718098af5","assignee":null,"assignees":[],"requested_reviewers":[{"login":"agruning","id":8560637,"avatar_url":"https://avatars0.githubusercontent.com/u/8560637?v=4","gravatar_id":"","url":"https://api.github.com/users/agruning","html_url":"https://github.com/agruning","followers_url":"https://api.github.com/users/agruning/followers","following_url":"https://api.github.com/users/agruning/following{/other_user}","gists_url":"https://api.github.com/users/agruning/gists{/gist_id}","starred_url":"https://api.github.com/users/agruning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agruning/subscriptions","organizations_url":"https://api.github.com/users/agruning/orgs","repos_url":"https://api.github.com/users/agruning/repos","events_url":"https://api.github.com/users/agruning/events{/privacy}","received_events_url":"https://api.github.com/users/agruning/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-functions-ux/pulls/1723/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-functions-ux/pulls/1723/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-functions-ux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-functions-ux/issues/1723/comments","statuses_url":"https://api.github.com/repos/Azure/azure-functions-ux/statuses/bfaee71d9232f31552b522197b57b1408796979c","head":{"label":"Azure:hartra344/CICDRework","ref":"hartra344/CICDRework","sha":"bfaee71d9232f31552b522197b57b1408796979c","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","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":50877831,"name":"azure-functions-ux","full_name":"Azure/azure-functions-ux","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","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-functions-ux","description":"Azure Functions UX","fork":false,"url":"https://api.github.com/repos/Azure/azure-functions-ux","forks_url":"https://api.github.com/repos/Azure/azure-functions-ux/forks","keys_url":"https://api.github.com/repos/Azure/azure-functions-ux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-functions-ux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-functions-ux/teams","hooks_url":"https://api.github.com/repos/Azure/azure-functions-ux/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-functions-ux/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-functions-ux/events","assignees_url":"https://api.github.com/repos/Azure/azure-functions-ux/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-functions-ux/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-functions-ux/tags","blobs_url":"https://api.github.com/repos/Azure/azure-functions-ux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-functions-ux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-functions-ux/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-functions-ux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-functions-ux/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-functions-ux/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-functions-ux/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-functions-ux/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-functions-ux/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-functions-ux/subscription","commits_url":"https://api.github.com/repos/Azure/azure-functions-ux/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-functions-ux/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-functions-ux/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-functions-ux/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-functions-ux/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-functions-ux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-functions-ux/merges","archive_url":"https://api.github.com/repos/Azure/azure-functions-ux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-functions-ux/downloads","issues_url":"https://api.github.com/repos/Azure/azure-functions-ux/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-functions-ux/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-functions-ux/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-functions-ux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-functions-ux/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-functions-ux/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-functions-ux/deployments","created_at":"2016-02-01T23:01:22Z","updated_at":"2017-08-23T19:32:54Z","pushed_at":"2017-08-25T23:04:37Z","git_url":"git://github.com/Azure/azure-functions-ux.git","ssh_url":"git@github.com:Azure/azure-functions-ux.git","clone_url":"https://github.com/Azure/azure-functions-ux.git","svn_url":"https://github.com/Azure/azure-functions-ux","homepage":"https://functions.azure.com","size":10440,"stargazers_count":124,"watchers_count":124,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":169,"forks":43,"open_issues":169,"watchers":124,"default_branch":"dev"}},"base":{"label":"Azure:dev","ref":"dev","sha":"ab3787192bebb34f2b1d78051c910596bfa5b35b","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","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":50877831,"name":"azure-functions-ux","full_name":"Azure/azure-functions-ux","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","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-functions-ux","description":"Azure Functions UX","fork":false,"url":"https://api.github.com/repos/Azure/azure-functions-ux","forks_url":"https://api.github.com/repos/Azure/azure-functions-ux/forks","keys_url":"https://api.github.com/repos/Azure/azure-functions-ux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-functions-ux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-functions-ux/teams","hooks_url":"https://api.github.com/repos/Azure/azure-functions-ux/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-functions-ux/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-functions-ux/events","assignees_url":"https://api.github.com/repos/Azure/azure-functions-ux/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-functions-ux/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-functions-ux/tags","blobs_url":"https://api.github.com/repos/Azure/azure-functions-ux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-functions-ux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-functions-ux/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-functions-ux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-functions-ux/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-functions-ux/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-functions-ux/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-functions-ux/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-functions-ux/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-functions-ux/subscription","commits_url":"https://api.github.com/repos/Azure/azure-functions-ux/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-functions-ux/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-functions-ux/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-functions-ux/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-functions-ux/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-functions-ux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-functions-ux/merges","archive_url":"https://api.github.com/repos/Azure/azure-functions-ux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-functions-ux/downloads","issues_url":"https://api.github.com/repos/Azure/azure-functions-ux/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-functions-ux/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-functions-ux/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-functions-ux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-functions-ux/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-functions-ux/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-functions-ux/deployments","created_at":"2016-02-01T23:01:22Z","updated_at":"2017-08-23T19:32:54Z","pushed_at":"2017-08-25T23:04:37Z","git_url":"git://github.com/Azure/azure-functions-ux.git","ssh_url":"git@github.com:Azure/azure-functions-ux.git","clone_url":"https://github.com/Azure/azure-functions-ux.git","svn_url":"https://github.com/Azure/azure-functions-ux","homepage":"https://functions.azure.com","size":10440,"stargazers_count":124,"watchers_count":124,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":169,"forks":43,"open_issues":169,"watchers":124,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-functions-ux/pulls/1723"},"html":{"href":"https://github.com/Azure/azure-functions-ux/pull/1723"},"issue":{"href":"https://api.github.com/repos/Azure/azure-functions-ux/issues/1723"},"comments":{"href":"https://api.github.com/repos/Azure/azure-functions-ux/issues/1723/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-functions-ux/pulls/1723/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-functions-ux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-functions-ux/pulls/1723/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-functions-ux/statuses/bfaee71d9232f31552b522197b57b1408796979c"}}}}
{"actor":{"display_login":"ehamai"}}