{"action":"created","comment":{"url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls/comments/88268672","pull_request_review_id":8847008,"id":88268672,"diff_hunk":"@@ -0,0 +1,47 @@\n+package com.poc.general;\n+\n+import com.google.gson.Gson;\n+import com.poc.model.dispatch_note.DispatchNote;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.stereotype.Component;\n+\n+import java.io.FileNotFoundException;\n+\n+/**\n+ * This class builds json objects from file templates (default or with parameters set in test level)\n+ */\n+@Component\n+public  class RequestBuilder extends RequestModelBuilder implements Constants {\n+\n+\t@Autowired\n+\tprivate Gson gson;\n+\n+\t/**\n+\t * This method builds the parcel summary json object with parameters\n+\t * @param fileName  the file where the templates is located\n+\t * @param name  parameter\n+\t * @return\n+\t * @throws FileNotFoundException\n+\t */\n+\n+\tpublic  String buildParcelSummaryRequest(String fileName,String name) throws FileNotFoundException {\n+\n+\t\tStringBuilder sb = new StringBuilder();","path":"src/main/java/com/poc/general/RequestBuilder.java","position":29,"original_position":29,"commit_id":"c8712bb00d7a930c0ffad957c80a73fbe1529d7a","original_commit_id":"c8712bb00d7a930c0ffad957c80a73fbe1529d7a","user":{"login":"kostasmakris1","id":10144750,"avatar_url":"https://avatars.githubusercontent.com/u/10144750?v=3","gravatar_id":"","url":"https://api.github.com/users/kostasmakris1","html_url":"https://github.com/kostasmakris1","followers_url":"https://api.github.com/users/kostasmakris1/followers","following_url":"https://api.github.com/users/kostasmakris1/following{/other_user}","gists_url":"https://api.github.com/users/kostasmakris1/gists{/gist_id}","starred_url":"https://api.github.com/users/kostasmakris1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kostasmakris1/subscriptions","organizations_url":"https://api.github.com/users/kostasmakris1/orgs","repos_url":"https://api.github.com/users/kostasmakris1/repos","events_url":"https://api.github.com/users/kostasmakris1/events{/privacy}","received_events_url":"https://api.github.com/users/kostasmakris1/received_events","type":"User","site_admin":false},"body":"good point folarin :) ","created_at":"2016-11-16T16:11:10Z","updated_at":"2016-11-16T16:11:10Z","html_url":"https://github.com/DigitalInnovation/customer-promise-api-framework/pull/1#discussion_r88268672","pull_request_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls/comments/88268672"},"html":{"href":"https://github.com/DigitalInnovation/customer-promise-api-framework/pull/1#discussion_r88268672"},"pull_request":{"href":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls/1","id":93985243,"html_url":"https://github.com/DigitalInnovation/customer-promise-api-framework/pull/1","diff_url":"https://github.com/DigitalInnovation/customer-promise-api-framework/pull/1.diff","patch_url":"https://github.com/DigitalInnovation/customer-promise-api-framework/pull/1.patch","issue_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/issues/1","number":1,"state":"open","locked":false,"title":"add pom file","user":{"login":"kostasmakris1","id":10144750,"avatar_url":"https://avatars.githubusercontent.com/u/10144750?v=3","gravatar_id":"","url":"https://api.github.com/users/kostasmakris1","html_url":"https://github.com/kostasmakris1","followers_url":"https://api.github.com/users/kostasmakris1/followers","following_url":"https://api.github.com/users/kostasmakris1/following{/other_user}","gists_url":"https://api.github.com/users/kostasmakris1/gists{/gist_id}","starred_url":"https://api.github.com/users/kostasmakris1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kostasmakris1/subscriptions","organizations_url":"https://api.github.com/users/kostasmakris1/orgs","repos_url":"https://api.github.com/users/kostasmakris1/repos","events_url":"https://api.github.com/users/kostasmakris1/events{/privacy}","received_events_url":"https://api.github.com/users/kostasmakris1/received_events","type":"User","site_admin":false},"body":"add main classes\r\nadd test classes\r\nadd resources","created_at":"2016-11-16T15:20:44Z","updated_at":"2016-11-16T16:11:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0754ea7a887097c625d0ea7702cb6b8e1d2f2e57","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls/1/commits","review_comments_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls/1/comments","review_comment_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/issues/1/comments","statuses_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/statuses/c8712bb00d7a930c0ffad957c80a73fbe1529d7a","head":{"label":"DigitalInnovation:automation-api-poc-demo","ref":"automation-api-poc-demo","sha":"c8712bb00d7a930c0ffad957c80a73fbe1529d7a","user":{"login":"DigitalInnovation","id":2510002,"avatar_url":"https://avatars.githubusercontent.com/u/2510002?v=3","gravatar_id":"","url":"https://api.github.com/users/DigitalInnovation","html_url":"https://github.com/DigitalInnovation","followers_url":"https://api.github.com/users/DigitalInnovation/followers","following_url":"https://api.github.com/users/DigitalInnovation/following{/other_user}","gists_url":"https://api.github.com/users/DigitalInnovation/gists{/gist_id}","starred_url":"https://api.github.com/users/DigitalInnovation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DigitalInnovation/subscriptions","organizations_url":"https://api.github.com/users/DigitalInnovation/orgs","repos_url":"https://api.github.com/users/DigitalInnovation/repos","events_url":"https://api.github.com/users/DigitalInnovation/events{/privacy}","received_events_url":"https://api.github.com/users/DigitalInnovation/received_events","type":"Organization","site_admin":false},"repo":{"id":71343861,"name":"customer-promise-api-framework","full_name":"DigitalInnovation/customer-promise-api-framework","owner":{"login":"DigitalInnovation","id":2510002,"avatar_url":"https://avatars.githubusercontent.com/u/2510002?v=3","gravatar_id":"","url":"https://api.github.com/users/DigitalInnovation","html_url":"https://github.com/DigitalInnovation","followers_url":"https://api.github.com/users/DigitalInnovation/followers","following_url":"https://api.github.com/users/DigitalInnovation/following{/other_user}","gists_url":"https://api.github.com/users/DigitalInnovation/gists{/gist_id}","starred_url":"https://api.github.com/users/DigitalInnovation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DigitalInnovation/subscriptions","organizations_url":"https://api.github.com/users/DigitalInnovation/orgs","repos_url":"https://api.github.com/users/DigitalInnovation/repos","events_url":"https://api.github.com/users/DigitalInnovation/events{/privacy}","received_events_url":"https://api.github.com/users/DigitalInnovation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DigitalInnovation/customer-promise-api-framework","description":null,"fork":false,"url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework","forks_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/forks","keys_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/teams","hooks_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/hooks","issue_events_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/issues/events{/number}","events_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/events","assignees_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/assignees{/user}","branches_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/branches{/branch}","tags_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/tags","blobs_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/languages","stargazers_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/stargazers","contributors_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/contributors","subscribers_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/subscribers","subscription_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/subscription","commits_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/contents/{+path}","compare_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/merges","archive_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/downloads","issues_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/issues{/number}","pulls_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/labels{/name}","releases_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/releases{/id}","deployments_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/deployments","created_at":"2016-10-19T10:02:18Z","updated_at":"2016-10-19T11:12:21Z","pushed_at":"2016-11-16T15:20:44Z","git_url":"git://github.com/DigitalInnovation/customer-promise-api-framework.git","ssh_url":"git@github.com:DigitalInnovation/customer-promise-api-framework.git","clone_url":"https://github.com/DigitalInnovation/customer-promise-api-framework.git","svn_url":"https://github.com/DigitalInnovation/customer-promise-api-framework","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"DigitalInnovation:master","ref":"master","sha":"66b577a16439eb89dbd2b1d0467c6522e148f91b","user":{"login":"DigitalInnovation","id":2510002,"avatar_url":"https://avatars.githubusercontent.com/u/2510002?v=3","gravatar_id":"","url":"https://api.github.com/users/DigitalInnovation","html_url":"https://github.com/DigitalInnovation","followers_url":"https://api.github.com/users/DigitalInnovation/followers","following_url":"https://api.github.com/users/DigitalInnovation/following{/other_user}","gists_url":"https://api.github.com/users/DigitalInnovation/gists{/gist_id}","starred_url":"https://api.github.com/users/DigitalInnovation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DigitalInnovation/subscriptions","organizations_url":"https://api.github.com/users/DigitalInnovation/orgs","repos_url":"https://api.github.com/users/DigitalInnovation/repos","events_url":"https://api.github.com/users/DigitalInnovation/events{/privacy}","received_events_url":"https://api.github.com/users/DigitalInnovation/received_events","type":"Organization","site_admin":false},"repo":{"id":71343861,"name":"customer-promise-api-framework","full_name":"DigitalInnovation/customer-promise-api-framework","owner":{"login":"DigitalInnovation","id":2510002,"avatar_url":"https://avatars.githubusercontent.com/u/2510002?v=3","gravatar_id":"","url":"https://api.github.com/users/DigitalInnovation","html_url":"https://github.com/DigitalInnovation","followers_url":"https://api.github.com/users/DigitalInnovation/followers","following_url":"https://api.github.com/users/DigitalInnovation/following{/other_user}","gists_url":"https://api.github.com/users/DigitalInnovation/gists{/gist_id}","starred_url":"https://api.github.com/users/DigitalInnovation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DigitalInnovation/subscriptions","organizations_url":"https://api.github.com/users/DigitalInnovation/orgs","repos_url":"https://api.github.com/users/DigitalInnovation/repos","events_url":"https://api.github.com/users/DigitalInnovation/events{/privacy}","received_events_url":"https://api.github.com/users/DigitalInnovation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DigitalInnovation/customer-promise-api-framework","description":null,"fork":false,"url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework","forks_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/forks","keys_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/teams","hooks_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/hooks","issue_events_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/issues/events{/number}","events_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/events","assignees_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/assignees{/user}","branches_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/branches{/branch}","tags_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/tags","blobs_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/languages","stargazers_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/stargazers","contributors_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/contributors","subscribers_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/subscribers","subscription_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/subscription","commits_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/contents/{+path}","compare_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/merges","archive_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/downloads","issues_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/issues{/number}","pulls_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/labels{/name}","releases_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/releases{/id}","deployments_url":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/deployments","created_at":"2016-10-19T10:02:18Z","updated_at":"2016-10-19T11:12:21Z","pushed_at":"2016-11-16T15:20:44Z","git_url":"git://github.com/DigitalInnovation/customer-promise-api-framework.git","ssh_url":"git@github.com:DigitalInnovation/customer-promise-api-framework.git","clone_url":"https://github.com/DigitalInnovation/customer-promise-api-framework.git","svn_url":"https://github.com/DigitalInnovation/customer-promise-api-framework","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls/1"},"html":{"href":"https://github.com/DigitalInnovation/customer-promise-api-framework/pull/1"},"issue":{"href":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/issues/1"},"comments":{"href":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/DigitalInnovation/customer-promise-api-framework/statuses/c8712bb00d7a930c0ffad957c80a73fbe1529d7a"}}}}
{"actor":{"display_login":"kostasmakris1"}}