{"action":"created","issue":{"url":"https://api.github.com/repos/ballerinalang/composer/issues/4275","repository_url":"https://api.github.com/repos/ballerinalang/composer","labels_url":"https://api.github.com/repos/ballerinalang/composer/issues/4275/labels{/name}","comments_url":"https://api.github.com/repos/ballerinalang/composer/issues/4275/comments","events_url":"https://api.github.com/repos/ballerinalang/composer/issues/4275/events","html_url":"https://github.com/ballerinalang/composer/issues/4275","id":269456804,"number":4275,"title":"Should we add an action by default to a connector?","user":{"login":"maheeka","id":1029806,"avatar_url":"https://avatars1.githubusercontent.com/u/1029806?v=4","gravatar_id":"","url":"https://api.github.com/users/maheeka","html_url":"https://github.com/maheeka","followers_url":"https://api.github.com/users/maheeka/followers","following_url":"https://api.github.com/users/maheeka/following{/other_user}","gists_url":"https://api.github.com/users/maheeka/gists{/gist_id}","starred_url":"https://api.github.com/users/maheeka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheeka/subscriptions","organizations_url":"https://api.github.com/users/maheeka/orgs","repos_url":"https://api.github.com/users/maheeka/repos","events_url":"https://api.github.com/users/maheeka/events{/privacy}","received_events_url":"https://api.github.com/users/maheeka/received_events","type":"User","site_admin":false},"labels":[{"id":684576910,"url":"https://api.github.com/repos/ballerinalang/composer/labels/Priority/High","name":"Priority/High","color":"ff9900","default":false},{"id":684576851,"url":"https://api.github.com/repos/ballerinalang/composer/labels/Severity/Minor","name":"Severity/Minor","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":{"login":"dakshika","id":6497326,"avatar_url":"https://avatars2.githubusercontent.com/u/6497326?v=4","gravatar_id":"","url":"https://api.github.com/users/dakshika","html_url":"https://github.com/dakshika","followers_url":"https://api.github.com/users/dakshika/followers","following_url":"https://api.github.com/users/dakshika/following{/other_user}","gists_url":"https://api.github.com/users/dakshika/gists{/gist_id}","starred_url":"https://api.github.com/users/dakshika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakshika/subscriptions","organizations_url":"https://api.github.com/users/dakshika/orgs","repos_url":"https://api.github.com/users/dakshika/repos","events_url":"https://api.github.com/users/dakshika/events{/privacy}","received_events_url":"https://api.github.com/users/dakshika/received_events","type":"User","site_admin":false},"assignees":[{"login":"dakshika","id":6497326,"avatar_url":"https://avatars2.githubusercontent.com/u/6497326?v=4","gravatar_id":"","url":"https://api.github.com/users/dakshika","html_url":"https://github.com/dakshika","followers_url":"https://api.github.com/users/dakshika/followers","following_url":"https://api.github.com/users/dakshika/following{/other_user}","gists_url":"https://api.github.com/users/dakshika/gists{/gist_id}","starred_url":"https://api.github.com/users/dakshika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakshika/subscriptions","organizations_url":"https://api.github.com/users/dakshika/orgs","repos_url":"https://api.github.com/users/dakshika/repos","events_url":"https://api.github.com/users/dakshika/events{/privacy}","received_events_url":"https://api.github.com/users/dakshika/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ballerinalang/composer/milestones/21","html_url":"https://github.com/ballerinalang/composer/milestone/21","labels_url":"https://api.github.com/repos/ballerinalang/composer/milestones/21/labels","id":2868882,"number":21,"title":"v0.94.2","description":"","creator":{"login":"maheeka","id":1029806,"avatar_url":"https://avatars1.githubusercontent.com/u/1029806?v=4","gravatar_id":"","url":"https://api.github.com/users/maheeka","html_url":"https://github.com/maheeka","followers_url":"https://api.github.com/users/maheeka/followers","following_url":"https://api.github.com/users/maheeka/following{/other_user}","gists_url":"https://api.github.com/users/maheeka/gists{/gist_id}","starred_url":"https://api.github.com/users/maheeka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheeka/subscriptions","organizations_url":"https://api.github.com/users/maheeka/orgs","repos_url":"https://api.github.com/users/maheeka/repos","events_url":"https://api.github.com/users/maheeka/events{/privacy}","received_events_url":"https://api.github.com/users/maheeka/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":24,"state":"open","created_at":"2017-10-27T04:47:27Z","updated_at":"2017-11-02T09:52:21Z","due_on":"2017-11-03T07:00:00Z","closed_at":null},"comments":1,"created_at":"2017-10-30T01:21:54Z","updated_at":"2017-11-02T09:52:21Z","closed_at":"2017-11-02T09:52:21Z","author_association":"MEMBER","body":"Similar to services having a resource by default, should we add an action by default to the connector. It makes sense since a connector has no value without having any actions. Also, it helps with the blank look of an empty connector.\r\n<img width=\"654\" alt=\"image\" src=\"https://user-images.githubusercontent.com/1029806/32150948-8b6314e0-bd3e-11e7-85b6-7bfcda109674.png\">\r\n\r\nAlso shall we left align variable a bit in connector. It is okay for services, but doesn't look good in connectors. \r\n\r\nSimilar to Add Resources in services, we should have the same for Connectors to add actions. \r\n\r\n<img width=\"649\" alt=\"image\" src=\"https://user-images.githubusercontent.com/1029806/32150950-8fc36242-bd3e-11e7-8e41-20adc56794db.png\">\r\n\r\n@dakshika , @hevayo \r\n"},"comment":{"url":"https://api.github.com/repos/ballerinalang/composer/issues/comments/341370142","html_url":"https://github.com/ballerinalang/composer/issues/4275#issuecomment-341370142","issue_url":"https://api.github.com/repos/ballerinalang/composer/issues/4275","id":341370142,"user":{"login":"hevayo","id":323846,"avatar_url":"https://avatars0.githubusercontent.com/u/323846?v=4","gravatar_id":"","url":"https://api.github.com/users/hevayo","html_url":"https://github.com/hevayo","followers_url":"https://api.github.com/users/hevayo/followers","following_url":"https://api.github.com/users/hevayo/following{/other_user}","gists_url":"https://api.github.com/users/hevayo/gists{/gist_id}","starred_url":"https://api.github.com/users/hevayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hevayo/subscriptions","organizations_url":"https://api.github.com/users/hevayo/orgs","repos_url":"https://api.github.com/users/hevayo/repos","events_url":"https://api.github.com/users/hevayo/events{/privacy}","received_events_url":"https://api.github.com/users/hevayo/received_events","type":"User","site_admin":false},"created_at":"2017-11-02T09:52:21Z","updated_at":"2017-11-02T09:52:21Z","author_association":"CONTRIBUTOR","body":"Fixed in HEAD"}}
{"actor":{"display_login":"hevayo"}}