{"action":"created","comment":{"url":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls/comments/224159618","pull_request_review_id":163459947,"id":224159618,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDE1OTYxOA==","diff_hunk":"@@ -17,11 +17,31 @@ class InstalledAppsView extends React.Component {\n   }\n \n   static getStatusForApp(app) {\n-    const provisioningStatus = 'Provisioning';\n-    if (app.status && app.status.conditions && app.status.conditions[0]) {\n-      return app.status.conditions[0].status === 'True' ? 'Provisioned' : provisioningStatus;\n+    let statusIcon;\n+    let statusStyle;\n+    let provisioningStatus = app.status.provisionStatus || 'Provisioning';\n+\n+    statusIcon = provisioningStatus === 'Provisioned' ? 'pficon-ok' : 'spinner spinner-xs spinner-inline';\n+    statusStyle = provisioningStatus === 'Provisioned' ? { color: '#3f9c35' } : { color: '#4d5258' };\n+\n+    if (provisioningStatus === 'NotProvisioned') {\n+      provisioningStatus = 'Provision Failed';\n+      statusIcon = 'pficon-error-circle-o';\n+      statusStyle = { color: '#cc0000' };","path":"src/components/installedAppsView/InstalledAppsView.js","position":17,"original_position":17,"commit_id":"52b1abc4dbfbea627f098168b82501a7d8451c34","original_commit_id":"52b1abc4dbfbea627f098168b82501a7d8451c34","user":{"login":"JameelB","id":9078522,"node_id":"MDQ6VXNlcjkwNzg1MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/9078522?v=4","gravatar_id":"","url":"https://api.github.com/users/JameelB","html_url":"https://github.com/JameelB","followers_url":"https://api.github.com/users/JameelB/followers","following_url":"https://api.github.com/users/JameelB/following{/other_user}","gists_url":"https://api.github.com/users/JameelB/gists{/gist_id}","starred_url":"https://api.github.com/users/JameelB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JameelB/subscriptions","organizations_url":"https://api.github.com/users/JameelB/orgs","repos_url":"https://api.github.com/users/JameelB/repos","events_url":"https://api.github.com/users/JameelB/events{/privacy}","received_events_url":"https://api.github.com/users/JameelB/received_events","type":"User","site_admin":false},"body":"I tried using the patternfly color palette here like `{ color: '$pf-red' } but I couldn't get it working. ","created_at":"2018-10-10T16:54:42Z","updated_at":"2018-10-10T16:54:42Z","html_url":"https://github.com/integr8ly/tutorial-web-app/pull/109#discussion_r224159618","pull_request_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls/109","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls/comments/224159618"},"html":{"href":"https://github.com/integr8ly/tutorial-web-app/pull/109#discussion_r224159618"},"pull_request":{"href":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls/109","id":221856851,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxODU2ODUx","html_url":"https://github.com/integr8ly/tutorial-web-app/pull/109","diff_url":"https://github.com/integr8ly/tutorial-web-app/pull/109.diff","patch_url":"https://github.com/integr8ly/tutorial-web-app/pull/109.patch","issue_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/issues/109","number":109,"state":"open","locked":false,"title":"Display the status of each installed applications","user":{"login":"JameelB","id":9078522,"node_id":"MDQ6VXNlcjkwNzg1MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/9078522?v=4","gravatar_id":"","url":"https://api.github.com/users/JameelB","html_url":"https://github.com/JameelB","followers_url":"https://api.github.com/users/JameelB/followers","following_url":"https://api.github.com/users/JameelB/following{/other_user}","gists_url":"https://api.github.com/users/JameelB/gists{/gist_id}","starred_url":"https://api.github.com/users/JameelB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JameelB/subscriptions","organizations_url":"https://api.github.com/users/JameelB/orgs","repos_url":"https://api.github.com/users/JameelB/repos","events_url":"https://api.github.com/users/JameelB/events{/privacy}","received_events_url":"https://api.github.com/users/JameelB/received_events","type":"User","site_admin":false},"body":"## Description\r\nDisplay the status of each installed applications in the Applications view.\r\n\r\n![peek 2018-10-10 17-35](https://user-images.githubusercontent.com/9078522/46751665-164a9900-ccb3-11e8-91e2-dfbeeb71e4c4.gif)\r\n","created_at":"2018-10-10T16:34:13Z","updated_at":"2018-10-10T16:54:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c5f92a99b232f2b6e9c18c5bb2cccb76d51fe7c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jasonmadigan","id":4467,"node_id":"MDQ6VXNlcjQ0Njc=","avatar_url":"https://avatars1.githubusercontent.com/u/4467?v=4","gravatar_id":"","url":"https://api.github.com/users/jasonmadigan","html_url":"https://github.com/jasonmadigan","followers_url":"https://api.github.com/users/jasonmadigan/followers","following_url":"https://api.github.com/users/jasonmadigan/following{/other_user}","gists_url":"https://api.github.com/users/jasonmadigan/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmadigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmadigan/subscriptions","organizations_url":"https://api.github.com/users/jasonmadigan/orgs","repos_url":"https://api.github.com/users/jasonmadigan/repos","events_url":"https://api.github.com/users/jasonmadigan/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmadigan/received_events","type":"User","site_admin":false},{"login":"dlabaj","id":6126356,"node_id":"MDQ6VXNlcjYxMjYzNTY=","avatar_url":"https://avatars1.githubusercontent.com/u/6126356?v=4","gravatar_id":"","url":"https://api.github.com/users/dlabaj","html_url":"https://github.com/dlabaj","followers_url":"https://api.github.com/users/dlabaj/followers","following_url":"https://api.github.com/users/dlabaj/following{/other_user}","gists_url":"https://api.github.com/users/dlabaj/gists{/gist_id}","starred_url":"https://api.github.com/users/dlabaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlabaj/subscriptions","organizations_url":"https://api.github.com/users/dlabaj/orgs","repos_url":"https://api.github.com/users/dlabaj/repos","events_url":"https://api.github.com/users/dlabaj/events{/privacy}","received_events_url":"https://api.github.com/users/dlabaj/received_events","type":"User","site_admin":false},{"login":"aidenkeating","id":8698527,"node_id":"MDQ6VXNlcjg2OTg1Mjc=","avatar_url":"https://avatars3.githubusercontent.com/u/8698527?v=4","gravatar_id":"","url":"https://api.github.com/users/aidenkeating","html_url":"https://github.com/aidenkeating","followers_url":"https://api.github.com/users/aidenkeating/followers","following_url":"https://api.github.com/users/aidenkeating/following{/other_user}","gists_url":"https://api.github.com/users/aidenkeating/gists{/gist_id}","starred_url":"https://api.github.com/users/aidenkeating/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aidenkeating/subscriptions","organizations_url":"https://api.github.com/users/aidenkeating/orgs","repos_url":"https://api.github.com/users/aidenkeating/repos","events_url":"https://api.github.com/users/aidenkeating/events{/privacy}","received_events_url":"https://api.github.com/users/aidenkeating/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls/109/commits","review_comments_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls/109/comments","review_comment_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/issues/109/comments","statuses_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/statuses/52b1abc4dbfbea627f098168b82501a7d8451c34","head":{"label":"JameelB:add-service-provisioning-status","ref":"add-service-provisioning-status","sha":"52b1abc4dbfbea627f098168b82501a7d8451c34","user":{"login":"JameelB","id":9078522,"node_id":"MDQ6VXNlcjkwNzg1MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/9078522?v=4","gravatar_id":"","url":"https://api.github.com/users/JameelB","html_url":"https://github.com/JameelB","followers_url":"https://api.github.com/users/JameelB/followers","following_url":"https://api.github.com/users/JameelB/following{/other_user}","gists_url":"https://api.github.com/users/JameelB/gists{/gist_id}","starred_url":"https://api.github.com/users/JameelB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JameelB/subscriptions","organizations_url":"https://api.github.com/users/JameelB/orgs","repos_url":"https://api.github.com/users/JameelB/repos","events_url":"https://api.github.com/users/JameelB/events{/privacy}","received_events_url":"https://api.github.com/users/JameelB/received_events","type":"User","site_admin":false},"repo":{"id":150249527,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAyNDk1Mjc=","name":"tutorial-web-app","full_name":"JameelB/tutorial-web-app","private":false,"owner":{"login":"JameelB","id":9078522,"node_id":"MDQ6VXNlcjkwNzg1MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/9078522?v=4","gravatar_id":"","url":"https://api.github.com/users/JameelB","html_url":"https://github.com/JameelB","followers_url":"https://api.github.com/users/JameelB/followers","following_url":"https://api.github.com/users/JameelB/following{/other_user}","gists_url":"https://api.github.com/users/JameelB/gists{/gist_id}","starred_url":"https://api.github.com/users/JameelB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JameelB/subscriptions","organizations_url":"https://api.github.com/users/JameelB/orgs","repos_url":"https://api.github.com/users/JameelB/repos","events_url":"https://api.github.com/users/JameelB/events{/privacy}","received_events_url":"https://api.github.com/users/JameelB/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JameelB/tutorial-web-app","description":"This web application provides the front door into the Integreatly initiative. It houses the various walkthroughs, as well as a dashboard of installed products/services.","fork":true,"url":"https://api.github.com/repos/JameelB/tutorial-web-app","forks_url":"https://api.github.com/repos/JameelB/tutorial-web-app/forks","keys_url":"https://api.github.com/repos/JameelB/tutorial-web-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JameelB/tutorial-web-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JameelB/tutorial-web-app/teams","hooks_url":"https://api.github.com/repos/JameelB/tutorial-web-app/hooks","issue_events_url":"https://api.github.com/repos/JameelB/tutorial-web-app/issues/events{/number}","events_url":"https://api.github.com/repos/JameelB/tutorial-web-app/events","assignees_url":"https://api.github.com/repos/JameelB/tutorial-web-app/assignees{/user}","branches_url":"https://api.github.com/repos/JameelB/tutorial-web-app/branches{/branch}","tags_url":"https://api.github.com/repos/JameelB/tutorial-web-app/tags","blobs_url":"https://api.github.com/repos/JameelB/tutorial-web-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JameelB/tutorial-web-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JameelB/tutorial-web-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/JameelB/tutorial-web-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JameelB/tutorial-web-app/statuses/{sha}","languages_url":"https://api.github.com/repos/JameelB/tutorial-web-app/languages","stargazers_url":"https://api.github.com/repos/JameelB/tutorial-web-app/stargazers","contributors_url":"https://api.github.com/repos/JameelB/tutorial-web-app/contributors","subscribers_url":"https://api.github.com/repos/JameelB/tutorial-web-app/subscribers","subscription_url":"https://api.github.com/repos/JameelB/tutorial-web-app/subscription","commits_url":"https://api.github.com/repos/JameelB/tutorial-web-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/JameelB/tutorial-web-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/JameelB/tutorial-web-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/JameelB/tutorial-web-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/JameelB/tutorial-web-app/contents/{+path}","compare_url":"https://api.github.com/repos/JameelB/tutorial-web-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JameelB/tutorial-web-app/merges","archive_url":"https://api.github.com/repos/JameelB/tutorial-web-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JameelB/tutorial-web-app/downloads","issues_url":"https://api.github.com/repos/JameelB/tutorial-web-app/issues{/number}","pulls_url":"https://api.github.com/repos/JameelB/tutorial-web-app/pulls{/number}","milestones_url":"https://api.github.com/repos/JameelB/tutorial-web-app/milestones{/number}","notifications_url":"https://api.github.com/repos/JameelB/tutorial-web-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JameelB/tutorial-web-app/labels{/name}","releases_url":"https://api.github.com/repos/JameelB/tutorial-web-app/releases{/id}","deployments_url":"https://api.github.com/repos/JameelB/tutorial-web-app/deployments","created_at":"2018-09-25T10:45:26Z","updated_at":"2018-09-25T10:45:28Z","pushed_at":"2018-10-10T16:42:42Z","git_url":"git://github.com/JameelB/tutorial-web-app.git","ssh_url":"git@github.com:JameelB/tutorial-web-app.git","clone_url":"https://github.com/JameelB/tutorial-web-app.git","svn_url":"https://github.com/JameelB/tutorial-web-app","homepage":"","size":8290,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"integr8ly:master","ref":"master","sha":"d3480752dfd5657673fc91ef5225a7656d63310d","user":{"login":"integr8ly","id":41683098,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNjgzMDk4","avatar_url":"https://avatars2.githubusercontent.com/u/41683098?v=4","gravatar_id":"","url":"https://api.github.com/users/integr8ly","html_url":"https://github.com/integr8ly","followers_url":"https://api.github.com/users/integr8ly/followers","following_url":"https://api.github.com/users/integr8ly/following{/other_user}","gists_url":"https://api.github.com/users/integr8ly/gists{/gist_id}","starred_url":"https://api.github.com/users/integr8ly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/integr8ly/subscriptions","organizations_url":"https://api.github.com/users/integr8ly/orgs","repos_url":"https://api.github.com/users/integr8ly/repos","events_url":"https://api.github.com/users/integr8ly/events{/privacy}","received_events_url":"https://api.github.com/users/integr8ly/received_events","type":"Organization","site_admin":false},"repo":{"id":145002634,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUwMDI2MzQ=","name":"tutorial-web-app","full_name":"integr8ly/tutorial-web-app","private":false,"owner":{"login":"integr8ly","id":41683098,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNjgzMDk4","avatar_url":"https://avatars2.githubusercontent.com/u/41683098?v=4","gravatar_id":"","url":"https://api.github.com/users/integr8ly","html_url":"https://github.com/integr8ly","followers_url":"https://api.github.com/users/integr8ly/followers","following_url":"https://api.github.com/users/integr8ly/following{/other_user}","gists_url":"https://api.github.com/users/integr8ly/gists{/gist_id}","starred_url":"https://api.github.com/users/integr8ly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/integr8ly/subscriptions","organizations_url":"https://api.github.com/users/integr8ly/orgs","repos_url":"https://api.github.com/users/integr8ly/repos","events_url":"https://api.github.com/users/integr8ly/events{/privacy}","received_events_url":"https://api.github.com/users/integr8ly/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/integr8ly/tutorial-web-app","description":"This web application provides the front door into the Integreatly initiative. It houses the various walkthroughs, as well as a dashboard of installed products/services.","fork":false,"url":"https://api.github.com/repos/integr8ly/tutorial-web-app","forks_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/forks","keys_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/teams","hooks_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/hooks","issue_events_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/issues/events{/number}","events_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/events","assignees_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/assignees{/user}","branches_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/branches{/branch}","tags_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/tags","blobs_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/statuses/{sha}","languages_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/languages","stargazers_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/stargazers","contributors_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/contributors","subscribers_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/subscribers","subscription_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/subscription","commits_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/contents/{+path}","compare_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/merges","archive_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/downloads","issues_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/issues{/number}","pulls_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls{/number}","milestones_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/milestones{/number}","notifications_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/labels{/name}","releases_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/releases{/id}","deployments_url":"https://api.github.com/repos/integr8ly/tutorial-web-app/deployments","created_at":"2018-08-16T14:55:08Z","updated_at":"2018-10-10T16:24:48Z","pushed_at":"2018-10-10T16:42:44Z","git_url":"git://github.com/integr8ly/tutorial-web-app.git","ssh_url":"git@github.com:integr8ly/tutorial-web-app.git","clone_url":"https://github.com/integr8ly/tutorial-web-app.git","svn_url":"https://github.com/integr8ly/tutorial-web-app","homepage":"","size":8353,"stargazers_count":20,"watchers_count":20,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":16,"open_issues":25,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls/109"},"html":{"href":"https://github.com/integr8ly/tutorial-web-app/pull/109"},"issue":{"href":"https://api.github.com/repos/integr8ly/tutorial-web-app/issues/109"},"comments":{"href":"https://api.github.com/repos/integr8ly/tutorial-web-app/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/integr8ly/tutorial-web-app/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/integr8ly/tutorial-web-app/statuses/52b1abc4dbfbea627f098168b82501a7d8451c34"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"JameelB"}}