{"action":"created","comment":{"url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/comments/173745892","pull_request_review_id":102956300,"id":173745892,"diff_hunk":"@@ -162,6 +163,36 @@ private void processReport(final Report report, final String reportDescription,\n \n         this.deviceManagementService.sendMeasurements(this.deviceIdentification,\n                 new GetDataResponseDto(systems, reportDto));\n+\n+        this.storeLastReportEntry(report, this.deviceIdentification);\n+    }\n+\n+    private void storeLastReportEntry(final Report report, final String deviceIdentification) {\n+        if (Objects.isNull(report.getEntryId()) || Objects.isNull(report.getTimeOfEntry())) {\n+            LOGGER.info(","path":"osgp-protocol-adapter-iec61850/src/main/java/com/alliander/osgp/adapter/protocol/iec61850/infra/networking/reporting/Iec61850ClientRTUEventListener.java","position":81,"original_position":81,"commit_id":"29ebf5a1087f04d82f37868c2c404a31dd49083a","original_commit_id":"29ebf5a1087f04d82f37868c2c404a31dd49083a","user":{"login":"bvdzwet","id":14938953,"avatar_url":"https://avatars3.githubusercontent.com/u/14938953?v=4","gravatar_id":"","url":"https://api.github.com/users/bvdzwet","html_url":"https://github.com/bvdzwet","followers_url":"https://api.github.com/users/bvdzwet/followers","following_url":"https://api.github.com/users/bvdzwet/following{/other_user}","gists_url":"https://api.github.com/users/bvdzwet/gists{/gist_id}","starred_url":"https://api.github.com/users/bvdzwet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvdzwet/subscriptions","organizations_url":"https://api.github.com/users/bvdzwet/orgs","repos_url":"https://api.github.com/users/bvdzwet/repos","events_url":"https://api.github.com/users/bvdzwet/events{/privacy}","received_events_url":"https://api.github.com/users/bvdzwet/received_events","type":"User","site_admin":false},"body":"This does not look like a situation that is to be expected normally. If this is something that should trigger further looking into it, I'd think at least warn would be a better level to log this, otherwise it is OK like it is with info level.","created_at":"2018-03-12T10:15:34Z","updated_at":"2018-03-12T11:01:54Z","html_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850/pull/156#discussion_r173745892","pull_request_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/156","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/comments/173745892"},"html":{"href":"https://github.com/OSGP/Protocol-Adapter-IEC61850/pull/156#discussion_r173745892"},"pull_request":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/156"}}},"pull_request":{"url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/156","id":173999584,"html_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850/pull/156","diff_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850/pull/156.diff","patch_url":"https://github.com/OSGP/Protocol-Adapter-IEC61850/pull/156.patch","issue_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues/156","number":156,"state":"open","locked":false,"title":"Zs 321 set entry id for reporting","user":{"login":"smvdheijden","id":11396536,"avatar_url":"https://avatars1.githubusercontent.com/u/11396536?v=4","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":"2018-03-09T13:00:55Z","updated_at":"2018-03-12T11:01:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f4db1ec46ba7342fe9f8aa29ffb1dcff11c0336","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/156/commits","review_comments_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/156/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/156/comments","statuses_url":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/statuses/29ebf5a1087f04d82f37868c2c404a31dd49083a","head":{"label":"OSGP:ZS-321-Set-entry-id-for-reporting","ref":"ZS-321-Set-entry-id-for-reporting","sha":"29ebf5a1087f04d82f37868c2c404a31dd49083a","user":{"login":"OSGP","id":11352045,"avatar_url":"https://avatars0.githubusercontent.com/u/11352045?v=4","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://avatars0.githubusercontent.com/u/11352045?v=4","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":"2018-01-05T01:48:51Z","pushed_at":"2018-03-09T16:15:32Z","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":"http://www.opensmartgridplatform.org/","size":12434,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":4,"open_issues":1,"watchers":4,"default_branch":"development"}},"base":{"label":"OSGP:development","ref":"development","sha":"29b6242a1e367b9dc6263b7781cad107506b774f","user":{"login":"OSGP","id":11352045,"avatar_url":"https://avatars0.githubusercontent.com/u/11352045?v=4","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://avatars0.githubusercontent.com/u/11352045?v=4","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":"2018-01-05T01:48:51Z","pushed_at":"2018-03-09T16:15:32Z","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":"http://www.opensmartgridplatform.org/","size":12434,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":4,"open_issues":1,"watchers":4,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/156"},"html":{"href":"https://github.com/OSGP/Protocol-Adapter-IEC61850/pull/156"},"issue":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues/156"},"comments":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/issues/156/comments"},"review_comments":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/pulls/156/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/156/commits"},"statuses":{"href":"https://api.github.com/repos/OSGP/Protocol-Adapter-IEC61850/statuses/29ebf5a1087f04d82f37868c2c404a31dd49083a"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"bvdzwet"}}