{"action":"opened","number":1958,"pull_request":{"url":"https://api.github.com/repos/azkaban/azkaban/pulls/1958","id":216736008,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NzM2MDA4","html_url":"https://github.com/azkaban/azkaban/pull/1958","diff_url":"https://github.com/azkaban/azkaban/pull/1958.diff","patch_url":"https://github.com/azkaban/azkaban/pull/1958.patch","issue_url":"https://api.github.com/repos/azkaban/azkaban/issues/1958","number":1958,"state":"open","locked":false,"title":"Conditional workflow UI - add condition in job info and flow summary","user":{"login":"jamiesjc","id":23324945,"node_id":"MDQ6VXNlcjIzMzI0OTQ1","avatar_url":"https://avatars0.githubusercontent.com/u/23324945?v=4","gravatar_id":"","url":"https://api.github.com/users/jamiesjc","html_url":"https://github.com/jamiesjc","followers_url":"https://api.github.com/users/jamiesjc/followers","following_url":"https://api.github.com/users/jamiesjc/following{/other_user}","gists_url":"https://api.github.com/users/jamiesjc/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiesjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiesjc/subscriptions","organizations_url":"https://api.github.com/users/jamiesjc/orgs","repos_url":"https://api.github.com/users/jamiesjc/repos","events_url":"https://api.github.com/users/jamiesjc/events{/privacy}","received_events_url":"https://api.github.com/users/jamiesjc/received_events","type":"User","site_admin":false},"body":"Added the UI support for conditional workflow:\r\n1. Added condition in job info page.\r\n2. Added condition in flow summary page.\r\nPreviously, the condition was resolved and updated during the validation step. However, in order to show the original condition on UI page, the condition should remain unchanged until the execution time. Also for the condition of an embedded flow to show up on UI, I explicitly added the condition for flow object.\r\nI also improved some logging messages during the evaluation of the condition.\r\n![screen shot 2018-09-18 at 3 53 57 pm](https://user-images.githubusercontent.com/23324945/45773778-18638f80-bc00-11e8-9e3c-825e7aaf1f0b.png)\r\n![screen shot 2018-09-18 at 3 43 48 pm](https://user-images.githubusercontent.com/23324945/45773782-18638f80-bc00-11e8-9e22-7f6dcf15e4b8.png)\r\n![screen shot 2018-09-18 at 3 45 51 pm](https://user-images.githubusercontent.com/23324945/45773779-18638f80-bc00-11e8-92f1-87c1aa820cab.png)\r\n![screen shot 2018-09-18 at 3 45 35 pm](https://user-images.githubusercontent.com/23324945/45773780-18638f80-bc00-11e8-9a7c-e809c9db44fb.png)\r\n\r\n","created_at":"2018-09-19T18:36:36Z","updated_at":"2018-09-19T18:36:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/azkaban/azkaban/pulls/1958/commits","review_comments_url":"https://api.github.com/repos/azkaban/azkaban/pulls/1958/comments","review_comment_url":"https://api.github.com/repos/azkaban/azkaban/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azkaban/azkaban/issues/1958/comments","statuses_url":"https://api.github.com/repos/azkaban/azkaban/statuses/4a2089ea90fd12a2ee973334a2885c1b964fba95","head":{"label":"jamiesjc:conditionalWorkflow_UI_addConditionInJobInfo","ref":"conditionalWorkflow_UI_addConditionInJobInfo","sha":"4a2089ea90fd12a2ee973334a2885c1b964fba95","user":{"login":"jamiesjc","id":23324945,"node_id":"MDQ6VXNlcjIzMzI0OTQ1","avatar_url":"https://avatars0.githubusercontent.com/u/23324945?v=4","gravatar_id":"","url":"https://api.github.com/users/jamiesjc","html_url":"https://github.com/jamiesjc","followers_url":"https://api.github.com/users/jamiesjc/followers","following_url":"https://api.github.com/users/jamiesjc/following{/other_user}","gists_url":"https://api.github.com/users/jamiesjc/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiesjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiesjc/subscriptions","organizations_url":"https://api.github.com/users/jamiesjc/orgs","repos_url":"https://api.github.com/users/jamiesjc/repos","events_url":"https://api.github.com/users/jamiesjc/events{/privacy}","received_events_url":"https://api.github.com/users/jamiesjc/received_events","type":"User","site_admin":false},"repo":{"id":73132656,"node_id":"MDEwOlJlcG9zaXRvcnk3MzEzMjY1Ng==","name":"azkaban","full_name":"jamiesjc/azkaban","private":false,"owner":{"login":"jamiesjc","id":23324945,"node_id":"MDQ6VXNlcjIzMzI0OTQ1","avatar_url":"https://avatars0.githubusercontent.com/u/23324945?v=4","gravatar_id":"","url":"https://api.github.com/users/jamiesjc","html_url":"https://github.com/jamiesjc","followers_url":"https://api.github.com/users/jamiesjc/followers","following_url":"https://api.github.com/users/jamiesjc/following{/other_user}","gists_url":"https://api.github.com/users/jamiesjc/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiesjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiesjc/subscriptions","organizations_url":"https://api.github.com/users/jamiesjc/orgs","repos_url":"https://api.github.com/users/jamiesjc/repos","events_url":"https://api.github.com/users/jamiesjc/events{/privacy}","received_events_url":"https://api.github.com/users/jamiesjc/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jamiesjc/azkaban","description":"Azkaban workflow manager.","fork":true,"url":"https://api.github.com/repos/jamiesjc/azkaban","forks_url":"https://api.github.com/repos/jamiesjc/azkaban/forks","keys_url":"https://api.github.com/repos/jamiesjc/azkaban/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamiesjc/azkaban/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamiesjc/azkaban/teams","hooks_url":"https://api.github.com/repos/jamiesjc/azkaban/hooks","issue_events_url":"https://api.github.com/repos/jamiesjc/azkaban/issues/events{/number}","events_url":"https://api.github.com/repos/jamiesjc/azkaban/events","assignees_url":"https://api.github.com/repos/jamiesjc/azkaban/assignees{/user}","branches_url":"https://api.github.com/repos/jamiesjc/azkaban/branches{/branch}","tags_url":"https://api.github.com/repos/jamiesjc/azkaban/tags","blobs_url":"https://api.github.com/repos/jamiesjc/azkaban/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamiesjc/azkaban/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamiesjc/azkaban/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamiesjc/azkaban/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamiesjc/azkaban/statuses/{sha}","languages_url":"https://api.github.com/repos/jamiesjc/azkaban/languages","stargazers_url":"https://api.github.com/repos/jamiesjc/azkaban/stargazers","contributors_url":"https://api.github.com/repos/jamiesjc/azkaban/contributors","subscribers_url":"https://api.github.com/repos/jamiesjc/azkaban/subscribers","subscription_url":"https://api.github.com/repos/jamiesjc/azkaban/subscription","commits_url":"https://api.github.com/repos/jamiesjc/azkaban/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamiesjc/azkaban/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamiesjc/azkaban/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamiesjc/azkaban/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamiesjc/azkaban/contents/{+path}","compare_url":"https://api.github.com/repos/jamiesjc/azkaban/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamiesjc/azkaban/merges","archive_url":"https://api.github.com/repos/jamiesjc/azkaban/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamiesjc/azkaban/downloads","issues_url":"https://api.github.com/repos/jamiesjc/azkaban/issues{/number}","pulls_url":"https://api.github.com/repos/jamiesjc/azkaban/pulls{/number}","milestones_url":"https://api.github.com/repos/jamiesjc/azkaban/milestones{/number}","notifications_url":"https://api.github.com/repos/jamiesjc/azkaban/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamiesjc/azkaban/labels{/name}","releases_url":"https://api.github.com/repos/jamiesjc/azkaban/releases{/id}","deployments_url":"https://api.github.com/repos/jamiesjc/azkaban/deployments","created_at":"2016-11-08T00:13:14Z","updated_at":"2016-11-08T00:13:20Z","pushed_at":"2018-09-19T18:24:23Z","git_url":"git://github.com/jamiesjc/azkaban.git","ssh_url":"git@github.com:jamiesjc/azkaban.git","clone_url":"https://github.com/jamiesjc/azkaban.git","svn_url":"https://github.com/jamiesjc/azkaban","homepage":"https://azkaban.github.io","size":50004,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"azkaban:master","ref":"master","sha":"609d4d8a679e104ddc47967e080cbd68a9b8e4f9","user":{"login":"azkaban","id":213618,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMzYxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/213618?v=4","gravatar_id":"","url":"https://api.github.com/users/azkaban","html_url":"https://github.com/azkaban","followers_url":"https://api.github.com/users/azkaban/followers","following_url":"https://api.github.com/users/azkaban/following{/other_user}","gists_url":"https://api.github.com/users/azkaban/gists{/gist_id}","starred_url":"https://api.github.com/users/azkaban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azkaban/subscriptions","organizations_url":"https://api.github.com/users/azkaban/orgs","repos_url":"https://api.github.com/users/azkaban/repos","events_url":"https://api.github.com/users/azkaban/events{/privacy}","received_events_url":"https://api.github.com/users/azkaban/received_events","type":"Organization","site_admin":false},"repo":{"id":6271421,"node_id":"MDEwOlJlcG9zaXRvcnk2MjcxNDIx","name":"azkaban","full_name":"azkaban/azkaban","private":false,"owner":{"login":"azkaban","id":213618,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMzYxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/213618?v=4","gravatar_id":"","url":"https://api.github.com/users/azkaban","html_url":"https://github.com/azkaban","followers_url":"https://api.github.com/users/azkaban/followers","following_url":"https://api.github.com/users/azkaban/following{/other_user}","gists_url":"https://api.github.com/users/azkaban/gists{/gist_id}","starred_url":"https://api.github.com/users/azkaban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azkaban/subscriptions","organizations_url":"https://api.github.com/users/azkaban/orgs","repos_url":"https://api.github.com/users/azkaban/repos","events_url":"https://api.github.com/users/azkaban/events{/privacy}","received_events_url":"https://api.github.com/users/azkaban/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/azkaban/azkaban","description":"Azkaban workflow manager.","fork":false,"url":"https://api.github.com/repos/azkaban/azkaban","forks_url":"https://api.github.com/repos/azkaban/azkaban/forks","keys_url":"https://api.github.com/repos/azkaban/azkaban/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azkaban/azkaban/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azkaban/azkaban/teams","hooks_url":"https://api.github.com/repos/azkaban/azkaban/hooks","issue_events_url":"https://api.github.com/repos/azkaban/azkaban/issues/events{/number}","events_url":"https://api.github.com/repos/azkaban/azkaban/events","assignees_url":"https://api.github.com/repos/azkaban/azkaban/assignees{/user}","branches_url":"https://api.github.com/repos/azkaban/azkaban/branches{/branch}","tags_url":"https://api.github.com/repos/azkaban/azkaban/tags","blobs_url":"https://api.github.com/repos/azkaban/azkaban/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azkaban/azkaban/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azkaban/azkaban/git/refs{/sha}","trees_url":"https://api.github.com/repos/azkaban/azkaban/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azkaban/azkaban/statuses/{sha}","languages_url":"https://api.github.com/repos/azkaban/azkaban/languages","stargazers_url":"https://api.github.com/repos/azkaban/azkaban/stargazers","contributors_url":"https://api.github.com/repos/azkaban/azkaban/contributors","subscribers_url":"https://api.github.com/repos/azkaban/azkaban/subscribers","subscription_url":"https://api.github.com/repos/azkaban/azkaban/subscription","commits_url":"https://api.github.com/repos/azkaban/azkaban/commits{/sha}","git_commits_url":"https://api.github.com/repos/azkaban/azkaban/git/commits{/sha}","comments_url":"https://api.github.com/repos/azkaban/azkaban/comments{/number}","issue_comment_url":"https://api.github.com/repos/azkaban/azkaban/issues/comments{/number}","contents_url":"https://api.github.com/repos/azkaban/azkaban/contents/{+path}","compare_url":"https://api.github.com/repos/azkaban/azkaban/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azkaban/azkaban/merges","archive_url":"https://api.github.com/repos/azkaban/azkaban/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azkaban/azkaban/downloads","issues_url":"https://api.github.com/repos/azkaban/azkaban/issues{/number}","pulls_url":"https://api.github.com/repos/azkaban/azkaban/pulls{/number}","milestones_url":"https://api.github.com/repos/azkaban/azkaban/milestones{/number}","notifications_url":"https://api.github.com/repos/azkaban/azkaban/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azkaban/azkaban/labels{/name}","releases_url":"https://api.github.com/repos/azkaban/azkaban/releases{/id}","deployments_url":"https://api.github.com/repos/azkaban/azkaban/deployments","created_at":"2012-10-18T01:34:53Z","updated_at":"2018-09-19T18:19:57Z","pushed_at":"2018-09-18T18:54:01Z","git_url":"git://github.com/azkaban/azkaban.git","ssh_url":"git@github.com:azkaban/azkaban.git","clone_url":"https://github.com/azkaban/azkaban.git","svn_url":"https://github.com/azkaban/azkaban","homepage":"https://azkaban.github.io","size":49840,"stargazers_count":2022,"watchers_count":2022,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":910,"mirror_url":null,"archived":false,"open_issues_count":472,"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":910,"open_issues":472,"watchers":2022,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/1958"},"html":{"href":"https://github.com/azkaban/azkaban/pull/1958"},"issue":{"href":"https://api.github.com/repos/azkaban/azkaban/issues/1958"},"comments":{"href":"https://api.github.com/repos/azkaban/azkaban/issues/1958/comments"},"review_comments":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/1958/comments"},"review_comment":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/1958/commits"},"statuses":{"href":"https://api.github.com/repos/azkaban/azkaban/statuses/4a2089ea90fd12a2ee973334a2885c1b964fba95"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":94,"deletions":36,"changed_files":8}}
{"actor":{"display_login":"jamiesjc"}}