{"action":"created","comment":{"url":"https://api.github.com/repos/libero/walking-skeleton/pulls/comments/181725166","pull_request_review_id":112402909,"id":181725166,"diff_hunk":"@@ -0,0 +1,88 @@\n+version: '3'\n+\n+services:\n+  web:\n+    build:\n+      context: .\n+      dockerfile: Dockerfile\n+    command: >\n+            /bin/bash -c \"\n+                until echo > /dev/tcp/postgres/5432; do sleep 1; done\n+                python manage.py migrate && python manage.py runserver 0.0.0.0:8000\n+            \"\n+    env_file:\n+      - '.env'\n+    ports:\n+      - '8000:8000'\n+    depends_on:\n+      - postgres\n+      - redis\n+      - rabbitmq\n+\n+  decider:\n+    build:\n+      context: .\n+      dockerfile: Dockerfile\n+    working_dir: /srv/app\n+    command: >\n+            /bin/bash -c \"\n+                until echo > /dev/tcp/rabbitmq/5672; do sleep 1; done\n+                python run_decider.py\n+            \"\n+    depends_on:\n+      - rabbitmq\n+\n+  scheduler:\n+    build:\n+      context: .\n+      dockerfile: Dockerfile\n+    working_dir: /srv/app\n+    command: >\n+            /bin/bash -c \"\n+                until echo > /dev/tcp/rabbitmq/5672; do sleep 1; done\n+                python run_scheduler.py\n+            \"\n+    depends_on:\n+      - rabbitmq\n+\n+  worker:\n+    build:\n+      context: .\n+      dockerfile: Dockerfile\n+    working_dir: /srv/app\n+    command: >\n+            /bin/bash -c \"\n+                until echo > /dev/tcp/rabbitmq/5672; do sleep 1; done\n+                python run_worker.py\n+            \"\n+    depends_on:\n+      - rabbitmq\n+\n+  redis:\n+    image: 'redis:3.0-alpine'\n+    ports:\n+      - '6379:6379'\n+    volumes:\n+      - 'redis:/data'\n+\n+  rabbitmq:","path":"workflow/libero_flow_poc/docker-compose.yml","position":68,"original_position":68,"commit_id":"a9aa006c5dfa4637ec977014425d1a69bf5b06cc","original_commit_id":"a9aa006c5dfa4637ec977014425d1a69bf5b06cc","user":{"login":"seanwiseman","id":30619751,"avatar_url":"https://avatars2.githubusercontent.com/u/30619751?v=4","gravatar_id":"","url":"https://api.github.com/users/seanwiseman","html_url":"https://github.com/seanwiseman","followers_url":"https://api.github.com/users/seanwiseman/followers","following_url":"https://api.github.com/users/seanwiseman/following{/other_user}","gists_url":"https://api.github.com/users/seanwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/seanwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanwiseman/subscriptions","organizations_url":"https://api.github.com/users/seanwiseman/orgs","repos_url":"https://api.github.com/users/seanwiseman/repos","events_url":"https://api.github.com/users/seanwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/seanwiseman/received_events","type":"User","site_admin":false},"body":"The possible benefit of using the global bus would be other things could react to the events, but yes by design at present this has its own.","created_at":"2018-04-16T13:02:16Z","updated_at":"2018-04-16T13:02:16Z","html_url":"https://github.com/libero/walking-skeleton/pull/11#discussion_r181725166","pull_request_url":"https://api.github.com/repos/libero/walking-skeleton/pulls/11","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/libero/walking-skeleton/pulls/comments/181725166"},"html":{"href":"https://github.com/libero/walking-skeleton/pull/11#discussion_r181725166"},"pull_request":{"href":"https://api.github.com/repos/libero/walking-skeleton/pulls/11"}},"in_reply_to_id":181724236},"pull_request":{"url":"https://api.github.com/repos/libero/walking-skeleton/pulls/11","id":181798523,"html_url":"https://github.com/libero/walking-skeleton/pull/11","diff_url":"https://github.com/libero/walking-skeleton/pull/11.diff","patch_url":"https://github.com/libero/walking-skeleton/pull/11.patch","issue_url":"https://api.github.com/repos/libero/walking-skeleton/issues/11","number":11,"state":"open","locked":false,"title":"[WIP] Libero flow: A POC Workflow Management System","user":{"login":"seanwiseman","id":30619751,"avatar_url":"https://avatars2.githubusercontent.com/u/30619751?v=4","gravatar_id":"","url":"https://api.github.com/users/seanwiseman","html_url":"https://github.com/seanwiseman","followers_url":"https://api.github.com/users/seanwiseman/followers","following_url":"https://api.github.com/users/seanwiseman/following{/other_user}","gists_url":"https://api.github.com/users/seanwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/seanwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanwiseman/subscriptions","organizations_url":"https://api.github.com/users/seanwiseman/orgs","repos_url":"https://api.github.com/users/seanwiseman/repos","events_url":"https://api.github.com/users/seanwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/seanwiseman/received_events","type":"User","site_admin":false},"body":"A minimal custom solution performing the same functionality as other off the shelve solutions but with the bare bones required. At the very least, this is being done as an insightful comparison for exploratory purposes.\r\n\r\nRefer to the README (WIP) for an implementation overview.","created_at":"2018-04-16T09:19:01Z","updated_at":"2018-04-16T13:02:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"257f3b1be05456548d83c21ba20f35f05e53cf76","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/libero/walking-skeleton/pulls/11/commits","review_comments_url":"https://api.github.com/repos/libero/walking-skeleton/pulls/11/comments","review_comment_url":"https://api.github.com/repos/libero/walking-skeleton/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libero/walking-skeleton/issues/11/comments","statuses_url":"https://api.github.com/repos/libero/walking-skeleton/statuses/a9aa006c5dfa4637ec977014425d1a69bf5b06cc","head":{"label":"libero:libero_flow","ref":"libero_flow","sha":"a9aa006c5dfa4637ec977014425d1a69bf5b06cc","user":{"login":"libero","id":37089447,"avatar_url":"https://avatars1.githubusercontent.com/u/37089447?v=4","gravatar_id":"","url":"https://api.github.com/users/libero","html_url":"https://github.com/libero","followers_url":"https://api.github.com/users/libero/followers","following_url":"https://api.github.com/users/libero/following{/other_user}","gists_url":"https://api.github.com/users/libero/gists{/gist_id}","starred_url":"https://api.github.com/users/libero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libero/subscriptions","organizations_url":"https://api.github.com/users/libero/orgs","repos_url":"https://api.github.com/users/libero/repos","events_url":"https://api.github.com/users/libero/events{/privacy}","received_events_url":"https://api.github.com/users/libero/received_events","type":"Organization","site_admin":false},"repo":{"id":124056128,"name":"walking-skeleton","full_name":"libero/walking-skeleton","owner":{"login":"libero","id":37089447,"avatar_url":"https://avatars1.githubusercontent.com/u/37089447?v=4","gravatar_id":"","url":"https://api.github.com/users/libero","html_url":"https://github.com/libero","followers_url":"https://api.github.com/users/libero/followers","following_url":"https://api.github.com/users/libero/following{/other_user}","gists_url":"https://api.github.com/users/libero/gists{/gist_id}","starred_url":"https://api.github.com/users/libero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libero/subscriptions","organizations_url":"https://api.github.com/users/libero/orgs","repos_url":"https://api.github.com/users/libero/repos","events_url":"https://api.github.com/users/libero/events{/privacy}","received_events_url":"https://api.github.com/users/libero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libero/walking-skeleton","description":"A walking skeleton of the scholarly publishing system","fork":false,"url":"https://api.github.com/repos/libero/walking-skeleton","forks_url":"https://api.github.com/repos/libero/walking-skeleton/forks","keys_url":"https://api.github.com/repos/libero/walking-skeleton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libero/walking-skeleton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libero/walking-skeleton/teams","hooks_url":"https://api.github.com/repos/libero/walking-skeleton/hooks","issue_events_url":"https://api.github.com/repos/libero/walking-skeleton/issues/events{/number}","events_url":"https://api.github.com/repos/libero/walking-skeleton/events","assignees_url":"https://api.github.com/repos/libero/walking-skeleton/assignees{/user}","branches_url":"https://api.github.com/repos/libero/walking-skeleton/branches{/branch}","tags_url":"https://api.github.com/repos/libero/walking-skeleton/tags","blobs_url":"https://api.github.com/repos/libero/walking-skeleton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libero/walking-skeleton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libero/walking-skeleton/git/refs{/sha}","trees_url":"https://api.github.com/repos/libero/walking-skeleton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libero/walking-skeleton/statuses/{sha}","languages_url":"https://api.github.com/repos/libero/walking-skeleton/languages","stargazers_url":"https://api.github.com/repos/libero/walking-skeleton/stargazers","contributors_url":"https://api.github.com/repos/libero/walking-skeleton/contributors","subscribers_url":"https://api.github.com/repos/libero/walking-skeleton/subscribers","subscription_url":"https://api.github.com/repos/libero/walking-skeleton/subscription","commits_url":"https://api.github.com/repos/libero/walking-skeleton/commits{/sha}","git_commits_url":"https://api.github.com/repos/libero/walking-skeleton/git/commits{/sha}","comments_url":"https://api.github.com/repos/libero/walking-skeleton/comments{/number}","issue_comment_url":"https://api.github.com/repos/libero/walking-skeleton/issues/comments{/number}","contents_url":"https://api.github.com/repos/libero/walking-skeleton/contents/{+path}","compare_url":"https://api.github.com/repos/libero/walking-skeleton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libero/walking-skeleton/merges","archive_url":"https://api.github.com/repos/libero/walking-skeleton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libero/walking-skeleton/downloads","issues_url":"https://api.github.com/repos/libero/walking-skeleton/issues{/number}","pulls_url":"https://api.github.com/repos/libero/walking-skeleton/pulls{/number}","milestones_url":"https://api.github.com/repos/libero/walking-skeleton/milestones{/number}","notifications_url":"https://api.github.com/repos/libero/walking-skeleton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libero/walking-skeleton/labels{/name}","releases_url":"https://api.github.com/repos/libero/walking-skeleton/releases{/id}","deployments_url":"https://api.github.com/repos/libero/walking-skeleton/deployments","created_at":"2018-03-06T09:42:40Z","updated_at":"2018-04-12T09:24:53Z","pushed_at":"2018-04-16T12:55:26Z","git_url":"git://github.com/libero/walking-skeleton.git","ssh_url":"git@github.com:libero/walking-skeleton.git","clone_url":"https://github.com/libero/walking-skeleton.git","svn_url":"https://github.com/libero/walking-skeleton","homepage":null,"size":207,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"libero:master","ref":"master","sha":"fa977652b53c55c34bb726203cc1ff90feaf5951","user":{"login":"libero","id":37089447,"avatar_url":"https://avatars1.githubusercontent.com/u/37089447?v=4","gravatar_id":"","url":"https://api.github.com/users/libero","html_url":"https://github.com/libero","followers_url":"https://api.github.com/users/libero/followers","following_url":"https://api.github.com/users/libero/following{/other_user}","gists_url":"https://api.github.com/users/libero/gists{/gist_id}","starred_url":"https://api.github.com/users/libero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libero/subscriptions","organizations_url":"https://api.github.com/users/libero/orgs","repos_url":"https://api.github.com/users/libero/repos","events_url":"https://api.github.com/users/libero/events{/privacy}","received_events_url":"https://api.github.com/users/libero/received_events","type":"Organization","site_admin":false},"repo":{"id":124056128,"name":"walking-skeleton","full_name":"libero/walking-skeleton","owner":{"login":"libero","id":37089447,"avatar_url":"https://avatars1.githubusercontent.com/u/37089447?v=4","gravatar_id":"","url":"https://api.github.com/users/libero","html_url":"https://github.com/libero","followers_url":"https://api.github.com/users/libero/followers","following_url":"https://api.github.com/users/libero/following{/other_user}","gists_url":"https://api.github.com/users/libero/gists{/gist_id}","starred_url":"https://api.github.com/users/libero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libero/subscriptions","organizations_url":"https://api.github.com/users/libero/orgs","repos_url":"https://api.github.com/users/libero/repos","events_url":"https://api.github.com/users/libero/events{/privacy}","received_events_url":"https://api.github.com/users/libero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libero/walking-skeleton","description":"A walking skeleton of the scholarly publishing system","fork":false,"url":"https://api.github.com/repos/libero/walking-skeleton","forks_url":"https://api.github.com/repos/libero/walking-skeleton/forks","keys_url":"https://api.github.com/repos/libero/walking-skeleton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libero/walking-skeleton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libero/walking-skeleton/teams","hooks_url":"https://api.github.com/repos/libero/walking-skeleton/hooks","issue_events_url":"https://api.github.com/repos/libero/walking-skeleton/issues/events{/number}","events_url":"https://api.github.com/repos/libero/walking-skeleton/events","assignees_url":"https://api.github.com/repos/libero/walking-skeleton/assignees{/user}","branches_url":"https://api.github.com/repos/libero/walking-skeleton/branches{/branch}","tags_url":"https://api.github.com/repos/libero/walking-skeleton/tags","blobs_url":"https://api.github.com/repos/libero/walking-skeleton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libero/walking-skeleton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libero/walking-skeleton/git/refs{/sha}","trees_url":"https://api.github.com/repos/libero/walking-skeleton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libero/walking-skeleton/statuses/{sha}","languages_url":"https://api.github.com/repos/libero/walking-skeleton/languages","stargazers_url":"https://api.github.com/repos/libero/walking-skeleton/stargazers","contributors_url":"https://api.github.com/repos/libero/walking-skeleton/contributors","subscribers_url":"https://api.github.com/repos/libero/walking-skeleton/subscribers","subscription_url":"https://api.github.com/repos/libero/walking-skeleton/subscription","commits_url":"https://api.github.com/repos/libero/walking-skeleton/commits{/sha}","git_commits_url":"https://api.github.com/repos/libero/walking-skeleton/git/commits{/sha}","comments_url":"https://api.github.com/repos/libero/walking-skeleton/comments{/number}","issue_comment_url":"https://api.github.com/repos/libero/walking-skeleton/issues/comments{/number}","contents_url":"https://api.github.com/repos/libero/walking-skeleton/contents/{+path}","compare_url":"https://api.github.com/repos/libero/walking-skeleton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libero/walking-skeleton/merges","archive_url":"https://api.github.com/repos/libero/walking-skeleton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libero/walking-skeleton/downloads","issues_url":"https://api.github.com/repos/libero/walking-skeleton/issues{/number}","pulls_url":"https://api.github.com/repos/libero/walking-skeleton/pulls{/number}","milestones_url":"https://api.github.com/repos/libero/walking-skeleton/milestones{/number}","notifications_url":"https://api.github.com/repos/libero/walking-skeleton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libero/walking-skeleton/labels{/name}","releases_url":"https://api.github.com/repos/libero/walking-skeleton/releases{/id}","deployments_url":"https://api.github.com/repos/libero/walking-skeleton/deployments","created_at":"2018-03-06T09:42:40Z","updated_at":"2018-04-12T09:24:53Z","pushed_at":"2018-04-16T12:55:26Z","git_url":"git://github.com/libero/walking-skeleton.git","ssh_url":"git@github.com:libero/walking-skeleton.git","clone_url":"https://github.com/libero/walking-skeleton.git","svn_url":"https://github.com/libero/walking-skeleton","homepage":null,"size":207,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libero/walking-skeleton/pulls/11"},"html":{"href":"https://github.com/libero/walking-skeleton/pull/11"},"issue":{"href":"https://api.github.com/repos/libero/walking-skeleton/issues/11"},"comments":{"href":"https://api.github.com/repos/libero/walking-skeleton/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/libero/walking-skeleton/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/libero/walking-skeleton/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libero/walking-skeleton/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/libero/walking-skeleton/statuses/a9aa006c5dfa4637ec977014425d1a69bf5b06cc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"seanwiseman"}}