{"action":"created","comment":{"url":"https://api.github.com/repos/GPII/universal/pulls/comments/26295114","id":26295114,"diff_hunk":"@@ -0,0 +1,318 @@\n+/**\n+ * GPII Context Integration Tests\n+ *\n+ * Copyright 2014 Lucendo Development Ltd.\n+ *\n+ * Licensed under the New BSD license. You may not use this file except in\n+ * compliance with this License.\n+ *\n+ * You may obtain a copy of the License at\n+ * https://github.com/GPII/kettle/LICENSE.txt\n+ */\n+\n+\"use strict\";\n+\n+var fluid = require(\"infusion\"),\n+    kettle = fluid.registerNamespace(\"kettle\"),\n+    gpii = fluid.registerNamespace(\"gpii\");\n+\n+fluid.registerNamespace(\"gpii.test.contextIntegration\");\n+\n+require(\"../index.js\");\n+\n+gpii.loadTestingSupport();\n+\n+fluid.defaults(\"gpii.test.contextIntegration.testCaseHolder\", {\n+    gradeNames: [ \"gpii.test.integration.testCaseHolder.linux\" ],\n+    components: {\n+        environmentChangedRequest: {\n+            type: \"kettle.test.request.http\",\n+            options: {\n+                requestOptions: {\n+                    path: \"/environmentChanged\",\n+                    port: 8081,\n+                    method: \"PUT\"\n+                }\n+            }\n+        }\n+    }\n+});\n+\n+gpii.test.contextIntegration.changeEnvironmentAndCheck = function (contextName) {\n+    return [\n+        {\n+            func: \"{environmentChangedRequest}.send\",\n+            args: gpii.test.contextIntegration.data[contextName].environment\n+        }, {\n+            event: \"{environmentChangedRequest}.events.onComplete\"\n+        }, {\n+            func: \"gpii.test.checkConfiguration\",\n+            args: [\"{tests}.\" + contextName + \".settingsHandlers\", \"{nameResolver}\"]\n+        }\n+    ];\n+};\n+\n+\n+gpii.test.contextIntegration.data = {\n+    userToken: \"context1\",\n+    processes: [\n+        {\n+            \"command\": \"gsettings get org.gnome.desktop.a11y.applications screen-magnifier-enabled\",\n+            \"expectConfigured\": \"true\",\n+            \"expectRestored\": \"false\"\n+        }\n+    ],\n+    \"gpii-default\": {\n+        \"environment\": {\n+            \"http://registry.gpii.net/common/environment/illuminance\": 200,\n+            \"http://registry.gpii.net/common/environment/auditory.noise\": 10000\n+        },\n+        \"settingsHandlers\": {\n+            \"gpii.gsettings\": {\n+                \"data\": [{\n+                    \"settings\": {\n+                        \"mag-factor\": 1.5\n+                    },\n+                    \"options\": {\n+                        \"schema\": \"org.gnome.desktop.a11y.magnifier\"\n+                    }\n+                }]\n+            },\n+            \"gpii.alsa\": {\n+                \"data\": [{\n+                    \"settings\": {\n+                        \"masterVolume\": 50\n+                    }\n+                }]\n+            }\n+        }\n+    },\n+    \"bright\": {\n+        \"environment\": {\n+            \"http://registry.gpii.net/common/environment/illuminance\": 500,\n+            \"http://registry.gpii.net/common/environment/auditory.noise\": 10000\n+\n+        },\n+        \"settingsHandlers\": {\n+            \"gpii.gsettings\": {\n+                \"data\": [{\n+                    \"settings\": {\n+                        \"mag-factor\": 2\n+                    },\n+                    \"options\": {\n+                        \"schema\": \"org.gnome.desktop.a11y.magnifier\"\n+                    }\n+                }]\n+            },\n+            \"gpii.alsa\": {\n+                \"data\": [{\n+                    \"settings\": {\n+                        \"masterVolume\": 50\n+                    }\n+                }]\n+            }\n+        }\n+    },\n+    \"noise\": {\n+        \"environment\": {\n+            \"http://registry.gpii.net/common/environment/illuminance\": 200,\n+            \"http://registry.gpii.net/common/environment/auditory.noise\": 30000\n+        },\n+        \"settingsHandlers\": {\n+            \"gpii.gsettings\": {\n+                \"data\": [{\n+                    \"settings\": {\n+                        \"mag-factor\": 1.5\n+                    },\n+                    \"options\": {\n+                        \"schema\": \"org.gnome.desktop.a11y.magnifier\"\n+                    }\n+                }]\n+            },\n+            \"gpii.alsa\": {\n+                \"data\": [{\n+                    \"settings\": {\n+                        \"masterVolume\": 100\n+                    }\n+                }]\n+            }\n+        }\n+    },\n+    \"brightandnoise\": {\n+        \"environment\": {\n+            \"http://registry.gpii.net/common/environment/illuminance\": 500,\n+            \"http://registry.gpii.net/common/environment/auditory.noise\": 30000\n+\n+        },\n+        \"settingsHandlers\": {\n+            \"gpii.gsettings\": {\n+                \"data\": [{\n+                    \"settings\": {\n+                        \"mag-factor\": 2\n+                    },\n+                    \"options\": {\n+                        \"schema\": \"org.gnome.desktop.a11y.magnifier\"\n+                    }\n+                }]\n+            },\n+            \"gpii.alsa\": {\n+                \"data\": [{\n+                    \"settings\": {\n+                        \"masterVolume\": 100\n+                    }\n+                }]\n+            }\n+        }\n+    }\n+};\n+\n+gpii.test.contextIntegration.fixtures = [\n+    {\n+        name: \"Simple context change after login\",\n+        expected: 6,\n+        sequenceSegments: [\n+            [\n+                {\n+                    \"func\": \"gpii.test.expandSettings\",\n+                    args: [ \"{tests}\", [ \"bright\", \"gpii-default\" ]]\n+                }, {\n+                    func: \"gpii.test.snapshotSettings\",\n+                    args: [\"{tests}.gpii-default.settingsHandlers\", \"{tests}.settingsStore\", \"{nameResolver}\"]\n+                }, {\n+                    func: \"{loginRequest}.send\"\n+                }, {\n+                    event: \"{loginRequest}.events.onComplete\",\n+                    listener: \"gpii.test.loginRequestListen\"\n+                }, {\n+                    func: \"gpii.test.checkConfiguration\",\n+                    args: [\"{tests}.gpii-default.settingsHandlers\", \"{nameResolver}\"]\n+                }\n+            ],\n+            gpii.test.createProcessChecks(gpii.test.contextIntegration.data.processes, \"expectConfigured\"),\n+            gpii.test.contextIntegration.changeEnvironmentAndCheck(\"bright\"),\n+            [\n+                {\n+                    func: \"{logoutRequest}.send\"\n+                }, {\n+                    event: \"{logoutRequest}.events.onComplete\",\n+                    listener: \"gpii.test.logoutRequestListen\"\n+                }\n+            ],\n+            gpii.test.createProcessChecks(gpii.test.contextIntegration.data.processes, \"expectRestored\"),\n+            [\n+                {\n+                    func: \"gpii.test.checkRestoredConfiguration\",\n+                    args: [\"{tests}.gpii-default.settingsHandlers\", \"{tests}.settingsStore\", \"{nameResolver}\"]\n+                }\n+            ]\n+        ]\n+    },\n+    {\n+        name: \"Context changed before login\",\n+        expected: 5,\n+        sequenceSegments: [\n+            [\n+                {\n+                    \"func\": \"gpii.test.expandSettings\",\n+                    args: [ \"{tests}\", [ \"bright\", \"gpii-default\" ]]\n+                }, {\n+                    func: \"gpii.test.snapshotSettings\",\n+                    args: [\"{tests}.gpii-default.settingsHandlers\", \"{tests}.settingsStore\", \"{nameResolver}\"]\n+                }, {\n+                    func: \"{environmentChangedRequest}.send\",\n+                    args: {\n+                        \"http://registry.gpii.net/common/environment/illuminance\": 500\n+                    }\n+                }, {\n+                    event: \"{environmentChangedRequest}.events.onComplete\"\n+                }, {\n+                    func: \"{loginRequest}.send\"\n+                }, {\n+                    event: \"{loginRequest}.events.onComplete\",\n+                    listener: \"gpii.test.loginRequestListen\"\n+                }, {\n+                    func: \"gpii.test.checkConfiguration\",\n+                    args: [\"{tests}.bright.settingsHandlers\", \"{nameResolver}\"]\n+                }, {\n+                    func: \"{logoutRequest}.send\"\n+                }, {\n+                    event: \"{logoutRequest}.events.onComplete\",\n+                    listener: \"gpii.test.logoutRequestListen\"\n+                }\n+            ],\n+            gpii.test.createProcessChecks(gpii.test.contextIntegration.data.processes, \"expectRestored\"),\n+            [\n+                {\n+                    func: \"gpii.test.checkRestoredConfiguration\",\n+                    args: [\"{tests}.gpii-default.settingsHandlers\", \"{tests}.settingsStore\", \"{nameResolver}\"]\n+                }\n+            ]\n+        ]\n+    }, {\n+        name: \"Multiple context changes\",\n+        expected: 8,\n+        sequenceSegments: [\n+            [\n+                {\n+                    \"func\": \"gpii.test.expandSettings\",\n+                    args: [ \"{tests}\", [ \"bright\", \"gpii-default\" ]]\n+                }, {\n+                    func: \"gpii.test.snapshotSettings\",\n+                    args: [\"{tests}.gpii-default.settingsHandlers\", \"{tests}.settingsStore\", \"{nameResolver}\"]\n+                }, {\n+                    func: \"{loginRequest}.send\"\n+                }, {\n+                    event: \"{loginRequest}.events.onComplete\",\n+                    listener: \"gpii.test.loginRequestListen\"\n+                }, {\n+                    func: \"gpii.test.checkConfiguration\",\n+                    args: [\"{tests}.gpii-default.settingsHandlers\", \"{nameResolver}\"]\n+                }\n+            ],\n+            gpii.test.createProcessChecks(gpii.test.contextIntegration.data.processes, \"expectConfigured\"),\n+            gpii.test.contextIntegration.changeEnvironmentAndCheck(\"bright\"),\n+            gpii.test.contextIntegration.changeEnvironmentAndCheck(\"noise\"),\n+            gpii.test.contextIntegration.changeEnvironmentAndCheck(\"brightandnoise\"),\n+\n+            [\n+                {\n+                    func: \"{logoutRequest}.send\"\n+                }, {\n+                    event: \"{logoutRequest}.events.onComplete\",\n+                    listener: \"gpii.test.logoutRequestListen\"\n+                }\n+            ],\n+            gpii.test.createProcessChecks(gpii.test.contextIntegration.data.processes, \"expectRestored\"),\n+            [\n+                {\n+                    func: \"gpii.test.checkRestoredConfiguration\",\n+                    args: [\"{tests}.gpii-default.settingsHandlers\", \"{tests}.settingsStore\", \"{nameResolver}\"]\n+                }\n+            ]\n+        ]\n+    }\n+];\n+\n+gpii.test.contextIntegration.buildTestFixtures = function (fixtures) {\n+    return fluid.transform(fixtures, function (fixture) {\n+        var testDef = {\n+            name: fixture.name,\n+            userToken: \"context1\",\n+            expext: fixture.expected,\n+            gradeNames: \"gpii.test.contextIntegration.testCaseHolder\",\n+            config: {\n+                configName: \"linux-builtIn-config\",\n+                configPath: \"tests/platform/linux/configs\"\n+            },\n+            sequence: []\n+        };\n+        fluid.each(fixture.sequenceSegments, function (arr) {","path":"tests/ContextIntegrationTests.js","position":309,"original_position":309,"commit_id":"d396dc2e26a356417d89fd4b19d3eea795e06c54","original_commit_id":"d396dc2e26a356417d89fd4b19d3eea795e06c54","user":{"login":"amb26","id":561418,"avatar_url":"https://avatars.githubusercontent.com/u/561418?v=3","gravatar_id":"","url":"https://api.github.com/users/amb26","html_url":"https://github.com/amb26","followers_url":"https://api.github.com/users/amb26/followers","following_url":"https://api.github.com/users/amb26/following{/other_user}","gists_url":"https://api.github.com/users/amb26/gists{/gist_id}","starred_url":"https://api.github.com/users/amb26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amb26/subscriptions","organizations_url":"https://api.github.com/users/amb26/orgs","repos_url":"https://api.github.com/users/amb26/repos","events_url":"https://api.github.com/users/amb26/events{/privacy}","received_events_url":"https://api.github.com/users/amb26/received_events","type":"User","site_admin":false},"body":"Well, this is interesting, isn't it.... I guess there's no reason we shouldn't support this in the core framework\r\n\r\nAlthough in general we need a much better way of talking about \"the calculus of building up test sequences\" rather than just sticking them in an array or even an array of arrays.... ","created_at":"2015-03-12T11:46:46Z","updated_at":"2015-03-12T11:46:46Z","html_url":"https://github.com/GPII/universal/pull/307#discussion_r26295114","pull_request_url":"https://api.github.com/repos/GPII/universal/pulls/307","_links":{"self":{"href":"https://api.github.com/repos/GPII/universal/pulls/comments/26295114"},"html":{"href":"https://github.com/GPII/universal/pull/307#discussion_r26295114"},"pull_request":{"href":"https://api.github.com/repos/GPII/universal/pulls/307"}}},"pull_request":{"url":"https://api.github.com/repos/GPII/universal/pulls/307","id":27340504,"html_url":"https://github.com/GPII/universal/pull/307","diff_url":"https://github.com/GPII/universal/pull/307.diff","patch_url":"https://github.com/GPII/universal/pull/307.patch","issue_url":"https://api.github.com/repos/GPII/universal/issues/307","number":307,"state":"open","locked":false,"title":"GPII-795: Reference context implementation","user":{"login":"kaspermarkus","id":167427,"avatar_url":"https://avatars.githubusercontent.com/u/167427?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspermarkus","html_url":"https://github.com/kaspermarkus","followers_url":"https://api.github.com/users/kaspermarkus/followers","following_url":"https://api.github.com/users/kaspermarkus/following{/other_user}","gists_url":"https://api.github.com/users/kaspermarkus/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspermarkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspermarkus/subscriptions","organizations_url":"https://api.github.com/users/kaspermarkus/orgs","repos_url":"https://api.github.com/users/kaspermarkus/repos","events_url":"https://api.github.com/users/kaspermarkus/events{/privacy}","received_events_url":"https://api.github.com/users/kaspermarkus/received_events","type":"User","site_admin":false},"body":"Temporary fall-back context handling implementation","created_at":"2015-01-14T10:41:32Z","updated_at":"2015-03-12T11:46:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b76db66883658097cd62cbb6a869d6864f3c0c41","assignee":{"login":"amb26","id":561418,"avatar_url":"https://avatars.githubusercontent.com/u/561418?v=3","gravatar_id":"","url":"https://api.github.com/users/amb26","html_url":"https://github.com/amb26","followers_url":"https://api.github.com/users/amb26/followers","following_url":"https://api.github.com/users/amb26/following{/other_user}","gists_url":"https://api.github.com/users/amb26/gists{/gist_id}","starred_url":"https://api.github.com/users/amb26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amb26/subscriptions","organizations_url":"https://api.github.com/users/amb26/orgs","repos_url":"https://api.github.com/users/amb26/repos","events_url":"https://api.github.com/users/amb26/events{/privacy}","received_events_url":"https://api.github.com/users/amb26/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/GPII/universal/pulls/307/commits","review_comments_url":"https://api.github.com/repos/GPII/universal/pulls/307/comments","review_comment_url":"https://api.github.com/repos/GPII/universal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GPII/universal/issues/307/comments","statuses_url":"https://api.github.com/repos/GPII/universal/statuses/d396dc2e26a356417d89fd4b19d3eea795e06c54","head":{"label":"kaspermarkus:GPII-795","ref":"GPII-795","sha":"d396dc2e26a356417d89fd4b19d3eea795e06c54","user":{"login":"kaspermarkus","id":167427,"avatar_url":"https://avatars.githubusercontent.com/u/167427?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspermarkus","html_url":"https://github.com/kaspermarkus","followers_url":"https://api.github.com/users/kaspermarkus/followers","following_url":"https://api.github.com/users/kaspermarkus/following{/other_user}","gists_url":"https://api.github.com/users/kaspermarkus/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspermarkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspermarkus/subscriptions","organizations_url":"https://api.github.com/users/kaspermarkus/orgs","repos_url":"https://api.github.com/users/kaspermarkus/repos","events_url":"https://api.github.com/users/kaspermarkus/events{/privacy}","received_events_url":"https://api.github.com/users/kaspermarkus/received_events","type":"User","site_admin":false},"repo":{"id":3630398,"name":"universal","full_name":"kaspermarkus/universal","owner":{"login":"kaspermarkus","id":167427,"avatar_url":"https://avatars.githubusercontent.com/u/167427?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspermarkus","html_url":"https://github.com/kaspermarkus","followers_url":"https://api.github.com/users/kaspermarkus/followers","following_url":"https://api.github.com/users/kaspermarkus/following{/other_user}","gists_url":"https://api.github.com/users/kaspermarkus/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspermarkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspermarkus/subscriptions","organizations_url":"https://api.github.com/users/kaspermarkus/orgs","repos_url":"https://api.github.com/users/kaspermarkus/repos","events_url":"https://api.github.com/users/kaspermarkus/events{/privacy}","received_events_url":"https://api.github.com/users/kaspermarkus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kaspermarkus/universal","description":"Cross platform, core components of the GPII personalization infrastructure","fork":true,"url":"https://api.github.com/repos/kaspermarkus/universal","forks_url":"https://api.github.com/repos/kaspermarkus/universal/forks","keys_url":"https://api.github.com/repos/kaspermarkus/universal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaspermarkus/universal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaspermarkus/universal/teams","hooks_url":"https://api.github.com/repos/kaspermarkus/universal/hooks","issue_events_url":"https://api.github.com/repos/kaspermarkus/universal/issues/events{/number}","events_url":"https://api.github.com/repos/kaspermarkus/universal/events","assignees_url":"https://api.github.com/repos/kaspermarkus/universal/assignees{/user}","branches_url":"https://api.github.com/repos/kaspermarkus/universal/branches{/branch}","tags_url":"https://api.github.com/repos/kaspermarkus/universal/tags","blobs_url":"https://api.github.com/repos/kaspermarkus/universal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaspermarkus/universal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaspermarkus/universal/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaspermarkus/universal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaspermarkus/universal/statuses/{sha}","languages_url":"https://api.github.com/repos/kaspermarkus/universal/languages","stargazers_url":"https://api.github.com/repos/kaspermarkus/universal/stargazers","contributors_url":"https://api.github.com/repos/kaspermarkus/universal/contributors","subscribers_url":"https://api.github.com/repos/kaspermarkus/universal/subscribers","subscription_url":"https://api.github.com/repos/kaspermarkus/universal/subscription","commits_url":"https://api.github.com/repos/kaspermarkus/universal/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaspermarkus/universal/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaspermarkus/universal/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaspermarkus/universal/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaspermarkus/universal/contents/{+path}","compare_url":"https://api.github.com/repos/kaspermarkus/universal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaspermarkus/universal/merges","archive_url":"https://api.github.com/repos/kaspermarkus/universal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaspermarkus/universal/downloads","issues_url":"https://api.github.com/repos/kaspermarkus/universal/issues{/number}","pulls_url":"https://api.github.com/repos/kaspermarkus/universal/pulls{/number}","milestones_url":"https://api.github.com/repos/kaspermarkus/universal/milestones{/number}","notifications_url":"https://api.github.com/repos/kaspermarkus/universal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaspermarkus/universal/labels{/name}","releases_url":"https://api.github.com/repos/kaspermarkus/universal/releases{/id}","created_at":"2012-03-05T19:15:52Z","updated_at":"2015-02-06T10:49:27Z","pushed_at":"2015-03-09T11:09:35Z","git_url":"git://github.com/kaspermarkus/universal.git","ssh_url":"git@github.com:kaspermarkus/universal.git","clone_url":"https://github.com/kaspermarkus/universal.git","svn_url":"https://github.com/kaspermarkus/universal","homepage":"gpii.net","size":92149,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"GPII:master","ref":"master","sha":"9814354b242391ea56d24a36fbf009ab3f440f8e","user":{"login":"GPII","id":1343050,"avatar_url":"https://avatars.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://avatars.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}","created_at":"2012-03-05T04:01:44Z","updated_at":"2015-03-10T23:35:27Z","pushed_at":"2015-03-10T23:35:27Z","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":94407,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":38,"forks":46,"open_issues":38,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GPII/universal/pulls/307"},"html":{"href":"https://github.com/GPII/universal/pull/307"},"issue":{"href":"https://api.github.com/repos/GPII/universal/issues/307"},"comments":{"href":"https://api.github.com/repos/GPII/universal/issues/307/comments"},"review_comments":{"href":"https://api.github.com/repos/GPII/universal/pulls/307/comments"},"review_comment":{"href":"https://api.github.com/repos/GPII/universal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GPII/universal/pulls/307/commits"},"statuses":{"href":"https://api.github.com/repos/GPII/universal/statuses/d396dc2e26a356417d89fd4b19d3eea795e06c54"}}}}