{"action":"created","comment":{"url":"https://api.github.com/repos/rackerlabs/mimic/pulls/comments/63185426","id":63185426,"diff_hunk":"@@ -92,3 +102,236 @@ def cleanup():\n             fake_plugin.dummy_domain_plugin,\n             core.domains\n         )\n+\n+\n+class CoreApiBuildingTests(SynchronousTestCase):\n+    \"\"\"\n+    Tests for creating a :class:`MimicCore` object with apis\n+    \"\"\"\n+    def setUp(self):\n+        self.eeapi_name = u\"externalServiceName\"\n+\n+    def test_load_external_api(self):\n+        \"\"\"\n+        Validate loading a valid external API object\n+        \"\"\"\n+        eeapi = make_example_external_api(\n+            name=self.eeapi_name,\n+            set_enabled=True\n+        )\n+        self.assertIsNotNone(eeapi)\n+        APIMockHelper(self, [eeapi])\n+\n+    def test_load_internal_api(self):\n+        \"\"\"\n+        Validate loading a valid internal API object\n+        \"\"\"\n+        APIMockHelper(self, [ExampleAPI()])\n+\n+    def test_load_invalid_api(self):\n+        \"\"\"\n+        Using a dummy interface that implements :obj:`IPlugin`,\n+        try to add an object that does not implement either\n+        :obj:`IAPIMock` or :obj:`IExternalAPIMock`.\n+        \"\"\"\n+        @implementer(IPlugin)\n+        class brokenApiMock(object):\n+            pass\n+\n+        with self.assertRaises(TypeError):\n+            MimicCore(Clock(), [brokenApiMock()])\n+\n+    def test_get_external_api(self):\n+        \"\"\"\n+        Validate retrieving an external API\n+        \"\"\"\n+        eeapi = make_example_external_api(\n+            name=self.eeapi_name,\n+            set_enabled=True\n+        )\n+\n+        core = MimicCore(Clock(), [eeapi])\n+        api_from_core = core.get_external_api(\n+            self.eeapi_name\n+        )\n+        self.assertEqual(eeapi, api_from_core)\n+\n+    def test_get_external_api_invalid(self):\n+        \"\"\"\n+        Validate retrieving a non-existent external API\n+        which should raise an IndexError exception\n+        \"\"\"\n+        core = MimicCore(Clock(), [])\n+        with self.assertRaises(IndexError):\n+            core.get_external_api(self.eeapi_name)\n+\n+    def test_service_with_region_external(self):\n+        \"\"\"\n+        Validate that an external service does not\n+        provide an internal service resource\n+        \"\"\"\n+        eeapi = make_example_external_api(\n+            name=self.eeapi_name,\n+            set_enabled=True\n+        )\n+        self.assertIsNotNone(eeapi)\n+        helper = APIMockHelper(self, [eeapi])\n+        core = helper.core\n+\n+        self.assertIsNone(\n+            core.service_with_region(\n+                u\"EXTERNAL\",\n+                u\"some-region-name\",\n+                u\"http://some/random/prefix\"\n+            )\n+        )\n+\n+    def test_service_with_region_internal(self):\n+        \"\"\"\n+        Validate that an external service does not\n+        provide an internal service resource\n+        \"\"\"\n+        iapi = ExampleAPI()\n+        self.assertIsNotNone(iapi)\n+        helper = APIMockHelper(self, [iapi])\n+        core = helper.core\n+\n+        service_id = None\n+        for a_service_id in core._uuid_to_api_internal:\n+            if core._uuid_to_api_internal[a_service_id] == iapi:\n+                service_id = a_service_id\n+\n+        resource = core.service_with_region(\n+            u\"ORD\",\n+            service_id,\n+            u\"http://some/random/prefix\"\n+        )\n+        self.assertTrue(\n+            IResource.providedBy(resource)\n+        )\n+\n+    def test_uri_for_service(self):\n+        \"\"\"\n+        Validate that the URI returned by uri_for_service\n+        returns the appropriate base URI\n+        \"\"\"\n+        iapi = ExampleAPI()\n+        self.assertIsNotNone(iapi)\n+        helper = APIMockHelper(self, [iapi])\n+        core = helper.core\n+\n+        service_id = None\n+        for a_service_id in core._uuid_to_api_internal:\n+            if core._uuid_to_api_internal[a_service_id] == iapi:\n+                service_id = a_service_id\n+\n+        base_uri = \"http://some/random/prefix\"\n+\n+        uri = core.uri_for_service(\n+            u\"ORD\",\n+            service_id,\n+            base_uri\n+        )\n+        self.assertTrue(\n+            uri.startswith(base_uri + '/')\n+        )\n+\n+    def test_entries_for_tenant_external(self):\n+        \"\"\"\n+        \"\"\"\n+        eeapi = make_example_external_api(\n+            name=self.eeapi_name,\n+            set_enabled=True\n+        )\n+\n+        core = MimicCore(Clock(), [eeapi])\n+\n+        prefix_map = {}\n+        base_uri = \"http://some/random/prefix\"\n+        catalog_entries = [\n+            entry\n+            for entry in core.entries_for_tenant(\n+                'some-tenant',\n+                prefix_map,\n+                base_uri\n+            )\n+        ]\n+\n+        self.assertEqual(len(catalog_entries), 1)\n+\n+    def test_entries_for_tenant_internal(self):\n+        \"\"\"\n+        \"\"\"\n+        core = MimicCore(Clock(), [ExampleAPI()])\n+\n+        prefix_map = {}\n+        base_uri = \"http://some/random/prefix\"\n+        catalog_entries = [\n+            entry\n+            for entry in core.entries_for_tenant(\n+                'some-tenant',\n+                prefix_map,\n+                base_uri\n+            )\n+        ]\n+\n+        self.assertEqual(len(catalog_entries), 1)\n+\n+    def test_entries_for_tenant_combined(self):\n+        \"\"\"\n+        \"\"\"\n+        eeapi = make_example_external_api(\n+            name=self.eeapi_name,\n+            set_enabled=True\n+        )\n+\n+        core = MimicCore(Clock(), [eeapi, ExampleAPI()])\n+\n+        prefix_map = {}\n+        base_uri = \"http://some/random/prefix\"\n+        catalog_entries = [\n+            entry\n+            for entry in core.entries_for_tenant(\n+                'some-tenant',\n+                prefix_map,\n+                base_uri\n+            )\n+        ]\n+\n+        self.assertEqual(len(catalog_entries), 2)\n+\n+    def test_entries_for_tenant_external_invalid(self):","path":"mimic/test/test_core.py","position":232,"original_position":232,"commit_id":"0d5a0eabc9022de538212261e7b8aea4fe56e95f","original_commit_id":"0d5a0eabc9022de538212261e7b8aea4fe56e95f","user":{"login":"BenjamenMeyer","id":1074110,"avatar_url":"https://avatars.githubusercontent.com/u/1074110?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjamenMeyer","html_url":"https://github.com/BenjamenMeyer","followers_url":"https://api.github.com/users/BenjamenMeyer/followers","following_url":"https://api.github.com/users/BenjamenMeyer/following{/other_user}","gists_url":"https://api.github.com/users/BenjamenMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjamenMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjamenMeyer/subscriptions","organizations_url":"https://api.github.com/users/BenjamenMeyer/orgs","repos_url":"https://api.github.com/users/BenjamenMeyer/repos","events_url":"https://api.github.com/users/BenjamenMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/BenjamenMeyer/received_events","type":"User","site_admin":false},"body":"So this test was my attempt at trying to testing [this little block of code](https://github.com/BenjamenMeyer/mimic/blob/enhancement_iexternalapitemplatemock/mimic/core.py#L196), though unsuccessfully. See [this comment](https://github.com/rackerlabs/mimic/pull/614#discussion_r62910112) for details. I'm all :ear:'s for solutions.","created_at":"2016-05-13T13:50:03Z","updated_at":"2016-05-13T13:50:03Z","html_url":"https://github.com/rackerlabs/mimic/pull/614#discussion_r63185426","pull_request_url":"https://api.github.com/repos/rackerlabs/mimic/pulls/614","_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/mimic/pulls/comments/63185426"},"html":{"href":"https://github.com/rackerlabs/mimic/pull/614#discussion_r63185426"},"pull_request":{"href":"https://api.github.com/repos/rackerlabs/mimic/pulls/614"}}},"pull_request":{"url":"https://api.github.com/repos/rackerlabs/mimic/pulls/614","id":69724011,"html_url":"https://github.com/rackerlabs/mimic/pull/614","diff_url":"https://github.com/rackerlabs/mimic/pull/614.diff","patch_url":"https://github.com/rackerlabs/mimic/pull/614.patch","issue_url":"https://api.github.com/repos/rackerlabs/mimic/issues/614","number":614,"state":"open","locked":false,"title":"Enhancement iexternalapitemplatemock","user":{"login":"BenjamenMeyer","id":1074110,"avatar_url":"https://avatars.githubusercontent.com/u/1074110?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjamenMeyer","html_url":"https://github.com/BenjamenMeyer","followers_url":"https://api.github.com/users/BenjamenMeyer/followers","following_url":"https://api.github.com/users/BenjamenMeyer/following{/other_user}","gists_url":"https://api.github.com/users/BenjamenMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjamenMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjamenMeyer/subscriptions","organizations_url":"https://api.github.com/users/BenjamenMeyer/orgs","repos_url":"https://api.github.com/users/BenjamenMeyer/repos","events_url":"https://api.github.com/users/BenjamenMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/BenjamenMeyer/received_events","type":"User","site_admin":false},"body":"Next stage in the infrastructure for supporting external APIs within mimic","created_at":"2016-05-11T18:58:33Z","updated_at":"2016-05-13T13:50:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ce09012ac86f59c33885c79f9572d9ccd1ca7f7","assignee":{"login":"BenjamenMeyer","id":1074110,"avatar_url":"https://avatars.githubusercontent.com/u/1074110?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjamenMeyer","html_url":"https://github.com/BenjamenMeyer","followers_url":"https://api.github.com/users/BenjamenMeyer/followers","following_url":"https://api.github.com/users/BenjamenMeyer/following{/other_user}","gists_url":"https://api.github.com/users/BenjamenMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjamenMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjamenMeyer/subscriptions","organizations_url":"https://api.github.com/users/BenjamenMeyer/orgs","repos_url":"https://api.github.com/users/BenjamenMeyer/repos","events_url":"https://api.github.com/users/BenjamenMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/BenjamenMeyer/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rackerlabs/mimic/pulls/614/commits","review_comments_url":"https://api.github.com/repos/rackerlabs/mimic/pulls/614/comments","review_comment_url":"https://api.github.com/repos/rackerlabs/mimic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rackerlabs/mimic/issues/614/comments","statuses_url":"https://api.github.com/repos/rackerlabs/mimic/statuses/0d5a0eabc9022de538212261e7b8aea4fe56e95f","head":{"label":"BenjamenMeyer:enhancement_iexternalapitemplatemock","ref":"enhancement_iexternalapitemplatemock","sha":"0d5a0eabc9022de538212261e7b8aea4fe56e95f","user":{"login":"BenjamenMeyer","id":1074110,"avatar_url":"https://avatars.githubusercontent.com/u/1074110?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjamenMeyer","html_url":"https://github.com/BenjamenMeyer","followers_url":"https://api.github.com/users/BenjamenMeyer/followers","following_url":"https://api.github.com/users/BenjamenMeyer/following{/other_user}","gists_url":"https://api.github.com/users/BenjamenMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjamenMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjamenMeyer/subscriptions","organizations_url":"https://api.github.com/users/BenjamenMeyer/orgs","repos_url":"https://api.github.com/users/BenjamenMeyer/repos","events_url":"https://api.github.com/users/BenjamenMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/BenjamenMeyer/received_events","type":"User","site_admin":false},"repo":{"id":57170900,"name":"mimic","full_name":"BenjamenMeyer/mimic","owner":{"login":"BenjamenMeyer","id":1074110,"avatar_url":"https://avatars.githubusercontent.com/u/1074110?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjamenMeyer","html_url":"https://github.com/BenjamenMeyer","followers_url":"https://api.github.com/users/BenjamenMeyer/followers","following_url":"https://api.github.com/users/BenjamenMeyer/following{/other_user}","gists_url":"https://api.github.com/users/BenjamenMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjamenMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjamenMeyer/subscriptions","organizations_url":"https://api.github.com/users/BenjamenMeyer/orgs","repos_url":"https://api.github.com/users/BenjamenMeyer/repos","events_url":"https://api.github.com/users/BenjamenMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/BenjamenMeyer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BenjamenMeyer/mimic","description":"An API mock service","fork":true,"url":"https://api.github.com/repos/BenjamenMeyer/mimic","forks_url":"https://api.github.com/repos/BenjamenMeyer/mimic/forks","keys_url":"https://api.github.com/repos/BenjamenMeyer/mimic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BenjamenMeyer/mimic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BenjamenMeyer/mimic/teams","hooks_url":"https://api.github.com/repos/BenjamenMeyer/mimic/hooks","issue_events_url":"https://api.github.com/repos/BenjamenMeyer/mimic/issues/events{/number}","events_url":"https://api.github.com/repos/BenjamenMeyer/mimic/events","assignees_url":"https://api.github.com/repos/BenjamenMeyer/mimic/assignees{/user}","branches_url":"https://api.github.com/repos/BenjamenMeyer/mimic/branches{/branch}","tags_url":"https://api.github.com/repos/BenjamenMeyer/mimic/tags","blobs_url":"https://api.github.com/repos/BenjamenMeyer/mimic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BenjamenMeyer/mimic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BenjamenMeyer/mimic/git/refs{/sha}","trees_url":"https://api.github.com/repos/BenjamenMeyer/mimic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BenjamenMeyer/mimic/statuses/{sha}","languages_url":"https://api.github.com/repos/BenjamenMeyer/mimic/languages","stargazers_url":"https://api.github.com/repos/BenjamenMeyer/mimic/stargazers","contributors_url":"https://api.github.com/repos/BenjamenMeyer/mimic/contributors","subscribers_url":"https://api.github.com/repos/BenjamenMeyer/mimic/subscribers","subscription_url":"https://api.github.com/repos/BenjamenMeyer/mimic/subscription","commits_url":"https://api.github.com/repos/BenjamenMeyer/mimic/commits{/sha}","git_commits_url":"https://api.github.com/repos/BenjamenMeyer/mimic/git/commits{/sha}","comments_url":"https://api.github.com/repos/BenjamenMeyer/mimic/comments{/number}","issue_comment_url":"https://api.github.com/repos/BenjamenMeyer/mimic/issues/comments{/number}","contents_url":"https://api.github.com/repos/BenjamenMeyer/mimic/contents/{+path}","compare_url":"https://api.github.com/repos/BenjamenMeyer/mimic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BenjamenMeyer/mimic/merges","archive_url":"https://api.github.com/repos/BenjamenMeyer/mimic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BenjamenMeyer/mimic/downloads","issues_url":"https://api.github.com/repos/BenjamenMeyer/mimic/issues{/number}","pulls_url":"https://api.github.com/repos/BenjamenMeyer/mimic/pulls{/number}","milestones_url":"https://api.github.com/repos/BenjamenMeyer/mimic/milestones{/number}","notifications_url":"https://api.github.com/repos/BenjamenMeyer/mimic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BenjamenMeyer/mimic/labels{/name}","releases_url":"https://api.github.com/repos/BenjamenMeyer/mimic/releases{/id}","deployments_url":"https://api.github.com/repos/BenjamenMeyer/mimic/deployments","created_at":"2016-04-27T00:22:10Z","updated_at":"2016-04-27T00:22:11Z","pushed_at":"2016-05-11T18:57:40Z","git_url":"git://github.com/BenjamenMeyer/mimic.git","ssh_url":"git@github.com:BenjamenMeyer/mimic.git","clone_url":"https://github.com/BenjamenMeyer/mimic.git","svn_url":"https://github.com/BenjamenMeyer/mimic","homepage":"","size":2580,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rackerlabs:master","ref":"master","sha":"6c8e4d1b80b83ce03523d75e631d766deb1bb89a","user":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":13158707,"name":"mimic","full_name":"rackerlabs/mimic","owner":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rackerlabs/mimic","description":"An API mock service","fork":false,"url":"https://api.github.com/repos/rackerlabs/mimic","forks_url":"https://api.github.com/repos/rackerlabs/mimic/forks","keys_url":"https://api.github.com/repos/rackerlabs/mimic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/mimic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/mimic/teams","hooks_url":"https://api.github.com/repos/rackerlabs/mimic/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/mimic/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/mimic/events","assignees_url":"https://api.github.com/repos/rackerlabs/mimic/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/mimic/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/mimic/tags","blobs_url":"https://api.github.com/repos/rackerlabs/mimic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/mimic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/mimic/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/mimic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/mimic/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/mimic/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/mimic/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/mimic/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/mimic/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/mimic/subscription","commits_url":"https://api.github.com/repos/rackerlabs/mimic/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/mimic/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/mimic/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/mimic/issues/comments{/number}","contents_url":"https://api.github.com/repos/rackerlabs/mimic/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/mimic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/mimic/merges","archive_url":"https://api.github.com/repos/rackerlabs/mimic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/mimic/downloads","issues_url":"https://api.github.com/repos/rackerlabs/mimic/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/mimic/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/mimic/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/mimic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/mimic/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/mimic/releases{/id}","deployments_url":"https://api.github.com/repos/rackerlabs/mimic/deployments","created_at":"2013-09-27T19:01:16Z","updated_at":"2016-04-19T19:37:49Z","pushed_at":"2016-05-13T00:18:00Z","git_url":"git://github.com/rackerlabs/mimic.git","ssh_url":"git@github.com:rackerlabs/mimic.git","clone_url":"https://github.com/rackerlabs/mimic.git","svn_url":"https://github.com/rackerlabs/mimic","homepage":"","size":4025,"stargazers_count":116,"watchers_count":116,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":55,"mirror_url":null,"open_issues_count":94,"forks":55,"open_issues":94,"watchers":116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/mimic/pulls/614"},"html":{"href":"https://github.com/rackerlabs/mimic/pull/614"},"issue":{"href":"https://api.github.com/repos/rackerlabs/mimic/issues/614"},"comments":{"href":"https://api.github.com/repos/rackerlabs/mimic/issues/614/comments"},"review_comments":{"href":"https://api.github.com/repos/rackerlabs/mimic/pulls/614/comments"},"review_comment":{"href":"https://api.github.com/repos/rackerlabs/mimic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rackerlabs/mimic/pulls/614/commits"},"statuses":{"href":"https://api.github.com/repos/rackerlabs/mimic/statuses/0d5a0eabc9022de538212261e7b8aea4fe56e95f"}}}}