{"action":"created","issue":{"url":"https://api.github.com/repos/redhat-developer/odo/issues/413","repository_url":"https://api.github.com/repos/redhat-developer/odo","labels_url":"https://api.github.com/repos/redhat-developer/odo/issues/413/labels{/name}","comments_url":"https://api.github.com/repos/redhat-developer/odo/issues/413/comments","events_url":"https://api.github.com/repos/redhat-developer/odo/issues/413/events","html_url":"https://github.com/redhat-developer/odo/pull/413","id":317104603,"node_id":"MDExOlB1bGxSZXF1ZXN0MTgzNjQ1MDA3","number":413,"title":"Add support for creating component from service catalog","user":{"login":"surajnarwade","id":17265451,"node_id":"MDQ6VXNlcjE3MjY1NDUx","avatar_url":"https://avatars3.githubusercontent.com/u/17265451?v=4","gravatar_id":"","url":"https://api.github.com/users/surajnarwade","html_url":"https://github.com/surajnarwade","followers_url":"https://api.github.com/users/surajnarwade/followers","following_url":"https://api.github.com/users/surajnarwade/following{/other_user}","gists_url":"https://api.github.com/users/surajnarwade/gists{/gist_id}","starred_url":"https://api.github.com/users/surajnarwade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surajnarwade/subscriptions","organizations_url":"https://api.github.com/users/surajnarwade/orgs","repos_url":"https://api.github.com/users/surajnarwade/repos","events_url":"https://api.github.com/users/surajnarwade/events{/privacy}","received_events_url":"https://api.github.com/users/surajnarwade/received_events","type":"User","site_admin":false},"labels":[{"id":823656169,"node_id":"MDU6TGFiZWw4MjM2NTYxNjk=","url":"https://api.github.com/repos/redhat-developer/odo/labels/do%20not%20merge","name":"do not merge","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-04-24T07:35:49Z","updated_at":"2018-06-21T09:50:36Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/redhat-developer/odo/pulls/413","html_url":"https://github.com/redhat-developer/odo/pull/413","diff_url":"https://github.com/redhat-developer/odo/pull/413.diff","patch_url":"https://github.com/redhat-developer/odo/pull/413.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/redhat-developer/odo/issues/comments/399044302","html_url":"https://github.com/redhat-developer/odo/pull/413#issuecomment-399044302","issue_url":"https://api.github.com/repos/redhat-developer/odo/issues/413","id":399044302,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTA0NDMwMg==","user":{"login":"surajnarwade","id":17265451,"node_id":"MDQ6VXNlcjE3MjY1NDUx","avatar_url":"https://avatars3.githubusercontent.com/u/17265451?v=4","gravatar_id":"","url":"https://api.github.com/users/surajnarwade","html_url":"https://github.com/surajnarwade","followers_url":"https://api.github.com/users/surajnarwade/followers","following_url":"https://api.github.com/users/surajnarwade/following{/other_user}","gists_url":"https://api.github.com/users/surajnarwade/gists{/gist_id}","starred_url":"https://api.github.com/users/surajnarwade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surajnarwade/subscriptions","organizations_url":"https://api.github.com/users/surajnarwade/orgs","repos_url":"https://api.github.com/users/surajnarwade/repos","events_url":"https://api.github.com/users/surajnarwade/events{/privacy}","received_events_url":"https://api.github.com/users/surajnarwade/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T09:50:36Z","updated_at":"2018-06-21T09:50:36Z","author_association":"COLLABORATOR","body":"@kadel, Here is brief description of issue that I am facing along with some pre-requisite knowledge:\r\n\r\n**ClusterServiceBroker**\r\n\r\n* Server that manages service\r\n\r\nWe have two types of broker in openshift,\r\n\r\n_* Template Service Broker_\r\n\r\ngives visibility to templates (by default, it loads templates from openshift namespace)\r\n\r\n_* Ansible Service Broker_\r\n\r\nmanages application defined by APBs (Ansible Playbook Bundle), APBs leverage Ansible to create a standard mechanism for automating complex deployments.\r\n\r\nAs of now, anyone wants to introduce service in openshift, they are following ASB.\r\n\r\n\r\n**ClusterServiceClass**\r\n\r\n* Services offered by brokers\r\n\r\n(In our case, we are using clusterserviceclass from template service broker only becuase templates have default values and APBs are paramterised)\r\n\r\n\r\n**ServiceInstance**\r\n\r\n* Provisioned instance of clustersesrviceclass\r\n\r\nNow take an example of `jenkins-persistent` template or we can call it as ClusterServiceclass coming from Template Service Broker.\r\n\r\nwhen we do `odo create jenkins-persistent`, it instantiate ServiceInstance which means it deploys it's template. Basically deploymentconfig, services, routes for `jenkins-persistent`.\r\n\r\nIn odo, we inject labels into every resource. so that it helps us for various operations such as `odo list` for an example.\r\n\r\nTo inject such labels while creating serviceInstance (when we do odo create) is not possible. because, serviceInstance don't poulate this label into it's children resources. For this process, there is open PR on openshift openshift/origin#19467 (comment).\r\n\r\nTo mock this, I have edited template with odo specific labels. so that, when we trigger serviceInstance, it deploys that template. Template will populate these labels in children resources.\r\n\r\nI hope this is clear."}}
{"actor":{"display_login":"surajnarwade"}}