{"action":"created","comment":{"url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls/comments/224183222","pull_request_review_id":163488796,"id":224183222,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDE4MzIyMg==","diff_hunk":"@@ -1,86 +1,88 @@\n package no.nav.helse\n \n-import com.ibm.msg.client.jms.JmsConnectionFactory\n-import com.ibm.msg.client.jms.JmsFactoryFactory\n-import com.ibm.msg.client.wmq.WMQConstants\n import org.slf4j.LoggerFactory\n import kotlinx.coroutines.experimental.*\n import io.ktor.server.netty.*\n import io.ktor.routing.*\n import io.ktor.application.*\n-import io.ktor.http.*\n-import io.ktor.response.*\n import io.ktor.server.engine.*\n-import io.prometheus.client.CollectorRegistry\n-import io.prometheus.client.exporter.common.TextFormat\n+import no.nav.syfo.api.registerNaisApi\n+import no.nav.syfo.metrics.SYKMELDINGMESSAGE_COUNTER\n+import java.util.concurrent.TimeUnit\n+import javax.jms.Connection\n+import javax.jms.Queue\n+import javax.jms.Session\n+import javax.jms.TextMessage\n \n \n-private val LOG = LoggerFactory.getLogger(App::class.java)\n+data class ApplicationState(var running: Boolean = true, var initialized: Boolean = false)\n \n-private const val DEFAULT_PORT = 1414\n+private val log = LoggerFactory.getLogger(\"no.nav-helse-app\")\n \n-fun main(args: Array<String>) {\n-   GlobalScope.launch { App().run() }\n+fun main(args: Array<String>) = runBlocking {\n \n-   val collectorRegistry: CollectorRegistry = CollectorRegistry.defaultRegistry\n+   val env = Environment()\n+   val applicationState = ApplicationState()\n \n-   embeddedServer(Netty, 8080) {\n-      routing {\n-         get(\"/isalive\") {\n-            call.respond(HttpStatusCode.OK)\n-         }\n-         get(\"/isready\") {\n-            call.respond(HttpStatusCode.OK)\n-         }\n-         get(\"/metrics\") {\n-            val names = call.request.queryParameters.getAll(\"name[]\")?.toSet() ?: setOf()\n-            call.respondWrite(ContentType.parse(TextFormat.CONTENT_TYPE_004)) {\n-               TextFormat.write004(this, collectorRegistry.filteredMetricFamilySamples(names))\n-            }\n-         }\n-      }\n-   }.start(wait = true)\n-}\n+   val applicationServer = embeddedServer(Netty, env.applicationPort) {\n+      initRouting(applicationState)\n+   }.start(wait = false)\n \n-class App() {\n-\n-   private fun queueName(env: Map<String,String> = System.getenv()) = getRequiredProperty(env, \"MQ_QUEUE\")\n-\n-   private fun createJmsConnectionFactory(env: Map<String, String> =System.getenv()): JmsConnectionFactory? {\n-      return JmsFactoryFactory\n-         .getInstance(WMQConstants.WMQ_PROVIDER)\n-         .createConnectionFactory()\n-         .apply {\n-            setStringProperty(WMQConstants.WMQ_HOST_NAME, getRequiredProperty(env, \"MQ_HOSTNAME\"))\n-            setIntProperty(WMQConstants.WMQ_PORT, DEFAULT_PORT)\n-            setStringProperty(WMQConstants.WMQ_CHANNEL, getRequiredProperty(env, \"MQ_CHANNEL\"))\n-            setIntProperty(WMQConstants.WMQ_CONNECTION_MODE, WMQConstants.WMQ_CM_CLIENT)\n-            setStringProperty(WMQConstants.WMQ_QUEUE_MANAGER, getRequiredProperty(env, \"MQ_QUEUE_MANAGER\"))\n-            setStringProperty(WMQConstants.WMQ_APPLICATIONNAME, \"Sykemeldingteller\")\n-            setBooleanProperty(WMQConstants.USER_AUTHENTICATION_MQCSP, true)\n-            setStringProperty(WMQConstants.USERID, getRequiredProperty(env, \"MQ_USERNAME\"))\n-            setStringProperty(WMQConstants.PASSWORD, getRequiredProperty(env, \"MQ_PASSWORD\"))\n-         }\n-   }\n \n+   Runtime.getRuntime().addShutdownHook(Thread {\n+      applicationServer.stop(10, 10, TimeUnit.SECONDS)\n+   })\n \n-   fun run() {\n+   connectionFactory(env).createConnection(env.srvappserverUsername, env.srvappserverPassword).use { connection ->\n+      connection.start()\n+         val session = connection.createSession()\n+         val helseQueue = session.createQueue(env.helseQueue)\n+         session.close()\n \n-      val env = System.getenv()\n-      val context = createJmsConnectionFactory(env)?.createContext() ?: throw java.lang.RuntimeException(\"Could not create JMS Connection\")\n-      val destination = context.createQueue(\"queue:///${queueName()}\") ?: throw java.lang.RuntimeException(\"Could not create queue\")\n \n-      val consumerThread = Thread {\n-         count(context, destination)\n+         listen(helseQueue, connection, applicationState).join()\n       }\n-      consumerThread.setUncaughtExceptionHandler { t, e -> LOG.error(\"Uncaught exception in thread: \" + t.name, e) }\n+   }\n+\n+fun listen(\n+   helseQueue: Queue,\n+   connection: Connection,\n+   applicationState: ApplicationState\n+) = launch {\n+   val session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE)\n+   val consumer = session.createConsumer(helseQueue)\n \n-      consumerThread.start()\n-      consumerThread.join()\n+\n+   while (applicationState.running) {","path":"src/main/kotlin/no/nav/helse/App.kt","position":114,"original_position":114,"commit_id":"8718ce203aa8784e15c4b4f5395faef5432200e3","original_commit_id":"8718ce203aa8784e15c4b4f5395faef5432200e3","user":{"login":"TheUnnamedDude","id":1189064,"node_id":"MDQ6VXNlcjExODkwNjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1189064?v=4","gravatar_id":"","url":"https://api.github.com/users/TheUnnamedDude","html_url":"https://github.com/TheUnnamedDude","followers_url":"https://api.github.com/users/TheUnnamedDude/followers","following_url":"https://api.github.com/users/TheUnnamedDude/following{/other_user}","gists_url":"https://api.github.com/users/TheUnnamedDude/gists{/gist_id}","starred_url":"https://api.github.com/users/TheUnnamedDude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheUnnamedDude/subscriptions","organizations_url":"https://api.github.com/users/TheUnnamedDude/orgs","repos_url":"https://api.github.com/users/TheUnnamedDude/repos","events_url":"https://api.github.com/users/TheUnnamedDude/events{/privacy}","received_events_url":"https://api.github.com/users/TheUnnamedDude/received_events","type":"User","site_admin":false},"body":"Koden kommer originalt fra et annet prosjekt, poenget er at hvis en coroutine feiler vil applikasjonen markere seg som død og restarte","created_at":"2018-10-10T18:04:03Z","updated_at":"2018-10-10T18:06:32Z","html_url":"https://github.com/navikt/helse-sykemeldingteller/pull/4#discussion_r224183222","pull_request_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls/4","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls/comments/224183222"},"html":{"href":"https://github.com/navikt/helse-sykemeldingteller/pull/4#discussion_r224183222"},"pull_request":{"href":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls/4"}},"in_reply_to_id":224152083},"pull_request":{"url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls/4","id":221841095,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxODQxMDk1","html_url":"https://github.com/navikt/helse-sykemeldingteller/pull/4","diff_url":"https://github.com/navikt/helse-sykemeldingteller/pull/4.diff","patch_url":"https://github.com/navikt/helse-sykemeldingteller/pull/4.patch","issue_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/issues/4","number":4,"state":"open","locked":false,"title":"refactored the code, and andded coroutines","user":{"login":"MikAoJk","id":23274950,"node_id":"MDQ6VXNlcjIzMjc0OTUw","avatar_url":"https://avatars0.githubusercontent.com/u/23274950?v=4","gravatar_id":"","url":"https://api.github.com/users/MikAoJk","html_url":"https://github.com/MikAoJk","followers_url":"https://api.github.com/users/MikAoJk/followers","following_url":"https://api.github.com/users/MikAoJk/following{/other_user}","gists_url":"https://api.github.com/users/MikAoJk/gists{/gist_id}","starred_url":"https://api.github.com/users/MikAoJk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikAoJk/subscriptions","organizations_url":"https://api.github.com/users/MikAoJk/orgs","repos_url":"https://api.github.com/users/MikAoJk/repos","events_url":"https://api.github.com/users/MikAoJk/events{/privacy}","received_events_url":"https://api.github.com/users/MikAoJk/received_events","type":"User","site_admin":false},"body":"La til eit forslag om hvordan vi benytter kotlin med MQ","created_at":"2018-10-10T15:45:02Z","updated_at":"2018-10-10T18:06:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ab5d45d253bacf3bd852d2db8a4a64e931a4319","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls/4/commits","review_comments_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls/4/comments","review_comment_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls/comments{/number}","comments_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/issues/4/comments","statuses_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/statuses/8718ce203aa8784e15c4b4f5395faef5432200e3","head":{"label":"navikt:feature/mq_with_counter","ref":"feature/mq_with_counter","sha":"8718ce203aa8784e15c4b4f5395faef5432200e3","user":{"login":"navikt","id":11848947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODQ4OTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/11848947?v=4","gravatar_id":"","url":"https://api.github.com/users/navikt","html_url":"https://github.com/navikt","followers_url":"https://api.github.com/users/navikt/followers","following_url":"https://api.github.com/users/navikt/following{/other_user}","gists_url":"https://api.github.com/users/navikt/gists{/gist_id}","starred_url":"https://api.github.com/users/navikt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navikt/subscriptions","organizations_url":"https://api.github.com/users/navikt/orgs","repos_url":"https://api.github.com/users/navikt/repos","events_url":"https://api.github.com/users/navikt/events{/privacy}","received_events_url":"https://api.github.com/users/navikt/received_events","type":"Organization","site_admin":false},"repo":{"id":151727480,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE3Mjc0ODA=","name":"helse-sykemeldingteller","full_name":"navikt/helse-sykemeldingteller","private":false,"owner":{"login":"navikt","id":11848947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODQ4OTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/11848947?v=4","gravatar_id":"","url":"https://api.github.com/users/navikt","html_url":"https://github.com/navikt","followers_url":"https://api.github.com/users/navikt/followers","following_url":"https://api.github.com/users/navikt/following{/other_user}","gists_url":"https://api.github.com/users/navikt/gists{/gist_id}","starred_url":"https://api.github.com/users/navikt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navikt/subscriptions","organizations_url":"https://api.github.com/users/navikt/orgs","repos_url":"https://api.github.com/users/navikt/repos","events_url":"https://api.github.com/users/navikt/events{/privacy}","received_events_url":"https://api.github.com/users/navikt/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/navikt/helse-sykemeldingteller","description":"Teller sykemeldinger.","fork":false,"url":"https://api.github.com/repos/navikt/helse-sykemeldingteller","forks_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/forks","keys_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/teams","hooks_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/hooks","issue_events_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/issues/events{/number}","events_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/events","assignees_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/assignees{/user}","branches_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/branches{/branch}","tags_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/tags","blobs_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/git/refs{/sha}","trees_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/statuses/{sha}","languages_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/languages","stargazers_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/stargazers","contributors_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/contributors","subscribers_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/subscribers","subscription_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/subscription","commits_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/commits{/sha}","git_commits_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/git/commits{/sha}","comments_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/comments{/number}","issue_comment_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/issues/comments{/number}","contents_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/contents/{+path}","compare_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/merges","archive_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/downloads","issues_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/issues{/number}","pulls_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls{/number}","milestones_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/milestones{/number}","notifications_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/labels{/name}","releases_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/releases{/id}","deployments_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/deployments","created_at":"2018-10-05T13:48:17Z","updated_at":"2018-10-10T12:50:45Z","pushed_at":"2018-10-10T15:45:02Z","git_url":"git://github.com/navikt/helse-sykemeldingteller.git","ssh_url":"git@github.com:navikt/helse-sykemeldingteller.git","clone_url":"https://github.com/navikt/helse-sykemeldingteller.git","svn_url":"https://github.com/navikt/helse-sykemeldingteller","homepage":null,"size":88,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"navikt:master","ref":"master","sha":"6f9748aed68caaa2d57058783096e4e0e4bb3557","user":{"login":"navikt","id":11848947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODQ4OTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/11848947?v=4","gravatar_id":"","url":"https://api.github.com/users/navikt","html_url":"https://github.com/navikt","followers_url":"https://api.github.com/users/navikt/followers","following_url":"https://api.github.com/users/navikt/following{/other_user}","gists_url":"https://api.github.com/users/navikt/gists{/gist_id}","starred_url":"https://api.github.com/users/navikt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navikt/subscriptions","organizations_url":"https://api.github.com/users/navikt/orgs","repos_url":"https://api.github.com/users/navikt/repos","events_url":"https://api.github.com/users/navikt/events{/privacy}","received_events_url":"https://api.github.com/users/navikt/received_events","type":"Organization","site_admin":false},"repo":{"id":151727480,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE3Mjc0ODA=","name":"helse-sykemeldingteller","full_name":"navikt/helse-sykemeldingteller","private":false,"owner":{"login":"navikt","id":11848947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODQ4OTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/11848947?v=4","gravatar_id":"","url":"https://api.github.com/users/navikt","html_url":"https://github.com/navikt","followers_url":"https://api.github.com/users/navikt/followers","following_url":"https://api.github.com/users/navikt/following{/other_user}","gists_url":"https://api.github.com/users/navikt/gists{/gist_id}","starred_url":"https://api.github.com/users/navikt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navikt/subscriptions","organizations_url":"https://api.github.com/users/navikt/orgs","repos_url":"https://api.github.com/users/navikt/repos","events_url":"https://api.github.com/users/navikt/events{/privacy}","received_events_url":"https://api.github.com/users/navikt/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/navikt/helse-sykemeldingteller","description":"Teller sykemeldinger.","fork":false,"url":"https://api.github.com/repos/navikt/helse-sykemeldingteller","forks_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/forks","keys_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/teams","hooks_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/hooks","issue_events_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/issues/events{/number}","events_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/events","assignees_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/assignees{/user}","branches_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/branches{/branch}","tags_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/tags","blobs_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/git/refs{/sha}","trees_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/statuses/{sha}","languages_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/languages","stargazers_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/stargazers","contributors_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/contributors","subscribers_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/subscribers","subscription_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/subscription","commits_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/commits{/sha}","git_commits_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/git/commits{/sha}","comments_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/comments{/number}","issue_comment_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/issues/comments{/number}","contents_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/contents/{+path}","compare_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/merges","archive_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/downloads","issues_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/issues{/number}","pulls_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls{/number}","milestones_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/milestones{/number}","notifications_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/labels{/name}","releases_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/releases{/id}","deployments_url":"https://api.github.com/repos/navikt/helse-sykemeldingteller/deployments","created_at":"2018-10-05T13:48:17Z","updated_at":"2018-10-10T12:50:45Z","pushed_at":"2018-10-10T15:45:02Z","git_url":"git://github.com/navikt/helse-sykemeldingteller.git","ssh_url":"git@github.com:navikt/helse-sykemeldingteller.git","clone_url":"https://github.com/navikt/helse-sykemeldingteller.git","svn_url":"https://github.com/navikt/helse-sykemeldingteller","homepage":null,"size":88,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls/4"},"html":{"href":"https://github.com/navikt/helse-sykemeldingteller/pull/4"},"issue":{"href":"https://api.github.com/repos/navikt/helse-sykemeldingteller/issues/4"},"comments":{"href":"https://api.github.com/repos/navikt/helse-sykemeldingteller/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/navikt/helse-sykemeldingteller/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/navikt/helse-sykemeldingteller/statuses/8718ce203aa8784e15c4b4f5395faef5432200e3"}},"author_association":"NONE"}}
{"actor":{"display_login":"TheUnnamedDude"}}