{"action":"created","comment":{"url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls/comments/98457529","pull_request_review_id":19094651,"id":98457529,"diff_hunk":"@@ -18,15 +18,117 @@ package uk.gov.hmrc.residencenilratebandcalculator.connectors\n \n import javax.inject.Inject\n \n-import uk.gov.hmrc.http.cache.client.SessionCache\n-import uk.gov.hmrc.play.config.{AppName, ServicesConfig}\n-import uk.gov.hmrc.residencenilratebandcalculator.WSHttp\n+import play.api.libs.json.{JsValue, Json, Reads, Writes}\n+import uk.gov.hmrc.http.cache.client.{CacheMap, SessionCache}\n+import javax.inject.{Inject, Singleton}\n \n-class SessionConnector @Inject()(wshttp: WSHttp) extends SessionCache with ServicesConfig with AppName {\n-  override lazy val http: WSHttp = wshttp\n-  override lazy val defaultSource: String = appName\n-  override lazy val baseUri: String = baseUrl(\"session\")\n-  override lazy val domain: String =\n-    getConfString(\"session.domain\", throw new Exception(s\"Could not find config 'session.domain'\"))\n+import uk.gov.hmrc.http.cache.client.CacheMap\n+import uk.gov.hmrc.play.http.HeaderCarrier\n+import uk.gov.hmrc.residencenilratebandcalculator\n+import uk.gov.hmrc.residencenilratebandcalculator.Constants\n+import uk.gov.hmrc.residencenilratebandcalculator.repositories.SessionRepository\n \n+import scala.concurrent.ExecutionContext.Implicits.global\n+import scala.concurrent.Future\n+\n+@Singleton\n+class SessionConnector @Inject()(val sessionRepository: SessionRepository) {\n+  var funcMap: Map[String, (JsValue, CacheMap) => CacheMap] =\n+    Map(\n+      Constants.estateHasPropertyId -> ((v, cm) => estateHasProperty(v, cm)),\n+      Constants.anyExemptionId -> ((v, cm) => anyExemptionClearance(v, cm)),\n+      Constants.anyBroughtForwardAllowanceId -> ((v, cm) => anyBroughtForwardAllowance(v, cm)),\n+      Constants.anyDownsizingAllowanceId -> ((v, cm) => anyDownsizingAllowance(v, cm)),\n+      Constants.anyAssetsPassingToDirectDescendantsId -> ((v, cm) => anyAssetsPassingToDirectDescendants(v, cm)),\n+      Constants.anyBroughtForwardAllowanceOnDisposalId -> ((v, cm) => anyBroughtForwardAllowanceOnDisposal(v, cm)))\n+\n+  private def clearance[A](key: String, value: A, keysToRemove: Set[String], cacheMap: CacheMap)(implicit wrts: Writes[A]): CacheMap = {\n+    val mapWithDeletedKeys = cacheMap copy (data = cacheMap.data.filterKeys(s => !keysToRemove.contains(s)))\n+    mapWithDeletedKeys copy (data = mapWithDeletedKeys.data + (key -> Json.toJson(value)))\n+  }\n+\n+  private def estateHasProperty[A](value: A, cacheMap: CacheMap)(implicit wrts: Writes[A]): CacheMap =\n+    clearance(Constants.estateHasPropertyId, value, Set(Constants.propertyValueId, Constants.percentageCloselyInheritedId, Constants.anyExemptionId, Constants.propertyValueAfterExemptionId), cacheMap)\n+\n+  private def anyExemptionClearance[A](value: A, cacheMap: CacheMap)(implicit wrts: Writes[A]): CacheMap =\n+    clearance(Constants.anyExemptionId, value, Set(Constants.propertyValueAfterExemptionId), cacheMap)\n+\n+  private def anyBroughtForwardAllowance[A](value: A, cacheMap: CacheMap)(implicit wrts: Writes[A]): CacheMap =\n+    clearance(Constants.anyBroughtForwardAllowanceId, value, Set(Constants.broughtForwardAllowanceId), cacheMap)\n+\n+  private def anyDownsizingAllowance[A](value: A, cacheMap: CacheMap)(implicit wrts: Writes[A]): CacheMap =\n+    clearance(Constants.anyDownsizingAllowanceId,\n+     value,\n+     Set(\n+       Constants.dateOfDisposalId,\n+       Constants.valueOfDisposedPropertyId,\n+       Constants.anyAssetsPassingToDirectDescendantsId,\n+       Constants.assetsPassingToDirectDescendantsId,\n+       Constants.anyBroughtForwardAllowanceOnDisposalId,\n+       Constants.broughtForwardAllowanceOnDisposalId),\n+     cacheMap)\n+\n+  private def anyAssetsPassingToDirectDescendants[A](value: A, cacheMap: CacheMap)(implicit wrts: Writes[A]): CacheMap =\n+    clearance(Constants.anyAssetsPassingToDirectDescendantsId, value,\n+      Set(\n+        Constants.assetsPassingToDirectDescendantsId,\n+        Constants.anyBroughtForwardAllowanceOnDisposalId,\n+        Constants.broughtForwardAllowanceOnDisposalId),\n+      cacheMap)\n+\n+  private def anyBroughtForwardAllowanceOnDisposal[A](value: A, cacheMap: CacheMap)(implicit wrts: Writes[A]): CacheMap =\n+    clearance(Constants.anyBroughtForwardAllowanceOnDisposalId, value, Set(Constants.anyBroughtForwardAllowanceOnDisposalId), cacheMap)","path":"app/uk/gov/hmrc/residencenilratebandcalculator/connectors/SessionConnector.scala","position":72,"original_position":72,"commit_id":"73d391bc1220660092279abbdbb2dd9148187f7b","original_commit_id":"73d391bc1220660092279abbdbb2dd9148187f7b","user":{"login":"TheNickWilson","id":7313396,"avatar_url":"https://avatars.githubusercontent.com/u/7313396?v=3","gravatar_id":"","url":"https://api.github.com/users/TheNickWilson","html_url":"https://github.com/TheNickWilson","followers_url":"https://api.github.com/users/TheNickWilson/followers","following_url":"https://api.github.com/users/TheNickWilson/following{/other_user}","gists_url":"https://api.github.com/users/TheNickWilson/gists{/gist_id}","starred_url":"https://api.github.com/users/TheNickWilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheNickWilson/subscriptions","organizations_url":"https://api.github.com/users/TheNickWilson/orgs","repos_url":"https://api.github.com/users/TheNickWilson/repos","events_url":"https://api.github.com/users/TheNickWilson/events{/privacy}","received_events_url":"https://api.github.com/users/TheNickWilson/received_events","type":"User","site_admin":false},"body":"Should keysToRemove for this be _broughtForwardAllowanceOnDisposalId_, rather than _anyBroughtForwardAllowanceOnDisposalId_?","created_at":"2017-01-30T14:59:43Z","updated_at":"2017-01-30T15:00:33Z","html_url":"https://github.com/hmrc/residence-nil-rate-band-calculator-frontend/pull/71#discussion_r98457529","pull_request_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls/comments/98457529"},"html":{"href":"https://github.com/hmrc/residence-nil-rate-band-calculator-frontend/pull/71#discussion_r98457529"},"pull_request":{"href":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls/71","id":103735894,"html_url":"https://github.com/hmrc/residence-nil-rate-band-calculator-frontend/pull/71","diff_url":"https://github.com/hmrc/residence-nil-rate-band-calculator-frontend/pull/71.diff","patch_url":"https://github.com/hmrc/residence-nil-rate-band-calculator-frontend/pull/71.patch","issue_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/issues/71","number":71,"state":"open","locked":false,"title":"Rnrbc 114","user":{"login":"adwelly","id":2620549,"avatar_url":"https://avatars.githubusercontent.com/u/2620549?v=3","gravatar_id":"","url":"https://api.github.com/users/adwelly","html_url":"https://github.com/adwelly","followers_url":"https://api.github.com/users/adwelly/followers","following_url":"https://api.github.com/users/adwelly/following{/other_user}","gists_url":"https://api.github.com/users/adwelly/gists{/gist_id}","starred_url":"https://api.github.com/users/adwelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adwelly/subscriptions","organizations_url":"https://api.github.com/users/adwelly/orgs","repos_url":"https://api.github.com/users/adwelly/repos","events_url":"https://api.github.com/users/adwelly/events{/privacy}","received_events_url":"https://api.github.com/users/adwelly/received_events","type":"User","site_admin":false},"body":"Replacement for SessionConnector","created_at":"2017-01-30T13:29:31Z","updated_at":"2017-01-30T15:00:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e3f7c0c2862f09f6edb32ce8538dd4d4882602d","assignee":{"login":"TheNickWilson","id":7313396,"avatar_url":"https://avatars.githubusercontent.com/u/7313396?v=3","gravatar_id":"","url":"https://api.github.com/users/TheNickWilson","html_url":"https://github.com/TheNickWilson","followers_url":"https://api.github.com/users/TheNickWilson/followers","following_url":"https://api.github.com/users/TheNickWilson/following{/other_user}","gists_url":"https://api.github.com/users/TheNickWilson/gists{/gist_id}","starred_url":"https://api.github.com/users/TheNickWilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheNickWilson/subscriptions","organizations_url":"https://api.github.com/users/TheNickWilson/orgs","repos_url":"https://api.github.com/users/TheNickWilson/repos","events_url":"https://api.github.com/users/TheNickWilson/events{/privacy}","received_events_url":"https://api.github.com/users/TheNickWilson/received_events","type":"User","site_admin":false},"assignees":[{"login":"TheNickWilson","id":7313396,"avatar_url":"https://avatars.githubusercontent.com/u/7313396?v=3","gravatar_id":"","url":"https://api.github.com/users/TheNickWilson","html_url":"https://github.com/TheNickWilson","followers_url":"https://api.github.com/users/TheNickWilson/followers","following_url":"https://api.github.com/users/TheNickWilson/following{/other_user}","gists_url":"https://api.github.com/users/TheNickWilson/gists{/gist_id}","starred_url":"https://api.github.com/users/TheNickWilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheNickWilson/subscriptions","organizations_url":"https://api.github.com/users/TheNickWilson/orgs","repos_url":"https://api.github.com/users/TheNickWilson/repos","events_url":"https://api.github.com/users/TheNickWilson/events{/privacy}","received_events_url":"https://api.github.com/users/TheNickWilson/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls/71/commits","review_comments_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls/71/comments","review_comment_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/issues/71/comments","statuses_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/statuses/73d391bc1220660092279abbdbb2dd9148187f7b","head":{"label":"hmrc:RNRBC-114","ref":"RNRBC-114","sha":"73d391bc1220660092279abbdbb2dd9148187f7b","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":74658403,"name":"residence-nil-rate-band-calculator-frontend","full_name":"hmrc/residence-nil-rate-band-calculator-frontend","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmrc/residence-nil-rate-band-calculator-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend","forks_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/forks","keys_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/teams","hooks_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/hooks","issue_events_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/events","assignees_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/tags","blobs_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/languages","stargazers_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/stargazers","contributors_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/contributors","subscribers_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/subscribers","subscription_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/subscription","commits_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/merges","archive_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/downloads","issues_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/deployments","created_at":"2016-11-24T09:33:37Z","updated_at":"2016-11-24T10:58:12Z","pushed_at":"2017-01-30T14:39:31Z","git_url":"git://github.com/hmrc/residence-nil-rate-band-calculator-frontend.git","ssh_url":"git@github.com:hmrc/residence-nil-rate-band-calculator-frontend.git","clone_url":"https://github.com/hmrc/residence-nil-rate-band-calculator-frontend.git","svn_url":"https://github.com/hmrc/residence-nil-rate-band-calculator-frontend","homepage":"","size":596,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"hmrc:master","ref":"master","sha":"455d9e8c8dd7ee100fd79054ddae34534ef75f83","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":74658403,"name":"residence-nil-rate-band-calculator-frontend","full_name":"hmrc/residence-nil-rate-band-calculator-frontend","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmrc/residence-nil-rate-band-calculator-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend","forks_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/forks","keys_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/teams","hooks_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/hooks","issue_events_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/events","assignees_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/tags","blobs_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/languages","stargazers_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/stargazers","contributors_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/contributors","subscribers_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/subscribers","subscription_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/subscription","commits_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/merges","archive_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/downloads","issues_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/deployments","created_at":"2016-11-24T09:33:37Z","updated_at":"2016-11-24T10:58:12Z","pushed_at":"2017-01-30T14:39:31Z","git_url":"git://github.com/hmrc/residence-nil-rate-band-calculator-frontend.git","ssh_url":"git@github.com:hmrc/residence-nil-rate-band-calculator-frontend.git","clone_url":"https://github.com/hmrc/residence-nil-rate-band-calculator-frontend.git","svn_url":"https://github.com/hmrc/residence-nil-rate-band-calculator-frontend","homepage":"","size":596,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls/71"},"html":{"href":"https://github.com/hmrc/residence-nil-rate-band-calculator-frontend/pull/71"},"issue":{"href":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/issues/71"},"comments":{"href":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/hmrc/residence-nil-rate-band-calculator-frontend/statuses/73d391bc1220660092279abbdbb2dd9148187f7b"}}}}
{"actor":{"display_login":"TheNickWilson"}}