{"action":"created","comment":{"url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls/comments/232597175","pull_request_review_id":173826583,"id":232597175,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjU5NzE3NQ==","diff_hunk":"@@ -0,0 +1,31 @@\n+/*\n+ * Copyright 2018 HM Revenue & Customs\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package forms\n+\n+import javax.inject.Inject\n+\n+import forms.mappings.Mappings\n+import play.api.data.Form\n+\n+class CommodityCodeRulingReferenceFormProvider @Inject() extends Mappings {\n+\n+  def apply(): Form[String] =\n+    Form(\n+      \"value\" -> text(\"commodityCodeRulingReference.error.required\")\n+        .verifying(maxLength(100, \"commodityCodeRulingReference.error.length\"))","path":"app/forms/CommodityCodeRulingReferenceFormProvider.scala","position":29,"original_position":29,"commit_id":"3228f3380ece83184ae71c6d607bfe89d1979e30","original_commit_id":"3228f3380ece83184ae71c6d607bfe89d1979e30","user":{"login":"russellthorn","id":1692222,"node_id":"MDQ6VXNlcjE2OTIyMjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1692222?v=4","gravatar_id":"","url":"https://api.github.com/users/russellthorn","html_url":"https://github.com/russellthorn","followers_url":"https://api.github.com/users/russellthorn/followers","following_url":"https://api.github.com/users/russellthorn/following{/other_user}","gists_url":"https://api.github.com/users/russellthorn/gists{/gist_id}","starred_url":"https://api.github.com/users/russellthorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellthorn/subscriptions","organizations_url":"https://api.github.com/users/russellthorn/orgs","repos_url":"https://api.github.com/users/russellthorn/repos","events_url":"https://api.github.com/users/russellthorn/events{/privacy}","received_events_url":"https://api.github.com/users/russellthorn/received_events","type":"User","site_admin":false},"body":"These `maxLength` character limitations are auto generated by scaffold. They can be removed and adjusted where relevant.","created_at":"2018-11-12T10:08:59Z","updated_at":"2018-11-12T10:09:00Z","html_url":"https://github.com/hmrc/binding-tariff-trader-frontend/pull/3#discussion_r232597175","pull_request_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls/3","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls/comments/232597175"},"html":{"href":"https://github.com/hmrc/binding-tariff-trader-frontend/pull/3#discussion_r232597175"},"pull_request":{"href":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls/3"}},"in_reply_to_id":232587812},"pull_request":{"url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls/3","id":226035665,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MDM1NjY1","html_url":"https://github.com/hmrc/binding-tariff-trader-frontend/pull/3","diff_url":"https://github.com/hmrc/binding-tariff-trader-frontend/pull/3.diff","patch_url":"https://github.com/hmrc/binding-tariff-trader-frontend/pull/3.patch","issue_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/issues/3","number":3,"state":"open","locked":false,"title":"DIT-377","user":{"login":"russellthorn","id":1692222,"node_id":"MDQ6VXNlcjE2OTIyMjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1692222?v=4","gravatar_id":"","url":"https://api.github.com/users/russellthorn","html_url":"https://github.com/russellthorn","followers_url":"https://api.github.com/users/russellthorn/followers","following_url":"https://api.github.com/users/russellthorn/following{/other_user}","gists_url":"https://api.github.com/users/russellthorn/gists{/gist_id}","starred_url":"https://api.github.com/users/russellthorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellthorn/subscriptions","organizations_url":"https://api.github.com/users/russellthorn/orgs","repos_url":"https://api.github.com/users/russellthorn/repos","events_url":"https://api.github.com/users/russellthorn/events{/privacy}","received_events_url":"https://api.github.com/users/russellthorn/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-26T09:39:58Z","updated_at":"2018-11-12T10:09:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fc3e544842508a30d94d6f37dde495328300397","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls/3/commits","review_comments_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls/3/comments","review_comment_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/issues/3/comments","statuses_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/statuses/3228f3380ece83184ae71c6d607bfe89d1979e30","head":{"label":"hmrc:DIT-377","ref":"DIT-377","sha":"3228f3380ece83184ae71c6d607bfe89d1979e30","user":{"login":"hmrc","id":5755339,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NTUzMzk=","avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","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":153767758,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM3Njc3NTg=","name":"binding-tariff-trader-frontend","full_name":"hmrc/binding-tariff-trader-frontend","private":false,"owner":{"login":"hmrc","id":5755339,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NTUzMzk=","avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","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},"html_url":"https://github.com/hmrc/binding-tariff-trader-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend","forks_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/forks","keys_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/teams","hooks_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/hooks","issue_events_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/events","assignees_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/tags","blobs_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/languages","stargazers_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/stargazers","contributors_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/contributors","subscribers_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/subscribers","subscription_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/subscription","commits_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/merges","archive_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/downloads","issues_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/deployments","created_at":"2018-10-19T10:42:53Z","updated_at":"2018-11-09T17:20:37Z","pushed_at":"2018-11-12T08:58:29Z","git_url":"git://github.com/hmrc/binding-tariff-trader-frontend.git","ssh_url":"git@github.com:hmrc/binding-tariff-trader-frontend.git","clone_url":"https://github.com/hmrc/binding-tariff-trader-frontend.git","svn_url":"https://github.com/hmrc/binding-tariff-trader-frontend","homepage":"","size":272,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"hmrc:master","ref":"master","sha":"e4120ed3a606c01f803e97454b4cefbdd11e21cd","user":{"login":"hmrc","id":5755339,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NTUzMzk=","avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","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":153767758,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM3Njc3NTg=","name":"binding-tariff-trader-frontend","full_name":"hmrc/binding-tariff-trader-frontend","private":false,"owner":{"login":"hmrc","id":5755339,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NTUzMzk=","avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","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},"html_url":"https://github.com/hmrc/binding-tariff-trader-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend","forks_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/forks","keys_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/teams","hooks_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/hooks","issue_events_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/events","assignees_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/tags","blobs_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/languages","stargazers_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/stargazers","contributors_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/contributors","subscribers_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/subscribers","subscription_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/subscription","commits_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/merges","archive_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/downloads","issues_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/deployments","created_at":"2018-10-19T10:42:53Z","updated_at":"2018-11-09T17:20:37Z","pushed_at":"2018-11-12T08:58:29Z","git_url":"git://github.com/hmrc/binding-tariff-trader-frontend.git","ssh_url":"git@github.com:hmrc/binding-tariff-trader-frontend.git","clone_url":"https://github.com/hmrc/binding-tariff-trader-frontend.git","svn_url":"https://github.com/hmrc/binding-tariff-trader-frontend","homepage":"","size":272,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls/3"},"html":{"href":"https://github.com/hmrc/binding-tariff-trader-frontend/pull/3"},"issue":{"href":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/issues/3"},"comments":{"href":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/hmrc/binding-tariff-trader-frontend/statuses/3228f3380ece83184ae71c6d607bfe89d1979e30"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"russellthorn"}}