{"action":"created","issue":{"url":"https://api.github.com/repos/redhat-developer/odo/issues/849","repository_url":"https://api.github.com/repos/redhat-developer/odo","labels_url":"https://api.github.com/repos/redhat-developer/odo/issues/849/labels{/name}","comments_url":"https://api.github.com/repos/redhat-developer/odo/issues/849/comments","events_url":"https://api.github.com/repos/redhat-developer/odo/issues/849/events","html_url":"https://github.com/redhat-developer/odo/issues/849","id":371838914,"node_id":"MDU6SXNzdWUzNzE4Mzg5MTQ=","number":849,"title":"Component created with wrong name","user":{"login":"jorgemoralespou","id":78350,"node_id":"MDQ6VXNlcjc4MzUw","avatar_url":"https://avatars0.githubusercontent.com/u/78350?v=4","gravatar_id":"","url":"https://api.github.com/users/jorgemoralespou","html_url":"https://github.com/jorgemoralespou","followers_url":"https://api.github.com/users/jorgemoralespou/followers","following_url":"https://api.github.com/users/jorgemoralespou/following{/other_user}","gists_url":"https://api.github.com/users/jorgemoralespou/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgemoralespou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgemoralespou/subscriptions","organizations_url":"https://api.github.com/users/jorgemoralespou/orgs","repos_url":"https://api.github.com/users/jorgemoralespou/repos","events_url":"https://api.github.com/users/jorgemoralespou/events{/privacy}","received_events_url":"https://api.github.com/users/jorgemoralespou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-19T07:32:42Z","updated_at":"2018-10-19T08:43:32Z","closed_at":null,"author_association":"COLLABORATOR","body":"If i just do:\r\n\r\n`odo create wildfly backend`\r\n\r\nThe component is named `backend-app` but it should be only `backend`\r\n"},"comment":{"url":"https://api.github.com/repos/redhat-developer/odo/issues/comments/431290594","html_url":"https://github.com/redhat-developer/odo/issues/849#issuecomment-431290594","issue_url":"https://api.github.com/repos/redhat-developer/odo/issues/849","id":431290594,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTI5MDU5NA==","user":{"login":"kadel","id":57206,"node_id":"MDQ6VXNlcjU3MjA2","avatar_url":"https://avatars1.githubusercontent.com/u/57206?v=4","gravatar_id":"","url":"https://api.github.com/users/kadel","html_url":"https://github.com/kadel","followers_url":"https://api.github.com/users/kadel/followers","following_url":"https://api.github.com/users/kadel/following{/other_user}","gists_url":"https://api.github.com/users/kadel/gists{/gist_id}","starred_url":"https://api.github.com/users/kadel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadel/subscriptions","organizations_url":"https://api.github.com/users/kadel/orgs","repos_url":"https://api.github.com/users/kadel/repos","events_url":"https://api.github.com/users/kadel/events{/privacy}","received_events_url":"https://api.github.com/users/kadel/received_events","type":"User","site_admin":false},"created_at":"2018-10-19T08:43:32Z","updated_at":"2018-10-19T08:43:32Z","author_association":"MEMBER","body":"It is true that all the OpenShift objects are named using `<component name>-<application name>` but the component is named correctly. The user running odo shouldn't ever see this `backend-app`.\r\n\r\nWe can't simply name OpenShift objects with the same name as a component. This would make it impossible to create two components with the same name in different applications in the same project.\r\n\r\nNamespacing to the OpenShift object was introduced while back in #480 (original issue #214)\r\n\r\n```\r\n▶ odo create wildfly  backend\r\nComponent 'backend' was created and port 8080/TCP was opened\r\nTo push source code to the component run 'odo push'\r\n\r\nComponent 'backend' is now set as active component.\r\n\r\n▶ odo component\r\nThe current component is: backend\r\n\r\n▶ odo list\r\nACTIVE     NAME        TYPE\r\n*          backend     wildfly\r\n\r\n▶ oc get dc\r\nNAME          REVISION   DESIRED   CURRENT   TRIGGERED BY\r\nbackend-app   1          1         1         config,image(wildfly:latest)\r\n```\r\n\r\n"}}
{"actor":{"display_login":"kadel"}}