{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/feathersjs/feathers-generator/pulls/10","id":85342585,"html_url":"https://github.com/feathersjs/feathers-generator/pull/10","diff_url":"https://github.com/feathersjs/feathers-generator/pull/10.diff","patch_url":"https://github.com/feathersjs/feathers-generator/pull/10.patch","issue_url":"https://api.github.com/repos/feathersjs/feathers-generator/issues/10","number":10,"state":"closed","locked":false,"title":"service generator","user":{"login":"slajax","id":18702,"avatar_url":"https://avatars.githubusercontent.com/u/18702?v=3","gravatar_id":"","url":"https://api.github.com/users/slajax","html_url":"https://github.com/slajax","followers_url":"https://api.github.com/users/slajax/followers","following_url":"https://api.github.com/users/slajax/following{/other_user}","gists_url":"https://api.github.com/users/slajax/gists{/gist_id}","starred_url":"https://api.github.com/users/slajax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slajax/subscriptions","organizations_url":"https://api.github.com/users/slajax/orgs","repos_url":"https://api.github.com/users/slajax/repos","events_url":"https://api.github.com/users/slajax/events{/privacy}","received_events_url":"https://api.github.com/users/slajax/received_events","type":"User","site_admin":false},"body":"## overview\r\n\r\nThis aims to implement a generator for services as per the description in #4.\r\n\r\n## note\r\n\r\ndepends on feathersjs/feathers-cli#41\r\n\r\n## tasks\r\n\r\n- [x] setup generator for use as `$ feathers generate service test`\r\n- [x] allow generator to `--mount` onto [feathers-bootstrap](https://github.com/feathersjs/feathers-bootstrap)\r\n- [x] support standalone vs generated apps with `--path` parameter\r\n- [x] test out basic service generator prompts\r\n- [x] generate static service config\r\n- [x] configure static service hooks\r\n- [x] configure static service filters\r\n- [x] configure static service model\r\n- [x] prompt prior to over writing paths\r\n- [ ] integration tests\r\n\r\n## technical debt\r\n- prompts have been implemented but disabled due to complexity of workflow\r\n- there are a few ares of technical debt that I noted with todos for refactor\r\n\r\n## screenshots\r\n![screenshot 2016-10-15 14 58 02](https://cloud.githubusercontent.com/assets/18702/19413637/d0ff48ac-92e7-11e6-8ffc-f38081c554e2.png)\r\n\r\n","created_at":"2016-09-15T04:06:24Z","updated_at":"2016-10-17T05:34:20Z","closed_at":"2016-10-17T05:34:20Z","merged_at":"2016-10-17T05:34:20Z","merge_commit_sha":"c4ee1e95700a94d7928a3c1b67d950731a474283","assignee":{"login":"slajax","id":18702,"avatar_url":"https://avatars.githubusercontent.com/u/18702?v=3","gravatar_id":"","url":"https://api.github.com/users/slajax","html_url":"https://github.com/slajax","followers_url":"https://api.github.com/users/slajax/followers","following_url":"https://api.github.com/users/slajax/following{/other_user}","gists_url":"https://api.github.com/users/slajax/gists{/gist_id}","starred_url":"https://api.github.com/users/slajax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slajax/subscriptions","organizations_url":"https://api.github.com/users/slajax/orgs","repos_url":"https://api.github.com/users/slajax/repos","events_url":"https://api.github.com/users/slajax/events{/privacy}","received_events_url":"https://api.github.com/users/slajax/received_events","type":"User","site_admin":false},"assignees":[{"login":"slajax","id":18702,"avatar_url":"https://avatars.githubusercontent.com/u/18702?v=3","gravatar_id":"","url":"https://api.github.com/users/slajax","html_url":"https://github.com/slajax","followers_url":"https://api.github.com/users/slajax/followers","following_url":"https://api.github.com/users/slajax/following{/other_user}","gists_url":"https://api.github.com/users/slajax/gists{/gist_id}","starred_url":"https://api.github.com/users/slajax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slajax/subscriptions","organizations_url":"https://api.github.com/users/slajax/orgs","repos_url":"https://api.github.com/users/slajax/repos","events_url":"https://api.github.com/users/slajax/events{/privacy}","received_events_url":"https://api.github.com/users/slajax/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/feathersjs/feathers-generator/pulls/10/commits","review_comments_url":"https://api.github.com/repos/feathersjs/feathers-generator/pulls/10/comments","review_comment_url":"https://api.github.com/repos/feathersjs/feathers-generator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/feathersjs/feathers-generator/issues/10/comments","statuses_url":"https://api.github.com/repos/feathersjs/feathers-generator/statuses/d70e4898eca08d5e0a1f5f9a482cb2345056365f","head":{"label":"slajax:slajax/4","ref":"slajax/4","sha":"d70e4898eca08d5e0a1f5f9a482cb2345056365f","user":{"login":"slajax","id":18702,"avatar_url":"https://avatars.githubusercontent.com/u/18702?v=3","gravatar_id":"","url":"https://api.github.com/users/slajax","html_url":"https://github.com/slajax","followers_url":"https://api.github.com/users/slajax/followers","following_url":"https://api.github.com/users/slajax/following{/other_user}","gists_url":"https://api.github.com/users/slajax/gists{/gist_id}","starred_url":"https://api.github.com/users/slajax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slajax/subscriptions","organizations_url":"https://api.github.com/users/slajax/orgs","repos_url":"https://api.github.com/users/slajax/repos","events_url":"https://api.github.com/users/slajax/events{/privacy}","received_events_url":"https://api.github.com/users/slajax/received_events","type":"User","site_admin":false},"repo":{"id":68264802,"name":"feathers-generator","full_name":"slajax/feathers-generator","owner":{"login":"slajax","id":18702,"avatar_url":"https://avatars.githubusercontent.com/u/18702?v=3","gravatar_id":"","url":"https://api.github.com/users/slajax","html_url":"https://github.com/slajax","followers_url":"https://api.github.com/users/slajax/followers","following_url":"https://api.github.com/users/slajax/following{/other_user}","gists_url":"https://api.github.com/users/slajax/gists{/gist_id}","starred_url":"https://api.github.com/users/slajax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slajax/subscriptions","organizations_url":"https://api.github.com/users/slajax/orgs","repos_url":"https://api.github.com/users/slajax/repos","events_url":"https://api.github.com/users/slajax/events{/privacy}","received_events_url":"https://api.github.com/users/slajax/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/slajax/feathers-generator","description":"A metalsmith based generator for scaffolding Feathers apps.","fork":true,"url":"https://api.github.com/repos/slajax/feathers-generator","forks_url":"https://api.github.com/repos/slajax/feathers-generator/forks","keys_url":"https://api.github.com/repos/slajax/feathers-generator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slajax/feathers-generator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slajax/feathers-generator/teams","hooks_url":"https://api.github.com/repos/slajax/feathers-generator/hooks","issue_events_url":"https://api.github.com/repos/slajax/feathers-generator/issues/events{/number}","events_url":"https://api.github.com/repos/slajax/feathers-generator/events","assignees_url":"https://api.github.com/repos/slajax/feathers-generator/assignees{/user}","branches_url":"https://api.github.com/repos/slajax/feathers-generator/branches{/branch}","tags_url":"https://api.github.com/repos/slajax/feathers-generator/tags","blobs_url":"https://api.github.com/repos/slajax/feathers-generator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slajax/feathers-generator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slajax/feathers-generator/git/refs{/sha}","trees_url":"https://api.github.com/repos/slajax/feathers-generator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slajax/feathers-generator/statuses/{sha}","languages_url":"https://api.github.com/repos/slajax/feathers-generator/languages","stargazers_url":"https://api.github.com/repos/slajax/feathers-generator/stargazers","contributors_url":"https://api.github.com/repos/slajax/feathers-generator/contributors","subscribers_url":"https://api.github.com/repos/slajax/feathers-generator/subscribers","subscription_url":"https://api.github.com/repos/slajax/feathers-generator/subscription","commits_url":"https://api.github.com/repos/slajax/feathers-generator/commits{/sha}","git_commits_url":"https://api.github.com/repos/slajax/feathers-generator/git/commits{/sha}","comments_url":"https://api.github.com/repos/slajax/feathers-generator/comments{/number}","issue_comment_url":"https://api.github.com/repos/slajax/feathers-generator/issues/comments{/number}","contents_url":"https://api.github.com/repos/slajax/feathers-generator/contents/{+path}","compare_url":"https://api.github.com/repos/slajax/feathers-generator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slajax/feathers-generator/merges","archive_url":"https://api.github.com/repos/slajax/feathers-generator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slajax/feathers-generator/downloads","issues_url":"https://api.github.com/repos/slajax/feathers-generator/issues{/number}","pulls_url":"https://api.github.com/repos/slajax/feathers-generator/pulls{/number}","milestones_url":"https://api.github.com/repos/slajax/feathers-generator/milestones{/number}","notifications_url":"https://api.github.com/repos/slajax/feathers-generator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slajax/feathers-generator/labels{/name}","releases_url":"https://api.github.com/repos/slajax/feathers-generator/releases{/id}","deployments_url":"https://api.github.com/repos/slajax/feathers-generator/deployments","created_at":"2016-09-15T03:55:40Z","updated_at":"2016-09-15T03:55:41Z","pushed_at":"2016-10-15T23:26:11Z","git_url":"git://github.com/slajax/feathers-generator.git","ssh_url":"git@github.com:slajax/feathers-generator.git","clone_url":"https://github.com/slajax/feathers-generator.git","svn_url":"https://github.com/slajax/feathers-generator","homepage":null,"size":53,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"feathersjs:master","ref":"master","sha":"b521f097dccb03ab32ccc1c9647c89bd8bf2e47d","user":{"login":"feathersjs","id":5321853,"avatar_url":"https://avatars.githubusercontent.com/u/5321853?v=3","gravatar_id":"","url":"https://api.github.com/users/feathersjs","html_url":"https://github.com/feathersjs","followers_url":"https://api.github.com/users/feathersjs/followers","following_url":"https://api.github.com/users/feathersjs/following{/other_user}","gists_url":"https://api.github.com/users/feathersjs/gists{/gist_id}","starred_url":"https://api.github.com/users/feathersjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feathersjs/subscriptions","organizations_url":"https://api.github.com/users/feathersjs/orgs","repos_url":"https://api.github.com/users/feathersjs/repos","events_url":"https://api.github.com/users/feathersjs/events{/privacy}","received_events_url":"https://api.github.com/users/feathersjs/received_events","type":"Organization","site_admin":false},"repo":{"id":62418211,"name":"feathers-generator","full_name":"feathersjs/feathers-generator","owner":{"login":"feathersjs","id":5321853,"avatar_url":"https://avatars.githubusercontent.com/u/5321853?v=3","gravatar_id":"","url":"https://api.github.com/users/feathersjs","html_url":"https://github.com/feathersjs","followers_url":"https://api.github.com/users/feathersjs/followers","following_url":"https://api.github.com/users/feathersjs/following{/other_user}","gists_url":"https://api.github.com/users/feathersjs/gists{/gist_id}","starred_url":"https://api.github.com/users/feathersjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feathersjs/subscriptions","organizations_url":"https://api.github.com/users/feathersjs/orgs","repos_url":"https://api.github.com/users/feathersjs/repos","events_url":"https://api.github.com/users/feathersjs/events{/privacy}","received_events_url":"https://api.github.com/users/feathersjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/feathersjs/feathers-generator","description":"A metalsmith based generator for scaffolding Feathers apps.","fork":false,"url":"https://api.github.com/repos/feathersjs/feathers-generator","forks_url":"https://api.github.com/repos/feathersjs/feathers-generator/forks","keys_url":"https://api.github.com/repos/feathersjs/feathers-generator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feathersjs/feathers-generator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feathersjs/feathers-generator/teams","hooks_url":"https://api.github.com/repos/feathersjs/feathers-generator/hooks","issue_events_url":"https://api.github.com/repos/feathersjs/feathers-generator/issues/events{/number}","events_url":"https://api.github.com/repos/feathersjs/feathers-generator/events","assignees_url":"https://api.github.com/repos/feathersjs/feathers-generator/assignees{/user}","branches_url":"https://api.github.com/repos/feathersjs/feathers-generator/branches{/branch}","tags_url":"https://api.github.com/repos/feathersjs/feathers-generator/tags","blobs_url":"https://api.github.com/repos/feathersjs/feathers-generator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feathersjs/feathers-generator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feathersjs/feathers-generator/git/refs{/sha}","trees_url":"https://api.github.com/repos/feathersjs/feathers-generator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feathersjs/feathers-generator/statuses/{sha}","languages_url":"https://api.github.com/repos/feathersjs/feathers-generator/languages","stargazers_url":"https://api.github.com/repos/feathersjs/feathers-generator/stargazers","contributors_url":"https://api.github.com/repos/feathersjs/feathers-generator/contributors","subscribers_url":"https://api.github.com/repos/feathersjs/feathers-generator/subscribers","subscription_url":"https://api.github.com/repos/feathersjs/feathers-generator/subscription","commits_url":"https://api.github.com/repos/feathersjs/feathers-generator/commits{/sha}","git_commits_url":"https://api.github.com/repos/feathersjs/feathers-generator/git/commits{/sha}","comments_url":"https://api.github.com/repos/feathersjs/feathers-generator/comments{/number}","issue_comment_url":"https://api.github.com/repos/feathersjs/feathers-generator/issues/comments{/number}","contents_url":"https://api.github.com/repos/feathersjs/feathers-generator/contents/{+path}","compare_url":"https://api.github.com/repos/feathersjs/feathers-generator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feathersjs/feathers-generator/merges","archive_url":"https://api.github.com/repos/feathersjs/feathers-generator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feathersjs/feathers-generator/downloads","issues_url":"https://api.github.com/repos/feathersjs/feathers-generator/issues{/number}","pulls_url":"https://api.github.com/repos/feathersjs/feathers-generator/pulls{/number}","milestones_url":"https://api.github.com/repos/feathersjs/feathers-generator/milestones{/number}","notifications_url":"https://api.github.com/repos/feathersjs/feathers-generator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feathersjs/feathers-generator/labels{/name}","releases_url":"https://api.github.com/repos/feathersjs/feathers-generator/releases{/id}","deployments_url":"https://api.github.com/repos/feathersjs/feathers-generator/deployments","created_at":"2016-07-01T20:29:50Z","updated_at":"2016-10-16T07:05:43Z","pushed_at":"2016-10-17T05:34:20Z","git_url":"git://github.com/feathersjs/feathers-generator.git","ssh_url":"git@github.com:feathersjs/feathers-generator.git","clone_url":"https://github.com/feathersjs/feathers-generator.git","svn_url":"https://github.com/feathersjs/feathers-generator","homepage":null,"size":47,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":12,"forks":2,"open_issues":12,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/feathersjs/feathers-generator/pulls/10"},"html":{"href":"https://github.com/feathersjs/feathers-generator/pull/10"},"issue":{"href":"https://api.github.com/repos/feathersjs/feathers-generator/issues/10"},"comments":{"href":"https://api.github.com/repos/feathersjs/feathers-generator/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/feathersjs/feathers-generator/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/feathersjs/feathers-generator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/feathersjs/feathers-generator/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/feathersjs/feathers-generator/statuses/d70e4898eca08d5e0a1f5f9a482cb2345056365f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"slajax","id":18702,"avatar_url":"https://avatars.githubusercontent.com/u/18702?v=3","gravatar_id":"","url":"https://api.github.com/users/slajax","html_url":"https://github.com/slajax","followers_url":"https://api.github.com/users/slajax/followers","following_url":"https://api.github.com/users/slajax/following{/other_user}","gists_url":"https://api.github.com/users/slajax/gists{/gist_id}","starred_url":"https://api.github.com/users/slajax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slajax/subscriptions","organizations_url":"https://api.github.com/users/slajax/orgs","repos_url":"https://api.github.com/users/slajax/repos","events_url":"https://api.github.com/users/slajax/events{/privacy}","received_events_url":"https://api.github.com/users/slajax/received_events","type":"User","site_admin":false},"comments":7,"review_comments":5,"commits":12,"additions":167,"deletions":16,"changed_files":14}}
{"actor":{"display_login":"slajax"}}