{"action":"created","comment":{"url":"https://api.github.com/repos/rackerlabs/repose/pulls/comments/22744139","id":22744139,"diff_hunk":"@@ -0,0 +1,335 @@\n+package org.openrepose.filters.herp\n+\n+import org.apache.logging.log4j.LogManager\n+import org.apache.logging.log4j.core.LoggerContext\n+import org.apache.logging.log4j.test.appender.ListAppender\n+import org.openrepose.filters.herp.config.{Template, HerpConfig}\n+import org.scalatest._\n+import org.springframework.mock.web.{MockFilterChain, MockHttpServletRequest, MockHttpServletResponse}\n+\n+import scala.collection.JavaConverters._\n+\n+class HerpFilterTest extends FunSpec with BeforeAndAfterAll with BeforeAndAfter with Matchers {\n+\n+  var herpFilter: HerpFilter = _\n+  var herpConfig: HerpConfig = _\n+  var servletRequest: MockHttpServletRequest = _\n+  var servletResponse: MockHttpServletResponse = _\n+  var filterChain: MockFilterChain = _\n+  var listAppender: ListAppender = _\n+\n+  override def beforeAll() {\n+    System.setProperty(\"javax.xml.parsers.DocumentBuilderFactory\",\n+      \"com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl\");\n+  }\n+\n+  //todo: replace this and the log4j2 config with programmatic modification to the root logger with a mock appender?\n+  before {\n+    val ctx = LogManager.getContext(false).asInstanceOf[LoggerContext]\n+    listAppender = ctx.getConfiguration.getAppender(\"highly-efficient-record-processor-ListAppender\").asInstanceOf[ListAppender].clear\n+\n+    herpFilter = new HerpFilter\n+    herpConfig = new HerpConfig\n+    servletRequest = new MockHttpServletRequest\n+    servletResponse = new MockHttpServletResponse\n+    filterChain = new MockFilterChain\n+    herpConfig.setLoggerName(\"highly-efficient-record-processor-Logger\")\n+    val templateText =\n+      \"\"\"\n+        |{\n+        | \"GUID\" : \"{{guid}}\",\n+        | \"ServiceCode\" : \"{{serviceCode}}\",\n+        | \"Region\" : \"{{region}}\",\n+        | \"DataCenter\" : \"{{dataCenter}}\",\n+        | \"Timestamp\" : \"{{timestamp}}\",\n+        | \"Request\" : {\n+        |   \"Method\" : \"{{requestMethod}}\",\n+        |   \"URL\" : \"{{requestURL}}\",\n+        |   \"Parameters\" : {\n+        |                     {{#parameters}}\n+        |                     \"{{key}}\" : [\n+        |                       {{#value}}\n+        |                       \"{{value}}\",\n+        |                       {{/value}}\n+        |                     ],\n+        |                     {{/parameters}}\n+        |                  },\n+        |   \"UserName\" : \"{{userName}}\",\n+        |   \"ImpersonatorName\" : \"{{impersonatorName}}\",\n+        |   \"TenantID\" : \"{{tenantID}}\",\n+        |   \"Roles\" : [\n+        |               {{#roles}}\n+        |               \"{{name}}\",\n+        |               {{/roles}}\n+        |             ],\n+        |   \"UserAgent\" : \"{{userAgent}}\"\n+        | },\n+        | \"Response\" : {\n+        |   \"Code\" : {{responseCode}},\n+        |   \"Message\" : \"{{responseMessage}}\"\n+        | }\n+        |}\n+      \"\"\".stripMargin\n+    val template = new Template\n+    template.setValue(templateText)\n+    template.setCrush(true)\n+    herpConfig.setTemplate(template)\n+  }\n+\n+  describe(\"the doFilter method\") {\n+    it(\"should be empty if field data is not present\") {\n+      // when:\n+      herpFilter.configurationUpdated(herpConfig)\n+      herpFilter.doFilter(servletRequest, servletResponse, filterChain)\n+\n+      // then:\n+      def logEvents = listAppender.getEvents\n+      logEvents.size shouldBe 1\n+      logEvents.get(0).getMessage.getFormattedMessage should include regex \"\\\"ServiceCode\\\" : \\\"\\\".*\\\"URL\\\" : \\\"\\\"\"\n+    }\n+    it(\"should log a guid\") {\n+      // when:\n+      herpFilter.configurationUpdated(herpConfig)\n+      herpFilter.doFilter(servletRequest, servletResponse, filterChain)\n+\n+      // then:\n+      def logEvents = listAppender.getEvents\n+      logEvents.size shouldBe 1\n+      logEvents.get(0).getMessage.getFormattedMessage should include regex \"\\\"GUID\\\" : \\\".+\\\"\"\n+    }\n+    it(\"should log the configured service code\") {\n+      // given:\n+      herpConfig.setServiceCode(\"some-service\")\n+\n+      // when:\n+      herpFilter.configurationUpdated(herpConfig)\n+      herpFilter.doFilter(servletRequest, servletResponse, filterChain)\n+\n+      // then:\n+      def logEvents = listAppender.getEvents\n+      logEvents.size shouldBe 1\n+      logEvents.get(0).getMessage.getFormattedMessage should include(\"\\\"ServiceCode\\\" : \\\"some-service\\\"\")\n+    }\n+    it(\"should log the configured region\") {\n+      // given:\n+      herpConfig.setRegion(\"some-region\")\n+\n+      // when:\n+      herpFilter.configurationUpdated(herpConfig)\n+      herpFilter.doFilter(servletRequest, servletResponse, filterChain)\n+\n+      // then:\n+      def logEvents = listAppender.getEvents\n+      logEvents.size shouldBe 1\n+      logEvents.get(0).getMessage.getFormattedMessage should include(\"\\\"Region\\\" : \\\"some-region\\\"\")\n+    }\n+    it(\"should log the configured data center\") {\n+      // given:\n+      herpConfig.setDataCenter(\"some-data-center\")\n+\n+      // when:\n+      herpFilter.configurationUpdated(herpConfig)\n+      herpFilter.doFilter(servletRequest, servletResponse, filterChain)\n+\n+      // then:\n+      def logEvents = listAppender.getEvents\n+      logEvents.size shouldBe 1\n+      logEvents.get(0).getMessage.getFormattedMessage should include(\"\\\"DataCenter\\\" : \\\"some-data-center\\\"\")\n+    }\n+    it(\"should extract and log the request method\") {\n+      // given:\n+      servletRequest.setMethod(\"POST\")\n+\n+      // when:\n+      herpFilter.configurationUpdated(herpConfig)\n+      herpFilter.doFilter(servletRequest, servletResponse, filterChain)\n+\n+      // then:\n+      def logEvents = listAppender.getEvents\n+      logEvents.size shouldBe 1\n+      logEvents.get(0).getMessage.getFormattedMessage should include(\"\\\"Method\\\" : \\\"POST\\\"\")\n+    }\n+    it(\"should extract and log the request url\") {\n+      // given:\n+      servletRequest.setAttribute(\"http://openrepose.org/requestUrl\", \"http://foo.com\")\n+\n+      // when:\n+      herpFilter.configurationUpdated(herpConfig)\n+      herpFilter.doFilter(servletRequest, servletResponse, filterChain)\n+\n+      // then:\n+      def logEvents = listAppender.getEvents\n+      logEvents.size shouldBe 1\n+      logEvents.get(0).getMessage.getFormattedMessage should include(\"\\\"URL\\\" : \\\"http://foo.com\\\"\")\n+    }\n+    it(\"should extract and log the request parameters\") {\n+      // given:\n+      servletRequest.setAttribute(\"http://openrepose.org/queryParams\", Map(\"foo\" -> Array(\"bar\", \"baz\")).asJava)\n+\n+      // when:\n+      herpFilter.configurationUpdated(herpConfig)\n+      herpFilter.doFilter(servletRequest, servletResponse, filterChain)\n+\n+      // then:\n+      def logEvents = listAppender.getEvents\n+      logEvents.size shouldBe 1\n+      logEvents.get(0).getMessage.getFormattedMessage should include(\"\\\"Parameters\\\" : {  \\\"foo\\\" : [  \\\"bar\\\",  \\\"baz\\\",  ],  }\")","path":"repose-aggregator/components/filters/herp/src/test/scala/org.openrepose.filters.herp/HerpFilterTest.scala","position":176,"original_position":176,"commit_id":"c7fe78179bcc065a46d72606d7dc282449e64b85","original_commit_id":"c7fe78179bcc065a46d72606d7dc282449e64b85","user":{"login":"adrianjgeorge","id":997130,"avatar_url":"https://avatars.githubusercontent.com/u/997130?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianjgeorge","html_url":"https://github.com/adrianjgeorge","followers_url":"https://api.github.com/users/adrianjgeorge/followers","following_url":"https://api.github.com/users/adrianjgeorge/following{/other_user}","gists_url":"https://api.github.com/users/adrianjgeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianjgeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianjgeorge/subscriptions","organizations_url":"https://api.github.com/users/adrianjgeorge/orgs","repos_url":"https://api.github.com/users/adrianjgeorge/repos","events_url":"https://api.github.com/users/adrianjgeorge/events{/privacy}","received_events_url":"https://api.github.com/users/adrianjgeorge/received_events","type":"User","site_admin":false},"body":"json allows trailing commas, because awesome. or at least i recall it allowing them","created_at":"2015-01-09T21:25:19Z","updated_at":"2015-01-09T21:25:19Z","html_url":"https://github.com/rackerlabs/repose/pull/1203#discussion_r22744139","pull_request_url":"https://api.github.com/repos/rackerlabs/repose/pulls/1203","_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/comments/22744139"},"html":{"href":"https://github.com/rackerlabs/repose/pull/1203#discussion_r22744139"},"pull_request":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/1203"}}},"pull_request":{"url":"https://api.github.com/repos/rackerlabs/repose/pulls/1203","id":26240541,"html_url":"https://github.com/rackerlabs/repose/pull/1203","diff_url":"https://github.com/rackerlabs/repose/pull/1203.diff","patch_url":"https://github.com/rackerlabs/repose/pull/1203.patch","issue_url":"https://api.github.com/repos/rackerlabs/repose/issues/1203","number":1203,"state":"open","locked":false,"title":"REP-1272 HERP Filter","user":{"login":"dmnjohns","id":1923408,"avatar_url":"https://avatars.githubusercontent.com/u/1923408?v=3","gravatar_id":"","url":"https://api.github.com/users/dmnjohns","html_url":"https://github.com/dmnjohns","followers_url":"https://api.github.com/users/dmnjohns/followers","following_url":"https://api.github.com/users/dmnjohns/following{/other_user}","gists_url":"https://api.github.com/users/dmnjohns/gists{/gist_id}","starred_url":"https://api.github.com/users/dmnjohns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmnjohns/subscriptions","organizations_url":"https://api.github.com/users/dmnjohns/orgs","repos_url":"https://api.github.com/users/dmnjohns/repos","events_url":"https://api.github.com/users/dmnjohns/events{/privacy}","received_events_url":"https://api.github.com/users/dmnjohns/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-12-17T17:17:39Z","updated_at":"2015-01-09T21:25:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6203b541f25a7abe68a0cd545e2037749e826a2e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rackerlabs/repose/pulls/1203/commits","review_comments_url":"https://api.github.com/repos/rackerlabs/repose/pulls/1203/comments","review_comment_url":"https://api.github.com/repos/rackerlabs/repose/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rackerlabs/repose/issues/1203/comments","statuses_url":"https://api.github.com/repos/rackerlabs/repose/statuses/c7fe78179bcc065a46d72606d7dc282449e64b85","head":{"label":"rackerlabs:REP-1272","ref":"REP-1272","sha":"c7fe78179bcc065a46d72606d7dc282449e64b85","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":1981821,"name":"repose","full_name":"rackerlabs/repose","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/repose","description":"The powerful, programmable, API Middleware Platform","fork":false,"url":"https://api.github.com/repos/rackerlabs/repose","forks_url":"https://api.github.com/repos/rackerlabs/repose/forks","keys_url":"https://api.github.com/repos/rackerlabs/repose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/repose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/repose/teams","hooks_url":"https://api.github.com/repos/rackerlabs/repose/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/repose/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/repose/events","assignees_url":"https://api.github.com/repos/rackerlabs/repose/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/repose/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/repose/tags","blobs_url":"https://api.github.com/repos/rackerlabs/repose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/repose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/repose/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/repose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/repose/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/repose/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/repose/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/repose/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/repose/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/repose/subscription","commits_url":"https://api.github.com/repos/rackerlabs/repose/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/repose/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/repose/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/repose/issues/comments/{number}","contents_url":"https://api.github.com/repos/rackerlabs/repose/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/repose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/repose/merges","archive_url":"https://api.github.com/repos/rackerlabs/repose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/repose/downloads","issues_url":"https://api.github.com/repos/rackerlabs/repose/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/repose/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/repose/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/repose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/repose/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/repose/releases{/id}","created_at":"2011-07-01T04:39:34Z","updated_at":"2015-01-09T16:40:44Z","pushed_at":"2015-01-09T21:03:33Z","git_url":"git://github.com/rackerlabs/repose.git","ssh_url":"git@github.com:rackerlabs/repose.git","clone_url":"https://github.com/rackerlabs/repose.git","svn_url":"https://github.com/rackerlabs/repose","homepage":"http://www.openrepose.org/","size":108253,"stargazers_count":173,"watchers_count":173,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":53,"mirror_url":null,"open_issues_count":7,"forks":53,"open_issues":7,"watchers":173,"default_branch":"master"}},"base":{"label":"rackerlabs:master","ref":"master","sha":"42ef83db32b33b0d641f6396d4430a361e7beeea","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":1981821,"name":"repose","full_name":"rackerlabs/repose","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/repose","description":"The powerful, programmable, API Middleware Platform","fork":false,"url":"https://api.github.com/repos/rackerlabs/repose","forks_url":"https://api.github.com/repos/rackerlabs/repose/forks","keys_url":"https://api.github.com/repos/rackerlabs/repose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/repose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/repose/teams","hooks_url":"https://api.github.com/repos/rackerlabs/repose/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/repose/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/repose/events","assignees_url":"https://api.github.com/repos/rackerlabs/repose/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/repose/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/repose/tags","blobs_url":"https://api.github.com/repos/rackerlabs/repose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/repose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/repose/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/repose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/repose/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/repose/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/repose/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/repose/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/repose/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/repose/subscription","commits_url":"https://api.github.com/repos/rackerlabs/repose/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/repose/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/repose/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/repose/issues/comments/{number}","contents_url":"https://api.github.com/repos/rackerlabs/repose/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/repose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/repose/merges","archive_url":"https://api.github.com/repos/rackerlabs/repose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/repose/downloads","issues_url":"https://api.github.com/repos/rackerlabs/repose/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/repose/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/repose/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/repose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/repose/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/repose/releases{/id}","created_at":"2011-07-01T04:39:34Z","updated_at":"2015-01-09T16:40:44Z","pushed_at":"2015-01-09T21:03:33Z","git_url":"git://github.com/rackerlabs/repose.git","ssh_url":"git@github.com:rackerlabs/repose.git","clone_url":"https://github.com/rackerlabs/repose.git","svn_url":"https://github.com/rackerlabs/repose","homepage":"http://www.openrepose.org/","size":108253,"stargazers_count":173,"watchers_count":173,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":53,"mirror_url":null,"open_issues_count":7,"forks":53,"open_issues":7,"watchers":173,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/1203"},"html":{"href":"https://github.com/rackerlabs/repose/pull/1203"},"issue":{"href":"https://api.github.com/repos/rackerlabs/repose/issues/1203"},"comments":{"href":"https://api.github.com/repos/rackerlabs/repose/issues/1203/comments"},"review_comments":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/1203/comments"},"review_comment":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/1203/commits"},"statuses":{"href":"https://api.github.com/repos/rackerlabs/repose/statuses/c7fe78179bcc065a46d72606d7dc282449e64b85"}}}}