{"action":"opened","number":525,"pull_request":{"url":"https://api.github.com/repos/GPII/universal/pulls/525","id":129435986,"html_url":"https://github.com/GPII/universal/pull/525","diff_url":"https://github.com/GPII/universal/pull/525.diff","patch_url":"https://github.com/GPII/universal/pull/525.patch","issue_url":"https://api.github.com/repos/GPII/universal/issues/525","number":525,"state":"open","locked":false,"title":"GPII-2411 - Add new env vars for Preferences Server and Flow Manager","user":{"login":"gtirloni","id":5902830,"avatar_url":"https://avatars0.githubusercontent.com/u/5902830?v=3","gravatar_id":"","url":"https://api.github.com/users/gtirloni","html_url":"https://github.com/gtirloni","followers_url":"https://api.github.com/users/gtirloni/followers","following_url":"https://api.github.com/users/gtirloni/following{/other_user}","gists_url":"https://api.github.com/users/gtirloni/gists{/gist_id}","starred_url":"https://api.github.com/users/gtirloni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtirloni/subscriptions","organizations_url":"https://api.github.com/users/gtirloni/orgs","repos_url":"https://api.github.com/users/gtirloni/repos","events_url":"https://api.github.com/users/gtirloni/events{/privacy}","received_events_url":"https://api.github.com/users/gtirloni/received_events","type":"User","site_admin":false},"body":"# Environment variables:\r\n\r\n * GPII_PREFERENCES_LISTEN_PORT = TCP Port the Preferences Server should use\r\n * GPII_PREFERENCES_DATASOURCE_URL = Location of the CouchDB database\r\n * GPII_FLOWMANAGER_LISTEN_PORT = TCP Port the Flow Manager should use\r\n * GPII_FLOWMANAGER_PREFERENCES_URL = Location of Preferences Server (Added in GPII-2470)\r\n\r\n# How to test:\r\n\r\n## Preferences Server\r\n\r\n```\r\n$ GPII_PREFERENCES_LISTEN_PORT=9999 \\\r\n  GPII_PREFERENCES_DATASOURCE_URL=https://your-couchdb-server:5984/%userToken \\\r\n  NODE_ENV=gpii.config.cloudBased.flowManager.production npm start\r\n$ curl http://localhost:999/preferences/carla\r\n```\r\n\r\n## Fow Manager\r\n\r\n```\r\n$ GPII_FLOWMANAGER_LISTEN_PORT=10001 \\\r\n  GPII_FLOWMANAGER_PREFERENCES_URL=https://preferences-staging.gpii.net/preferences/%userToken \\\r\n  NODE_ENV=gpii.config.cloudBased.flowManager.production npm start\r\n```","created_at":"2017-07-07T15:58:16Z","updated_at":"2017-07-07T15:58:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/GPII/universal/pulls/525/commits","review_comments_url":"https://api.github.com/repos/GPII/universal/pulls/525/comments","review_comment_url":"https://api.github.com/repos/GPII/universal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GPII/universal/issues/525/comments","statuses_url":"https://api.github.com/repos/GPII/universal/statuses/7b31b09ef59d2b04bf8b8a7cbfe9025fe4624f1c","head":{"label":"gtirloni-gpii:GPII-2411","ref":"GPII-2411","sha":"7b31b09ef59d2b04bf8b8a7cbfe9025fe4624f1c","user":{"login":"gtirloni-gpii","id":29307676,"avatar_url":"https://avatars1.githubusercontent.com/u/29307676?v=3","gravatar_id":"","url":"https://api.github.com/users/gtirloni-gpii","html_url":"https://github.com/gtirloni-gpii","followers_url":"https://api.github.com/users/gtirloni-gpii/followers","following_url":"https://api.github.com/users/gtirloni-gpii/following{/other_user}","gists_url":"https://api.github.com/users/gtirloni-gpii/gists{/gist_id}","starred_url":"https://api.github.com/users/gtirloni-gpii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtirloni-gpii/subscriptions","organizations_url":"https://api.github.com/users/gtirloni-gpii/orgs","repos_url":"https://api.github.com/users/gtirloni-gpii/repos","events_url":"https://api.github.com/users/gtirloni-gpii/events{/privacy}","received_events_url":"https://api.github.com/users/gtirloni-gpii/received_events","type":"Organization","site_admin":false},"repo":{"id":51443244,"name":"universal","full_name":"gtirloni-gpii/universal","owner":{"login":"gtirloni-gpii","id":29307676,"avatar_url":"https://avatars1.githubusercontent.com/u/29307676?v=3","gravatar_id":"","url":"https://api.github.com/users/gtirloni-gpii","html_url":"https://github.com/gtirloni-gpii","followers_url":"https://api.github.com/users/gtirloni-gpii/followers","following_url":"https://api.github.com/users/gtirloni-gpii/following{/other_user}","gists_url":"https://api.github.com/users/gtirloni-gpii/gists{/gist_id}","starred_url":"https://api.github.com/users/gtirloni-gpii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtirloni-gpii/subscriptions","organizations_url":"https://api.github.com/users/gtirloni-gpii/orgs","repos_url":"https://api.github.com/users/gtirloni-gpii/repos","events_url":"https://api.github.com/users/gtirloni-gpii/events{/privacy}","received_events_url":"https://api.github.com/users/gtirloni-gpii/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gtirloni-gpii/universal","description":"Cross platform, core components of the GPII personalization infrastructure","fork":true,"url":"https://api.github.com/repos/gtirloni-gpii/universal","forks_url":"https://api.github.com/repos/gtirloni-gpii/universal/forks","keys_url":"https://api.github.com/repos/gtirloni-gpii/universal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gtirloni-gpii/universal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gtirloni-gpii/universal/teams","hooks_url":"https://api.github.com/repos/gtirloni-gpii/universal/hooks","issue_events_url":"https://api.github.com/repos/gtirloni-gpii/universal/issues/events{/number}","events_url":"https://api.github.com/repos/gtirloni-gpii/universal/events","assignees_url":"https://api.github.com/repos/gtirloni-gpii/universal/assignees{/user}","branches_url":"https://api.github.com/repos/gtirloni-gpii/universal/branches{/branch}","tags_url":"https://api.github.com/repos/gtirloni-gpii/universal/tags","blobs_url":"https://api.github.com/repos/gtirloni-gpii/universal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gtirloni-gpii/universal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gtirloni-gpii/universal/git/refs{/sha}","trees_url":"https://api.github.com/repos/gtirloni-gpii/universal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gtirloni-gpii/universal/statuses/{sha}","languages_url":"https://api.github.com/repos/gtirloni-gpii/universal/languages","stargazers_url":"https://api.github.com/repos/gtirloni-gpii/universal/stargazers","contributors_url":"https://api.github.com/repos/gtirloni-gpii/universal/contributors","subscribers_url":"https://api.github.com/repos/gtirloni-gpii/universal/subscribers","subscription_url":"https://api.github.com/repos/gtirloni-gpii/universal/subscription","commits_url":"https://api.github.com/repos/gtirloni-gpii/universal/commits{/sha}","git_commits_url":"https://api.github.com/repos/gtirloni-gpii/universal/git/commits{/sha}","comments_url":"https://api.github.com/repos/gtirloni-gpii/universal/comments{/number}","issue_comment_url":"https://api.github.com/repos/gtirloni-gpii/universal/issues/comments{/number}","contents_url":"https://api.github.com/repos/gtirloni-gpii/universal/contents/{+path}","compare_url":"https://api.github.com/repos/gtirloni-gpii/universal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gtirloni-gpii/universal/merges","archive_url":"https://api.github.com/repos/gtirloni-gpii/universal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gtirloni-gpii/universal/downloads","issues_url":"https://api.github.com/repos/gtirloni-gpii/universal/issues{/number}","pulls_url":"https://api.github.com/repos/gtirloni-gpii/universal/pulls{/number}","milestones_url":"https://api.github.com/repos/gtirloni-gpii/universal/milestones{/number}","notifications_url":"https://api.github.com/repos/gtirloni-gpii/universal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gtirloni-gpii/universal/labels{/name}","releases_url":"https://api.github.com/repos/gtirloni-gpii/universal/releases{/id}","deployments_url":"https://api.github.com/repos/gtirloni-gpii/universal/deployments","created_at":"2016-02-10T13:39:10Z","updated_at":"2017-06-09T14:27:18Z","pushed_at":"2017-07-07T15:50:00Z","git_url":"git://github.com/gtirloni-gpii/universal.git","ssh_url":"git@github.com:gtirloni-gpii/universal.git","clone_url":"https://github.com/gtirloni-gpii/universal.git","svn_url":"https://github.com/gtirloni-gpii/universal","homepage":"gpii.net","size":7386,"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,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"GPII:master","ref":"master","sha":"a6e8653e22cab88af047d59aaec9198edee642ff","user":{"login":"GPII","id":1343050,"avatar_url":"https://avatars3.githubusercontent.com/u/1343050?v=3","gravatar_id":"","url":"https://api.github.com/users/GPII","html_url":"https://github.com/GPII","followers_url":"https://api.github.com/users/GPII/followers","following_url":"https://api.github.com/users/GPII/following{/other_user}","gists_url":"https://api.github.com/users/GPII/gists{/gist_id}","starred_url":"https://api.github.com/users/GPII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPII/subscriptions","organizations_url":"https://api.github.com/users/GPII/orgs","repos_url":"https://api.github.com/users/GPII/repos","events_url":"https://api.github.com/users/GPII/events{/privacy}","received_events_url":"https://api.github.com/users/GPII/received_events","type":"Organization","site_admin":false},"repo":{"id":3623720,"name":"universal","full_name":"GPII/universal","owner":{"login":"GPII","id":1343050,"avatar_url":"https://avatars3.githubusercontent.com/u/1343050?v=3","gravatar_id":"","url":"https://api.github.com/users/GPII","html_url":"https://github.com/GPII","followers_url":"https://api.github.com/users/GPII/followers","following_url":"https://api.github.com/users/GPII/following{/other_user}","gists_url":"https://api.github.com/users/GPII/gists{/gist_id}","starred_url":"https://api.github.com/users/GPII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPII/subscriptions","organizations_url":"https://api.github.com/users/GPII/orgs","repos_url":"https://api.github.com/users/GPII/repos","events_url":"https://api.github.com/users/GPII/events{/privacy}","received_events_url":"https://api.github.com/users/GPII/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GPII/universal","description":"Cross platform, core components of the GPII personalization infrastructure","fork":false,"url":"https://api.github.com/repos/GPII/universal","forks_url":"https://api.github.com/repos/GPII/universal/forks","keys_url":"https://api.github.com/repos/GPII/universal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GPII/universal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GPII/universal/teams","hooks_url":"https://api.github.com/repos/GPII/universal/hooks","issue_events_url":"https://api.github.com/repos/GPII/universal/issues/events{/number}","events_url":"https://api.github.com/repos/GPII/universal/events","assignees_url":"https://api.github.com/repos/GPII/universal/assignees{/user}","branches_url":"https://api.github.com/repos/GPII/universal/branches{/branch}","tags_url":"https://api.github.com/repos/GPII/universal/tags","blobs_url":"https://api.github.com/repos/GPII/universal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GPII/universal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GPII/universal/git/refs{/sha}","trees_url":"https://api.github.com/repos/GPII/universal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GPII/universal/statuses/{sha}","languages_url":"https://api.github.com/repos/GPII/universal/languages","stargazers_url":"https://api.github.com/repos/GPII/universal/stargazers","contributors_url":"https://api.github.com/repos/GPII/universal/contributors","subscribers_url":"https://api.github.com/repos/GPII/universal/subscribers","subscription_url":"https://api.github.com/repos/GPII/universal/subscription","commits_url":"https://api.github.com/repos/GPII/universal/commits{/sha}","git_commits_url":"https://api.github.com/repos/GPII/universal/git/commits{/sha}","comments_url":"https://api.github.com/repos/GPII/universal/comments{/number}","issue_comment_url":"https://api.github.com/repos/GPII/universal/issues/comments{/number}","contents_url":"https://api.github.com/repos/GPII/universal/contents/{+path}","compare_url":"https://api.github.com/repos/GPII/universal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GPII/universal/merges","archive_url":"https://api.github.com/repos/GPII/universal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GPII/universal/downloads","issues_url":"https://api.github.com/repos/GPII/universal/issues{/number}","pulls_url":"https://api.github.com/repos/GPII/universal/pulls{/number}","milestones_url":"https://api.github.com/repos/GPII/universal/milestones{/number}","notifications_url":"https://api.github.com/repos/GPII/universal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GPII/universal/labels{/name}","releases_url":"https://api.github.com/repos/GPII/universal/releases{/id}","deployments_url":"https://api.github.com/repos/GPII/universal/deployments","created_at":"2012-03-05T04:01:44Z","updated_at":"2016-10-27T09:49:05Z","pushed_at":"2017-07-07T14:10:19Z","git_url":"git://github.com/GPII/universal.git","ssh_url":"git@github.com:GPII/universal.git","clone_url":"https://github.com/GPII/universal.git","svn_url":"https://github.com/GPII/universal","homepage":"gpii.net","size":7381,"stargazers_count":21,"watchers_count":21,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"open_issues_count":38,"forks":54,"open_issues":38,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GPII/universal/pulls/525"},"html":{"href":"https://github.com/GPII/universal/pull/525"},"issue":{"href":"https://api.github.com/repos/GPII/universal/issues/525"},"comments":{"href":"https://api.github.com/repos/GPII/universal/issues/525/comments"},"review_comments":{"href":"https://api.github.com/repos/GPII/universal/pulls/525/comments"},"review_comment":{"href":"https://api.github.com/repos/GPII/universal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GPII/universal/pulls/525/commits"},"statuses":{"href":"https://api.github.com/repos/GPII/universal/statuses/7b31b09ef59d2b04bf8b8a7cbfe9025fe4624f1c"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":27,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"gtirloni"}}