{"action":"created","comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/comments/51077954","id":51077954,"diff_hunk":"@@ -1447,6 +1454,18 @@ module.exports = JhipsterGenerator.extend({\n             this.removefile('profile_prod.gradle');\n             this.removefile('sonar.gradle');\n             this.removefile('yeoman.gradle');\n+        },\n+\n+        writeEntitiesFiles: function () {","path":"app/index.js","position":24,"original_position":24,"commit_id":"24de16c934ed8a6ae8d2182f13d65c7069d9495b","original_commit_id":"24de16c934ed8a6ae8d2182f13d65c7069d9495b","user":{"login":"deepu105","id":1107223,"avatar_url":"https://avatars.githubusercontent.com/u/1107223?v=3","gravatar_id":"","url":"https://api.github.com/users/deepu105","html_url":"https://github.com/deepu105","followers_url":"https://api.github.com/users/deepu105/followers","following_url":"https://api.github.com/users/deepu105/following{/other_user}","gists_url":"https://api.github.com/users/deepu105/gists{/gist_id}","starred_url":"https://api.github.com/users/deepu105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepu105/subscriptions","organizations_url":"https://api.github.com/users/deepu105/orgs","repos_url":"https://api.github.com/users/deepu105/repos","events_url":"https://api.github.com/users/deepu105/events{/privacy}","received_events_url":"https://api.github.com/users/deepu105/received_events","type":"User","site_admin":false},"body":"can we rename the method to `regenerateEntities`","created_at":"2016-01-28T04:12:31Z","updated_at":"2016-01-28T04:12:31Z","html_url":"https://github.com/jhipster/generator-jhipster/pull/2708#discussion_r51077954","pull_request_url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/2708","_links":{"self":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/comments/51077954"},"html":{"href":"https://github.com/jhipster/generator-jhipster/pull/2708#discussion_r51077954"},"pull_request":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/2708"}}},"pull_request":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/2708","id":57394393,"html_url":"https://github.com/jhipster/generator-jhipster/pull/2708","diff_url":"https://github.com/jhipster/generator-jhipster/pull/2708.diff","patch_url":"https://github.com/jhipster/generator-jhipster/pull/2708.patch","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2708","number":2708,"state":"open","locked":false,"title":"Regen existing entities from the main generator","user":{"login":"cbornet","id":11633333,"avatar_url":"https://avatars.githubusercontent.com/u/11633333?v=3","gravatar_id":"","url":"https://api.github.com/users/cbornet","html_url":"https://github.com/cbornet","followers_url":"https://api.github.com/users/cbornet/followers","following_url":"https://api.github.com/users/cbornet/following{/other_user}","gists_url":"https://api.github.com/users/cbornet/gists{/gist_id}","starred_url":"https://api.github.com/users/cbornet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbornet/subscriptions","organizations_url":"https://api.github.com/users/cbornet/orgs","repos_url":"https://api.github.com/users/cbornet/repos","events_url":"https://api.github.com/users/cbornet/events{/privacy}","received_events_url":"https://api.github.com/users/cbornet/received_events","type":"User","site_admin":false},"body":"Fix #2702","created_at":"2016-01-27T17:32:50Z","updated_at":"2016-01-28T04:12:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2f2e3e258034225167bb1f669932578e802f5ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/2708/commits","review_comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/2708/comments","review_comment_url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2708/comments","statuses_url":"https://api.github.com/repos/jhipster/generator-jhipster/statuses/24de16c934ed8a6ae8d2182f13d65c7069d9495b","head":{"label":"cbornet:regen_entities","ref":"regen_entities","sha":"24de16c934ed8a6ae8d2182f13d65c7069d9495b","user":{"login":"cbornet","id":11633333,"avatar_url":"https://avatars.githubusercontent.com/u/11633333?v=3","gravatar_id":"","url":"https://api.github.com/users/cbornet","html_url":"https://github.com/cbornet","followers_url":"https://api.github.com/users/cbornet/followers","following_url":"https://api.github.com/users/cbornet/following{/other_user}","gists_url":"https://api.github.com/users/cbornet/gists{/gist_id}","starred_url":"https://api.github.com/users/cbornet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbornet/subscriptions","organizations_url":"https://api.github.com/users/cbornet/orgs","repos_url":"https://api.github.com/users/cbornet/repos","events_url":"https://api.github.com/users/cbornet/events{/privacy}","received_events_url":"https://api.github.com/users/cbornet/received_events","type":"User","site_admin":false},"repo":{"id":38508962,"name":"generator-jhipster","full_name":"cbornet/generator-jhipster","owner":{"login":"cbornet","id":11633333,"avatar_url":"https://avatars.githubusercontent.com/u/11633333?v=3","gravatar_id":"","url":"https://api.github.com/users/cbornet","html_url":"https://github.com/cbornet","followers_url":"https://api.github.com/users/cbornet/followers","following_url":"https://api.github.com/users/cbornet/following{/other_user}","gists_url":"https://api.github.com/users/cbornet/gists{/gist_id}","starred_url":"https://api.github.com/users/cbornet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbornet/subscriptions","organizations_url":"https://api.github.com/users/cbornet/orgs","repos_url":"https://api.github.com/users/cbornet/repos","events_url":"https://api.github.com/users/cbornet/events{/privacy}","received_events_url":"https://api.github.com/users/cbornet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbornet/generator-jhipster","description":"Hipster stack for Java developers. Yeoman + Maven + Spring + AngularJS in one handy generator.","fork":true,"url":"https://api.github.com/repos/cbornet/generator-jhipster","forks_url":"https://api.github.com/repos/cbornet/generator-jhipster/forks","keys_url":"https://api.github.com/repos/cbornet/generator-jhipster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbornet/generator-jhipster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbornet/generator-jhipster/teams","hooks_url":"https://api.github.com/repos/cbornet/generator-jhipster/hooks","issue_events_url":"https://api.github.com/repos/cbornet/generator-jhipster/issues/events{/number}","events_url":"https://api.github.com/repos/cbornet/generator-jhipster/events","assignees_url":"https://api.github.com/repos/cbornet/generator-jhipster/assignees{/user}","branches_url":"https://api.github.com/repos/cbornet/generator-jhipster/branches{/branch}","tags_url":"https://api.github.com/repos/cbornet/generator-jhipster/tags","blobs_url":"https://api.github.com/repos/cbornet/generator-jhipster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbornet/generator-jhipster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbornet/generator-jhipster/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbornet/generator-jhipster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbornet/generator-jhipster/statuses/{sha}","languages_url":"https://api.github.com/repos/cbornet/generator-jhipster/languages","stargazers_url":"https://api.github.com/repos/cbornet/generator-jhipster/stargazers","contributors_url":"https://api.github.com/repos/cbornet/generator-jhipster/contributors","subscribers_url":"https://api.github.com/repos/cbornet/generator-jhipster/subscribers","subscription_url":"https://api.github.com/repos/cbornet/generator-jhipster/subscription","commits_url":"https://api.github.com/repos/cbornet/generator-jhipster/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbornet/generator-jhipster/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbornet/generator-jhipster/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbornet/generator-jhipster/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbornet/generator-jhipster/contents/{+path}","compare_url":"https://api.github.com/repos/cbornet/generator-jhipster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbornet/generator-jhipster/merges","archive_url":"https://api.github.com/repos/cbornet/generator-jhipster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbornet/generator-jhipster/downloads","issues_url":"https://api.github.com/repos/cbornet/generator-jhipster/issues{/number}","pulls_url":"https://api.github.com/repos/cbornet/generator-jhipster/pulls{/number}","milestones_url":"https://api.github.com/repos/cbornet/generator-jhipster/milestones{/number}","notifications_url":"https://api.github.com/repos/cbornet/generator-jhipster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbornet/generator-jhipster/labels{/name}","releases_url":"https://api.github.com/repos/cbornet/generator-jhipster/releases{/id}","deployments_url":"https://api.github.com/repos/cbornet/generator-jhipster/deployments","created_at":"2015-07-03T20:09:42Z","updated_at":"2016-01-19T09:17:09Z","pushed_at":"2016-01-27T17:38:54Z","git_url":"git://github.com/cbornet/generator-jhipster.git","ssh_url":"git@github.com:cbornet/generator-jhipster.git","clone_url":"https://github.com/cbornet/generator-jhipster.git","svn_url":"https://github.com/cbornet/generator-jhipster","homepage":"http://jhipster.github.io","size":9369,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jhipster:master","ref":"master","sha":"470fbc8e3559449ddda4e0fb14cab1c9ab217b71","user":{"login":"jhipster","id":6059488,"avatar_url":"https://avatars.githubusercontent.com/u/6059488?v=3","gravatar_id":"","url":"https://api.github.com/users/jhipster","html_url":"https://github.com/jhipster","followers_url":"https://api.github.com/users/jhipster/followers","following_url":"https://api.github.com/users/jhipster/following{/other_user}","gists_url":"https://api.github.com/users/jhipster/gists{/gist_id}","starred_url":"https://api.github.com/users/jhipster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhipster/subscriptions","organizations_url":"https://api.github.com/users/jhipster/orgs","repos_url":"https://api.github.com/users/jhipster/repos","events_url":"https://api.github.com/users/jhipster/events{/privacy}","received_events_url":"https://api.github.com/users/jhipster/received_events","type":"Organization","site_admin":false},"repo":{"id":13753636,"name":"generator-jhipster","full_name":"jhipster/generator-jhipster","owner":{"login":"jhipster","id":6059488,"avatar_url":"https://avatars.githubusercontent.com/u/6059488?v=3","gravatar_id":"","url":"https://api.github.com/users/jhipster","html_url":"https://github.com/jhipster","followers_url":"https://api.github.com/users/jhipster/followers","following_url":"https://api.github.com/users/jhipster/following{/other_user}","gists_url":"https://api.github.com/users/jhipster/gists{/gist_id}","starred_url":"https://api.github.com/users/jhipster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhipster/subscriptions","organizations_url":"https://api.github.com/users/jhipster/orgs","repos_url":"https://api.github.com/users/jhipster/repos","events_url":"https://api.github.com/users/jhipster/events{/privacy}","received_events_url":"https://api.github.com/users/jhipster/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jhipster/generator-jhipster","description":"Hipster stack for Java developers. Yeoman + Maven + Spring + AngularJS in one handy generator.","fork":false,"url":"https://api.github.com/repos/jhipster/generator-jhipster","forks_url":"https://api.github.com/repos/jhipster/generator-jhipster/forks","keys_url":"https://api.github.com/repos/jhipster/generator-jhipster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhipster/generator-jhipster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhipster/generator-jhipster/teams","hooks_url":"https://api.github.com/repos/jhipster/generator-jhipster/hooks","issue_events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/events{/number}","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/events","assignees_url":"https://api.github.com/repos/jhipster/generator-jhipster/assignees{/user}","branches_url":"https://api.github.com/repos/jhipster/generator-jhipster/branches{/branch}","tags_url":"https://api.github.com/repos/jhipster/generator-jhipster/tags","blobs_url":"https://api.github.com/repos/jhipster/generator-jhipster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhipster/generator-jhipster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhipster/generator-jhipster/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhipster/generator-jhipster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhipster/generator-jhipster/statuses/{sha}","languages_url":"https://api.github.com/repos/jhipster/generator-jhipster/languages","stargazers_url":"https://api.github.com/repos/jhipster/generator-jhipster/stargazers","contributors_url":"https://api.github.com/repos/jhipster/generator-jhipster/contributors","subscribers_url":"https://api.github.com/repos/jhipster/generator-jhipster/subscribers","subscription_url":"https://api.github.com/repos/jhipster/generator-jhipster/subscription","commits_url":"https://api.github.com/repos/jhipster/generator-jhipster/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhipster/generator-jhipster/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhipster/generator-jhipster/contents/{+path}","compare_url":"https://api.github.com/repos/jhipster/generator-jhipster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhipster/generator-jhipster/merges","archive_url":"https://api.github.com/repos/jhipster/generator-jhipster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhipster/generator-jhipster/downloads","issues_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues{/number}","pulls_url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls{/number}","milestones_url":"https://api.github.com/repos/jhipster/generator-jhipster/milestones{/number}","notifications_url":"https://api.github.com/repos/jhipster/generator-jhipster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/labels{/name}","releases_url":"https://api.github.com/repos/jhipster/generator-jhipster/releases{/id}","deployments_url":"https://api.github.com/repos/jhipster/generator-jhipster/deployments","created_at":"2013-10-21T20:07:22Z","updated_at":"2016-01-28T03:01:17Z","pushed_at":"2016-01-27T23:58:32Z","git_url":"git://github.com/jhipster/generator-jhipster.git","ssh_url":"git@github.com:jhipster/generator-jhipster.git","clone_url":"https://github.com/jhipster/generator-jhipster.git","svn_url":"https://github.com/jhipster/generator-jhipster","homepage":"http://jhipster.github.io","size":11763,"stargazers_count":3324,"watchers_count":3324,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":747,"mirror_url":null,"open_issues_count":37,"forks":747,"open_issues":37,"watchers":3324,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/2708"},"html":{"href":"https://github.com/jhipster/generator-jhipster/pull/2708"},"issue":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2708"},"comments":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2708/comments"},"review_comments":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/2708/comments"},"review_comment":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/2708/commits"},"statuses":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/statuses/24de16c934ed8a6ae8d2182f13d65c7069d9495b"}}}}