{"action":"created","comment":{"url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls/comments/240700208","pull_request_review_id":183790587,"id":240700208,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDcwMDIwOA==","diff_hunk":"@@ -0,0 +1,34 @@\n+package cz.muni.fi.pa165.rest.controllers.base;\n+\n+import cz.muni.fi.pa165.dto.base.BaseDTO;\n+\n+import java.util.Objects;\n+\n+/**\n+ * @author mrnda (Michal Mrnuštík)\n+ */\n+\n+class TestDTO extends BaseDTO {","path":"formulaoneteam-rest/src/test/java/cz/muni/fi/pa165/rest/controllers/base/TestDTO.java","position":11,"original_position":11,"commit_id":"d623c0f2f00a03b46f56d95a0e4b914531b24538","original_commit_id":"fb3fe8b96ccc2b4ac04040d9eefc25f0931e920c","user":{"login":"mrnustik","id":3886077,"node_id":"MDQ6VXNlcjM4ODYwNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/3886077?v=4","gravatar_id":"","url":"https://api.github.com/users/mrnustik","html_url":"https://github.com/mrnustik","followers_url":"https://api.github.com/users/mrnustik/followers","following_url":"https://api.github.com/users/mrnustik/following{/other_user}","gists_url":"https://api.github.com/users/mrnustik/gists{/gist_id}","starred_url":"https://api.github.com/users/mrnustik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrnustik/subscriptions","organizations_url":"https://api.github.com/users/mrnustik/orgs","repos_url":"https://api.github.com/users/mrnustik/repos","events_url":"https://api.github.com/users/mrnustik/events{/privacy}","received_events_url":"https://api.github.com/users/mrnustik/received_events","type":"User","site_admin":false},"body":"Since the MockMvc does not support controllers that are inner classes we can move these classes into the `BaseCrudControllerTests.java`. We can also make the DTO and entity inner classes of the BaseCrudControllerTests, but that would look silly since the controller has to be outer class.","created_at":"2018-12-11T16:57:38Z","updated_at":"2018-12-11T16:57:38Z","html_url":"https://github.com/elderanakain/pa165-formula-one-team/pull/82#discussion_r240700208","pull_request_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls/82","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls/comments/240700208"},"html":{"href":"https://github.com/elderanakain/pa165-formula-one-team/pull/82#discussion_r240700208"},"pull_request":{"href":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls/82"}},"in_reply_to_id":240667697},"pull_request":{"url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls/82","id":237718747,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3NzE4NzQ3","html_url":"https://github.com/elderanakain/pa165-formula-one-team/pull/82","diff_url":"https://github.com/elderanakain/pa165-formula-one-team/pull/82.diff","patch_url":"https://github.com/elderanakain/pa165-formula-one-team/pull/82.patch","issue_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/issues/82","number":82,"state":"open","locked":false,"title":"CRUD base controller","user":{"login":"mrnustik","id":3886077,"node_id":"MDQ6VXNlcjM4ODYwNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/3886077?v=4","gravatar_id":"","url":"https://api.github.com/users/mrnustik","html_url":"https://github.com/mrnustik","followers_url":"https://api.github.com/users/mrnustik/followers","following_url":"https://api.github.com/users/mrnustik/following{/other_user}","gists_url":"https://api.github.com/users/mrnustik/gists{/gist_id}","starred_url":"https://api.github.com/users/mrnustik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrnustik/subscriptions","organizations_url":"https://api.github.com/users/mrnustik/orgs","repos_url":"https://api.github.com/users/mrnustik/repos","events_url":"https://api.github.com/users/mrnustik/events{/privacy}","received_events_url":"https://api.github.com/users/mrnustik/received_events","type":"User","site_admin":false},"body":"Adds base controller which performs all crud operations on entity","created_at":"2018-12-11T15:21:24Z","updated_at":"2018-12-11T16:57:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d536a97fe083a157e07a55e29931761b88d9dd9","assignee":{"login":"mrnustik","id":3886077,"node_id":"MDQ6VXNlcjM4ODYwNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/3886077?v=4","gravatar_id":"","url":"https://api.github.com/users/mrnustik","html_url":"https://github.com/mrnustik","followers_url":"https://api.github.com/users/mrnustik/followers","following_url":"https://api.github.com/users/mrnustik/following{/other_user}","gists_url":"https://api.github.com/users/mrnustik/gists{/gist_id}","starred_url":"https://api.github.com/users/mrnustik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrnustik/subscriptions","organizations_url":"https://api.github.com/users/mrnustik/orgs","repos_url":"https://api.github.com/users/mrnustik/repos","events_url":"https://api.github.com/users/mrnustik/events{/privacy}","received_events_url":"https://api.github.com/users/mrnustik/received_events","type":"User","site_admin":false},"assignees":[{"login":"mrnustik","id":3886077,"node_id":"MDQ6VXNlcjM4ODYwNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/3886077?v=4","gravatar_id":"","url":"https://api.github.com/users/mrnustik","html_url":"https://github.com/mrnustik","followers_url":"https://api.github.com/users/mrnustik/followers","following_url":"https://api.github.com/users/mrnustik/following{/other_user}","gists_url":"https://api.github.com/users/mrnustik/gists{/gist_id}","starred_url":"https://api.github.com/users/mrnustik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrnustik/subscriptions","organizations_url":"https://api.github.com/users/mrnustik/orgs","repos_url":"https://api.github.com/users/mrnustik/repos","events_url":"https://api.github.com/users/mrnustik/events{/privacy}","received_events_url":"https://api.github.com/users/mrnustik/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1150535033,"node_id":"MDU6TGFiZWwxMTUwNTM1MDMz","url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/labels/REST","name":"REST","color":"66dd37","default":false},{"id":1082551579,"node_id":"MDU6TGFiZWwxMDgyNTUxNTc5","url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":{"url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/milestones/3","html_url":"https://github.com/elderanakain/pa165-formula-one-team/milestone/3","labels_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/milestones/3/labels","id":3871096,"node_id":"MDk6TWlsZXN0b25lMzg3MTA5Ng==","number":3,"title":"M3","description":null,"creator":{"login":"elderanakain","id":11996379,"node_id":"MDQ6VXNlcjExOTk2Mzc5","avatar_url":"https://avatars1.githubusercontent.com/u/11996379?v=4","gravatar_id":"","url":"https://api.github.com/users/elderanakain","html_url":"https://github.com/elderanakain","followers_url":"https://api.github.com/users/elderanakain/followers","following_url":"https://api.github.com/users/elderanakain/following{/other_user}","gists_url":"https://api.github.com/users/elderanakain/gists{/gist_id}","starred_url":"https://api.github.com/users/elderanakain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elderanakain/subscriptions","organizations_url":"https://api.github.com/users/elderanakain/orgs","repos_url":"https://api.github.com/users/elderanakain/repos","events_url":"https://api.github.com/users/elderanakain/events{/privacy}","received_events_url":"https://api.github.com/users/elderanakain/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":8,"state":"open","created_at":"2018-12-04T20:14:15Z","updated_at":"2018-12-11T16:18:20Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls/82/commits","review_comments_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls/82/comments","review_comment_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/issues/82/comments","statuses_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/statuses/d623c0f2f00a03b46f56d95a0e4b914531b24538","head":{"label":"mrnustik:feature/crud-controller","ref":"feature/crud-controller","sha":"d623c0f2f00a03b46f56d95a0e4b914531b24538","user":{"login":"mrnustik","id":3886077,"node_id":"MDQ6VXNlcjM4ODYwNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/3886077?v=4","gravatar_id":"","url":"https://api.github.com/users/mrnustik","html_url":"https://github.com/mrnustik","followers_url":"https://api.github.com/users/mrnustik/followers","following_url":"https://api.github.com/users/mrnustik/following{/other_user}","gists_url":"https://api.github.com/users/mrnustik/gists{/gist_id}","starred_url":"https://api.github.com/users/mrnustik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrnustik/subscriptions","organizations_url":"https://api.github.com/users/mrnustik/orgs","repos_url":"https://api.github.com/users/mrnustik/repos","events_url":"https://api.github.com/users/mrnustik/events{/privacy}","received_events_url":"https://api.github.com/users/mrnustik/received_events","type":"User","site_admin":false},"repo":{"id":153067287,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMwNjcyODc=","name":"pa165-formula-one-team","full_name":"mrnustik/pa165-formula-one-team","private":false,"owner":{"login":"mrnustik","id":3886077,"node_id":"MDQ6VXNlcjM4ODYwNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/3886077?v=4","gravatar_id":"","url":"https://api.github.com/users/mrnustik","html_url":"https://github.com/mrnustik","followers_url":"https://api.github.com/users/mrnustik/followers","following_url":"https://api.github.com/users/mrnustik/following{/other_user}","gists_url":"https://api.github.com/users/mrnustik/gists{/gist_id}","starred_url":"https://api.github.com/users/mrnustik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrnustik/subscriptions","organizations_url":"https://api.github.com/users/mrnustik/orgs","repos_url":"https://api.github.com/users/mrnustik/repos","events_url":"https://api.github.com/users/mrnustik/events{/privacy}","received_events_url":"https://api.github.com/users/mrnustik/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mrnustik/pa165-formula-one-team","description":null,"fork":true,"url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team","forks_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/forks","keys_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/teams","hooks_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/hooks","issue_events_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/issues/events{/number}","events_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/events","assignees_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/assignees{/user}","branches_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/branches{/branch}","tags_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/tags","blobs_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/statuses/{sha}","languages_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/languages","stargazers_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/stargazers","contributors_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/contributors","subscribers_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/subscribers","subscription_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/subscription","commits_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/contents/{+path}","compare_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/merges","archive_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/downloads","issues_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/issues{/number}","pulls_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/pulls{/number}","milestones_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/milestones{/number}","notifications_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/labels{/name}","releases_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/releases{/id}","deployments_url":"https://api.github.com/repos/mrnustik/pa165-formula-one-team/deployments","created_at":"2018-10-15T07:01:21Z","updated_at":"2018-10-15T07:01:24Z","pushed_at":"2018-12-11T16:50:51Z","git_url":"git://github.com/mrnustik/pa165-formula-one-team.git","ssh_url":"git@github.com:mrnustik/pa165-formula-one-team.git","clone_url":"https://github.com/mrnustik/pa165-formula-one-team.git","svn_url":"https://github.com/mrnustik/pa165-formula-one-team","homepage":null,"size":401,"stargazers_count":0,"watchers_count":0,"language":null,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elderanakain:develop","ref":"develop","sha":"e87e3f100c41dd8d6427d6e4c9e628b19a5591ab","user":{"login":"elderanakain","id":11996379,"node_id":"MDQ6VXNlcjExOTk2Mzc5","avatar_url":"https://avatars1.githubusercontent.com/u/11996379?v=4","gravatar_id":"","url":"https://api.github.com/users/elderanakain","html_url":"https://github.com/elderanakain","followers_url":"https://api.github.com/users/elderanakain/followers","following_url":"https://api.github.com/users/elderanakain/following{/other_user}","gists_url":"https://api.github.com/users/elderanakain/gists{/gist_id}","starred_url":"https://api.github.com/users/elderanakain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elderanakain/subscriptions","organizations_url":"https://api.github.com/users/elderanakain/orgs","repos_url":"https://api.github.com/users/elderanakain/repos","events_url":"https://api.github.com/users/elderanakain/events{/privacy}","received_events_url":"https://api.github.com/users/elderanakain/received_events","type":"User","site_admin":false},"repo":{"id":151977799,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE5Nzc3OTk=","name":"pa165-formula-one-team","full_name":"elderanakain/pa165-formula-one-team","private":false,"owner":{"login":"elderanakain","id":11996379,"node_id":"MDQ6VXNlcjExOTk2Mzc5","avatar_url":"https://avatars1.githubusercontent.com/u/11996379?v=4","gravatar_id":"","url":"https://api.github.com/users/elderanakain","html_url":"https://github.com/elderanakain","followers_url":"https://api.github.com/users/elderanakain/followers","following_url":"https://api.github.com/users/elderanakain/following{/other_user}","gists_url":"https://api.github.com/users/elderanakain/gists{/gist_id}","starred_url":"https://api.github.com/users/elderanakain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elderanakain/subscriptions","organizations_url":"https://api.github.com/users/elderanakain/orgs","repos_url":"https://api.github.com/users/elderanakain/repos","events_url":"https://api.github.com/users/elderanakain/events{/privacy}","received_events_url":"https://api.github.com/users/elderanakain/received_events","type":"User","site_admin":false},"html_url":"https://github.com/elderanakain/pa165-formula-one-team","description":null,"fork":false,"url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team","forks_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/forks","keys_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/teams","hooks_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/hooks","issue_events_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/issues/events{/number}","events_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/events","assignees_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/assignees{/user}","branches_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/branches{/branch}","tags_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/tags","blobs_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/git/refs{/sha}","trees_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/statuses/{sha}","languages_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/languages","stargazers_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/stargazers","contributors_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/contributors","subscribers_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/subscribers","subscription_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/subscription","commits_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/commits{/sha}","git_commits_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/git/commits{/sha}","comments_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/comments{/number}","issue_comment_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/issues/comments{/number}","contents_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/contents/{+path}","compare_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/merges","archive_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/downloads","issues_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/issues{/number}","pulls_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls{/number}","milestones_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/milestones{/number}","notifications_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/labels{/name}","releases_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/releases{/id}","deployments_url":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/deployments","created_at":"2018-10-07T19:32:41Z","updated_at":"2018-12-03T21:53:57Z","pushed_at":"2018-12-11T16:50:53Z","git_url":"git://github.com/elderanakain/pa165-formula-one-team.git","ssh_url":"git@github.com:elderanakain/pa165-formula-one-team.git","clone_url":"https://github.com/elderanakain/pa165-formula-one-team.git","svn_url":"https://github.com/elderanakain/pa165-formula-one-team","homepage":null,"size":9834,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls/82"},"html":{"href":"https://github.com/elderanakain/pa165-formula-one-team/pull/82"},"issue":{"href":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/issues/82"},"comments":{"href":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/elderanakain/pa165-formula-one-team/statuses/d623c0f2f00a03b46f56d95a0e4b914531b24538"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mrnustik"}}