{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/keen/explorer/pulls/21","id":42586668,"html_url":"https://github.com/keen/explorer/pull/21","diff_url":"https://github.com/keen/explorer/pull/21.diff","patch_url":"https://github.com/keen/explorer/pull/21.patch","issue_url":"https://api.github.com/repos/keen/explorer/issues/21","number":21,"state":"open","locked":false,"title":"add an option to set a max_age for all queries","user":{"login":"josephwegner","id":657707,"avatar_url":"https://avatars.githubusercontent.com/u/657707?v=3","gravatar_id":"","url":"https://api.github.com/users/josephwegner","html_url":"https://github.com/josephwegner","followers_url":"https://api.github.com/users/josephwegner/followers","following_url":"https://api.github.com/users/josephwegner/following{/other_user}","gists_url":"https://api.github.com/users/josephwegner/gists{/gist_id}","starred_url":"https://api.github.com/users/josephwegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephwegner/subscriptions","organizations_url":"https://api.github.com/users/josephwegner/orgs","repos_url":"https://api.github.com/users/josephwegner/repos","events_url":"https://api.github.com/users/josephwegner/events{/privacy}","received_events_url":"https://api.github.com/users/josephwegner/received_events","type":"User","site_admin":false},"body":"@aroc @hex337 @dustinlarimer \r\n\r\nThis adds a configuration property to put a `max_age` on all queries.\r\n\r\nMy only worry here is that it _seems_ like there is some structure in `app.js` for a `config.options` object, which should hold this kind of thing... However, those options gets passed to the Component. I couldn't find a way to go through the component, but still access the `max_age` inside of `ExplorerUtils.queryJSON`.\r\n\r\nIf y'all can think of a cleaner way to do this, please let me know.","created_at":"2015-08-17T13:18:48Z","updated_at":"2015-08-17T13:18:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/keen/explorer/pulls/21/commits","review_comments_url":"https://api.github.com/repos/keen/explorer/pulls/21/comments","review_comment_url":"https://api.github.com/repos/keen/explorer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/keen/explorer/issues/21/comments","statuses_url":"https://api.github.com/repos/keen/explorer/statuses/f513ed81595a3d7fcad10479937af8aa03977de6","head":{"label":"keen:max-age-property","ref":"max-age-property","sha":"f513ed81595a3d7fcad10479937af8aa03977de6","user":{"login":"keen","id":8461781,"avatar_url":"https://avatars.githubusercontent.com/u/8461781?v=3","gravatar_id":"","url":"https://api.github.com/users/keen","html_url":"https://github.com/keen","followers_url":"https://api.github.com/users/keen/followers","following_url":"https://api.github.com/users/keen/following{/other_user}","gists_url":"https://api.github.com/users/keen/gists{/gist_id}","starred_url":"https://api.github.com/users/keen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keen/subscriptions","organizations_url":"https://api.github.com/users/keen/orgs","repos_url":"https://api.github.com/users/keen/repos","events_url":"https://api.github.com/users/keen/events{/privacy}","received_events_url":"https://api.github.com/users/keen/received_events","type":"Organization","site_admin":false},"repo":{"id":37276906,"name":"explorer","full_name":"keen/explorer","owner":{"login":"keen","id":8461781,"avatar_url":"https://avatars.githubusercontent.com/u/8461781?v=3","gravatar_id":"","url":"https://api.github.com/users/keen","html_url":"https://github.com/keen","followers_url":"https://api.github.com/users/keen/followers","following_url":"https://api.github.com/users/keen/following{/other_user}","gists_url":"https://api.github.com/users/keen/gists{/gist_id}","starred_url":"https://api.github.com/users/keen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keen/subscriptions","organizations_url":"https://api.github.com/users/keen/orgs","repos_url":"https://api.github.com/users/keen/repos","events_url":"https://api.github.com/users/keen/events{/privacy}","received_events_url":"https://api.github.com/users/keen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keen/explorer","description":"Open source Data Explorer by Keen IO","fork":false,"url":"https://api.github.com/repos/keen/explorer","forks_url":"https://api.github.com/repos/keen/explorer/forks","keys_url":"https://api.github.com/repos/keen/explorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keen/explorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keen/explorer/teams","hooks_url":"https://api.github.com/repos/keen/explorer/hooks","issue_events_url":"https://api.github.com/repos/keen/explorer/issues/events{/number}","events_url":"https://api.github.com/repos/keen/explorer/events","assignees_url":"https://api.github.com/repos/keen/explorer/assignees{/user}","branches_url":"https://api.github.com/repos/keen/explorer/branches{/branch}","tags_url":"https://api.github.com/repos/keen/explorer/tags","blobs_url":"https://api.github.com/repos/keen/explorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keen/explorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keen/explorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/keen/explorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keen/explorer/statuses/{sha}","languages_url":"https://api.github.com/repos/keen/explorer/languages","stargazers_url":"https://api.github.com/repos/keen/explorer/stargazers","contributors_url":"https://api.github.com/repos/keen/explorer/contributors","subscribers_url":"https://api.github.com/repos/keen/explorer/subscribers","subscription_url":"https://api.github.com/repos/keen/explorer/subscription","commits_url":"https://api.github.com/repos/keen/explorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/keen/explorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/keen/explorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/keen/explorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/keen/explorer/contents/{+path}","compare_url":"https://api.github.com/repos/keen/explorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keen/explorer/merges","archive_url":"https://api.github.com/repos/keen/explorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keen/explorer/downloads","issues_url":"https://api.github.com/repos/keen/explorer/issues{/number}","pulls_url":"https://api.github.com/repos/keen/explorer/pulls{/number}","milestones_url":"https://api.github.com/repos/keen/explorer/milestones{/number}","notifications_url":"https://api.github.com/repos/keen/explorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keen/explorer/labels{/name}","releases_url":"https://api.github.com/repos/keen/explorer/releases{/id}","created_at":"2015-06-11T17:56:40Z","updated_at":"2015-08-17T12:21:17Z","pushed_at":"2015-08-17T13:18:48Z","git_url":"git://github.com/keen/explorer.git","ssh_url":"git@github.com:keen/explorer.git","clone_url":"https://github.com/keen/explorer.git","svn_url":"https://github.com/keen/explorer","homepage":"https://keen.github.io/explorer","size":3479,"stargazers_count":411,"watchers_count":411,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":3,"forks":18,"open_issues":3,"watchers":411,"default_branch":"master"}},"base":{"label":"keen:master","ref":"master","sha":"62e8b5a25a82ad62c03bef193d79e604781e07d2","user":{"login":"keen","id":8461781,"avatar_url":"https://avatars.githubusercontent.com/u/8461781?v=3","gravatar_id":"","url":"https://api.github.com/users/keen","html_url":"https://github.com/keen","followers_url":"https://api.github.com/users/keen/followers","following_url":"https://api.github.com/users/keen/following{/other_user}","gists_url":"https://api.github.com/users/keen/gists{/gist_id}","starred_url":"https://api.github.com/users/keen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keen/subscriptions","organizations_url":"https://api.github.com/users/keen/orgs","repos_url":"https://api.github.com/users/keen/repos","events_url":"https://api.github.com/users/keen/events{/privacy}","received_events_url":"https://api.github.com/users/keen/received_events","type":"Organization","site_admin":false},"repo":{"id":37276906,"name":"explorer","full_name":"keen/explorer","owner":{"login":"keen","id":8461781,"avatar_url":"https://avatars.githubusercontent.com/u/8461781?v=3","gravatar_id":"","url":"https://api.github.com/users/keen","html_url":"https://github.com/keen","followers_url":"https://api.github.com/users/keen/followers","following_url":"https://api.github.com/users/keen/following{/other_user}","gists_url":"https://api.github.com/users/keen/gists{/gist_id}","starred_url":"https://api.github.com/users/keen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keen/subscriptions","organizations_url":"https://api.github.com/users/keen/orgs","repos_url":"https://api.github.com/users/keen/repos","events_url":"https://api.github.com/users/keen/events{/privacy}","received_events_url":"https://api.github.com/users/keen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keen/explorer","description":"Open source Data Explorer by Keen IO","fork":false,"url":"https://api.github.com/repos/keen/explorer","forks_url":"https://api.github.com/repos/keen/explorer/forks","keys_url":"https://api.github.com/repos/keen/explorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keen/explorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keen/explorer/teams","hooks_url":"https://api.github.com/repos/keen/explorer/hooks","issue_events_url":"https://api.github.com/repos/keen/explorer/issues/events{/number}","events_url":"https://api.github.com/repos/keen/explorer/events","assignees_url":"https://api.github.com/repos/keen/explorer/assignees{/user}","branches_url":"https://api.github.com/repos/keen/explorer/branches{/branch}","tags_url":"https://api.github.com/repos/keen/explorer/tags","blobs_url":"https://api.github.com/repos/keen/explorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keen/explorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keen/explorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/keen/explorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keen/explorer/statuses/{sha}","languages_url":"https://api.github.com/repos/keen/explorer/languages","stargazers_url":"https://api.github.com/repos/keen/explorer/stargazers","contributors_url":"https://api.github.com/repos/keen/explorer/contributors","subscribers_url":"https://api.github.com/repos/keen/explorer/subscribers","subscription_url":"https://api.github.com/repos/keen/explorer/subscription","commits_url":"https://api.github.com/repos/keen/explorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/keen/explorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/keen/explorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/keen/explorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/keen/explorer/contents/{+path}","compare_url":"https://api.github.com/repos/keen/explorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keen/explorer/merges","archive_url":"https://api.github.com/repos/keen/explorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keen/explorer/downloads","issues_url":"https://api.github.com/repos/keen/explorer/issues{/number}","pulls_url":"https://api.github.com/repos/keen/explorer/pulls{/number}","milestones_url":"https://api.github.com/repos/keen/explorer/milestones{/number}","notifications_url":"https://api.github.com/repos/keen/explorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keen/explorer/labels{/name}","releases_url":"https://api.github.com/repos/keen/explorer/releases{/id}","created_at":"2015-06-11T17:56:40Z","updated_at":"2015-08-17T12:21:17Z","pushed_at":"2015-08-17T13:18:48Z","git_url":"git://github.com/keen/explorer.git","ssh_url":"git@github.com:keen/explorer.git","clone_url":"https://github.com/keen/explorer.git","svn_url":"https://github.com/keen/explorer","homepage":"https://keen.github.io/explorer","size":3479,"stargazers_count":411,"watchers_count":411,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":3,"forks":18,"open_issues":3,"watchers":411,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keen/explorer/pulls/21"},"html":{"href":"https://github.com/keen/explorer/pull/21"},"issue":{"href":"https://api.github.com/repos/keen/explorer/issues/21"},"comments":{"href":"https://api.github.com/repos/keen/explorer/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/keen/explorer/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/keen/explorer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/keen/explorer/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/keen/explorer/statuses/f513ed81595a3d7fcad10479937af8aa03977de6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":3,"changed_files":5}}