{"action":"created","comment":{"url":"https://api.github.com/repos/powsybl/powsybl-core/pulls/comments/217011138","pull_request_review_id":154622575,"id":217011138,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzAxMTEzOA==","diff_hunk":"@@ -482,5 +482,21 @@ public void test() throws IOException, InterruptedException {\n \n         assertTrue(storage.getDependencies(folder3Info.getId(), \"dep\").isEmpty());\n         assertTrue(storage.getDependencies(folder3Info.getId(), \"dep2\").isEmpty());\n+\n+        // 19) rename node test\n+        NodeInfo folder5Info = storage.createNode(rootFolderInfo.getId(), \"test5\", FOLDER_PSEUDO_CLASS, \"\", 0, new NodeGenericMetadata());\n+        storage.flush();\n+        String newName = \"newtest5\";\n+\n+        folder5Info.setName(newName);\n+        storage.flush();\n+        assertEquals(newName, folder5Info.getName());\n+\n+        NodeInfo folder6Info = storage.createNode(rootFolderInfo.getId(), \"test6\", FOLDER_PSEUDO_CLASS, \"\", 0, new NodeGenericMetadata());\n+        try {\n+            folder6Info.setName(null);\n+            fail();\n+        } catch (NullPointerException ignored) {\n+        }","path":"afs/afs-storage-api/src/test/java/com/powsybl/afs/storage/AbstractAppStorageTest.java","position":19,"original_position":19,"commit_id":"3140d77f485c7195f0c6e44c15c8997718861d4a","original_commit_id":"3140d77f485c7195f0c6e44c15c8997718861d4a","user":{"login":"mathbagu","id":17516110,"node_id":"MDQ6VXNlcjE3NTE2MTEw","avatar_url":"https://avatars1.githubusercontent.com/u/17516110?v=4","gravatar_id":"","url":"https://api.github.com/users/mathbagu","html_url":"https://github.com/mathbagu","followers_url":"https://api.github.com/users/mathbagu/followers","following_url":"https://api.github.com/users/mathbagu/following{/other_user}","gists_url":"https://api.github.com/users/mathbagu/gists{/gist_id}","starred_url":"https://api.github.com/users/mathbagu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathbagu/subscriptions","organizations_url":"https://api.github.com/users/mathbagu/orgs","repos_url":"https://api.github.com/users/mathbagu/repos","events_url":"https://api.github.com/users/mathbagu/events{/privacy}","received_events_url":"https://api.github.com/users/mathbagu/received_events","type":"User","site_admin":false},"body":"Complete this test with an empty string","created_at":"2018-09-12T12:35:52Z","updated_at":"2018-09-12T12:39:42Z","html_url":"https://github.com/powsybl/powsybl-core/pull/413#discussion_r217011138","pull_request_url":"https://api.github.com/repos/powsybl/powsybl-core/pulls/413","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/powsybl/powsybl-core/pulls/comments/217011138"},"html":{"href":"https://github.com/powsybl/powsybl-core/pull/413#discussion_r217011138"},"pull_request":{"href":"https://api.github.com/repos/powsybl/powsybl-core/pulls/413"}}},"pull_request":{"url":"https://api.github.com/repos/powsybl/powsybl-core/pulls/413","id":212743073,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNzQzMDcz","html_url":"https://github.com/powsybl/powsybl-core/pull/413","diff_url":"https://github.com/powsybl/powsybl-core/pull/413.diff","patch_url":"https://github.com/powsybl/powsybl-core/pull/413.patch","issue_url":"https://api.github.com/repos/powsybl/powsybl-core/issues/413","number":413,"state":"open","locked":false,"title":"add rename method to afs","user":{"login":"nashousni","id":42155465,"node_id":"MDQ6VXNlcjQyMTU1NDY1","avatar_url":"https://avatars1.githubusercontent.com/u/42155465?v=4","gravatar_id":"","url":"https://api.github.com/users/nashousni","html_url":"https://github.com/nashousni","followers_url":"https://api.github.com/users/nashousni/followers","following_url":"https://api.github.com/users/nashousni/following{/other_user}","gists_url":"https://api.github.com/users/nashousni/gists{/gist_id}","starred_url":"https://api.github.com/users/nashousni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nashousni/subscriptions","organizations_url":"https://api.github.com/users/nashousni/orgs","repos_url":"https://api.github.com/users/nashousni/repos","events_url":"https://api.github.com/users/nashousni/events{/privacy}","received_events_url":"https://api.github.com/users/nashousni/received_events","type":"User","site_admin":false},"body":"rename method implemented in afs","created_at":"2018-09-03T13:05:32Z","updated_at":"2018-09-12T12:39:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a900bcc2beede689c2391ff464dbc0bc568fcfe0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/powsybl/powsybl-core/pulls/413/commits","review_comments_url":"https://api.github.com/repos/powsybl/powsybl-core/pulls/413/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/413/comments","statuses_url":"https://api.github.com/repos/powsybl/powsybl-core/statuses/3140d77f485c7195f0c6e44c15c8997718861d4a","head":{"label":"powsybl:rename_feature","ref":"rename_feature","sha":"3140d77f485c7195f0c6e44c15c8997718861d4a","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","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},"private":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-09-07T18:30:32Z","pushed_at":"2018-09-12T11:02:25Z","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":8413,"stargazers_count":20,"watchers_count":20,"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":38,"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":38,"watchers":20,"default_branch":"master"}},"base":{"label":"powsybl:master","ref":"master","sha":"ab5502cbf209828c188b31ee01845e2434fbeac0","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","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},"private":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-09-07T18:30:32Z","pushed_at":"2018-09-12T11:02:25Z","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":8413,"stargazers_count":20,"watchers_count":20,"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":38,"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":38,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/powsybl/powsybl-core/pulls/413"},"html":{"href":"https://github.com/powsybl/powsybl-core/pull/413"},"issue":{"href":"https://api.github.com/repos/powsybl/powsybl-core/issues/413"},"comments":{"href":"https://api.github.com/repos/powsybl/powsybl-core/issues/413/comments"},"review_comments":{"href":"https://api.github.com/repos/powsybl/powsybl-core/pulls/413/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/413/commits"},"statuses":{"href":"https://api.github.com/repos/powsybl/powsybl-core/statuses/3140d77f485c7195f0c6e44c15c8997718861d4a"}},"author_association":"NONE"}}
{"actor":{"display_login":"mathbagu"}}