{"action":"created","comment":{"url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/comments/245308444","pull_request_review_id":189379052,"id":245308444,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTMwODQ0NA==","diff_hunk":"@@ -0,0 +1,53 @@\n+/*\n+ * Copyright 2018 Red Hat, Inc. and/or its affiliates.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package org.kie.workbench.common.stunner.core.api;\n+\n+import java.util.Collection;\n+\n+import org.kie.workbench.common.stunner.core.profile.Profile;\n+\n+/**\n+ * Entry point for handling the different Definition Set Profiles present on the context.\n+ */\n+public interface ProfileManager {\n+\n+    /**\n+     * Returns all registered profiles.\n+     * @return A collection of profiles\n+     */\n+    Collection<Profile> getAllProfiles();\n+\n+    /**\n+     * Returns a given profiel by its identifier","path":"kie-wb-common-stunner/kie-wb-common-stunner-core/kie-wb-common-stunner-api/kie-wb-common-stunner-core-api/src/main/java/org/kie/workbench/common/stunner/core/api/ProfileManager.java","position":35,"original_position":35,"commit_id":"de39b5ca107c5172c1e40c3d652c3a26d0e45154","original_commit_id":"de39b5ca107c5172c1e40c3d652c3a26d0e45154","user":{"login":"hasys","id":1477262,"node_id":"MDQ6VXNlcjE0NzcyNjI=","avatar_url":"https://avatars1.githubusercontent.com/u/1477262?v=4","gravatar_id":"","url":"https://api.github.com/users/hasys","html_url":"https://github.com/hasys","followers_url":"https://api.github.com/users/hasys/followers","following_url":"https://api.github.com/users/hasys/following{/other_user}","gists_url":"https://api.github.com/users/hasys/gists{/gist_id}","starred_url":"https://api.github.com/users/hasys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasys/subscriptions","organizations_url":"https://api.github.com/users/hasys/orgs","repos_url":"https://api.github.com/users/hasys/repos","events_url":"https://api.github.com/users/hasys/events{/privacy}","received_events_url":"https://api.github.com/users/hasys/received_events","type":"User","site_admin":false},"body":"Typo, should be:\r\n\r\n_Returns a given **profile** by its identifier_","created_at":"2019-01-04T14:15:51Z","updated_at":"2019-01-04T14:31:18Z","html_url":"https://github.com/kiegroup/kie-wb-common/pull/2334#discussion_r245308444","pull_request_url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2334","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/comments/245308444"},"html":{"href":"https://github.com/kiegroup/kie-wb-common/pull/2334#discussion_r245308444"},"pull_request":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2334"}}},"pull_request":{"url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2334","id":236390795,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MzkwNzk1","html_url":"https://github.com/kiegroup/kie-wb-common/pull/2334","diff_url":"https://github.com/kiegroup/kie-wb-common/pull/2334.diff","patch_url":"https://github.com/kiegroup/kie-wb-common/pull/2334.patch","issue_url":"https://api.github.com/repos/kiegroup/kie-wb-common/issues/2334","number":2334,"state":"open","locked":false,"title":"JBPM-6402: Stunner - Added support for profiles & implemented Ruleflow profile for BPMN","user":{"login":"romartin","id":4602417,"node_id":"MDQ6VXNlcjQ2MDI0MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4602417?v=4","gravatar_id":"","url":"https://api.github.com/users/romartin","html_url":"https://github.com/romartin","followers_url":"https://api.github.com/users/romartin/followers","following_url":"https://api.github.com/users/romartin/following{/other_user}","gists_url":"https://api.github.com/users/romartin/gists{/gist_id}","starred_url":"https://api.github.com/users/romartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romartin/subscriptions","organizations_url":"https://api.github.com/users/romartin/orgs","repos_url":"https://api.github.com/users/romartin/repos","events_url":"https://api.github.com/users/romartin/events{/privacy}","received_events_url":"https://api.github.com/users/romartin/received_events","type":"User","site_admin":false},"body":"Hey @hasys \r\n\r\nSee https://issues.jboss.org/browse/JBPM-6402\r\n\r\nThis commit also is part of the task [JBPM-7605](https://issues.jboss.org/browse/JBPM-7605), as introduces support for generic \"profiles\" and the ability to switch between them. \r\n\r\nAlso provides the concrete BPMN `RuleFlow` profile expected, and integrates the profile selection by using the profile specified on the workbench preferences.\r\n\r\nThanks!\r\n\r\n","created_at":"2018-12-06T02:48:01Z","updated_at":"2019-01-04T14:31:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"787014f2d2b697cd07bea098d9a6ab01671e7f74","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2334/commits","review_comments_url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2334/comments","review_comment_url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kiegroup/kie-wb-common/issues/2334/comments","statuses_url":"https://api.github.com/repos/kiegroup/kie-wb-common/statuses/de39b5ca107c5172c1e40c3d652c3a26d0e45154","head":{"label":"romartin:JBPM-6402","ref":"JBPM-6402","sha":"de39b5ca107c5172c1e40c3d652c3a26d0e45154","user":{"login":"romartin","id":4602417,"node_id":"MDQ6VXNlcjQ2MDI0MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4602417?v=4","gravatar_id":"","url":"https://api.github.com/users/romartin","html_url":"https://github.com/romartin","followers_url":"https://api.github.com/users/romartin/followers","following_url":"https://api.github.com/users/romartin/following{/other_user}","gists_url":"https://api.github.com/users/romartin/gists{/gist_id}","starred_url":"https://api.github.com/users/romartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romartin/subscriptions","organizations_url":"https://api.github.com/users/romartin/orgs","repos_url":"https://api.github.com/users/romartin/repos","events_url":"https://api.github.com/users/romartin/events{/privacy}","received_events_url":"https://api.github.com/users/romartin/received_events","type":"User","site_admin":false},"repo":{"id":69497050,"node_id":"MDEwOlJlcG9zaXRvcnk2OTQ5NzA1MA==","name":"kie-wb-common","full_name":"romartin/kie-wb-common","private":false,"owner":{"login":"romartin","id":4602417,"node_id":"MDQ6VXNlcjQ2MDI0MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4602417?v=4","gravatar_id":"","url":"https://api.github.com/users/romartin","html_url":"https://github.com/romartin","followers_url":"https://api.github.com/users/romartin/followers","following_url":"https://api.github.com/users/romartin/following{/other_user}","gists_url":"https://api.github.com/users/romartin/gists{/gist_id}","starred_url":"https://api.github.com/users/romartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romartin/subscriptions","organizations_url":"https://api.github.com/users/romartin/orgs","repos_url":"https://api.github.com/users/romartin/repos","events_url":"https://api.github.com/users/romartin/events{/privacy}","received_events_url":"https://api.github.com/users/romartin/received_events","type":"User","site_admin":false},"html_url":"https://github.com/romartin/kie-wb-common","description":"Shared screens, widgets and services for KIE workbenches.","fork":true,"url":"https://api.github.com/repos/romartin/kie-wb-common","forks_url":"https://api.github.com/repos/romartin/kie-wb-common/forks","keys_url":"https://api.github.com/repos/romartin/kie-wb-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/romartin/kie-wb-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/romartin/kie-wb-common/teams","hooks_url":"https://api.github.com/repos/romartin/kie-wb-common/hooks","issue_events_url":"https://api.github.com/repos/romartin/kie-wb-common/issues/events{/number}","events_url":"https://api.github.com/repos/romartin/kie-wb-common/events","assignees_url":"https://api.github.com/repos/romartin/kie-wb-common/assignees{/user}","branches_url":"https://api.github.com/repos/romartin/kie-wb-common/branches{/branch}","tags_url":"https://api.github.com/repos/romartin/kie-wb-common/tags","blobs_url":"https://api.github.com/repos/romartin/kie-wb-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/romartin/kie-wb-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/romartin/kie-wb-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/romartin/kie-wb-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/romartin/kie-wb-common/statuses/{sha}","languages_url":"https://api.github.com/repos/romartin/kie-wb-common/languages","stargazers_url":"https://api.github.com/repos/romartin/kie-wb-common/stargazers","contributors_url":"https://api.github.com/repos/romartin/kie-wb-common/contributors","subscribers_url":"https://api.github.com/repos/romartin/kie-wb-common/subscribers","subscription_url":"https://api.github.com/repos/romartin/kie-wb-common/subscription","commits_url":"https://api.github.com/repos/romartin/kie-wb-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/romartin/kie-wb-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/romartin/kie-wb-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/romartin/kie-wb-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/romartin/kie-wb-common/contents/{+path}","compare_url":"https://api.github.com/repos/romartin/kie-wb-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/romartin/kie-wb-common/merges","archive_url":"https://api.github.com/repos/romartin/kie-wb-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/romartin/kie-wb-common/downloads","issues_url":"https://api.github.com/repos/romartin/kie-wb-common/issues{/number}","pulls_url":"https://api.github.com/repos/romartin/kie-wb-common/pulls{/number}","milestones_url":"https://api.github.com/repos/romartin/kie-wb-common/milestones{/number}","notifications_url":"https://api.github.com/repos/romartin/kie-wb-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/romartin/kie-wb-common/labels{/name}","releases_url":"https://api.github.com/repos/romartin/kie-wb-common/releases{/id}","deployments_url":"https://api.github.com/repos/romartin/kie-wb-common/deployments","created_at":"2016-09-28T19:33:02Z","updated_at":"2018-12-23T20:57:26Z","pushed_at":"2018-12-31T04:52:26Z","git_url":"git://github.com/romartin/kie-wb-common.git","ssh_url":"git@github.com:romartin/kie-wb-common.git","clone_url":"https://github.com/romartin/kie-wb-common.git","svn_url":"https://github.com/romartin/kie-wb-common","homepage":"","size":50529,"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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kiegroup:master","ref":"master","sha":"8ab053fc1aace8668d54ab8b59f925f08d315fb3","user":{"login":"kiegroup","id":517980,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNzk4MA==","avatar_url":"https://avatars3.githubusercontent.com/u/517980?v=4","gravatar_id":"","url":"https://api.github.com/users/kiegroup","html_url":"https://github.com/kiegroup","followers_url":"https://api.github.com/users/kiegroup/followers","following_url":"https://api.github.com/users/kiegroup/following{/other_user}","gists_url":"https://api.github.com/users/kiegroup/gists{/gist_id}","starred_url":"https://api.github.com/users/kiegroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiegroup/subscriptions","organizations_url":"https://api.github.com/users/kiegroup/orgs","repos_url":"https://api.github.com/users/kiegroup/repos","events_url":"https://api.github.com/users/kiegroup/events{/privacy}","received_events_url":"https://api.github.com/users/kiegroup/received_events","type":"Organization","site_admin":false},"repo":{"id":10522120,"node_id":"MDEwOlJlcG9zaXRvcnkxMDUyMjEyMA==","name":"kie-wb-common","full_name":"kiegroup/kie-wb-common","private":false,"owner":{"login":"kiegroup","id":517980,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNzk4MA==","avatar_url":"https://avatars3.githubusercontent.com/u/517980?v=4","gravatar_id":"","url":"https://api.github.com/users/kiegroup","html_url":"https://github.com/kiegroup","followers_url":"https://api.github.com/users/kiegroup/followers","following_url":"https://api.github.com/users/kiegroup/following{/other_user}","gists_url":"https://api.github.com/users/kiegroup/gists{/gist_id}","starred_url":"https://api.github.com/users/kiegroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiegroup/subscriptions","organizations_url":"https://api.github.com/users/kiegroup/orgs","repos_url":"https://api.github.com/users/kiegroup/repos","events_url":"https://api.github.com/users/kiegroup/events{/privacy}","received_events_url":"https://api.github.com/users/kiegroup/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kiegroup/kie-wb-common","description":"Shared screens, widgets and services for KIE workbenches.","fork":false,"url":"https://api.github.com/repos/kiegroup/kie-wb-common","forks_url":"https://api.github.com/repos/kiegroup/kie-wb-common/forks","keys_url":"https://api.github.com/repos/kiegroup/kie-wb-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiegroup/kie-wb-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiegroup/kie-wb-common/teams","hooks_url":"https://api.github.com/repos/kiegroup/kie-wb-common/hooks","issue_events_url":"https://api.github.com/repos/kiegroup/kie-wb-common/issues/events{/number}","events_url":"https://api.github.com/repos/kiegroup/kie-wb-common/events","assignees_url":"https://api.github.com/repos/kiegroup/kie-wb-common/assignees{/user}","branches_url":"https://api.github.com/repos/kiegroup/kie-wb-common/branches{/branch}","tags_url":"https://api.github.com/repos/kiegroup/kie-wb-common/tags","blobs_url":"https://api.github.com/repos/kiegroup/kie-wb-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiegroup/kie-wb-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiegroup/kie-wb-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiegroup/kie-wb-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiegroup/kie-wb-common/statuses/{sha}","languages_url":"https://api.github.com/repos/kiegroup/kie-wb-common/languages","stargazers_url":"https://api.github.com/repos/kiegroup/kie-wb-common/stargazers","contributors_url":"https://api.github.com/repos/kiegroup/kie-wb-common/contributors","subscribers_url":"https://api.github.com/repos/kiegroup/kie-wb-common/subscribers","subscription_url":"https://api.github.com/repos/kiegroup/kie-wb-common/subscription","commits_url":"https://api.github.com/repos/kiegroup/kie-wb-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiegroup/kie-wb-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiegroup/kie-wb-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiegroup/kie-wb-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiegroup/kie-wb-common/contents/{+path}","compare_url":"https://api.github.com/repos/kiegroup/kie-wb-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiegroup/kie-wb-common/merges","archive_url":"https://api.github.com/repos/kiegroup/kie-wb-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiegroup/kie-wb-common/downloads","issues_url":"https://api.github.com/repos/kiegroup/kie-wb-common/issues{/number}","pulls_url":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls{/number}","milestones_url":"https://api.github.com/repos/kiegroup/kie-wb-common/milestones{/number}","notifications_url":"https://api.github.com/repos/kiegroup/kie-wb-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiegroup/kie-wb-common/labels{/name}","releases_url":"https://api.github.com/repos/kiegroup/kie-wb-common/releases{/id}","deployments_url":"https://api.github.com/repos/kiegroup/kie-wb-common/deployments","created_at":"2013-06-06T08:32:03Z","updated_at":"2019-01-04T11:17:17Z","pushed_at":"2019-01-04T14:21:14Z","git_url":"git://github.com/kiegroup/kie-wb-common.git","ssh_url":"git@github.com:kiegroup/kie-wb-common.git","clone_url":"https://github.com/kiegroup/kie-wb-common.git","svn_url":"https://github.com/kiegroup/kie-wb-common","homepage":"","size":53196,"stargazers_count":20,"watchers_count":20,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":174,"mirror_url":null,"archived":false,"open_issues_count":48,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":174,"open_issues":48,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2334"},"html":{"href":"https://github.com/kiegroup/kie-wb-common/pull/2334"},"issue":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/issues/2334"},"comments":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/issues/2334/comments"},"review_comments":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2334/comments"},"review_comment":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/pulls/2334/commits"},"statuses":{"href":"https://api.github.com/repos/kiegroup/kie-wb-common/statuses/de39b5ca107c5172c1e40c3d652c3a26d0e45154"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"hasys"}}