{"action":"created","issue":{"url":"https://api.github.com/repos/apinf/platform/issues/1869","repository_url":"https://api.github.com/repos/apinf/platform","labels_url":"https://api.github.com/repos/apinf/platform/issues/1869/labels{/name}","comments_url":"https://api.github.com/repos/apinf/platform/issues/1869/comments","events_url":"https://api.github.com/repos/apinf/platform/issues/1869/events","html_url":"https://github.com/apinf/platform/issues/1869","id":187275006,"number":1869,"title":"Allow API owner to select one from several configured proxies","user":{"login":"bajiat","id":11626388,"avatar_url":"https://avatars.githubusercontent.com/u/11626388?v=3","gravatar_id":"","url":"https://api.github.com/users/bajiat","html_url":"https://github.com/bajiat","followers_url":"https://api.github.com/users/bajiat/followers","following_url":"https://api.github.com/users/bajiat/following{/other_user}","gists_url":"https://api.github.com/users/bajiat/gists{/gist_id}","starred_url":"https://api.github.com/users/bajiat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bajiat/subscriptions","organizations_url":"https://api.github.com/users/bajiat/orgs","repos_url":"https://api.github.com/users/bajiat/repos","events_url":"https://api.github.com/users/bajiat/events{/privacy}","received_events_url":"https://api.github.com/users/bajiat/received_events","type":"User","site_admin":false},"labels":[{"id":423794913,"url":"https://api.github.com/repos/apinf/platform/labels/Multi-proxy%202.0","name":"Multi-proxy 2.0","color":"3E4B9E","default":false},{"id":201807674,"url":"https://api.github.com/repos/apinf/platform/labels/ready","name":"ready","color":"ededed","default":false},{"id":427478474,"url":"https://api.github.com/repos/apinf/platform/labels/wireframe%20available","name":"wireframe available","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"marla-singer","id":20643403,"avatar_url":"https://avatars.githubusercontent.com/u/20643403?v=3","gravatar_id":"","url":"https://api.github.com/users/marla-singer","html_url":"https://github.com/marla-singer","followers_url":"https://api.github.com/users/marla-singer/followers","following_url":"https://api.github.com/users/marla-singer/following{/other_user}","gists_url":"https://api.github.com/users/marla-singer/gists{/gist_id}","starred_url":"https://api.github.com/users/marla-singer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marla-singer/subscriptions","organizations_url":"https://api.github.com/users/marla-singer/orgs","repos_url":"https://api.github.com/users/marla-singer/repos","events_url":"https://api.github.com/users/marla-singer/events{/privacy}","received_events_url":"https://api.github.com/users/marla-singer/received_events","type":"User","site_admin":false},"assignees":[{"login":"marla-singer","id":20643403,"avatar_url":"https://avatars.githubusercontent.com/u/20643403?v=3","gravatar_id":"","url":"https://api.github.com/users/marla-singer","html_url":"https://github.com/marla-singer","followers_url":"https://api.github.com/users/marla-singer/followers","following_url":"https://api.github.com/users/marla-singer/following{/other_user}","gists_url":"https://api.github.com/users/marla-singer/gists{/gist_id}","starred_url":"https://api.github.com/users/marla-singer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marla-singer/subscriptions","organizations_url":"https://api.github.com/users/marla-singer/orgs","repos_url":"https://api.github.com/users/marla-singer/repos","events_url":"https://api.github.com/users/marla-singer/events{/privacy}","received_events_url":"https://api.github.com/users/marla-singer/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/apinf/platform/milestones/35","html_url":"https://github.com/apinf/platform/milestones/Sprint%2035","labels_url":"https://api.github.com/repos/apinf/platform/milestones/35/labels","id":2112261,"number":35,"title":"Sprint 35","description":"APInf Sprint 35: 7 - 18 Nov 2016","creator":{"login":"bajiat","id":11626388,"avatar_url":"https://avatars.githubusercontent.com/u/11626388?v=3","gravatar_id":"","url":"https://api.github.com/users/bajiat","html_url":"https://github.com/bajiat","followers_url":"https://api.github.com/users/bajiat/followers","following_url":"https://api.github.com/users/bajiat/following{/other_user}","gists_url":"https://api.github.com/users/bajiat/gists{/gist_id}","starred_url":"https://api.github.com/users/bajiat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bajiat/subscriptions","organizations_url":"https://api.github.com/users/bajiat/orgs","repos_url":"https://api.github.com/users/bajiat/repos","events_url":"https://api.github.com/users/bajiat/events{/privacy}","received_events_url":"https://api.github.com/users/bajiat/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":14,"state":"open","created_at":"2016-11-03T14:18:05Z","updated_at":"2016-11-10T11:09:14Z","due_on":"2016-11-18T00:00:00Z","closed_at":null},"comments":16,"created_at":"2016-11-04T08:12:08Z","updated_at":"2016-11-10T14:30:33Z","closed_at":null,"body":"If there is more than one API Umbrella proxy defined for deployment, allow the API owner to select one of them in the Proxy backend settings.\r\n\r\n# Definition of done\r\n* [ ] If there is more than one API Umbrella defined, owner can select any of the defined proxies, when adding or editing proxy backend settings.\r\n* [ ] If there is only one API Umbrella defined, a simple solution is available for defaulting to the only API Umbrella.\r\n* [ ] Proxy base path will come from selected proxy.\r\n* [ ] Show an alert to owner, if switching between proxies: \"This change will potentially break API calls from applications, if API users are not warned about the change.\"\r\n\r\nOpen issues: If owner changes the proxy, do we need to delete the proxy backend from the original proxy? Users will have a broken link, is it our responsibility to notify or is it owner's responsibility to warn the users?\r\n\r\n# Wireframes\r\n\r\n* In API profile Proxy tab, a dropmenu would appear depending on if there are more than 1 proxy available for selection. \r\nOpen question: in case of only one proxy avialable, should we show the name as hard coded? \r\n![apiprofilemultiproxyselector](https://cloud.githubusercontent.com/assets/17976243/20094287/3c340b48-a5a9-11e6-83ca-9490bbecacc4.png)\r\n\r\n* On selecting a specific proxy, associated fields for that proxy would be populated. In the case for only one available proxy, the fields can appear instantly Proxy tab is selected for viewing:\r\n\r\n![apiprofilemultiproxyselector2](https://cloud.githubusercontent.com/assets/17976243/20098746/02647186-a5be-11e6-8d44-bae4e8b8def7.png)\r\n\r\n![apiprofilemultiproxyselector3](https://cloud.githubusercontent.com/assets/17976243/20098753/09635f9c-a5be-11e6-8add-27f943e2c038.png)\r\n\r\n\r\n\r\n* When API owner tries to switch from one proxy to another, the following alert window should appear:\r\n![apiprofilemultiproxyselector4](https://cloud.githubusercontent.com/assets/17976243/20098762/12d95d4c-a5be-11e6-85cb-79e5e46da898.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apinf/platform/issues/comments/259703929","html_url":"https://github.com/apinf/platform/issues/1869#issuecomment-259703929","issue_url":"https://api.github.com/repos/apinf/platform/issues/1869","id":259703929,"user":{"login":"marla-singer","id":20643403,"avatar_url":"https://avatars.githubusercontent.com/u/20643403?v=3","gravatar_id":"","url":"https://api.github.com/users/marla-singer","html_url":"https://github.com/marla-singer","followers_url":"https://api.github.com/users/marla-singer/followers","following_url":"https://api.github.com/users/marla-singer/following{/other_user}","gists_url":"https://api.github.com/users/marla-singer/gists{/gist_id}","starred_url":"https://api.github.com/users/marla-singer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marla-singer/subscriptions","organizations_url":"https://api.github.com/users/marla-singer/orgs","repos_url":"https://api.github.com/users/marla-singer/repos","events_url":"https://api.github.com/users/marla-singer/events{/privacy}","received_events_url":"https://api.github.com/users/marla-singer/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T14:30:33Z","updated_at":"2016-11-10T14:30:33Z","body":"Another case:\r\nSelected proxy №2 in dropdown list\r\nThen navigate to Proxies page and delete this proxy settings\r\nWhat behaviour is expected?"}}
{"actor":{"display_login":"marla-singer"}}