{"action":"created","issue":{"url":"https://api.github.com/repos/feedhenry/fh-fhc/issues/341","repository_url":"https://api.github.com/repos/feedhenry/fh-fhc","labels_url":"https://api.github.com/repos/feedhenry/fh-fhc/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/feedhenry/fh-fhc/issues/341/comments","events_url":"https://api.github.com/repos/feedhenry/fh-fhc/issues/341/events","html_url":"https://github.com/feedhenry/fh-fhc/pull/341","id":233012939,"number":341,"title":"FH-3606 - Add command fhc projects to V3 standard and add unit test","user":{"login":"camilamacedo86","id":7708031,"avatar_url":"https://avatars1.githubusercontent.com/u/7708031?v=3","gravatar_id":"","url":"https://api.github.com/users/camilamacedo86","html_url":"https://github.com/camilamacedo86","followers_url":"https://api.github.com/users/camilamacedo86/followers","following_url":"https://api.github.com/users/camilamacedo86/following{/other_user}","gists_url":"https://api.github.com/users/camilamacedo86/gists{/gist_id}","starred_url":"https://api.github.com/users/camilamacedo86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camilamacedo86/subscriptions","organizations_url":"https://api.github.com/users/camilamacedo86/orgs","repos_url":"https://api.github.com/users/camilamacedo86/repos","events_url":"https://api.github.com/users/camilamacedo86/events{/privacy}","received_events_url":"https://api.github.com/users/camilamacedo86/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-06-01T21:15:55Z","updated_at":"2017-06-07T09:25:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/feedhenry/fh-fhc/pulls/341","html_url":"https://github.com/feedhenry/fh-fhc/pull/341","diff_url":"https://github.com/feedhenry/fh-fhc/pull/341.diff","patch_url":"https://github.com/feedhenry/fh-fhc/pull/341.patch"},"body":"JIRA: https://issues.jboss.org/browse/FH-3606\r\n\r\nChanges:\r\n* Add the V3 standard\r\n* Divide as category\r\n* Improve output create, update and delete\r\n* Add unit tests\r\n\r\n\r\nFollowing local test \r\n\r\n* To list ( `./bin/fhc.js projects list` )\r\n\r\n<img width=\"679\" alt=\"screen shot 2017-06-01 at 6 00 04 pm\" src=\"https://cloud.githubusercontent.com/assets/7708031/26700544/20173aba-46f4-11e7-9f6c-db4342050156.png\">\r\n\r\n* To list with the json format. ( `./bin/fhc.js projects list --json` )\r\n\r\n<img width=\"602\" alt=\"screen shot 2017-06-02 at 10 41 29 am\" src=\"https://cloud.githubusercontent.com/assets/7708031/26728358/54540b0a-4780-11e7-86aa-af5625caccb2.png\">\r\n\r\n\r\n* To list ( `./bin/fhc.js projects list --autherEmail` )\r\n\r\n````\r\nCamilas-MBP:fh-fhc cmacedo$ ./bin/fhc.js projects list --authorEmail=\" \"\r\nfhc ERR! Not found projects with the authorEmail ' ' .\r\nfhc Command executed with error\r\nCamilas-MBP:fh-fhc cmacedo$ \r\n````\r\n<img width=\"668\" alt=\"screen shot 2017-06-01 at 6 05 38 pm\" src=\"https://cloud.githubusercontent.com/assets/7708031/26700735/de2d927e-46f4-11e7-8d3b-8457c919e896.png\">\r\n\r\n* To update: \r\n\r\n`````\r\nCamilas-MBP:fh-fhc cmacedo$ ./bin/fhc.js projects update ybmcmv3fuola27sxqxknzgp7 propName propValue\r\nProject 'TestAndroid' update successfully with the propName 'propName' and propValue 'propValue'\r\nCamilas-MBP:fh-fhc cmacedo$ \r\n``````\r\n\r\n* To delete:\r\n\r\n````\r\nCamilas-MBP:fh-fhc cmacedo$ ./bin/fhc.js projects delete ll3cuwvxomdxcdedbgu6pswy\r\nProject 'TestFHC' delete successfully\r\nCamilas-MBP:fh-fhc cmacedo$ ./bin/fhc.js projects delete ll3cuwvxomdxcdedbgu6pswy\r\nfhc ERR! Error: Error - not 2xx status code. (404)\r\nfhc ERR! {\"message\":\"Cannot find entity for guid=ll3cuwvxomdxcdedbgu6pswy\",\"status\":\"error\",\"result\":null}\r\nfhc ERR! Request ID:  01c188e1-f88d-4250-b311-82de7d050ca1\r\nfhc ERR! \r\nfhc ERR! System Darwin 15.6.0\r\nfhc ERR! command \"/Users/cmacedo/.nvm/versions/node/v4.4.3/bin/node\" \"/Users/cmacedo/work/fh-fhc/bin/fhc.js\" \"projects\" \"delete\" \"ll3cuwvxomdxcdedbgu6pswy\"\r\nfhc Command executed with error\r\nCamilas-MBP:fh-fhc cmacedo$ \r\n````\r\n\r\n* To clone:\r\n\r\n<img width=\"735\" alt=\"screen shot 2017-06-01 at 6 13 13 pm\" src=\"https://cloud.githubusercontent.com/assets/7708031/26701042/f68f7ebc-46f5-11e7-994c-cac5ff88f35b.png\">\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/feedhenry/fh-fhc/issues/comments/306740931","html_url":"https://github.com/feedhenry/fh-fhc/pull/341#issuecomment-306740931","issue_url":"https://api.github.com/repos/feedhenry/fh-fhc/issues/341","id":306740931,"user":{"login":"wtrocki","id":981838,"avatar_url":"https://avatars0.githubusercontent.com/u/981838?v=3","gravatar_id":"","url":"https://api.github.com/users/wtrocki","html_url":"https://github.com/wtrocki","followers_url":"https://api.github.com/users/wtrocki/followers","following_url":"https://api.github.com/users/wtrocki/following{/other_user}","gists_url":"https://api.github.com/users/wtrocki/gists{/gist_id}","starred_url":"https://api.github.com/users/wtrocki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtrocki/subscriptions","organizations_url":"https://api.github.com/users/wtrocki/orgs","repos_url":"https://api.github.com/users/wtrocki/repos","events_url":"https://api.github.com/users/wtrocki/events{/privacy}","received_events_url":"https://api.github.com/users/wtrocki/received_events","type":"User","site_admin":false},"created_at":"2017-06-07T09:25:18Z","updated_at":"2017-06-07T09:25:18Z","body":"> the customer are not using this project as dependence\r\nLet's not make assumptions for the part outside our control. fh-fhc can be used as library and command line client. Our scripts using both options. Let's try to make improvements without breaking compatibility. For this particular example:\r\n\r\nOld command format was: `fhc projects create <project-title>`\r\nCurrently: `fhc projects create --title=<title>`"}}
{"actor":{"display_login":"wtrocki"}}