{"action":"created","comment":{"url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/comments/79183782","id":79183782,"diff_hunk":"@@ -0,0 +1,65 @@\n+/**\n+ * Copyright 2014-2016 Smart Society Services B.V.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ */\n+package com.alliander.osgp.adapter.protocol.iec61850.infra.networking.services;\n+\n+import java.util.HashMap;\n+import java.util.Map;\n+\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+import com.alliander.osgp.adapter.protocol.iec61850.device.rtu.RtuCommand;\n+import com.alliander.osgp.adapter.protocol.iec61850.device.rtu.RtuCommandFactory;\n+import com.alliander.osgp.adapter.protocol.iec61850.infra.networking.helper.DataAttribute;\n+import com.alliander.osgp.adapter.protocol.iec61850.infra.networking.services.commands.Iec61850BehaviourCommand;\n+import com.alliander.osgp.adapter.protocol.iec61850.infra.networking.services.commands.Iec61850HealthCommand;\n+import com.alliander.osgp.adapter.protocol.iec61850.infra.networking.services.commands.Iec61850ModeCommand;\n+import com.alliander.osgp.dto.valueobjects.microgrids.MeasurementFilterDto;\n+\n+public class Iec61850RtuCommandFactory implements RtuCommandFactory {\n+\n+    private static Logger LOGGER = LoggerFactory.getLogger(Iec61850RtuCommandFactory.class);","path":"osgp-protocol-adapter-iec61850/src/main/java/com/alliander/osgp/adapter/protocol/iec61850/infra/networking/services/Iec61850RtuCommandFactory.java","position":26,"original_position":26,"commit_id":"23d4d45a24f2f1ab0cb328dc26a0db2d187b5afe","original_commit_id":"23d4d45a24f2f1ab0cb328dc26a0db2d187b5afe","user":{"login":"jenkins-ip-10-4-24-184","id":12208121,"avatar_url":"https://avatars.githubusercontent.com/u/12208121?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkins-ip-10-4-24-184","html_url":"https://github.com/jenkins-ip-10-4-24-184","followers_url":"https://api.github.com/users/jenkins-ip-10-4-24-184/followers","following_url":"https://api.github.com/users/jenkins-ip-10-4-24-184/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-ip-10-4-24-184/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-ip-10-4-24-184/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-ip-10-4-24-184/subscriptions","organizations_url":"https://api.github.com/users/jenkins-ip-10-4-24-184/orgs","repos_url":"https://api.github.com/users/jenkins-ip-10-4-24-184/repos","events_url":"https://api.github.com/users/jenkins-ip-10-4-24-184/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-ip-10-4-24-184/received_events","type":"User","site_admin":false},"body":"![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) Make the \"LOGGER\" logger private static final. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://54.77.62.182/sonarqube/coding_rules#rule_key=squid%3AS1312)\n","created_at":"2016-09-16T14:43:54Z","updated_at":"2016-09-16T14:43:54Z","html_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850/pull/44#discussion_r79183782","pull_request_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/comments/79183782"},"html":{"href":"https://github.com/OSGP/Protocol-Adapter-IEC61850/pull/44#discussion_r79183782"},"pull_request":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/44","id":85554821,"html_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850/pull/44","diff_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850/pull/44.diff","patch_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850/pull/44.patch","issue_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues/44","number":44,"state":"open","locked":false,"title":"ZS-57 Merge Microgrids with development","user":{"login":"smvdheijden","id":11396536,"avatar_url":"https://avatars.githubusercontent.com/u/11396536?v=3","gravatar_id":"","url":"https://api.github.com/users/smvdheijden","html_url":"https://github.com/smvdheijden","followers_url":"https://api.github.com/users/smvdheijden/followers","following_url":"https://api.github.com/users/smvdheijden/following{/other_user}","gists_url":"https://api.github.com/users/smvdheijden/gists{/gist_id}","starred_url":"https://api.github.com/users/smvdheijden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smvdheijden/subscriptions","organizations_url":"https://api.github.com/users/smvdheijden/orgs","repos_url":"https://api.github.com/users/smvdheijden/repos","events_url":"https://api.github.com/users/smvdheijden/events{/privacy}","received_events_url":"https://api.github.com/users/smvdheijden/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-16T11:04:20Z","updated_at":"2016-09-16T14:43:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72caf642188f7e73dbad89ec898c207646448574","assignee":{"login":"kevinsmeets","id":11557950,"avatar_url":"https://avatars.githubusercontent.com/u/11557950?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinsmeets","html_url":"https://github.com/kevinsmeets","followers_url":"https://api.github.com/users/kevinsmeets/followers","following_url":"https://api.github.com/users/kevinsmeets/following{/other_user}","gists_url":"https://api.github.com/users/kevinsmeets/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinsmeets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinsmeets/subscriptions","organizations_url":"https://api.github.com/users/kevinsmeets/orgs","repos_url":"https://api.github.com/users/kevinsmeets/repos","events_url":"https://api.github.com/users/kevinsmeets/events{/privacy}","received_events_url":"https://api.github.com/users/kevinsmeets/received_events","type":"User","site_admin":false},"assignees":[{"login":"kevinsmeets","id":11557950,"avatar_url":"https://avatars.githubusercontent.com/u/11557950?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinsmeets","html_url":"https://github.com/kevinsmeets","followers_url":"https://api.github.com/users/kevinsmeets/followers","following_url":"https://api.github.com/users/kevinsmeets/following{/other_user}","gists_url":"https://api.github.com/users/kevinsmeets/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinsmeets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinsmeets/subscriptions","organizations_url":"https://api.github.com/users/kevinsmeets/orgs","repos_url":"https://api.github.com/users/kevinsmeets/repos","events_url":"https://api.github.com/users/kevinsmeets/events{/privacy}","received_events_url":"https://api.github.com/users/kevinsmeets/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/44/commits","review_comments_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/44/comments","review_comment_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues/44/comments","statuses_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/statuses/23d4d45a24f2f1ab0cb328dc26a0db2d187b5afe","head":{"label":"OSGP:microgrids","ref":"microgrids","sha":"23d4d45a24f2f1ab0cb328dc26a0db2d187b5afe","user":{"login":"OSGP","id":11352045,"avatar_url":"https://avatars.githubusercontent.com/u/11352045?v=3","gravatar_id":"","url":"https://api.github.com/users/OSGP","html_url":"https://github.com/OSGP","followers_url":"https://api.github.com/users/OSGP/followers","following_url":"https://api.github.com/users/OSGP/following{/other_user}","gists_url":"https://api.github.com/users/OSGP/gists{/gist_id}","starred_url":"https://api.github.com/users/OSGP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OSGP/subscriptions","organizations_url":"https://api.github.com/users/OSGP/orgs","repos_url":"https://api.github.com/users/OSGP/repos","events_url":"https://api.github.com/users/OSGP/events{/privacy}","received_events_url":"https://api.github.com/users/OSGP/received_events","type":"Organization","site_admin":false},"repo":{"id":52597910,"name":"Protocol-Adapter-IEC61850","full_name":"OSGP/Protocol-Adapter-IEC61850","owner":{"login":"OSGP","id":11352045,"avatar_url":"https://avatars.githubusercontent.com/u/11352045?v=3","gravatar_id":"","url":"https://api.github.com/users/OSGP","html_url":"https://github.com/OSGP","followers_url":"https://api.github.com/users/OSGP/followers","following_url":"https://api.github.com/users/OSGP/following{/other_user}","gists_url":"https://api.github.com/users/OSGP/gists{/gist_id}","starred_url":"https://api.github.com/users/OSGP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OSGP/subscriptions","organizations_url":"https://api.github.com/users/OSGP/orgs","repos_url":"https://api.github.com/users/OSGP/repos","events_url":"https://api.github.com/users/OSGP/events{/privacy}","received_events_url":"https://api.github.com/users/OSGP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850","description":"Protocol adapter and device simulator for IEC61850 Protocol.","fork":false,"url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850","forks_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/forks","keys_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/teams","hooks_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/hooks","issue_events_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues/events{/number}","events_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/events","assignees_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/assignees{/user}","branches_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/branches{/branch}","tags_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/tags","blobs_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/git/refs{/sha}","trees_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/statuses/{sha}","languages_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/languages","stargazers_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/stargazers","contributors_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/contributors","subscribers_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/subscribers","subscription_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/subscription","commits_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/commits{/sha}","git_commits_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/git/commits{/sha}","comments_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/comments{/number}","issue_comment_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues/comments{/number}","contents_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/contents/{+path}","compare_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/merges","archive_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/downloads","issues_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues{/number}","pulls_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls{/number}","milestones_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/milestones{/number}","notifications_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/labels{/name}","releases_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/releases{/id}","deployments_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/deployments","created_at":"2016-02-26T10:43:19Z","updated_at":"2016-05-25T15:09:09Z","pushed_at":"2016-09-16T14:33:53Z","git_url":"git://github.com/OSGP/Protocol-Adapter-IEC61850.git","ssh_url":"git@github.com:OSGP/Protocol-Adapter-IEC61850.git","clone_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850.git","svn_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850","homepage":"","size":10930,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"development"}},"base":{"label":"OSGP:development","ref":"development","sha":"cb73f7d6b6e6bc7ed7ec821bd8add21a4e0cdb45","user":{"login":"OSGP","id":11352045,"avatar_url":"https://avatars.githubusercontent.com/u/11352045?v=3","gravatar_id":"","url":"https://api.github.com/users/OSGP","html_url":"https://github.com/OSGP","followers_url":"https://api.github.com/users/OSGP/followers","following_url":"https://api.github.com/users/OSGP/following{/other_user}","gists_url":"https://api.github.com/users/OSGP/gists{/gist_id}","starred_url":"https://api.github.com/users/OSGP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OSGP/subscriptions","organizations_url":"https://api.github.com/users/OSGP/orgs","repos_url":"https://api.github.com/users/OSGP/repos","events_url":"https://api.github.com/users/OSGP/events{/privacy}","received_events_url":"https://api.github.com/users/OSGP/received_events","type":"Organization","site_admin":false},"repo":{"id":52597910,"name":"Protocol-Adapter-IEC61850","full_name":"OSGP/Protocol-Adapter-IEC61850","owner":{"login":"OSGP","id":11352045,"avatar_url":"https://avatars.githubusercontent.com/u/11352045?v=3","gravatar_id":"","url":"https://api.github.com/users/OSGP","html_url":"https://github.com/OSGP","followers_url":"https://api.github.com/users/OSGP/followers","following_url":"https://api.github.com/users/OSGP/following{/other_user}","gists_url":"https://api.github.com/users/OSGP/gists{/gist_id}","starred_url":"https://api.github.com/users/OSGP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OSGP/subscriptions","organizations_url":"https://api.github.com/users/OSGP/orgs","repos_url":"https://api.github.com/users/OSGP/repos","events_url":"https://api.github.com/users/OSGP/events{/privacy}","received_events_url":"https://api.github.com/users/OSGP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850","description":"Protocol adapter and device simulator for IEC61850 Protocol.","fork":false,"url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850","forks_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/forks","keys_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/teams","hooks_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/hooks","issue_events_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues/events{/number}","events_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/events","assignees_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/assignees{/user}","branches_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/branches{/branch}","tags_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/tags","blobs_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/git/refs{/sha}","trees_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/statuses/{sha}","languages_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/languages","stargazers_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/stargazers","contributors_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/contributors","subscribers_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/subscribers","subscription_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/subscription","commits_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/commits{/sha}","git_commits_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/git/commits{/sha}","comments_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/comments{/number}","issue_comment_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues/comments{/number}","contents_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/contents/{+path}","compare_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/merges","archive_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/downloads","issues_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues{/number}","pulls_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls{/number}","milestones_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/milestones{/number}","notifications_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/labels{/name}","releases_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/releases{/id}","deployments_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/deployments","created_at":"2016-02-26T10:43:19Z","updated_at":"2016-05-25T15:09:09Z","pushed_at":"2016-09-16T14:33:53Z","git_url":"git://github.com/OSGP/Protocol-Adapter-IEC61850.git","ssh_url":"git@github.com:OSGP/Protocol-Adapter-IEC61850.git","clone_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850.git","svn_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850","homepage":"","size":10930,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/44"},"html":{"href":"https://github.com/OSGP/Protocol-Adapter-IEC61850/pull/44"},"issue":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues/44"},"comments":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/statuses/23d4d45a24f2f1ab0cb328dc26a0db2d187b5afe"}}}}
{"actor":{"display_login":"jenkins-ip-10-4-24-184"}}