{"action":"created","comment":{"url":"https://api.github.com/repos/powsybl/powsybl-core/pulls/comments/224833495","pull_request_review_id":164303496,"id":224833495,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDgzMzQ5NQ==","diff_hunk":"@@ -346,26 +346,51 @@\n     Load getLoad(String id);\n \n     /**\n-     * Get all compensator shunts.\n+     * @deprecated Use {@link #getShuntCompensators)} instead.\n      */\n+    @Deprecated\n     Iterable<ShuntCompensator> getShunts();\n \n     /**\n-     * Get all compensator shunts.\n+     * @deprecated Use {@link #getShuntCompensatorStream()} instead.\n      */\n+    @Deprecated\n     Stream<ShuntCompensator> getShuntStream();\n \n     /**\n-     * Get the shunt count.\n+     * @deprecated Use {@link #getShuntCompensatorCount()} instead.\n      */\n+    @Deprecated\n     int getShuntCount();","path":"iidm/iidm-api/src/main/java/com/powsybl/iidm/network/Network.java","position":22,"original_position":22,"commit_id":"d58b7805ed908c3bdc52e3b74aad079c12d9eac0","original_commit_id":"d58b7805ed908c3bdc52e3b74aad079c12d9eac0","user":{"login":"powsybl-ci","id":32455406,"node_id":"MDQ6VXNlcjMyNDU1NDA2","avatar_url":"https://avatars3.githubusercontent.com/u/32455406?v=4","gravatar_id":"","url":"https://api.github.com/users/powsybl-ci","html_url":"https://github.com/powsybl-ci","followers_url":"https://api.github.com/users/powsybl-ci/followers","following_url":"https://api.github.com/users/powsybl-ci/following{/other_user}","gists_url":"https://api.github.com/users/powsybl-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/powsybl-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powsybl-ci/subscriptions","organizations_url":"https://api.github.com/users/powsybl-ci/orgs","repos_url":"https://api.github.com/users/powsybl-ci/repos","events_url":"https://api.github.com/users/powsybl-ci/events{/privacy}","received_events_url":"https://api.github.com/users/powsybl-ci/received_events","type":"User","site_admin":false},"body":"![INFO](https://sonarsource.github.io/sonar-github/severity-info.png 'Severity: INFO') Do not forget to remove this deprecated code someday. [![rule](https://sonarsource.github.io/sonar-github/rule.png)](https://sonarcloud.io/coding_rules#rule_key=squid%3AS1133)\n","created_at":"2018-10-12T15:50:17Z","updated_at":"2018-10-12T15:50:17Z","html_url":"https://github.com/powsybl/powsybl-core/pull/461#discussion_r224833495","pull_request_url":"https://api.github.com/repos/powsybl/powsybl-core/pulls/461","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/powsybl/powsybl-core/pulls/comments/224833495"},"html":{"href":"https://github.com/powsybl/powsybl-core/pull/461#discussion_r224833495"},"pull_request":{"href":"https://api.github.com/repos/powsybl/powsybl-core/pulls/461"}}},"pull_request":{"url":"https://api.github.com/repos/powsybl/powsybl-core/pulls/461","id":222507512,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNTA3NTEy","html_url":"https://github.com/powsybl/powsybl-core/pull/461","diff_url":"https://github.com/powsybl/powsybl-core/pull/461.diff","patch_url":"https://github.com/powsybl/powsybl-core/pull/461.patch","issue_url":"https://api.github.com/repos/powsybl/powsybl-core/issues/461","number":461,"state":"open","locked":false,"title":"[WIP] add consistence with ShuntCompensator in API","user":{"login":"MioRtia","id":15137981,"node_id":"MDQ6VXNlcjE1MTM3OTgx","avatar_url":"https://avatars1.githubusercontent.com/u/15137981?v=4","gravatar_id":"","url":"https://api.github.com/users/MioRtia","html_url":"https://github.com/MioRtia","followers_url":"https://api.github.com/users/MioRtia/followers","following_url":"https://api.github.com/users/MioRtia/following{/other_user}","gists_url":"https://api.github.com/users/MioRtia/gists{/gist_id}","starred_url":"https://api.github.com/users/MioRtia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MioRtia/subscriptions","organizations_url":"https://api.github.com/users/MioRtia/orgs","repos_url":"https://api.github.com/users/MioRtia/repos","events_url":"https://api.github.com/users/MioRtia/events{/privacy}","received_events_url":"https://api.github.com/users/MioRtia/received_events","type":"User","site_admin":false},"body":"* Add methods getShuntCompensator, getShuntCompensatorStream, getShuntCompensators, etc.\r\n* Methods getShunt, getShuntStream, getShunts, etc. are marked as deprecated\r\n* Usage of getShunt, getShuntStream, getShunts, etc. in powsybl-core is replaced by getShuntCompensator, getShuntCompensatorStream, getShuntCompensators, etc.","created_at":"2018-10-12T15:38:53Z","updated_at":"2018-10-12T15:50:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bfa80b60513ef4c712e4c5498d48bff370455fd1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/powsybl/powsybl-core/pulls/461/commits","review_comments_url":"https://api.github.com/repos/powsybl/powsybl-core/pulls/461/comments","review_comment_url":"https://api.github.com/repos/powsybl/powsybl-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/powsybl/powsybl-core/issues/461/comments","statuses_url":"https://api.github.com/repos/powsybl/powsybl-core/statuses/d58b7805ed908c3bdc52e3b74aad079c12d9eac0","head":{"label":"powsybl:shunt-api-consistence","ref":"shunt-api-consistence","sha":"d58b7805ed908c3bdc52e3b74aad079c12d9eac0","user":{"login":"powsybl","id":29916668,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5OTE2NjY4","avatar_url":"https://avatars2.githubusercontent.com/u/29916668?v=4","gravatar_id":"","url":"https://api.github.com/users/powsybl","html_url":"https://github.com/powsybl","followers_url":"https://api.github.com/users/powsybl/followers","following_url":"https://api.github.com/users/powsybl/following{/other_user}","gists_url":"https://api.github.com/users/powsybl/gists{/gist_id}","starred_url":"https://api.github.com/users/powsybl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powsybl/subscriptions","organizations_url":"https://api.github.com/users/powsybl/orgs","repos_url":"https://api.github.com/users/powsybl/repos","events_url":"https://api.github.com/users/powsybl/events{/privacy}","received_events_url":"https://api.github.com/users/powsybl/received_events","type":"Organization","site_admin":false},"repo":{"id":105284146,"node_id":"MDEwOlJlcG9zaXRvcnkxMDUyODQxNDY=","name":"powsybl-core","full_name":"powsybl/powsybl-core","private":false,"owner":{"login":"powsybl","id":29916668,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5OTE2NjY4","avatar_url":"https://avatars2.githubusercontent.com/u/29916668?v=4","gravatar_id":"","url":"https://api.github.com/users/powsybl","html_url":"https://github.com/powsybl","followers_url":"https://api.github.com/users/powsybl/followers","following_url":"https://api.github.com/users/powsybl/following{/other_user}","gists_url":"https://api.github.com/users/powsybl/gists{/gist_id}","starred_url":"https://api.github.com/users/powsybl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powsybl/subscriptions","organizations_url":"https://api.github.com/users/powsybl/orgs","repos_url":"https://api.github.com/users/powsybl/repos","events_url":"https://api.github.com/users/powsybl/events{/privacy}","received_events_url":"https://api.github.com/users/powsybl/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/powsybl/powsybl-core","description":"A framework to build power system oriented software","fork":false,"url":"https://api.github.com/repos/powsybl/powsybl-core","forks_url":"https://api.github.com/repos/powsybl/powsybl-core/forks","keys_url":"https://api.github.com/repos/powsybl/powsybl-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/powsybl/powsybl-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/powsybl/powsybl-core/teams","hooks_url":"https://api.github.com/repos/powsybl/powsybl-core/hooks","issue_events_url":"https://api.github.com/repos/powsybl/powsybl-core/issues/events{/number}","events_url":"https://api.github.com/repos/powsybl/powsybl-core/events","assignees_url":"https://api.github.com/repos/powsybl/powsybl-core/assignees{/user}","branches_url":"https://api.github.com/repos/powsybl/powsybl-core/branches{/branch}","tags_url":"https://api.github.com/repos/powsybl/powsybl-core/tags","blobs_url":"https://api.github.com/repos/powsybl/powsybl-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/powsybl/powsybl-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/powsybl/powsybl-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/powsybl/powsybl-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/powsybl/powsybl-core/statuses/{sha}","languages_url":"https://api.github.com/repos/powsybl/powsybl-core/languages","stargazers_url":"https://api.github.com/repos/powsybl/powsybl-core/stargazers","contributors_url":"https://api.github.com/repos/powsybl/powsybl-core/contributors","subscribers_url":"https://api.github.com/repos/powsybl/powsybl-core/subscribers","subscription_url":"https://api.github.com/repos/powsybl/powsybl-core/subscription","commits_url":"https://api.github.com/repos/powsybl/powsybl-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/powsybl/powsybl-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/powsybl/powsybl-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/powsybl/powsybl-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/powsybl/powsybl-core/contents/{+path}","compare_url":"https://api.github.com/repos/powsybl/powsybl-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/powsybl/powsybl-core/merges","archive_url":"https://api.github.com/repos/powsybl/powsybl-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/powsybl/powsybl-core/downloads","issues_url":"https://api.github.com/repos/powsybl/powsybl-core/issues{/number}","pulls_url":"https://api.github.com/repos/powsybl/powsybl-core/pulls{/number}","milestones_url":"https://api.github.com/repos/powsybl/powsybl-core/milestones{/number}","notifications_url":"https://api.github.com/repos/powsybl/powsybl-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/powsybl/powsybl-core/labels{/name}","releases_url":"https://api.github.com/repos/powsybl/powsybl-core/releases{/id}","deployments_url":"https://api.github.com/repos/powsybl/powsybl-core/deployments","created_at":"2017-09-29T14:51:18Z","updated_at":"2018-10-12T12:37:21Z","pushed_at":"2018-10-12T15:41:27Z","git_url":"git://github.com/powsybl/powsybl-core.git","ssh_url":"git@github.com:powsybl/powsybl-core.git","clone_url":"https://github.com/powsybl/powsybl-core.git","svn_url":"https://github.com/powsybl/powsybl-core","homepage":"http://www.powsybl.com","size":14239,"stargazers_count":23,"watchers_count":23,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":48,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":7,"open_issues":48,"watchers":23,"default_branch":"master"}},"base":{"label":"powsybl:master","ref":"master","sha":"63aa2634effa5d074523034053838d54d842f45e","user":{"login":"powsybl","id":29916668,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5OTE2NjY4","avatar_url":"https://avatars2.githubusercontent.com/u/29916668?v=4","gravatar_id":"","url":"https://api.github.com/users/powsybl","html_url":"https://github.com/powsybl","followers_url":"https://api.github.com/users/powsybl/followers","following_url":"https://api.github.com/users/powsybl/following{/other_user}","gists_url":"https://api.github.com/users/powsybl/gists{/gist_id}","starred_url":"https://api.github.com/users/powsybl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powsybl/subscriptions","organizations_url":"https://api.github.com/users/powsybl/orgs","repos_url":"https://api.github.com/users/powsybl/repos","events_url":"https://api.github.com/users/powsybl/events{/privacy}","received_events_url":"https://api.github.com/users/powsybl/received_events","type":"Organization","site_admin":false},"repo":{"id":105284146,"node_id":"MDEwOlJlcG9zaXRvcnkxMDUyODQxNDY=","name":"powsybl-core","full_name":"powsybl/powsybl-core","private":false,"owner":{"login":"powsybl","id":29916668,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5OTE2NjY4","avatar_url":"https://avatars2.githubusercontent.com/u/29916668?v=4","gravatar_id":"","url":"https://api.github.com/users/powsybl","html_url":"https://github.com/powsybl","followers_url":"https://api.github.com/users/powsybl/followers","following_url":"https://api.github.com/users/powsybl/following{/other_user}","gists_url":"https://api.github.com/users/powsybl/gists{/gist_id}","starred_url":"https://api.github.com/users/powsybl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powsybl/subscriptions","organizations_url":"https://api.github.com/users/powsybl/orgs","repos_url":"https://api.github.com/users/powsybl/repos","events_url":"https://api.github.com/users/powsybl/events{/privacy}","received_events_url":"https://api.github.com/users/powsybl/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/powsybl/powsybl-core","description":"A framework to build power system oriented software","fork":false,"url":"https://api.github.com/repos/powsybl/powsybl-core","forks_url":"https://api.github.com/repos/powsybl/powsybl-core/forks","keys_url":"https://api.github.com/repos/powsybl/powsybl-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/powsybl/powsybl-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/powsybl/powsybl-core/teams","hooks_url":"https://api.github.com/repos/powsybl/powsybl-core/hooks","issue_events_url":"https://api.github.com/repos/powsybl/powsybl-core/issues/events{/number}","events_url":"https://api.github.com/repos/powsybl/powsybl-core/events","assignees_url":"https://api.github.com/repos/powsybl/powsybl-core/assignees{/user}","branches_url":"https://api.github.com/repos/powsybl/powsybl-core/branches{/branch}","tags_url":"https://api.github.com/repos/powsybl/powsybl-core/tags","blobs_url":"https://api.github.com/repos/powsybl/powsybl-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/powsybl/powsybl-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/powsybl/powsybl-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/powsybl/powsybl-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/powsybl/powsybl-core/statuses/{sha}","languages_url":"https://api.github.com/repos/powsybl/powsybl-core/languages","stargazers_url":"https://api.github.com/repos/powsybl/powsybl-core/stargazers","contributors_url":"https://api.github.com/repos/powsybl/powsybl-core/contributors","subscribers_url":"https://api.github.com/repos/powsybl/powsybl-core/subscribers","subscription_url":"https://api.github.com/repos/powsybl/powsybl-core/subscription","commits_url":"https://api.github.com/repos/powsybl/powsybl-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/powsybl/powsybl-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/powsybl/powsybl-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/powsybl/powsybl-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/powsybl/powsybl-core/contents/{+path}","compare_url":"https://api.github.com/repos/powsybl/powsybl-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/powsybl/powsybl-core/merges","archive_url":"https://api.github.com/repos/powsybl/powsybl-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/powsybl/powsybl-core/downloads","issues_url":"https://api.github.com/repos/powsybl/powsybl-core/issues{/number}","pulls_url":"https://api.github.com/repos/powsybl/powsybl-core/pulls{/number}","milestones_url":"https://api.github.com/repos/powsybl/powsybl-core/milestones{/number}","notifications_url":"https://api.github.com/repos/powsybl/powsybl-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/powsybl/powsybl-core/labels{/name}","releases_url":"https://api.github.com/repos/powsybl/powsybl-core/releases{/id}","deployments_url":"https://api.github.com/repos/powsybl/powsybl-core/deployments","created_at":"2017-09-29T14:51:18Z","updated_at":"2018-10-12T12:37:21Z","pushed_at":"2018-10-12T15:41:27Z","git_url":"git://github.com/powsybl/powsybl-core.git","ssh_url":"git@github.com:powsybl/powsybl-core.git","clone_url":"https://github.com/powsybl/powsybl-core.git","svn_url":"https://github.com/powsybl/powsybl-core","homepage":"http://www.powsybl.com","size":14239,"stargazers_count":23,"watchers_count":23,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":48,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":7,"open_issues":48,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/powsybl/powsybl-core/pulls/461"},"html":{"href":"https://github.com/powsybl/powsybl-core/pull/461"},"issue":{"href":"https://api.github.com/repos/powsybl/powsybl-core/issues/461"},"comments":{"href":"https://api.github.com/repos/powsybl/powsybl-core/issues/461/comments"},"review_comments":{"href":"https://api.github.com/repos/powsybl/powsybl-core/pulls/461/comments"},"review_comment":{"href":"https://api.github.com/repos/powsybl/powsybl-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/powsybl/powsybl-core/pulls/461/commits"},"statuses":{"href":"https://api.github.com/repos/powsybl/powsybl-core/statuses/d58b7805ed908c3bdc52e3b74aad079c12d9eac0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"powsybl-ci"}}