{"action":"created","comment":{"url":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls/comments/171849559","pull_request_review_id":100776747,"id":171849559,"diff_hunk":"@@ -0,0 +1,28 @@\n+package integrationtests.jbehave;\n+\n+import de.codecentric.jbehave.junit.monitoring.JUnitReportingRunner;\n+import integrationtests.jbehave.steps.GaragePersonSteps;\n+import org.jbehave.core.configuration.Configuration;\n+import org.jbehave.core.configuration.MostUsefulConfiguration;\n+import org.jbehave.core.io.LoadFromClasspath;\n+import org.jbehave.core.junit.JUnitStory;\n+import org.jbehave.core.reporters.Format;\n+import org.jbehave.core.reporters.StoryReporterBuilder;\n+import org.jbehave.core.steps.InjectableStepsFactory;\n+import org.jbehave.core.steps.InstanceStepsFactory;\n+import org.junit.runner.RunWith;\n+\n+@RunWith(JUnitReportingRunner.class)\n+public class GaragePerson extends JUnitStory {","path":"src/test/java/integrationtests/jbehave/GaragePerson.java","position":16,"original_position":16,"commit_id":"ffbb1b9ccaf785bfd01853bf6ac8d237cc5420df","original_commit_id":"56fb468641a13cfb8fe4e4de9fef410c7b33f4a5","user":{"login":"erich-daitan","id":36047521,"avatar_url":"https://avatars2.githubusercontent.com/u/36047521?v=4","gravatar_id":"","url":"https://api.github.com/users/erich-daitan","html_url":"https://github.com/erich-daitan","followers_url":"https://api.github.com/users/erich-daitan/followers","following_url":"https://api.github.com/users/erich-daitan/following{/other_user}","gists_url":"https://api.github.com/users/erich-daitan/gists{/gist_id}","starred_url":"https://api.github.com/users/erich-daitan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erich-daitan/subscriptions","organizations_url":"https://api.github.com/users/erich-daitan/orgs","repos_url":"https://api.github.com/users/erich-daitan/repos","events_url":"https://api.github.com/users/erich-daitan/events{/privacy}","received_events_url":"https://api.github.com/users/erich-daitan/received_events","type":"User","site_admin":false},"body":"Yes! I tried to do this, but i didn't have success. I don't know if i have do to more configurations. But i decided to let this way just for run.","created_at":"2018-03-02T13:42:46Z","updated_at":"2018-03-02T13:42:46Z","html_url":"https://github.com/jmarques-daitan/spring-basics/pull/2#discussion_r171849559","pull_request_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls/comments/171849559"},"html":{"href":"https://github.com/jmarques-daitan/spring-basics/pull/2#discussion_r171849559"},"pull_request":{"href":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls/2"}},"in_reply_to_id":171848649},"pull_request":{"url":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls/2","id":170019815,"html_url":"https://github.com/jmarques-daitan/spring-basics/pull/2","diff_url":"https://github.com/jmarques-daitan/spring-basics/pull/2.diff","patch_url":"https://github.com/jmarques-daitan/spring-basics/pull/2.patch","issue_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/issues/2","number":2,"state":"open","locked":false,"title":"First PR of project","user":{"login":"erich-daitan","id":36047521,"avatar_url":"https://avatars2.githubusercontent.com/u/36047521?v=4","gravatar_id":"","url":"https://api.github.com/users/erich-daitan","html_url":"https://github.com/erich-daitan","followers_url":"https://api.github.com/users/erich-daitan/followers","following_url":"https://api.github.com/users/erich-daitan/following{/other_user}","gists_url":"https://api.github.com/users/erich-daitan/gists{/gist_id}","starred_url":"https://api.github.com/users/erich-daitan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erich-daitan/subscriptions","organizations_url":"https://api.github.com/users/erich-daitan/orgs","repos_url":"https://api.github.com/users/erich-daitan/repos","events_url":"https://api.github.com/users/erich-daitan/events{/privacy}","received_events_url":"https://api.github.com/users/erich-daitan/received_events","type":"User","site_admin":false},"body":"Hey guys. This is the first PR of the spring project. Please take a look in the source code and tell me if something is wrong or can be improved. The objective was create a car mechanic system API.\r\nLinks to test:\r\n\r\n## Persons\r\n/persons\r\n\r\n### GET:\r\n/{id} \t\t\t**//return the person with the id or error if dont find**\r\n/persons\t\t\t**//return all persos on db or empty**\r\n/cpf/{cpf}\t\t**//return the person with the cpf or error if dont find**\r\n\r\n### POST:\r\n/create\r\n```\r\n{\r\n\t\"firstName\": \"name\",\r\n\t\"lastName\": \"lastname\",\r\n\t\"cpf\": \"999.999.999.99\",\r\n\t\"phone\": \"9999-9999\"\r\n}\r\n```\r\n\r\n/associatevehicle?personid=x&vehicleid=x\r\n\r\n/update/{id}\r\n```\r\n{\r\n\t\"firstName\": \"name\",\r\n\t\"lastName\": \"lastname\",\r\n\t\"cpf\": \"999.999.999.99\",\r\n\t\"phone\": \"9999-9999\"\r\n}\r\n```\r\n\r\n\r\n### DELETE:\r\n/{id}\r\n/delete-all\r\n\r\n------------------------------------------------------------------------------\r\n\r\n## Vehicle\r\n/vehicles\r\n\r\n### GET:\r\n/{id}\t\t\t**//return the vehicle associated with the id**\r\n/plate/{plate}\t**//return the vehicle associated with the plate**\r\n/person/{id}\t**//return the vehicles associated with the user id**\r\n/vehicles \t\t\t**//return all vehicles in the db**\r\n\r\n### POST:\r\n/create\r\n```\r\n{\r\n\t\"plate\": \"fws35700\",\r\n\t\"model\": \"VW Fox\",\r\n\t\"color\": \"Black\"\r\n}\r\n```\r\n\r\n/update/{id}\r\n```\r\n{\r\n\t\"plate\": \"fws3570\",\r\n\t\"model\": \"VW Fox\",\r\n\t\"color\": \"White\"\r\n}\r\n```\r\n\r\n### DELETE:\r\n/{id}\r\n/delete-all\r\n\r\n-----------------------------------------------------------------------------\r\n\r\n## ProductionOrder\r\n/production-orders\r\n\r\n### GET:\r\n/{id}\t\t\t**//return the PO associated with the id**\r\n/person/{id}\t\t**//return the production order related with the user id**\r\n/vehicle/{id}\t\t**//return the po associated with vechile id**\r\n/production-orders\t\t\t**//return all POs in the db**\r\n\r\n\r\n### POST:\r\n/create\r\n```\r\n{\r\n\t\"description\": \"descrioption of po\",\r\n\t\"completionForecast\": \"12/12/12\",\r\n\t\"finished\": \"false\"\r\n}\r\n```\r\n\r\n/update?productionid=x&personid=x&vehicleid=x\r\n```\r\n{\r\n\t\"description\": \"changing po\",\r\n\t\"completionForecast\": \"12/12/12\",\r\n\t\"finished\": \"false\"\r\n}\r\n```\r\n\r\n### DELETE:\r\n/{id}\r\n/delete-all","created_at":"2018-02-19T17:38:29Z","updated_at":"2018-03-02T13:42:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"430a437c2c1c98ce66f552080891ac5e13a92ac8","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mfreitas-daitan","id":30498671,"avatar_url":"https://avatars2.githubusercontent.com/u/30498671?v=4","gravatar_id":"","url":"https://api.github.com/users/mfreitas-daitan","html_url":"https://github.com/mfreitas-daitan","followers_url":"https://api.github.com/users/mfreitas-daitan/followers","following_url":"https://api.github.com/users/mfreitas-daitan/following{/other_user}","gists_url":"https://api.github.com/users/mfreitas-daitan/gists{/gist_id}","starred_url":"https://api.github.com/users/mfreitas-daitan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfreitas-daitan/subscriptions","organizations_url":"https://api.github.com/users/mfreitas-daitan/orgs","repos_url":"https://api.github.com/users/mfreitas-daitan/repos","events_url":"https://api.github.com/users/mfreitas-daitan/events{/privacy}","received_events_url":"https://api.github.com/users/mfreitas-daitan/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls/2/commits","review_comments_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls/2/comments","review_comment_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/issues/2/comments","statuses_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/statuses/ffbb1b9ccaf785bfd01853bf6ac8d237cc5420df","head":{"label":"erich-daitan:dev","ref":"dev","sha":"ffbb1b9ccaf785bfd01853bf6ac8d237cc5420df","user":{"login":"erich-daitan","id":36047521,"avatar_url":"https://avatars2.githubusercontent.com/u/36047521?v=4","gravatar_id":"","url":"https://api.github.com/users/erich-daitan","html_url":"https://github.com/erich-daitan","followers_url":"https://api.github.com/users/erich-daitan/followers","following_url":"https://api.github.com/users/erich-daitan/following{/other_user}","gists_url":"https://api.github.com/users/erich-daitan/gists{/gist_id}","starred_url":"https://api.github.com/users/erich-daitan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erich-daitan/subscriptions","organizations_url":"https://api.github.com/users/erich-daitan/orgs","repos_url":"https://api.github.com/users/erich-daitan/repos","events_url":"https://api.github.com/users/erich-daitan/events{/privacy}","received_events_url":"https://api.github.com/users/erich-daitan/received_events","type":"User","site_admin":false},"repo":{"id":120932661,"name":"spring-basics","full_name":"erich-daitan/spring-basics","owner":{"login":"erich-daitan","id":36047521,"avatar_url":"https://avatars2.githubusercontent.com/u/36047521?v=4","gravatar_id":"","url":"https://api.github.com/users/erich-daitan","html_url":"https://github.com/erich-daitan","followers_url":"https://api.github.com/users/erich-daitan/followers","following_url":"https://api.github.com/users/erich-daitan/following{/other_user}","gists_url":"https://api.github.com/users/erich-daitan/gists{/gist_id}","starred_url":"https://api.github.com/users/erich-daitan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erich-daitan/subscriptions","organizations_url":"https://api.github.com/users/erich-daitan/orgs","repos_url":"https://api.github.com/users/erich-daitan/repos","events_url":"https://api.github.com/users/erich-daitan/events{/privacy}","received_events_url":"https://api.github.com/users/erich-daitan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erich-daitan/spring-basics","description":null,"fork":true,"url":"https://api.github.com/repos/erich-daitan/spring-basics","forks_url":"https://api.github.com/repos/erich-daitan/spring-basics/forks","keys_url":"https://api.github.com/repos/erich-daitan/spring-basics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erich-daitan/spring-basics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erich-daitan/spring-basics/teams","hooks_url":"https://api.github.com/repos/erich-daitan/spring-basics/hooks","issue_events_url":"https://api.github.com/repos/erich-daitan/spring-basics/issues/events{/number}","events_url":"https://api.github.com/repos/erich-daitan/spring-basics/events","assignees_url":"https://api.github.com/repos/erich-daitan/spring-basics/assignees{/user}","branches_url":"https://api.github.com/repos/erich-daitan/spring-basics/branches{/branch}","tags_url":"https://api.github.com/repos/erich-daitan/spring-basics/tags","blobs_url":"https://api.github.com/repos/erich-daitan/spring-basics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erich-daitan/spring-basics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erich-daitan/spring-basics/git/refs{/sha}","trees_url":"https://api.github.com/repos/erich-daitan/spring-basics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erich-daitan/spring-basics/statuses/{sha}","languages_url":"https://api.github.com/repos/erich-daitan/spring-basics/languages","stargazers_url":"https://api.github.com/repos/erich-daitan/spring-basics/stargazers","contributors_url":"https://api.github.com/repos/erich-daitan/spring-basics/contributors","subscribers_url":"https://api.github.com/repos/erich-daitan/spring-basics/subscribers","subscription_url":"https://api.github.com/repos/erich-daitan/spring-basics/subscription","commits_url":"https://api.github.com/repos/erich-daitan/spring-basics/commits{/sha}","git_commits_url":"https://api.github.com/repos/erich-daitan/spring-basics/git/commits{/sha}","comments_url":"https://api.github.com/repos/erich-daitan/spring-basics/comments{/number}","issue_comment_url":"https://api.github.com/repos/erich-daitan/spring-basics/issues/comments{/number}","contents_url":"https://api.github.com/repos/erich-daitan/spring-basics/contents/{+path}","compare_url":"https://api.github.com/repos/erich-daitan/spring-basics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erich-daitan/spring-basics/merges","archive_url":"https://api.github.com/repos/erich-daitan/spring-basics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erich-daitan/spring-basics/downloads","issues_url":"https://api.github.com/repos/erich-daitan/spring-basics/issues{/number}","pulls_url":"https://api.github.com/repos/erich-daitan/spring-basics/pulls{/number}","milestones_url":"https://api.github.com/repos/erich-daitan/spring-basics/milestones{/number}","notifications_url":"https://api.github.com/repos/erich-daitan/spring-basics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erich-daitan/spring-basics/labels{/name}","releases_url":"https://api.github.com/repos/erich-daitan/spring-basics/releases{/id}","deployments_url":"https://api.github.com/repos/erich-daitan/spring-basics/deployments","created_at":"2018-02-09T17:02:54Z","updated_at":"2018-02-09T17:02:56Z","pushed_at":"2018-03-02T13:32:44Z","git_url":"git://github.com/erich-daitan/spring-basics.git","ssh_url":"git@github.com:erich-daitan/spring-basics.git","clone_url":"https://github.com/erich-daitan/spring-basics.git","svn_url":"https://github.com/erich-daitan/spring-basics","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jmarques-daitan:master","ref":"master","sha":"c8dcedb4bf7e6a067722df7bffe53f08fb2cbada","user":{"login":"jmarques-daitan","id":29210152,"avatar_url":"https://avatars3.githubusercontent.com/u/29210152?v=4","gravatar_id":"","url":"https://api.github.com/users/jmarques-daitan","html_url":"https://github.com/jmarques-daitan","followers_url":"https://api.github.com/users/jmarques-daitan/followers","following_url":"https://api.github.com/users/jmarques-daitan/following{/other_user}","gists_url":"https://api.github.com/users/jmarques-daitan/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarques-daitan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarques-daitan/subscriptions","organizations_url":"https://api.github.com/users/jmarques-daitan/orgs","repos_url":"https://api.github.com/users/jmarques-daitan/repos","events_url":"https://api.github.com/users/jmarques-daitan/events{/privacy}","received_events_url":"https://api.github.com/users/jmarques-daitan/received_events","type":"User","site_admin":false},"repo":{"id":120932350,"name":"spring-basics","full_name":"jmarques-daitan/spring-basics","owner":{"login":"jmarques-daitan","id":29210152,"avatar_url":"https://avatars3.githubusercontent.com/u/29210152?v=4","gravatar_id":"","url":"https://api.github.com/users/jmarques-daitan","html_url":"https://github.com/jmarques-daitan","followers_url":"https://api.github.com/users/jmarques-daitan/followers","following_url":"https://api.github.com/users/jmarques-daitan/following{/other_user}","gists_url":"https://api.github.com/users/jmarques-daitan/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarques-daitan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarques-daitan/subscriptions","organizations_url":"https://api.github.com/users/jmarques-daitan/orgs","repos_url":"https://api.github.com/users/jmarques-daitan/repos","events_url":"https://api.github.com/users/jmarques-daitan/events{/privacy}","received_events_url":"https://api.github.com/users/jmarques-daitan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmarques-daitan/spring-basics","description":null,"fork":false,"url":"https://api.github.com/repos/jmarques-daitan/spring-basics","forks_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/forks","keys_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/teams","hooks_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/hooks","issue_events_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/issues/events{/number}","events_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/events","assignees_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/assignees{/user}","branches_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/branches{/branch}","tags_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/tags","blobs_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/statuses/{sha}","languages_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/languages","stargazers_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/stargazers","contributors_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/contributors","subscribers_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/subscribers","subscription_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/subscription","commits_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/contents/{+path}","compare_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/merges","archive_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/downloads","issues_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/issues{/number}","pulls_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls{/number}","milestones_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/milestones{/number}","notifications_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/labels{/name}","releases_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/releases{/id}","deployments_url":"https://api.github.com/repos/jmarques-daitan/spring-basics/deployments","created_at":"2018-02-09T16:59:55Z","updated_at":"2018-02-09T17:04:57Z","pushed_at":"2018-03-02T13:32:45Z","git_url":"git://github.com/jmarques-daitan/spring-basics.git","ssh_url":"git@github.com:jmarques-daitan/spring-basics.git","clone_url":"https://github.com/jmarques-daitan/spring-basics.git","svn_url":"https://github.com/jmarques-daitan/spring-basics","homepage":null,"size":5,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls/2"},"html":{"href":"https://github.com/jmarques-daitan/spring-basics/pull/2"},"issue":{"href":"https://api.github.com/repos/jmarques-daitan/spring-basics/issues/2"},"comments":{"href":"https://api.github.com/repos/jmarques-daitan/spring-basics/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jmarques-daitan/spring-basics/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/jmarques-daitan/spring-basics/statuses/ffbb1b9ccaf785bfd01853bf6ac8d237cc5420df"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"erich-daitan"}}