{"action":"opened","number":243,"pull_request":{"url":"https://api.github.com/repos/codenvy/che-core/pulls/243","id":44541847,"html_url":"https://github.com/codenvy/che-core/pull/243","diff_url":"https://github.com/codenvy/che-core/pull/243.diff","patch_url":"https://github.com/codenvy/che-core/pull/243.patch","issue_url":"https://api.github.com/repos/codenvy/che-core/issues/243","number":243,"state":"open","locked":false,"title":"Use \"mixins\" instead of \"mixinTypes\" in ProjectUpdate JSONs","user":{"login":"tareqhs","id":196764,"avatar_url":"https://avatars.githubusercontent.com/u/196764?v=3","gravatar_id":"","url":"https://api.github.com/users/tareqhs","html_url":"https://github.com/tareqhs","followers_url":"https://api.github.com/users/tareqhs/followers","following_url":"https://api.github.com/users/tareqhs/following{/other_user}","gists_url":"https://api.github.com/users/tareqhs/gists{/gist_id}","starred_url":"https://api.github.com/users/tareqhs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tareqhs/subscriptions","organizations_url":"https://api.github.com/users/tareqhs/orgs","repos_url":"https://api.github.com/users/tareqhs/repos","events_url":"https://api.github.com/users/tareqhs/events{/privacy}","received_events_url":"https://api.github.com/users/tareqhs/received_events","type":"User","site_admin":false},"body":"this makes the field similar to ProjectDescriptor from the client's POV\r\n\r\ncurrently the project service to uses NewProject and UpdateProejct in the service method that create and update projects, respectively. These DTOs contains the list of mix-in project types in \"mixinTypes\" field. This is different from ProjectDescriptor DTO which is returned by the service methods that return project metadata, including two service method mentioned earlier, which has a field named \"mixins\". This leads to confusions and workarounds by the API consumers as they pass project configurations back and forth.\r\n\r\nChange-Id: I151e6f17499c4003ed7e17c7646f5b5f8f3ee090\r\nSigned-off-by: Tareq Sharafy <tareq.sharafy@sap.com>","created_at":"2015-09-09T12:10:39Z","updated_at":"2015-09-09T12:10:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codenvy/che-core/pulls/243/commits","review_comments_url":"https://api.github.com/repos/codenvy/che-core/pulls/243/comments","review_comment_url":"https://api.github.com/repos/codenvy/che-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codenvy/che-core/issues/243/comments","statuses_url":"https://api.github.com/repos/codenvy/che-core/statuses/a2f1f76ae3f30f41eed78f253ec21d8562b58132","head":{"label":"tareqhs:mixins_in_ProjectUpdate","ref":"mixins_in_ProjectUpdate","sha":"a2f1f76ae3f30f41eed78f253ec21d8562b58132","user":{"login":"tareqhs","id":196764,"avatar_url":"https://avatars.githubusercontent.com/u/196764?v=3","gravatar_id":"","url":"https://api.github.com/users/tareqhs","html_url":"https://github.com/tareqhs","followers_url":"https://api.github.com/users/tareqhs/followers","following_url":"https://api.github.com/users/tareqhs/following{/other_user}","gists_url":"https://api.github.com/users/tareqhs/gists{/gist_id}","starred_url":"https://api.github.com/users/tareqhs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tareqhs/subscriptions","organizations_url":"https://api.github.com/users/tareqhs/orgs","repos_url":"https://api.github.com/users/tareqhs/repos","events_url":"https://api.github.com/users/tareqhs/events{/privacy}","received_events_url":"https://api.github.com/users/tareqhs/received_events","type":"User","site_admin":false},"repo":{"id":36723909,"name":"che-core","full_name":"tareqhs/che-core","owner":{"login":"tareqhs","id":196764,"avatar_url":"https://avatars.githubusercontent.com/u/196764?v=3","gravatar_id":"","url":"https://api.github.com/users/tareqhs","html_url":"https://github.com/tareqhs","followers_url":"https://api.github.com/users/tareqhs/followers","following_url":"https://api.github.com/users/tareqhs/following{/other_user}","gists_url":"https://api.github.com/users/tareqhs/gists{/gist_id}","starred_url":"https://api.github.com/users/tareqhs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tareqhs/subscriptions","organizations_url":"https://api.github.com/users/tareqhs/orgs","repos_url":"https://api.github.com/users/tareqhs/repos","events_url":"https://api.github.com/users/tareqhs/events{/privacy}","received_events_url":"https://api.github.com/users/tareqhs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tareqhs/che-core","description":"Core for che","fork":true,"url":"https://api.github.com/repos/tareqhs/che-core","forks_url":"https://api.github.com/repos/tareqhs/che-core/forks","keys_url":"https://api.github.com/repos/tareqhs/che-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tareqhs/che-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tareqhs/che-core/teams","hooks_url":"https://api.github.com/repos/tareqhs/che-core/hooks","issue_events_url":"https://api.github.com/repos/tareqhs/che-core/issues/events{/number}","events_url":"https://api.github.com/repos/tareqhs/che-core/events","assignees_url":"https://api.github.com/repos/tareqhs/che-core/assignees{/user}","branches_url":"https://api.github.com/repos/tareqhs/che-core/branches{/branch}","tags_url":"https://api.github.com/repos/tareqhs/che-core/tags","blobs_url":"https://api.github.com/repos/tareqhs/che-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tareqhs/che-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tareqhs/che-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/tareqhs/che-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tareqhs/che-core/statuses/{sha}","languages_url":"https://api.github.com/repos/tareqhs/che-core/languages","stargazers_url":"https://api.github.com/repos/tareqhs/che-core/stargazers","contributors_url":"https://api.github.com/repos/tareqhs/che-core/contributors","subscribers_url":"https://api.github.com/repos/tareqhs/che-core/subscribers","subscription_url":"https://api.github.com/repos/tareqhs/che-core/subscription","commits_url":"https://api.github.com/repos/tareqhs/che-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/tareqhs/che-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/tareqhs/che-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/tareqhs/che-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/tareqhs/che-core/contents/{+path}","compare_url":"https://api.github.com/repos/tareqhs/che-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tareqhs/che-core/merges","archive_url":"https://api.github.com/repos/tareqhs/che-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tareqhs/che-core/downloads","issues_url":"https://api.github.com/repos/tareqhs/che-core/issues{/number}","pulls_url":"https://api.github.com/repos/tareqhs/che-core/pulls{/number}","milestones_url":"https://api.github.com/repos/tareqhs/che-core/milestones{/number}","notifications_url":"https://api.github.com/repos/tareqhs/che-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tareqhs/che-core/labels{/name}","releases_url":"https://api.github.com/repos/tareqhs/che-core/releases{/id}","created_at":"2015-06-02T09:50:30Z","updated_at":"2015-06-02T09:50:35Z","pushed_at":"2015-09-09T12:05:06Z","git_url":"git://github.com/tareqhs/che-core.git","ssh_url":"git@github.com:tareqhs/che-core.git","clone_url":"https://github.com/tareqhs/che-core.git","svn_url":"https://github.com/tareqhs/che-core","homepage":null,"size":4337,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"codenvy:master","ref":"master","sha":"72a93b9db8760a2587f33e5fb1a02537d3ad9897","user":{"login":"codenvy","id":2736247,"avatar_url":"https://avatars.githubusercontent.com/u/2736247?v=3","gravatar_id":"","url":"https://api.github.com/users/codenvy","html_url":"https://github.com/codenvy","followers_url":"https://api.github.com/users/codenvy/followers","following_url":"https://api.github.com/users/codenvy/following{/other_user}","gists_url":"https://api.github.com/users/codenvy/gists{/gist_id}","starred_url":"https://api.github.com/users/codenvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenvy/subscriptions","organizations_url":"https://api.github.com/users/codenvy/orgs","repos_url":"https://api.github.com/users/codenvy/repos","events_url":"https://api.github.com/users/codenvy/events{/privacy}","received_events_url":"https://api.github.com/users/codenvy/received_events","type":"Organization","site_admin":false},"repo":{"id":32935706,"name":"che-core","full_name":"codenvy/che-core","owner":{"login":"codenvy","id":2736247,"avatar_url":"https://avatars.githubusercontent.com/u/2736247?v=3","gravatar_id":"","url":"https://api.github.com/users/codenvy","html_url":"https://github.com/codenvy","followers_url":"https://api.github.com/users/codenvy/followers","following_url":"https://api.github.com/users/codenvy/following{/other_user}","gists_url":"https://api.github.com/users/codenvy/gists{/gist_id}","starred_url":"https://api.github.com/users/codenvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenvy/subscriptions","organizations_url":"https://api.github.com/users/codenvy/orgs","repos_url":"https://api.github.com/users/codenvy/repos","events_url":"https://api.github.com/users/codenvy/events{/privacy}","received_events_url":"https://api.github.com/users/codenvy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codenvy/che-core","description":"Core for che","fork":false,"url":"https://api.github.com/repos/codenvy/che-core","forks_url":"https://api.github.com/repos/codenvy/che-core/forks","keys_url":"https://api.github.com/repos/codenvy/che-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codenvy/che-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codenvy/che-core/teams","hooks_url":"https://api.github.com/repos/codenvy/che-core/hooks","issue_events_url":"https://api.github.com/repos/codenvy/che-core/issues/events{/number}","events_url":"https://api.github.com/repos/codenvy/che-core/events","assignees_url":"https://api.github.com/repos/codenvy/che-core/assignees{/user}","branches_url":"https://api.github.com/repos/codenvy/che-core/branches{/branch}","tags_url":"https://api.github.com/repos/codenvy/che-core/tags","blobs_url":"https://api.github.com/repos/codenvy/che-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codenvy/che-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codenvy/che-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/codenvy/che-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codenvy/che-core/statuses/{sha}","languages_url":"https://api.github.com/repos/codenvy/che-core/languages","stargazers_url":"https://api.github.com/repos/codenvy/che-core/stargazers","contributors_url":"https://api.github.com/repos/codenvy/che-core/contributors","subscribers_url":"https://api.github.com/repos/codenvy/che-core/subscribers","subscription_url":"https://api.github.com/repos/codenvy/che-core/subscription","commits_url":"https://api.github.com/repos/codenvy/che-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/codenvy/che-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/codenvy/che-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/codenvy/che-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/codenvy/che-core/contents/{+path}","compare_url":"https://api.github.com/repos/codenvy/che-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codenvy/che-core/merges","archive_url":"https://api.github.com/repos/codenvy/che-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codenvy/che-core/downloads","issues_url":"https://api.github.com/repos/codenvy/che-core/issues{/number}","pulls_url":"https://api.github.com/repos/codenvy/che-core/pulls{/number}","milestones_url":"https://api.github.com/repos/codenvy/che-core/milestones{/number}","notifications_url":"https://api.github.com/repos/codenvy/che-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codenvy/che-core/labels{/name}","releases_url":"https://api.github.com/repos/codenvy/che-core/releases{/id}","created_at":"2015-03-26T15:30:10Z","updated_at":"2015-09-09T08:53:01Z","pushed_at":"2015-09-09T12:10:40Z","git_url":"git://github.com/codenvy/che-core.git","ssh_url":"git@github.com:codenvy/che-core.git","clone_url":"https://github.com/codenvy/che-core.git","svn_url":"https://github.com/codenvy/che-core","homepage":null,"size":10193,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":8,"forks":19,"open_issues":8,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codenvy/che-core/pulls/243"},"html":{"href":"https://github.com/codenvy/che-core/pull/243"},"issue":{"href":"https://api.github.com/repos/codenvy/che-core/issues/243"},"comments":{"href":"https://api.github.com/repos/codenvy/che-core/issues/243/comments"},"review_comments":{"href":"https://api.github.com/repos/codenvy/che-core/pulls/243/comments"},"review_comment":{"href":"https://api.github.com/repos/codenvy/che-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codenvy/che-core/pulls/243/commits"},"statuses":{"href":"https://api.github.com/repos/codenvy/che-core/statuses/a2f1f76ae3f30f41eed78f253ec21d8562b58132"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":8,"changed_files":5}}