{"action":"created","comment":{"url":"https://api.github.com/repos/dhlab-basel/Knora/pulls/comments/198876660","pull_request_review_id":132887034,"id":198876660,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODg3NjY2MA==","diff_hunk":"@@ -0,0 +1,129 @@\n+/*\n+ * Copyright © 2015-2018 the contributors (see Contributors.md).\n+ *\n+ * This file is part of Knora.\n+ *\n+ * Knora is free software: you can redistribute it and/or modify\n+ * it under the terms of the GNU Affero General Public License as published\n+ * by the Free Software Foundation, either version 3 of the License, or\n+ * (at your option) any later version.\n+ *\n+ * Knora is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU Affero General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Affero General Public\n+ * License along with Knora.  If not, see <http://www.gnu.org/licenses/>.\n+ */\n+\n+package org.knora.webapi.routing\n+\n+import akka.actor.{ActorSelection, ActorSystem}\n+import akka.http.scaladsl.model._\n+import akka.http.scaladsl.server.Directives.{get, path}\n+import akka.http.scaladsl.server.Route\n+import akka.pattern._\n+import akka.util.Timeout\n+import org.knora.webapi.SettingsImpl\n+import org.knora.webapi.app.APPLICATION_STATE_ACTOR_PATH\n+import org.knora.webapi.messages.app.appmessages.AppState.AppState\n+import org.knora.webapi.messages.app.appmessages.{AppState, GetAppState}\n+import spray.json.{JsObject, JsString}\n+\n+import scala.concurrent.duration._\n+import scala.concurrent.{ExecutionContext, Future}\n+\n+\n+case class HealthCheckResult(name: String,\n+                             severity: String,\n+                             status: Boolean,\n+                             message: String)\n+\n+/**\n+  * Provides health check logic\n+  */\n+trait HealthCheck {\n+    this: HealthRoute =>\n+\n+    implicit private val timeout: Timeout = 1.second\n+\n+    protected def healthcheck(): Future[HttpResponse] = for {\n+\n+        state <- (applicationStateActor ? GetAppState()).mapTo[AppState]\n+\n+        result = state match {\n+            case AppState.StartingUp => unhealthy(\"Starting up. Please retry later.\")\n+            case AppState.WaitingForRepository => unhealthy(\"Waiting for Repository. Please retry later.\")\n+            case AppState.RepositoryReady => unhealthy(\"Repository ready. Please retry later.\")\n+            case AppState.CreatingCaches => unhealthy(\"Creating caches. Please retry later.\")\n+            case AppState.CachesReady => unhealthy(\"Caches ready. Please retry later.\")\n+            case AppState.LoadingOntologies => unhealthy(\"Loading ontologies. Please retry later.\")\n+            case AppState.OntologiesReady => unhealthy(\"Ontologies ready. Please retry later.\")\n+            case AppState.MaintenanceMode => unhealthy(\"Application is in maintenance mode. Please retry later.\")\n+            case AppState.Running => healthy()\n+        }\n+\n+        response = createResponse(result)\n+\n+    } yield response\n+\n+    protected def createResponse(result: HealthCheckResult): HttpResponse = {\n+\n+        HttpResponse(\n+            status = statusCode(result.status),\n+            entity = HttpEntity(\n+                ContentTypes.`application/json`,\n+                JsObject(\n+                    \"name\" -> JsString(result.name),\n+                    \"severity\" -> JsString(result.severity),\n+                    \"status\" -> JsString(status(result.status)),\n+                    \"message\" -> JsString(result.message)\n+                ).compactPrint\n+            )\n+        )\n+    }\n+\n+    private def status(s: Boolean) = if (s) \"healthy\" else \"unhealthy\"\n+\n+    private def statusCode(s: Boolean) = if (s) StatusCodes.OK else StatusCodes.ServiceUnavailable\n+\n+    private def unhealthy(str: String) = {","path":"webapi/src/main/scala/org/knora/webapi/routing/HealthRoute.scala","position":91,"original_position":91,"commit_id":"ffbb690a03fb37a3d5947ee168f47e5501eee1a0","original_commit_id":"ffbb690a03fb37a3d5947ee168f47e5501eee1a0","user":{"login":"benjamingeer","id":558389,"node_id":"MDQ6VXNlcjU1ODM4OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/558389?v=4","gravatar_id":"","url":"https://api.github.com/users/benjamingeer","html_url":"https://github.com/benjamingeer","followers_url":"https://api.github.com/users/benjamingeer/followers","following_url":"https://api.github.com/users/benjamingeer/following{/other_user}","gists_url":"https://api.github.com/users/benjamingeer/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamingeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamingeer/subscriptions","organizations_url":"https://api.github.com/users/benjamingeer/orgs","repos_url":"https://api.github.com/users/benjamingeer/repos","events_url":"https://api.github.com/users/benjamingeer/events{/privacy}","received_events_url":"https://api.github.com/users/benjamingeer/received_events","type":"User","site_admin":false},"body":"Poor app, should see a doctor. :)","created_at":"2018-06-28T15:05:30Z","updated_at":"2018-06-28T15:18:12Z","html_url":"https://github.com/dhlab-basel/Knora/pull/896#discussion_r198876660","pull_request_url":"https://api.github.com/repos/dhlab-basel/Knora/pulls/896","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/dhlab-basel/Knora/pulls/comments/198876660"},"html":{"href":"https://github.com/dhlab-basel/Knora/pull/896#discussion_r198876660"},"pull_request":{"href":"https://api.github.com/repos/dhlab-basel/Knora/pulls/896"}}},"pull_request":{"url":"https://api.github.com/repos/dhlab-basel/Knora/pulls/896","id":195612429,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NjEyNDI5","html_url":"https://github.com/dhlab-basel/Knora/pull/896","diff_url":"https://github.com/dhlab-basel/Knora/pull/896.diff","patch_url":"https://github.com/dhlab-basel/Knora/pull/896.patch","issue_url":"https://api.github.com/repos/dhlab-basel/Knora/issues/896","number":896,"state":"open","locked":false,"title":"feature (webapi): startup state + health endpoint","user":{"login":"subotic","id":400790,"node_id":"MDQ6VXNlcjQwMDc5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/400790?v=4","gravatar_id":"","url":"https://api.github.com/users/subotic","html_url":"https://github.com/subotic","followers_url":"https://api.github.com/users/subotic/followers","following_url":"https://api.github.com/users/subotic/following{/other_user}","gists_url":"https://api.github.com/users/subotic/gists{/gist_id}","starred_url":"https://api.github.com/users/subotic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subotic/subscriptions","organizations_url":"https://api.github.com/users/subotic/orgs","repos_url":"https://api.github.com/users/subotic/repos","events_url":"https://api.github.com/users/subotic/events{/privacy}","received_events_url":"https://api.github.com/users/subotic/received_events","type":"User","site_admin":false},"body":"### Summary\r\n\r\n- [x] track application state on startup and trigger loading of ontologies when DB is ready\r\n- [x] add `/health` endpoint\r\n- [x] removes `loadDemoData`\r\n- [x] fix E2E tests\r\n\r\n### Issues\r\n\r\n- resolves #794\r\n- resolves #891","created_at":"2018-06-18T18:38:41Z","updated_at":"2018-06-28T15:18:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b37ef44ed54128f63193bb54d76875ba48d94ebe","assignee":{"login":"subotic","id":400790,"node_id":"MDQ6VXNlcjQwMDc5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/400790?v=4","gravatar_id":"","url":"https://api.github.com/users/subotic","html_url":"https://github.com/subotic","followers_url":"https://api.github.com/users/subotic/followers","following_url":"https://api.github.com/users/subotic/following{/other_user}","gists_url":"https://api.github.com/users/subotic/gists{/gist_id}","starred_url":"https://api.github.com/users/subotic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subotic/subscriptions","organizations_url":"https://api.github.com/users/subotic/orgs","repos_url":"https://api.github.com/users/subotic/repos","events_url":"https://api.github.com/users/subotic/events{/privacy}","received_events_url":"https://api.github.com/users/subotic/received_events","type":"User","site_admin":false},"assignees":[{"login":"subotic","id":400790,"node_id":"MDQ6VXNlcjQwMDc5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/400790?v=4","gravatar_id":"","url":"https://api.github.com/users/subotic","html_url":"https://github.com/subotic","followers_url":"https://api.github.com/users/subotic/followers","following_url":"https://api.github.com/users/subotic/following{/other_user}","gists_url":"https://api.github.com/users/subotic/gists{/gist_id}","starred_url":"https://api.github.com/users/subotic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subotic/subscriptions","organizations_url":"https://api.github.com/users/subotic/orgs","repos_url":"https://api.github.com/users/subotic/repos","events_url":"https://api.github.com/users/subotic/events{/privacy}","received_events_url":"https://api.github.com/users/subotic/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":294389789,"node_id":"MDU6TGFiZWwyOTQzODk3ODk=","url":"https://api.github.com/repos/dhlab-basel/Knora/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":{"url":"https://api.github.com/repos/dhlab-basel/Knora/milestones/10","html_url":"https://github.com/dhlab-basel/Knora/milestone/10","labels_url":"https://api.github.com/repos/dhlab-basel/Knora/milestones/10/labels","id":3224569,"node_id":"MDk6TWlsZXN0b25lMzIyNDU2OQ==","number":10,"title":"v1.6.0","description":"","creator":{"login":"subotic","id":400790,"node_id":"MDQ6VXNlcjQwMDc5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/400790?v=4","gravatar_id":"","url":"https://api.github.com/users/subotic","html_url":"https://github.com/subotic","followers_url":"https://api.github.com/users/subotic/followers","following_url":"https://api.github.com/users/subotic/following{/other_user}","gists_url":"https://api.github.com/users/subotic/gists{/gist_id}","starred_url":"https://api.github.com/users/subotic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subotic/subscriptions","organizations_url":"https://api.github.com/users/subotic/orgs","repos_url":"https://api.github.com/users/subotic/repos","events_url":"https://api.github.com/users/subotic/events{/privacy}","received_events_url":"https://api.github.com/users/subotic/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":20,"state":"open","created_at":"2018-03-28T08:28:33Z","updated_at":"2018-06-25T13:06:08Z","due_on":"2018-06-29T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/dhlab-basel/Knora/pulls/896/commits","review_comments_url":"https://api.github.com/repos/dhlab-basel/Knora/pulls/896/comments","review_comment_url":"https://api.github.com/repos/dhlab-basel/Knora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dhlab-basel/Knora/issues/896/comments","statuses_url":"https://api.github.com/repos/dhlab-basel/Knora/statuses/ffbb690a03fb37a3d5947ee168f47e5501eee1a0","head":{"label":"dhlab-basel:wip/service-startup","ref":"wip/service-startup","sha":"ffbb690a03fb37a3d5947ee168f47e5501eee1a0","user":{"login":"dhlab-basel","id":16879914,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODc5OTE0","avatar_url":"https://avatars0.githubusercontent.com/u/16879914?v=4","gravatar_id":"","url":"https://api.github.com/users/dhlab-basel","html_url":"https://github.com/dhlab-basel","followers_url":"https://api.github.com/users/dhlab-basel/followers","following_url":"https://api.github.com/users/dhlab-basel/following{/other_user}","gists_url":"https://api.github.com/users/dhlab-basel/gists{/gist_id}","starred_url":"https://api.github.com/users/dhlab-basel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhlab-basel/subscriptions","organizations_url":"https://api.github.com/users/dhlab-basel/orgs","repos_url":"https://api.github.com/users/dhlab-basel/repos","events_url":"https://api.github.com/users/dhlab-basel/events{/privacy}","received_events_url":"https://api.github.com/users/dhlab-basel/received_events","type":"Organization","site_admin":false},"repo":{"id":47264649,"node_id":"MDEwOlJlcG9zaXRvcnk0NzI2NDY0OQ==","name":"Knora","full_name":"dhlab-basel/Knora","owner":{"login":"dhlab-basel","id":16879914,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODc5OTE0","avatar_url":"https://avatars0.githubusercontent.com/u/16879914?v=4","gravatar_id":"","url":"https://api.github.com/users/dhlab-basel","html_url":"https://github.com/dhlab-basel","followers_url":"https://api.github.com/users/dhlab-basel/followers","following_url":"https://api.github.com/users/dhlab-basel/following{/other_user}","gists_url":"https://api.github.com/users/dhlab-basel/gists{/gist_id}","starred_url":"https://api.github.com/users/dhlab-basel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhlab-basel/subscriptions","organizations_url":"https://api.github.com/users/dhlab-basel/orgs","repos_url":"https://api.github.com/users/dhlab-basel/repos","events_url":"https://api.github.com/users/dhlab-basel/events{/privacy}","received_events_url":"https://api.github.com/users/dhlab-basel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dhlab-basel/Knora","description":"Knowledge Organization, Representation, and Annotation","fork":false,"url":"https://api.github.com/repos/dhlab-basel/Knora","forks_url":"https://api.github.com/repos/dhlab-basel/Knora/forks","keys_url":"https://api.github.com/repos/dhlab-basel/Knora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhlab-basel/Knora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhlab-basel/Knora/teams","hooks_url":"https://api.github.com/repos/dhlab-basel/Knora/hooks","issue_events_url":"https://api.github.com/repos/dhlab-basel/Knora/issues/events{/number}","events_url":"https://api.github.com/repos/dhlab-basel/Knora/events","assignees_url":"https://api.github.com/repos/dhlab-basel/Knora/assignees{/user}","branches_url":"https://api.github.com/repos/dhlab-basel/Knora/branches{/branch}","tags_url":"https://api.github.com/repos/dhlab-basel/Knora/tags","blobs_url":"https://api.github.com/repos/dhlab-basel/Knora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhlab-basel/Knora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhlab-basel/Knora/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhlab-basel/Knora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhlab-basel/Knora/statuses/{sha}","languages_url":"https://api.github.com/repos/dhlab-basel/Knora/languages","stargazers_url":"https://api.github.com/repos/dhlab-basel/Knora/stargazers","contributors_url":"https://api.github.com/repos/dhlab-basel/Knora/contributors","subscribers_url":"https://api.github.com/repos/dhlab-basel/Knora/subscribers","subscription_url":"https://api.github.com/repos/dhlab-basel/Knora/subscription","commits_url":"https://api.github.com/repos/dhlab-basel/Knora/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhlab-basel/Knora/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhlab-basel/Knora/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhlab-basel/Knora/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhlab-basel/Knora/contents/{+path}","compare_url":"https://api.github.com/repos/dhlab-basel/Knora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhlab-basel/Knora/merges","archive_url":"https://api.github.com/repos/dhlab-basel/Knora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhlab-basel/Knora/downloads","issues_url":"https://api.github.com/repos/dhlab-basel/Knora/issues{/number}","pulls_url":"https://api.github.com/repos/dhlab-basel/Knora/pulls{/number}","milestones_url":"https://api.github.com/repos/dhlab-basel/Knora/milestones{/number}","notifications_url":"https://api.github.com/repos/dhlab-basel/Knora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhlab-basel/Knora/labels{/name}","releases_url":"https://api.github.com/repos/dhlab-basel/Knora/releases{/id}","deployments_url":"https://api.github.com/repos/dhlab-basel/Knora/deployments","created_at":"2015-12-02T14:00:26Z","updated_at":"2018-06-25T13:06:12Z","pushed_at":"2018-06-28T15:00:15Z","git_url":"git://github.com/dhlab-basel/Knora.git","ssh_url":"git@github.com:dhlab-basel/Knora.git","clone_url":"https://github.com/dhlab-basel/Knora.git","svn_url":"https://github.com/dhlab-basel/Knora","homepage":"http://knora.org","size":409718,"stargazers_count":28,"watchers_count":28,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":225,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":11,"open_issues":225,"watchers":28,"default_branch":"develop"}},"base":{"label":"dhlab-basel:develop","ref":"develop","sha":"d2140a87769a181e4e1bddd2191970fa94459097","user":{"login":"dhlab-basel","id":16879914,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODc5OTE0","avatar_url":"https://avatars0.githubusercontent.com/u/16879914?v=4","gravatar_id":"","url":"https://api.github.com/users/dhlab-basel","html_url":"https://github.com/dhlab-basel","followers_url":"https://api.github.com/users/dhlab-basel/followers","following_url":"https://api.github.com/users/dhlab-basel/following{/other_user}","gists_url":"https://api.github.com/users/dhlab-basel/gists{/gist_id}","starred_url":"https://api.github.com/users/dhlab-basel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhlab-basel/subscriptions","organizations_url":"https://api.github.com/users/dhlab-basel/orgs","repos_url":"https://api.github.com/users/dhlab-basel/repos","events_url":"https://api.github.com/users/dhlab-basel/events{/privacy}","received_events_url":"https://api.github.com/users/dhlab-basel/received_events","type":"Organization","site_admin":false},"repo":{"id":47264649,"node_id":"MDEwOlJlcG9zaXRvcnk0NzI2NDY0OQ==","name":"Knora","full_name":"dhlab-basel/Knora","owner":{"login":"dhlab-basel","id":16879914,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODc5OTE0","avatar_url":"https://avatars0.githubusercontent.com/u/16879914?v=4","gravatar_id":"","url":"https://api.github.com/users/dhlab-basel","html_url":"https://github.com/dhlab-basel","followers_url":"https://api.github.com/users/dhlab-basel/followers","following_url":"https://api.github.com/users/dhlab-basel/following{/other_user}","gists_url":"https://api.github.com/users/dhlab-basel/gists{/gist_id}","starred_url":"https://api.github.com/users/dhlab-basel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhlab-basel/subscriptions","organizations_url":"https://api.github.com/users/dhlab-basel/orgs","repos_url":"https://api.github.com/users/dhlab-basel/repos","events_url":"https://api.github.com/users/dhlab-basel/events{/privacy}","received_events_url":"https://api.github.com/users/dhlab-basel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dhlab-basel/Knora","description":"Knowledge Organization, Representation, and Annotation","fork":false,"url":"https://api.github.com/repos/dhlab-basel/Knora","forks_url":"https://api.github.com/repos/dhlab-basel/Knora/forks","keys_url":"https://api.github.com/repos/dhlab-basel/Knora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhlab-basel/Knora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhlab-basel/Knora/teams","hooks_url":"https://api.github.com/repos/dhlab-basel/Knora/hooks","issue_events_url":"https://api.github.com/repos/dhlab-basel/Knora/issues/events{/number}","events_url":"https://api.github.com/repos/dhlab-basel/Knora/events","assignees_url":"https://api.github.com/repos/dhlab-basel/Knora/assignees{/user}","branches_url":"https://api.github.com/repos/dhlab-basel/Knora/branches{/branch}","tags_url":"https://api.github.com/repos/dhlab-basel/Knora/tags","blobs_url":"https://api.github.com/repos/dhlab-basel/Knora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhlab-basel/Knora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhlab-basel/Knora/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhlab-basel/Knora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhlab-basel/Knora/statuses/{sha}","languages_url":"https://api.github.com/repos/dhlab-basel/Knora/languages","stargazers_url":"https://api.github.com/repos/dhlab-basel/Knora/stargazers","contributors_url":"https://api.github.com/repos/dhlab-basel/Knora/contributors","subscribers_url":"https://api.github.com/repos/dhlab-basel/Knora/subscribers","subscription_url":"https://api.github.com/repos/dhlab-basel/Knora/subscription","commits_url":"https://api.github.com/repos/dhlab-basel/Knora/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhlab-basel/Knora/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhlab-basel/Knora/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhlab-basel/Knora/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhlab-basel/Knora/contents/{+path}","compare_url":"https://api.github.com/repos/dhlab-basel/Knora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhlab-basel/Knora/merges","archive_url":"https://api.github.com/repos/dhlab-basel/Knora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhlab-basel/Knora/downloads","issues_url":"https://api.github.com/repos/dhlab-basel/Knora/issues{/number}","pulls_url":"https://api.github.com/repos/dhlab-basel/Knora/pulls{/number}","milestones_url":"https://api.github.com/repos/dhlab-basel/Knora/milestones{/number}","notifications_url":"https://api.github.com/repos/dhlab-basel/Knora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhlab-basel/Knora/labels{/name}","releases_url":"https://api.github.com/repos/dhlab-basel/Knora/releases{/id}","deployments_url":"https://api.github.com/repos/dhlab-basel/Knora/deployments","created_at":"2015-12-02T14:00:26Z","updated_at":"2018-06-25T13:06:12Z","pushed_at":"2018-06-28T15:00:15Z","git_url":"git://github.com/dhlab-basel/Knora.git","ssh_url":"git@github.com:dhlab-basel/Knora.git","clone_url":"https://github.com/dhlab-basel/Knora.git","svn_url":"https://github.com/dhlab-basel/Knora","homepage":"http://knora.org","size":409718,"stargazers_count":28,"watchers_count":28,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":225,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":11,"open_issues":225,"watchers":28,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/dhlab-basel/Knora/pulls/896"},"html":{"href":"https://github.com/dhlab-basel/Knora/pull/896"},"issue":{"href":"https://api.github.com/repos/dhlab-basel/Knora/issues/896"},"comments":{"href":"https://api.github.com/repos/dhlab-basel/Knora/issues/896/comments"},"review_comments":{"href":"https://api.github.com/repos/dhlab-basel/Knora/pulls/896/comments"},"review_comment":{"href":"https://api.github.com/repos/dhlab-basel/Knora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dhlab-basel/Knora/pulls/896/commits"},"statuses":{"href":"https://api.github.com/repos/dhlab-basel/Knora/statuses/ffbb690a03fb37a3d5947ee168f47e5501eee1a0"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"benjamingeer"}}