{"action":"created","comment":{"url":"https://api.github.com/repos/execom-eu/building_manager/pulls/comments/181406405","pull_request_review_id":112028943,"id":181406405,"diff_hunk":"@@ -0,0 +1,34 @@\n+package eu.execom.buildingmanager.domain.issue;\n+\n+import lombok.Value;\n+\n+import javax.persistence.Embeddable;\n+\n+@Embeddable\n+@Value\n+public class Location {\n+\n+  static Integer NOT_APPLICABLE = Integer.MIN_VALUE;\n+\n+  String address;\n+\n+  Integer apartmentFloor;\n+\n+  Integer apartmentNumber;\n+\n+  Boolean isApartment;","path":"domain/src/main/java/eu/execom/buildingmanager/domain/issue/Location.java","position":19,"original_position":19,"commit_id":"1c68b4be8848f40e663fb371e6fe7a38f1f22714","original_commit_id":"f6f30d7680dac392cacef5c2c190451cdd5796bb","user":{"login":"stanislavgrujic","id":2743162,"avatar_url":"https://avatars1.githubusercontent.com/u/2743162?v=4","gravatar_id":"","url":"https://api.github.com/users/stanislavgrujic","html_url":"https://github.com/stanislavgrujic","followers_url":"https://api.github.com/users/stanislavgrujic/followers","following_url":"https://api.github.com/users/stanislavgrujic/following{/other_user}","gists_url":"https://api.github.com/users/stanislavgrujic/gists{/gist_id}","starred_url":"https://api.github.com/users/stanislavgrujic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanislavgrujic/subscriptions","organizations_url":"https://api.github.com/users/stanislavgrujic/orgs","repos_url":"https://api.github.com/users/stanislavgrujic/repos","events_url":"https://api.github.com/users/stanislavgrujic/events{/privacy}","received_events_url":"https://api.github.com/users/stanislavgrujic/received_events","type":"User","site_admin":false},"body":"Maybe it would be good to have this field initialized by default, also, the apartment floor and number could be set by default to NOT_APPLICABLE.","created_at":"2018-04-13T14:29:52Z","updated_at":"2018-04-13T14:33:31Z","html_url":"https://github.com/execom-eu/building_manager/pull/4#discussion_r181406405","pull_request_url":"https://api.github.com/repos/execom-eu/building_manager/pulls/4","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/execom-eu/building_manager/pulls/comments/181406405"},"html":{"href":"https://github.com/execom-eu/building_manager/pull/4#discussion_r181406405"},"pull_request":{"href":"https://api.github.com/repos/execom-eu/building_manager/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/execom-eu/building_manager/pulls/4","id":180940110,"html_url":"https://github.com/execom-eu/building_manager/pull/4","diff_url":"https://github.com/execom-eu/building_manager/pull/4.diff","patch_url":"https://github.com/execom-eu/building_manager/pull/4.patch","issue_url":"https://api.github.com/repos/execom-eu/building_manager/issues/4","number":4,"state":"open","locked":false,"title":"Mbarjaktarovic domain creation","user":{"login":"MBarjaktarovic","id":36847890,"avatar_url":"https://avatars1.githubusercontent.com/u/36847890?v=4","gravatar_id":"","url":"https://api.github.com/users/MBarjaktarovic","html_url":"https://github.com/MBarjaktarovic","followers_url":"https://api.github.com/users/MBarjaktarovic/followers","following_url":"https://api.github.com/users/MBarjaktarovic/following{/other_user}","gists_url":"https://api.github.com/users/MBarjaktarovic/gists{/gist_id}","starred_url":"https://api.github.com/users/MBarjaktarovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MBarjaktarovic/subscriptions","organizations_url":"https://api.github.com/users/MBarjaktarovic/orgs","repos_url":"https://api.github.com/users/MBarjaktarovic/repos","events_url":"https://api.github.com/users/MBarjaktarovic/events{/privacy}","received_events_url":"https://api.github.com/users/MBarjaktarovic/received_events","type":"User","site_admin":false},"body":"Added the following aggregates and their appropriate unit tests: Apartment, Building, BuildingManager, Conversation, Issue, Tenant.\r\nAdded an abstract class, User, which is extended by BuildingManager and Tenant.\r\nAdded BuildingManagerController and TenantController.","created_at":"2018-04-11T15:20:37Z","updated_at":"2018-04-13T14:33:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"Varadski","id":36164099,"avatar_url":"https://avatars0.githubusercontent.com/u/36164099?v=4","gravatar_id":"","url":"https://api.github.com/users/Varadski","html_url":"https://github.com/Varadski","followers_url":"https://api.github.com/users/Varadski/followers","following_url":"https://api.github.com/users/Varadski/following{/other_user}","gists_url":"https://api.github.com/users/Varadski/gists{/gist_id}","starred_url":"https://api.github.com/users/Varadski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Varadski/subscriptions","organizations_url":"https://api.github.com/users/Varadski/orgs","repos_url":"https://api.github.com/users/Varadski/repos","events_url":"https://api.github.com/users/Varadski/events{/privacy}","received_events_url":"https://api.github.com/users/Varadski/received_events","type":"User","site_admin":false},"assignees":[{"login":"Varadski","id":36164099,"avatar_url":"https://avatars0.githubusercontent.com/u/36164099?v=4","gravatar_id":"","url":"https://api.github.com/users/Varadski","html_url":"https://github.com/Varadski","followers_url":"https://api.github.com/users/Varadski/followers","following_url":"https://api.github.com/users/Varadski/following{/other_user}","gists_url":"https://api.github.com/users/Varadski/gists{/gist_id}","starred_url":"https://api.github.com/users/Varadski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Varadski/subscriptions","organizations_url":"https://api.github.com/users/Varadski/orgs","repos_url":"https://api.github.com/users/Varadski/repos","events_url":"https://api.github.com/users/Varadski/events{/privacy}","received_events_url":"https://api.github.com/users/Varadski/received_events","type":"User","site_admin":false},{"login":"MBarjaktarovic","id":36847890,"avatar_url":"https://avatars1.githubusercontent.com/u/36847890?v=4","gravatar_id":"","url":"https://api.github.com/users/MBarjaktarovic","html_url":"https://github.com/MBarjaktarovic","followers_url":"https://api.github.com/users/MBarjaktarovic/followers","following_url":"https://api.github.com/users/MBarjaktarovic/following{/other_user}","gists_url":"https://api.github.com/users/MBarjaktarovic/gists{/gist_id}","starred_url":"https://api.github.com/users/MBarjaktarovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MBarjaktarovic/subscriptions","organizations_url":"https://api.github.com/users/MBarjaktarovic/orgs","repos_url":"https://api.github.com/users/MBarjaktarovic/repos","events_url":"https://api.github.com/users/MBarjaktarovic/events{/privacy}","received_events_url":"https://api.github.com/users/MBarjaktarovic/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/execom-eu/building_manager/pulls/4/commits","review_comments_url":"https://api.github.com/repos/execom-eu/building_manager/pulls/4/comments","review_comment_url":"https://api.github.com/repos/execom-eu/building_manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/execom-eu/building_manager/issues/4/comments","statuses_url":"https://api.github.com/repos/execom-eu/building_manager/statuses/1c68b4be8848f40e663fb371e6fe7a38f1f22714","head":{"label":"execom-eu:mbarjaktarovic-domain-creation","ref":"mbarjaktarovic-domain-creation","sha":"1c68b4be8848f40e663fb371e6fe7a38f1f22714","user":{"login":"execom-eu","id":5187957,"avatar_url":"https://avatars2.githubusercontent.com/u/5187957?v=4","gravatar_id":"","url":"https://api.github.com/users/execom-eu","html_url":"https://github.com/execom-eu","followers_url":"https://api.github.com/users/execom-eu/followers","following_url":"https://api.github.com/users/execom-eu/following{/other_user}","gists_url":"https://api.github.com/users/execom-eu/gists{/gist_id}","starred_url":"https://api.github.com/users/execom-eu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/execom-eu/subscriptions","organizations_url":"https://api.github.com/users/execom-eu/orgs","repos_url":"https://api.github.com/users/execom-eu/repos","events_url":"https://api.github.com/users/execom-eu/events{/privacy}","received_events_url":"https://api.github.com/users/execom-eu/received_events","type":"Organization","site_admin":false},"repo":{"id":126960872,"name":"building_manager","full_name":"execom-eu/building_manager","owner":{"login":"execom-eu","id":5187957,"avatar_url":"https://avatars2.githubusercontent.com/u/5187957?v=4","gravatar_id":"","url":"https://api.github.com/users/execom-eu","html_url":"https://github.com/execom-eu","followers_url":"https://api.github.com/users/execom-eu/followers","following_url":"https://api.github.com/users/execom-eu/following{/other_user}","gists_url":"https://api.github.com/users/execom-eu/gists{/gist_id}","starred_url":"https://api.github.com/users/execom-eu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/execom-eu/subscriptions","organizations_url":"https://api.github.com/users/execom-eu/orgs","repos_url":"https://api.github.com/users/execom-eu/repos","events_url":"https://api.github.com/users/execom-eu/events{/privacy}","received_events_url":"https://api.github.com/users/execom-eu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/execom-eu/building_manager","description":null,"fork":false,"url":"https://api.github.com/repos/execom-eu/building_manager","forks_url":"https://api.github.com/repos/execom-eu/building_manager/forks","keys_url":"https://api.github.com/repos/execom-eu/building_manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/execom-eu/building_manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/execom-eu/building_manager/teams","hooks_url":"https://api.github.com/repos/execom-eu/building_manager/hooks","issue_events_url":"https://api.github.com/repos/execom-eu/building_manager/issues/events{/number}","events_url":"https://api.github.com/repos/execom-eu/building_manager/events","assignees_url":"https://api.github.com/repos/execom-eu/building_manager/assignees{/user}","branches_url":"https://api.github.com/repos/execom-eu/building_manager/branches{/branch}","tags_url":"https://api.github.com/repos/execom-eu/building_manager/tags","blobs_url":"https://api.github.com/repos/execom-eu/building_manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/execom-eu/building_manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/execom-eu/building_manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/execom-eu/building_manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/execom-eu/building_manager/statuses/{sha}","languages_url":"https://api.github.com/repos/execom-eu/building_manager/languages","stargazers_url":"https://api.github.com/repos/execom-eu/building_manager/stargazers","contributors_url":"https://api.github.com/repos/execom-eu/building_manager/contributors","subscribers_url":"https://api.github.com/repos/execom-eu/building_manager/subscribers","subscription_url":"https://api.github.com/repos/execom-eu/building_manager/subscription","commits_url":"https://api.github.com/repos/execom-eu/building_manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/execom-eu/building_manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/execom-eu/building_manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/execom-eu/building_manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/execom-eu/building_manager/contents/{+path}","compare_url":"https://api.github.com/repos/execom-eu/building_manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/execom-eu/building_manager/merges","archive_url":"https://api.github.com/repos/execom-eu/building_manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/execom-eu/building_manager/downloads","issues_url":"https://api.github.com/repos/execom-eu/building_manager/issues{/number}","pulls_url":"https://api.github.com/repos/execom-eu/building_manager/pulls{/number}","milestones_url":"https://api.github.com/repos/execom-eu/building_manager/milestones{/number}","notifications_url":"https://api.github.com/repos/execom-eu/building_manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/execom-eu/building_manager/labels{/name}","releases_url":"https://api.github.com/repos/execom-eu/building_manager/releases{/id}","deployments_url":"https://api.github.com/repos/execom-eu/building_manager/deployments","created_at":"2018-03-27T09:18:02Z","updated_at":"2018-04-03T11:23:06Z","pushed_at":"2018-04-13T14:32:30Z","git_url":"git://github.com/execom-eu/building_manager.git","ssh_url":"git@github.com:execom-eu/building_manager.git","clone_url":"https://github.com/execom-eu/building_manager.git","svn_url":"https://github.com/execom-eu/building_manager","homepage":null,"size":224,"stargazers_count":0,"watchers_count":0,"language":null,"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":18,"license":null,"forks":0,"open_issues":18,"watchers":0,"default_branch":"develop"}},"base":{"label":"execom-eu:develop","ref":"develop","sha":"74dd52fada62c6a980611347bd42ca3ed6f32a2f","user":{"login":"execom-eu","id":5187957,"avatar_url":"https://avatars2.githubusercontent.com/u/5187957?v=4","gravatar_id":"","url":"https://api.github.com/users/execom-eu","html_url":"https://github.com/execom-eu","followers_url":"https://api.github.com/users/execom-eu/followers","following_url":"https://api.github.com/users/execom-eu/following{/other_user}","gists_url":"https://api.github.com/users/execom-eu/gists{/gist_id}","starred_url":"https://api.github.com/users/execom-eu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/execom-eu/subscriptions","organizations_url":"https://api.github.com/users/execom-eu/orgs","repos_url":"https://api.github.com/users/execom-eu/repos","events_url":"https://api.github.com/users/execom-eu/events{/privacy}","received_events_url":"https://api.github.com/users/execom-eu/received_events","type":"Organization","site_admin":false},"repo":{"id":126960872,"name":"building_manager","full_name":"execom-eu/building_manager","owner":{"login":"execom-eu","id":5187957,"avatar_url":"https://avatars2.githubusercontent.com/u/5187957?v=4","gravatar_id":"","url":"https://api.github.com/users/execom-eu","html_url":"https://github.com/execom-eu","followers_url":"https://api.github.com/users/execom-eu/followers","following_url":"https://api.github.com/users/execom-eu/following{/other_user}","gists_url":"https://api.github.com/users/execom-eu/gists{/gist_id}","starred_url":"https://api.github.com/users/execom-eu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/execom-eu/subscriptions","organizations_url":"https://api.github.com/users/execom-eu/orgs","repos_url":"https://api.github.com/users/execom-eu/repos","events_url":"https://api.github.com/users/execom-eu/events{/privacy}","received_events_url":"https://api.github.com/users/execom-eu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/execom-eu/building_manager","description":null,"fork":false,"url":"https://api.github.com/repos/execom-eu/building_manager","forks_url":"https://api.github.com/repos/execom-eu/building_manager/forks","keys_url":"https://api.github.com/repos/execom-eu/building_manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/execom-eu/building_manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/execom-eu/building_manager/teams","hooks_url":"https://api.github.com/repos/execom-eu/building_manager/hooks","issue_events_url":"https://api.github.com/repos/execom-eu/building_manager/issues/events{/number}","events_url":"https://api.github.com/repos/execom-eu/building_manager/events","assignees_url":"https://api.github.com/repos/execom-eu/building_manager/assignees{/user}","branches_url":"https://api.github.com/repos/execom-eu/building_manager/branches{/branch}","tags_url":"https://api.github.com/repos/execom-eu/building_manager/tags","blobs_url":"https://api.github.com/repos/execom-eu/building_manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/execom-eu/building_manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/execom-eu/building_manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/execom-eu/building_manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/execom-eu/building_manager/statuses/{sha}","languages_url":"https://api.github.com/repos/execom-eu/building_manager/languages","stargazers_url":"https://api.github.com/repos/execom-eu/building_manager/stargazers","contributors_url":"https://api.github.com/repos/execom-eu/building_manager/contributors","subscribers_url":"https://api.github.com/repos/execom-eu/building_manager/subscribers","subscription_url":"https://api.github.com/repos/execom-eu/building_manager/subscription","commits_url":"https://api.github.com/repos/execom-eu/building_manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/execom-eu/building_manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/execom-eu/building_manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/execom-eu/building_manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/execom-eu/building_manager/contents/{+path}","compare_url":"https://api.github.com/repos/execom-eu/building_manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/execom-eu/building_manager/merges","archive_url":"https://api.github.com/repos/execom-eu/building_manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/execom-eu/building_manager/downloads","issues_url":"https://api.github.com/repos/execom-eu/building_manager/issues{/number}","pulls_url":"https://api.github.com/repos/execom-eu/building_manager/pulls{/number}","milestones_url":"https://api.github.com/repos/execom-eu/building_manager/milestones{/number}","notifications_url":"https://api.github.com/repos/execom-eu/building_manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/execom-eu/building_manager/labels{/name}","releases_url":"https://api.github.com/repos/execom-eu/building_manager/releases{/id}","deployments_url":"https://api.github.com/repos/execom-eu/building_manager/deployments","created_at":"2018-03-27T09:18:02Z","updated_at":"2018-04-03T11:23:06Z","pushed_at":"2018-04-13T14:32:30Z","git_url":"git://github.com/execom-eu/building_manager.git","ssh_url":"git@github.com:execom-eu/building_manager.git","clone_url":"https://github.com/execom-eu/building_manager.git","svn_url":"https://github.com/execom-eu/building_manager","homepage":null,"size":224,"stargazers_count":0,"watchers_count":0,"language":null,"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":18,"license":null,"forks":0,"open_issues":18,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/execom-eu/building_manager/pulls/4"},"html":{"href":"https://github.com/execom-eu/building_manager/pull/4"},"issue":{"href":"https://api.github.com/repos/execom-eu/building_manager/issues/4"},"comments":{"href":"https://api.github.com/repos/execom-eu/building_manager/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/execom-eu/building_manager/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/execom-eu/building_manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/execom-eu/building_manager/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/execom-eu/building_manager/statuses/1c68b4be8848f40e663fb371e6fe7a38f1f22714"}},"author_association":"NONE"}}
{"actor":{"display_login":"stanislavgrujic"}}