{"action":"created","issue":{"url":"https://api.github.com/repos/banzaicloud/pipeline/issues/498","repository_url":"https://api.github.com/repos/banzaicloud/pipeline","labels_url":"https://api.github.com/repos/banzaicloud/pipeline/issues/498/labels{/name}","comments_url":"https://api.github.com/repos/banzaicloud/pipeline/issues/498/comments","events_url":"https://api.github.com/repos/banzaicloud/pipeline/issues/498/events","html_url":"https://github.com/banzaicloud/pipeline/issues/498","id":325695423,"node_id":"MDU6SXNzdWUzMjU2OTU0MjM=","number":498,"title":"Handle in-progress ClusterCreation","user":{"login":"bonifaido","id":23779,"node_id":"MDQ6VXNlcjIzNzc5","avatar_url":"https://avatars0.githubusercontent.com/u/23779?v=4","gravatar_id":"","url":"https://api.github.com/users/bonifaido","html_url":"https://github.com/bonifaido","followers_url":"https://api.github.com/users/bonifaido/followers","following_url":"https://api.github.com/users/bonifaido/following{/other_user}","gists_url":"https://api.github.com/users/bonifaido/gists{/gist_id}","starred_url":"https://api.github.com/users/bonifaido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonifaido/subscriptions","organizations_url":"https://api.github.com/users/bonifaido/orgs","repos_url":"https://api.github.com/users/bonifaido/repos","events_url":"https://api.github.com/users/bonifaido/events{/privacy}","received_events_url":"https://api.github.com/users/bonifaido/received_events","type":"User","site_admin":false},"labels":[{"id":734506806,"node_id":"MDU6TGFiZWw3MzQ1MDY4MDY=","url":"https://api.github.com/repos/banzaicloud/pipeline/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":734506808,"node_id":"MDU6TGFiZWw3MzQ1MDY4MDg=","url":"https://api.github.com/repos/banzaicloud/pipeline/labels/good%20first%20issue","name":"good first issue","color":"7057ff","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-23T13:03:04Z","updated_at":"2018-08-06T21:32:22Z","closed_at":null,"author_association":"MEMBER","body":"When a cluster creation is in Progress with name `cluster1` and another cluster creation request arrives with the same name `cluster1` the second request shouldn't fail but return `HTTP 20x` marking that the creation is in-progress. This change should be made in correlation with https://github.com/banzaicloud/drone-plugin-pipeline-client"},"comment":{"url":"https://api.github.com/repos/banzaicloud/pipeline/issues/comments/410859685","html_url":"https://github.com/banzaicloud/pipeline/issues/498#issuecomment-410859685","issue_url":"https://api.github.com/repos/banzaicloud/pipeline/issues/498","id":410859685,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDg1OTY4NQ==","user":{"login":"sagikazarmark","id":1226384,"node_id":"MDQ6VXNlcjEyMjYzODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1226384?v=4","gravatar_id":"","url":"https://api.github.com/users/sagikazarmark","html_url":"https://github.com/sagikazarmark","followers_url":"https://api.github.com/users/sagikazarmark/followers","following_url":"https://api.github.com/users/sagikazarmark/following{/other_user}","gists_url":"https://api.github.com/users/sagikazarmark/gists{/gist_id}","starred_url":"https://api.github.com/users/sagikazarmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagikazarmark/subscriptions","organizations_url":"https://api.github.com/users/sagikazarmark/orgs","repos_url":"https://api.github.com/users/sagikazarmark/repos","events_url":"https://api.github.com/users/sagikazarmark/events{/privacy}","received_events_url":"https://api.github.com/users/sagikazarmark/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T21:32:22Z","updated_at":"2018-08-06T21:32:22Z","author_association":"CONTRIBUTOR","body":"Sounds like 201 would be a perfect candidate. I would also handle the case when the cluster is being deleted when a creation request is sent: that should probably be 409 (Conflict)"}}
{"actor":{"display_login":"sagikazarmark"}}