{"action":"created","comment":{"url":"https://api.github.com/repos/LearnPAd/learnpad/pulls/comments/35756477","id":35756477,"diff_hunk":"@@ -0,0 +1,74 @@\n+/*\n+ * See the NOTICE file distributed with this work for additional\n+ * information regarding copyright ownership.\n+ *\n+ * This is free software; you can redistribute it and/or modify it\n+ * under the terms of the GNU Lesser General Public License as\n+ * published by the Free Software Foundation; either version 2.1 of\n+ * the License, or (at your option) any later version.\n+ *\n+ * This software is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n+ * Lesser General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Lesser General Public\n+ * License along with this software; if not, write to the Free\n+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n+ */\n+package eu.learnpad.gm.rest.certif;\n+\n+import java.util.Set;\n+\n+import javax.ws.rs.Consumes;\n+import javax.ws.rs.GET;\n+import javax.ws.rs.POST;\n+import javax.ws.rs.Path;\n+import javax.ws.rs.PathParam;\n+import javax.ws.rs.Produces;\n+import javax.ws.rs.core.MediaType;\n+\n+import eu.learnpad.gm.rest.certif.data.CertificateDefinitionData;\n+\n+/**\n+ *\n+ * @author Tom Jorquera - Linagora\n+ *\n+ */\n+@Consumes(MediaType.APPLICATION_JSON)\n+@Produces(MediaType.APPLICATION_JSON)\n+@Path(\"/gamification\")\n+public interface ICertificateDefinitionStorage {","path":"lp-core-platform/lp-cp-apis/src/main/java/eu/learnpad/gm/rest/certif/ICertificateDefinitionStorage.java","position":42,"original_position":42,"commit_id":"5d4a9e65937f52ffffc66149a542f6507a26ca65","original_commit_id":"5d4a9e65937f52ffffc66149a542f6507a26ca65","user":{"login":"woshilapin","id":2520723,"avatar_url":"https://avatars.githubusercontent.com/u/2520723?v=3","gravatar_id":"","url":"https://api.github.com/users/woshilapin","html_url":"https://github.com/woshilapin","followers_url":"https://api.github.com/users/woshilapin/followers","following_url":"https://api.github.com/users/woshilapin/following{/other_user}","gists_url":"https://api.github.com/users/woshilapin/gists{/gist_id}","starred_url":"https://api.github.com/users/woshilapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woshilapin/subscriptions","organizations_url":"https://api.github.com/users/woshilapin/orgs","repos_url":"https://api.github.com/users/woshilapin/repos","events_url":"https://api.github.com/users/woshilapin/events{/privacy}","received_events_url":"https://api.github.com/users/woshilapin/received_events","type":"User","site_admin":false},"body":"OK, I understand what is the purpose of this new interface but this has a lot of implications on the workflow.  It means that Modeling Tools should provide a GUI to create/define these certificates outside the already existing modeling tools.  Have you contacted Nesat and Jovaldas about that topic.  Are Andrea and @gulyx OK with that?","created_at":"2015-07-29T13:12:30Z","updated_at":"2015-07-29T13:12:30Z","html_url":"https://github.com/LearnPAd/learnpad/pull/74#discussion_r35756477","pull_request_url":"https://api.github.com/repos/LearnPAd/learnpad/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/LearnPAd/learnpad/pulls/comments/35756477"},"html":{"href":"https://github.com/LearnPAd/learnpad/pull/74#discussion_r35756477"},"pull_request":{"href":"https://api.github.com/repos/LearnPAd/learnpad/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/LearnPAd/learnpad/pulls/74","id":40752883,"html_url":"https://github.com/LearnPAd/learnpad/pull/74","diff_url":"https://github.com/LearnPAd/learnpad/pull/74.diff","patch_url":"https://github.com/LearnPAd/learnpad/pull/74.patch","issue_url":"https://api.github.com/repos/LearnPAd/learnpad/issues/74","number":74,"state":"open","locked":false,"title":"Gamification API proposal","user":{"login":"tomjorquera","id":4150873,"avatar_url":"https://avatars.githubusercontent.com/u/4150873?v=3","gravatar_id":"","url":"https://api.github.com/users/tomjorquera","html_url":"https://github.com/tomjorquera","followers_url":"https://api.github.com/users/tomjorquera/followers","following_url":"https://api.github.com/users/tomjorquera/following{/other_user}","gists_url":"https://api.github.com/users/tomjorquera/gists{/gist_id}","starred_url":"https://api.github.com/users/tomjorquera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomjorquera/subscriptions","organizations_url":"https://api.github.com/users/tomjorquera/orgs","repos_url":"https://api.github.com/users/tomjorquera/repos","events_url":"https://api.github.com/users/tomjorquera/events{/privacy}","received_events_url":"https://api.github.com/users/tomjorquera/received_events","type":"User","site_admin":false},"body":"This is a proposal for introducing gamification aspects in the platform.\r\n\r\nRefer to the [proposal document](https://docs.google.com/document/d/1a_UrtkrEADlVXw8OJNTc3traXrTiX8eNGRa_FiAztVw/) for details and rationale about the proposal.","created_at":"2015-07-24T08:27:11Z","updated_at":"2015-07-29T13:12:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d712b360296027706b0f60970dde98a4990a3a35","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LearnPAd/learnpad/pulls/74/commits","review_comments_url":"https://api.github.com/repos/LearnPAd/learnpad/pulls/74/comments","review_comment_url":"https://api.github.com/repos/LearnPAd/learnpad/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LearnPAd/learnpad/issues/74/comments","statuses_url":"https://api.github.com/repos/LearnPAd/learnpad/statuses/5d4a9e65937f52ffffc66149a542f6507a26ca65","head":{"label":"tomjorquera:gamification","ref":"gamification","sha":"5d4a9e65937f52ffffc66149a542f6507a26ca65","user":{"login":"tomjorquera","id":4150873,"avatar_url":"https://avatars.githubusercontent.com/u/4150873?v=3","gravatar_id":"","url":"https://api.github.com/users/tomjorquera","html_url":"https://github.com/tomjorquera","followers_url":"https://api.github.com/users/tomjorquera/followers","following_url":"https://api.github.com/users/tomjorquera/following{/other_user}","gists_url":"https://api.github.com/users/tomjorquera/gists{/gist_id}","starred_url":"https://api.github.com/users/tomjorquera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomjorquera/subscriptions","organizations_url":"https://api.github.com/users/tomjorquera/orgs","repos_url":"https://api.github.com/users/tomjorquera/repos","events_url":"https://api.github.com/users/tomjorquera/events{/privacy}","received_events_url":"https://api.github.com/users/tomjorquera/received_events","type":"User","site_admin":false},"repo":{"id":37070729,"name":"learnpad","full_name":"tomjorquera/learnpad","owner":{"login":"tomjorquera","id":4150873,"avatar_url":"https://avatars.githubusercontent.com/u/4150873?v=3","gravatar_id":"","url":"https://api.github.com/users/tomjorquera","html_url":"https://github.com/tomjorquera","followers_url":"https://api.github.com/users/tomjorquera/followers","following_url":"https://api.github.com/users/tomjorquera/following{/other_user}","gists_url":"https://api.github.com/users/tomjorquera/gists{/gist_id}","starred_url":"https://api.github.com/users/tomjorquera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomjorquera/subscriptions","organizations_url":"https://api.github.com/users/tomjorquera/orgs","repos_url":"https://api.github.com/users/tomjorquera/repos","events_url":"https://api.github.com/users/tomjorquera/events{/privacy}","received_events_url":"https://api.github.com/users/tomjorquera/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomjorquera/learnpad","description":"Learn PAd project","fork":true,"url":"https://api.github.com/repos/tomjorquera/learnpad","forks_url":"https://api.github.com/repos/tomjorquera/learnpad/forks","keys_url":"https://api.github.com/repos/tomjorquera/learnpad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomjorquera/learnpad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomjorquera/learnpad/teams","hooks_url":"https://api.github.com/repos/tomjorquera/learnpad/hooks","issue_events_url":"https://api.github.com/repos/tomjorquera/learnpad/issues/events{/number}","events_url":"https://api.github.com/repos/tomjorquera/learnpad/events","assignees_url":"https://api.github.com/repos/tomjorquera/learnpad/assignees{/user}","branches_url":"https://api.github.com/repos/tomjorquera/learnpad/branches{/branch}","tags_url":"https://api.github.com/repos/tomjorquera/learnpad/tags","blobs_url":"https://api.github.com/repos/tomjorquera/learnpad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomjorquera/learnpad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomjorquera/learnpad/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomjorquera/learnpad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomjorquera/learnpad/statuses/{sha}","languages_url":"https://api.github.com/repos/tomjorquera/learnpad/languages","stargazers_url":"https://api.github.com/repos/tomjorquera/learnpad/stargazers","contributors_url":"https://api.github.com/repos/tomjorquera/learnpad/contributors","subscribers_url":"https://api.github.com/repos/tomjorquera/learnpad/subscribers","subscription_url":"https://api.github.com/repos/tomjorquera/learnpad/subscription","commits_url":"https://api.github.com/repos/tomjorquera/learnpad/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomjorquera/learnpad/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomjorquera/learnpad/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomjorquera/learnpad/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomjorquera/learnpad/contents/{+path}","compare_url":"https://api.github.com/repos/tomjorquera/learnpad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomjorquera/learnpad/merges","archive_url":"https://api.github.com/repos/tomjorquera/learnpad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomjorquera/learnpad/downloads","issues_url":"https://api.github.com/repos/tomjorquera/learnpad/issues{/number}","pulls_url":"https://api.github.com/repos/tomjorquera/learnpad/pulls{/number}","milestones_url":"https://api.github.com/repos/tomjorquera/learnpad/milestones{/number}","notifications_url":"https://api.github.com/repos/tomjorquera/learnpad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomjorquera/learnpad/labels{/name}","releases_url":"https://api.github.com/repos/tomjorquera/learnpad/releases{/id}","created_at":"2015-06-08T14:09:00Z","updated_at":"2015-06-08T14:09:00Z","pushed_at":"2015-07-28T12:44:47Z","git_url":"git://github.com/tomjorquera/learnpad.git","ssh_url":"git@github.com:tomjorquera/learnpad.git","clone_url":"https://github.com/tomjorquera/learnpad.git","svn_url":"https://github.com/tomjorquera/learnpad","homepage":"http://www.learnpad.eu/","size":10968,"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":"LearnPAd:master","ref":"master","sha":"68c7a1841d3ef4dea072f8ff0fe1c635f358972d","user":{"login":"LearnPAd","id":8384746,"avatar_url":"https://avatars.githubusercontent.com/u/8384746?v=3","gravatar_id":"","url":"https://api.github.com/users/LearnPAd","html_url":"https://github.com/LearnPAd","followers_url":"https://api.github.com/users/LearnPAd/followers","following_url":"https://api.github.com/users/LearnPAd/following{/other_user}","gists_url":"https://api.github.com/users/LearnPAd/gists{/gist_id}","starred_url":"https://api.github.com/users/LearnPAd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LearnPAd/subscriptions","organizations_url":"https://api.github.com/users/LearnPAd/orgs","repos_url":"https://api.github.com/users/LearnPAd/repos","events_url":"https://api.github.com/users/LearnPAd/events{/privacy}","received_events_url":"https://api.github.com/users/LearnPAd/received_events","type":"Organization","site_admin":false},"repo":{"id":22754193,"name":"learnpad","full_name":"LearnPAd/learnpad","owner":{"login":"LearnPAd","id":8384746,"avatar_url":"https://avatars.githubusercontent.com/u/8384746?v=3","gravatar_id":"","url":"https://api.github.com/users/LearnPAd","html_url":"https://github.com/LearnPAd","followers_url":"https://api.github.com/users/LearnPAd/followers","following_url":"https://api.github.com/users/LearnPAd/following{/other_user}","gists_url":"https://api.github.com/users/LearnPAd/gists{/gist_id}","starred_url":"https://api.github.com/users/LearnPAd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LearnPAd/subscriptions","organizations_url":"https://api.github.com/users/LearnPAd/orgs","repos_url":"https://api.github.com/users/LearnPAd/repos","events_url":"https://api.github.com/users/LearnPAd/events{/privacy}","received_events_url":"https://api.github.com/users/LearnPAd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LearnPAd/learnpad","description":"Learn PAd project","fork":false,"url":"https://api.github.com/repos/LearnPAd/learnpad","forks_url":"https://api.github.com/repos/LearnPAd/learnpad/forks","keys_url":"https://api.github.com/repos/LearnPAd/learnpad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LearnPAd/learnpad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LearnPAd/learnpad/teams","hooks_url":"https://api.github.com/repos/LearnPAd/learnpad/hooks","issue_events_url":"https://api.github.com/repos/LearnPAd/learnpad/issues/events{/number}","events_url":"https://api.github.com/repos/LearnPAd/learnpad/events","assignees_url":"https://api.github.com/repos/LearnPAd/learnpad/assignees{/user}","branches_url":"https://api.github.com/repos/LearnPAd/learnpad/branches{/branch}","tags_url":"https://api.github.com/repos/LearnPAd/learnpad/tags","blobs_url":"https://api.github.com/repos/LearnPAd/learnpad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LearnPAd/learnpad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LearnPAd/learnpad/git/refs{/sha}","trees_url":"https://api.github.com/repos/LearnPAd/learnpad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LearnPAd/learnpad/statuses/{sha}","languages_url":"https://api.github.com/repos/LearnPAd/learnpad/languages","stargazers_url":"https://api.github.com/repos/LearnPAd/learnpad/stargazers","contributors_url":"https://api.github.com/repos/LearnPAd/learnpad/contributors","subscribers_url":"https://api.github.com/repos/LearnPAd/learnpad/subscribers","subscription_url":"https://api.github.com/repos/LearnPAd/learnpad/subscription","commits_url":"https://api.github.com/repos/LearnPAd/learnpad/commits{/sha}","git_commits_url":"https://api.github.com/repos/LearnPAd/learnpad/git/commits{/sha}","comments_url":"https://api.github.com/repos/LearnPAd/learnpad/comments{/number}","issue_comment_url":"https://api.github.com/repos/LearnPAd/learnpad/issues/comments{/number}","contents_url":"https://api.github.com/repos/LearnPAd/learnpad/contents/{+path}","compare_url":"https://api.github.com/repos/LearnPAd/learnpad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LearnPAd/learnpad/merges","archive_url":"https://api.github.com/repos/LearnPAd/learnpad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LearnPAd/learnpad/downloads","issues_url":"https://api.github.com/repos/LearnPAd/learnpad/issues{/number}","pulls_url":"https://api.github.com/repos/LearnPAd/learnpad/pulls{/number}","milestones_url":"https://api.github.com/repos/LearnPAd/learnpad/milestones{/number}","notifications_url":"https://api.github.com/repos/LearnPAd/learnpad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LearnPAd/learnpad/labels{/name}","releases_url":"https://api.github.com/repos/LearnPAd/learnpad/releases{/id}","created_at":"2014-08-08T10:19:46Z","updated_at":"2015-07-19T13:18:08Z","pushed_at":"2015-07-24T08:36:23Z","git_url":"git://github.com/LearnPAd/learnpad.git","ssh_url":"git@github.com:LearnPAd/learnpad.git","clone_url":"https://github.com/LearnPAd/learnpad.git","svn_url":"https://github.com/LearnPAd/learnpad","homepage":"http://www.learnpad.eu/","size":3806,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LearnPAd/learnpad/pulls/74"},"html":{"href":"https://github.com/LearnPAd/learnpad/pull/74"},"issue":{"href":"https://api.github.com/repos/LearnPAd/learnpad/issues/74"},"comments":{"href":"https://api.github.com/repos/LearnPAd/learnpad/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/LearnPAd/learnpad/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/LearnPAd/learnpad/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LearnPAd/learnpad/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/LearnPAd/learnpad/statuses/5d4a9e65937f52ffffc66149a542f6507a26ca65"}}}}