{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/tidepool-org/shoreline/pulls/22","id":42193929,"html_url":"https://github.com/tidepool-org/shoreline/pull/22","diff_url":"https://github.com/tidepool-org/shoreline/pull/22.diff","patch_url":"https://github.com/tidepool-org/shoreline/pull/22.patch","issue_url":"https://api.github.com/repos/tidepool-org/shoreline/issues/22","number":22,"state":"open","locked":false,"title":"change so we are dealing in seconds for tokens","user":{"login":"jh-bate","id":5168993,"avatar_url":"https://avatars.githubusercontent.com/u/5168993?v=3","gravatar_id":"","url":"https://api.github.com/users/jh-bate","html_url":"https://github.com/jh-bate","followers_url":"https://api.github.com/users/jh-bate/followers","following_url":"https://api.github.com/users/jh-bate/following{/other_user}","gists_url":"https://api.github.com/users/jh-bate/gists{/gist_id}","starred_url":"https://api.github.com/users/jh-bate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jh-bate/subscriptions","organizations_url":"https://api.github.com/users/jh-bate/orgs","repos_url":"https://api.github.com/users/jh-bate/repos","events_url":"https://api.github.com/users/jh-bate/events{/privacy}","received_events_url":"https://api.github.com/users/jh-bate/received_events","type":"User","site_admin":false},"body":"so unlike the branch name I have switched the code to configure based on seconds. This matches the units that tokens use and also allows us easier testing, as we can expire the token very quickly \r\n\r\n@darinkrauss  ","created_at":"2015-08-12T00:35:58Z","updated_at":"2015-08-12T00:35:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tidepool-org/shoreline/pulls/22/commits","review_comments_url":"https://api.github.com/repos/tidepool-org/shoreline/pulls/22/comments","review_comment_url":"https://api.github.com/repos/tidepool-org/shoreline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tidepool-org/shoreline/issues/22/comments","statuses_url":"https://api.github.com/repos/tidepool-org/shoreline/statuses/f724ce7123a2b5630849457d966fc01b919fea41","head":{"label":"tidepool-org:jhbate/makeit-millis","ref":"jhbate/makeit-millis","sha":"f724ce7123a2b5630849457d966fc01b919fea41","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":21628959,"name":"shoreline","full_name":"tidepool-org/shoreline","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/shoreline","description":"Shoreline is the entrance to the ocean; in our case it manages logins and user accounts","fork":false,"url":"https://api.github.com/repos/tidepool-org/shoreline","forks_url":"https://api.github.com/repos/tidepool-org/shoreline/forks","keys_url":"https://api.github.com/repos/tidepool-org/shoreline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/shoreline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/shoreline/teams","hooks_url":"https://api.github.com/repos/tidepool-org/shoreline/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/shoreline/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/shoreline/events","assignees_url":"https://api.github.com/repos/tidepool-org/shoreline/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/shoreline/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/shoreline/tags","blobs_url":"https://api.github.com/repos/tidepool-org/shoreline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/shoreline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/shoreline/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/shoreline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/shoreline/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/shoreline/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/shoreline/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/shoreline/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/shoreline/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/shoreline/subscription","commits_url":"https://api.github.com/repos/tidepool-org/shoreline/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/shoreline/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/shoreline/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/shoreline/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/shoreline/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/shoreline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/shoreline/merges","archive_url":"https://api.github.com/repos/tidepool-org/shoreline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/shoreline/downloads","issues_url":"https://api.github.com/repos/tidepool-org/shoreline/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/shoreline/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/shoreline/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/shoreline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/shoreline/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/shoreline/releases{/id}","created_at":"2014-07-08T20:47:07Z","updated_at":"2015-04-30T00:04:19Z","pushed_at":"2015-08-12T00:13:37Z","git_url":"git://github.com/tidepool-org/shoreline.git","ssh_url":"git@github.com:tidepool-org/shoreline.git","clone_url":"https://github.com/tidepool-org/shoreline.git","svn_url":"https://github.com/tidepool-org/shoreline","homepage":null,"size":1323,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"tidepool-org:master","ref":"master","sha":"9be3842f7190448f443e12b2bc4500f5f389ebf2","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":21628959,"name":"shoreline","full_name":"tidepool-org/shoreline","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/shoreline","description":"Shoreline is the entrance to the ocean; in our case it manages logins and user accounts","fork":false,"url":"https://api.github.com/repos/tidepool-org/shoreline","forks_url":"https://api.github.com/repos/tidepool-org/shoreline/forks","keys_url":"https://api.github.com/repos/tidepool-org/shoreline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/shoreline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/shoreline/teams","hooks_url":"https://api.github.com/repos/tidepool-org/shoreline/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/shoreline/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/shoreline/events","assignees_url":"https://api.github.com/repos/tidepool-org/shoreline/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/shoreline/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/shoreline/tags","blobs_url":"https://api.github.com/repos/tidepool-org/shoreline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/shoreline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/shoreline/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/shoreline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/shoreline/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/shoreline/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/shoreline/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/shoreline/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/shoreline/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/shoreline/subscription","commits_url":"https://api.github.com/repos/tidepool-org/shoreline/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/shoreline/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/shoreline/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/shoreline/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/shoreline/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/shoreline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/shoreline/merges","archive_url":"https://api.github.com/repos/tidepool-org/shoreline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/shoreline/downloads","issues_url":"https://api.github.com/repos/tidepool-org/shoreline/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/shoreline/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/shoreline/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/shoreline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/shoreline/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/shoreline/releases{/id}","created_at":"2014-07-08T20:47:07Z","updated_at":"2015-04-30T00:04:19Z","pushed_at":"2015-08-12T00:13:37Z","git_url":"git://github.com/tidepool-org/shoreline.git","ssh_url":"git@github.com:tidepool-org/shoreline.git","clone_url":"https://github.com/tidepool-org/shoreline.git","svn_url":"https://github.com/tidepool-org/shoreline","homepage":null,"size":1323,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/shoreline/pulls/22"},"html":{"href":"https://github.com/tidepool-org/shoreline/pull/22"},"issue":{"href":"https://api.github.com/repos/tidepool-org/shoreline/issues/22"},"comments":{"href":"https://api.github.com/repos/tidepool-org/shoreline/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/tidepool-org/shoreline/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/tidepool-org/shoreline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tidepool-org/shoreline/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/tidepool-org/shoreline/statuses/f724ce7123a2b5630849457d966fc01b919fea41"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":30,"deletions":25,"changed_files":7}}