{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/pulls/11","id":197113155,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MTEzMTU1","html_url":"https://github.com/TykTechnologies/tyk-pro-docker-demo/pull/11","diff_url":"https://github.com/TykTechnologies/tyk-pro-docker-demo/pull/11.diff","patch_url":"https://github.com/TykTechnologies/tyk-pro-docker-demo/pull/11.patch","issue_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/issues/11","number":11,"state":"open","locked":false,"title":"Improve installation","user":{"login":"letzya","id":3155222,"node_id":"MDQ6VXNlcjMxNTUyMjI=","avatar_url":"https://avatars1.githubusercontent.com/u/3155222?v=4","gravatar_id":"","url":"https://api.github.com/users/letzya","html_url":"https://github.com/letzya","followers_url":"https://api.github.com/users/letzya/followers","following_url":"https://api.github.com/users/letzya/following{/other_user}","gists_url":"https://api.github.com/users/letzya/gists{/gist_id}","starred_url":"https://api.github.com/users/letzya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letzya/subscriptions","organizations_url":"https://api.github.com/users/letzya/orgs","repos_url":"https://api.github.com/users/letzya/repos","events_url":"https://api.github.com/users/letzya/events{/privacy}","received_events_url":"https://api.github.com/users/letzya/received_events","type":"User","site_admin":false},"body":"A quick fix for the bootstrap till I get the chance to write a cli.\r\n\r\n1.  If there's already an org in mongo - asking to exit or proceed. Can only proceed with capital 'P'\r\n2. Organisation's name has the same random number as the user. This way multiple orgs will not share the same name and when users log in they will actually be able to see it.\r\n3. If the api call returns an 'Error' or empty string - we exit with a message\r\n4. Using jsonKey function instead of python to query the dashboards returned data.\r\n5. Tidy up the output with some silly but clearer indentations.\r\n","created_at":"2018-06-25T13:29:40Z","updated_at":"2018-06-25T13:29:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"letzya","id":3155222,"node_id":"MDQ6VXNlcjMxNTUyMjI=","avatar_url":"https://avatars1.githubusercontent.com/u/3155222?v=4","gravatar_id":"","url":"https://api.github.com/users/letzya","html_url":"https://github.com/letzya","followers_url":"https://api.github.com/users/letzya/followers","following_url":"https://api.github.com/users/letzya/following{/other_user}","gists_url":"https://api.github.com/users/letzya/gists{/gist_id}","starred_url":"https://api.github.com/users/letzya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letzya/subscriptions","organizations_url":"https://api.github.com/users/letzya/orgs","repos_url":"https://api.github.com/users/letzya/repos","events_url":"https://api.github.com/users/letzya/events{/privacy}","received_events_url":"https://api.github.com/users/letzya/received_events","type":"User","site_admin":false},"assignees":[{"login":"letzya","id":3155222,"node_id":"MDQ6VXNlcjMxNTUyMjI=","avatar_url":"https://avatars1.githubusercontent.com/u/3155222?v=4","gravatar_id":"","url":"https://api.github.com/users/letzya","html_url":"https://github.com/letzya","followers_url":"https://api.github.com/users/letzya/followers","following_url":"https://api.github.com/users/letzya/following{/other_user}","gists_url":"https://api.github.com/users/letzya/gists{/gist_id}","starred_url":"https://api.github.com/users/letzya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letzya/subscriptions","organizations_url":"https://api.github.com/users/letzya/orgs","repos_url":"https://api.github.com/users/letzya/repos","events_url":"https://api.github.com/users/letzya/events{/privacy}","received_events_url":"https://api.github.com/users/letzya/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":531070148,"node_id":"MDU6TGFiZWw1MzEwNzAxNDg=","url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/pulls/11/commits","review_comments_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/pulls/11/comments","review_comment_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/issues/11/comments","statuses_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/statuses/ec2acbde1e92e4f48283ffc7da33c2c6f3197d27","head":{"label":"TykTechnologies:improve-installation","ref":"improve-installation","sha":"ec2acbde1e92e4f48283ffc7da33c2c6f3197d27","user":{"login":"TykTechnologies","id":16121529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTIxNTI5","avatar_url":"https://avatars3.githubusercontent.com/u/16121529?v=4","gravatar_id":"","url":"https://api.github.com/users/TykTechnologies","html_url":"https://github.com/TykTechnologies","followers_url":"https://api.github.com/users/TykTechnologies/followers","following_url":"https://api.github.com/users/TykTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/TykTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/TykTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TykTechnologies/subscriptions","organizations_url":"https://api.github.com/users/TykTechnologies/orgs","repos_url":"https://api.github.com/users/TykTechnologies/repos","events_url":"https://api.github.com/users/TykTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/TykTechnologies/received_events","type":"Organization","site_admin":false},"repo":{"id":80775865,"node_id":"MDEwOlJlcG9zaXRvcnk4MDc3NTg2NQ==","name":"tyk-pro-docker-demo","full_name":"TykTechnologies/tyk-pro-docker-demo","owner":{"login":"TykTechnologies","id":16121529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTIxNTI5","avatar_url":"https://avatars3.githubusercontent.com/u/16121529?v=4","gravatar_id":"","url":"https://api.github.com/users/TykTechnologies","html_url":"https://github.com/TykTechnologies","followers_url":"https://api.github.com/users/TykTechnologies/followers","following_url":"https://api.github.com/users/TykTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/TykTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/TykTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TykTechnologies/subscriptions","organizations_url":"https://api.github.com/users/TykTechnologies/orgs","repos_url":"https://api.github.com/users/TykTechnologies/repos","events_url":"https://api.github.com/users/TykTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/TykTechnologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TykTechnologies/tyk-pro-docker-demo","description":"Tyk Pro demo using docker and docker compose, supercedes tyk_quickstart","fork":false,"url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo","forks_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/forks","keys_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/teams","hooks_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/hooks","issue_events_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/issues/events{/number}","events_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/events","assignees_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/assignees{/user}","branches_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/branches{/branch}","tags_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/tags","blobs_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/languages","stargazers_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/stargazers","contributors_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/contributors","subscribers_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/subscribers","subscription_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/subscription","commits_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/contents/{+path}","compare_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/merges","archive_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/downloads","issues_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/issues{/number}","pulls_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/labels{/name}","releases_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/releases{/id}","deployments_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/deployments","created_at":"2017-02-02T22:43:09Z","updated_at":"2018-06-19T15:02:25Z","pushed_at":"2018-06-25T13:23:01Z","git_url":"git://github.com/TykTechnologies/tyk-pro-docker-demo.git","ssh_url":"git@github.com:TykTechnologies/tyk-pro-docker-demo.git","clone_url":"https://github.com/TykTechnologies/tyk-pro-docker-demo.git","svn_url":"https://github.com/TykTechnologies/tyk-pro-docker-demo","homepage":null,"size":19,"stargazers_count":8,"watchers_count":8,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":9,"open_issues":6,"watchers":8,"default_branch":"master"}},"base":{"label":"TykTechnologies:master","ref":"master","sha":"a30512e56ec3c78d8a37e6642f58fd2d0577d2a4","user":{"login":"TykTechnologies","id":16121529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTIxNTI5","avatar_url":"https://avatars3.githubusercontent.com/u/16121529?v=4","gravatar_id":"","url":"https://api.github.com/users/TykTechnologies","html_url":"https://github.com/TykTechnologies","followers_url":"https://api.github.com/users/TykTechnologies/followers","following_url":"https://api.github.com/users/TykTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/TykTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/TykTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TykTechnologies/subscriptions","organizations_url":"https://api.github.com/users/TykTechnologies/orgs","repos_url":"https://api.github.com/users/TykTechnologies/repos","events_url":"https://api.github.com/users/TykTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/TykTechnologies/received_events","type":"Organization","site_admin":false},"repo":{"id":80775865,"node_id":"MDEwOlJlcG9zaXRvcnk4MDc3NTg2NQ==","name":"tyk-pro-docker-demo","full_name":"TykTechnologies/tyk-pro-docker-demo","owner":{"login":"TykTechnologies","id":16121529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTIxNTI5","avatar_url":"https://avatars3.githubusercontent.com/u/16121529?v=4","gravatar_id":"","url":"https://api.github.com/users/TykTechnologies","html_url":"https://github.com/TykTechnologies","followers_url":"https://api.github.com/users/TykTechnologies/followers","following_url":"https://api.github.com/users/TykTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/TykTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/TykTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TykTechnologies/subscriptions","organizations_url":"https://api.github.com/users/TykTechnologies/orgs","repos_url":"https://api.github.com/users/TykTechnologies/repos","events_url":"https://api.github.com/users/TykTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/TykTechnologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TykTechnologies/tyk-pro-docker-demo","description":"Tyk Pro demo using docker and docker compose, supercedes tyk_quickstart","fork":false,"url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo","forks_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/forks","keys_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/teams","hooks_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/hooks","issue_events_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/issues/events{/number}","events_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/events","assignees_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/assignees{/user}","branches_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/branches{/branch}","tags_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/tags","blobs_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/languages","stargazers_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/stargazers","contributors_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/contributors","subscribers_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/subscribers","subscription_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/subscription","commits_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/contents/{+path}","compare_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/merges","archive_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/downloads","issues_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/issues{/number}","pulls_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/labels{/name}","releases_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/releases{/id}","deployments_url":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/deployments","created_at":"2017-02-02T22:43:09Z","updated_at":"2018-06-19T15:02:25Z","pushed_at":"2018-06-25T13:23:01Z","git_url":"git://github.com/TykTechnologies/tyk-pro-docker-demo.git","ssh_url":"git@github.com:TykTechnologies/tyk-pro-docker-demo.git","clone_url":"https://github.com/TykTechnologies/tyk-pro-docker-demo.git","svn_url":"https://github.com/TykTechnologies/tyk-pro-docker-demo","homepage":null,"size":19,"stargazers_count":8,"watchers_count":8,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":9,"open_issues":6,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/pulls/11"},"html":{"href":"https://github.com/TykTechnologies/tyk-pro-docker-demo/pull/11"},"issue":{"href":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/issues/11"},"comments":{"href":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/TykTechnologies/tyk-pro-docker-demo/statuses/ec2acbde1e92e4f48283ffc7da33c2c6f3197d27"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":117,"deletions":20,"changed_files":1}}
{"actor":{"display_login":"letzya"}}