{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8241","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8241/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8241/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8241/events","html_url":"https://github.com/ManageIQ/manageiq/issues/8241","id":151108078,"number":8241,"title":"Its possible to add provider with non-numeric port ","user":{"login":"vprusa","id":2094946,"avatar_url":"https://avatars.githubusercontent.com/u/2094946?v=3","gravatar_id":"","url":"https://api.github.com/users/vprusa","html_url":"https://github.com/vprusa","followers_url":"https://api.github.com/users/vprusa/followers","following_url":"https://api.github.com/users/vprusa/following{/other_user}","gists_url":"https://api.github.com/users/vprusa/gists{/gist_id}","starred_url":"https://api.github.com/users/vprusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vprusa/subscriptions","organizations_url":"https://api.github.com/users/vprusa/orgs","repos_url":"https://api.github.com/users/vprusa/repos","events_url":"https://api.github.com/users/vprusa/events{/privacy}","received_events_url":"https://api.github.com/users/vprusa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/providers/containers","name":"providers/containers","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/providers/hawkular","name":"providers/hawkular","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/ui","name":"ui","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"abonas","id":6277245,"avatar_url":"https://avatars.githubusercontent.com/u/6277245?v=3","gravatar_id":"","url":"https://api.github.com/users/abonas","html_url":"https://github.com/abonas","followers_url":"https://api.github.com/users/abonas/followers","following_url":"https://api.github.com/users/abonas/following{/other_user}","gists_url":"https://api.github.com/users/abonas/gists{/gist_id}","starred_url":"https://api.github.com/users/abonas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abonas/subscriptions","organizations_url":"https://api.github.com/users/abonas/orgs","repos_url":"https://api.github.com/users/abonas/repos","events_url":"https://api.github.com/users/abonas/events{/privacy}","received_events_url":"https://api.github.com/users/abonas/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2016-04-26T11:21:49Z","updated_at":"2016-04-27T21:40:02Z","closed_at":null,"body":"Its possible to add middleware provider with invalid Port\r\n![screenshot from 2016-04-26 13-12-20](https://cloud.githubusercontent.com/assets/2094946/14816440/33425450-0bb1-11e6-9050-83c4e8b62083.png)\r\nAdding results in setting Port to 0\r\n![screenshot from 2016-04-26 13-19-00](https://cloud.githubusercontent.com/assets/2094946/14816498/9211d0fa-0bb1-11e6-8e69-c328a84209a9.png)\r\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/215238194","html_url":"https://github.com/ManageIQ/manageiq/issues/8241#issuecomment-215238194","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8241","id":215238194,"user":{"login":"simon3z","id":130393,"avatar_url":"https://avatars.githubusercontent.com/u/130393?v=3","gravatar_id":"","url":"https://api.github.com/users/simon3z","html_url":"https://github.com/simon3z","followers_url":"https://api.github.com/users/simon3z/followers","following_url":"https://api.github.com/users/simon3z/following{/other_user}","gists_url":"https://api.github.com/users/simon3z/gists{/gist_id}","starred_url":"https://api.github.com/users/simon3z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon3z/subscriptions","organizations_url":"https://api.github.com/users/simon3z/orgs","repos_url":"https://api.github.com/users/simon3z/repos","events_url":"https://api.github.com/users/simon3z/events{/privacy}","received_events_url":"https://api.github.com/users/simon3z/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T21:40:02Z","updated_at":"2016-04-27T21:40:02Z","body":"> @simon3z @bazulay containers provider has this issue as well.\r\n\r\nThanks @abonas . Best case scenario is that the validation will happen in a common place (e.g. `ExtManagementSystem` base class, or in the common \"Port\" field on the UI side, if that's shared across providers) so that we don't have to reproduce the same validation on all providers.\r\n"}}