{"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":197954013,"url":"https://api.github.com/repos/apinf/platform/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"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":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":15,"closed_issues":22,"state":"open","created_at":"2016-11-03T14:18:05Z","updated_at":"2016-11-14T08:58:30Z","due_on":"2016-11-18T00:00:00Z","closed_at":null},"comments":20,"created_at":"2016-11-04T08:12:08Z","updated_at":"2016-11-14T09:25:35Z","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* [x] 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* [x] 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/260286492","html_url":"https://github.com/apinf/platform/issues/1869#issuecomment-260286492","issue_url":"https://api.github.com/repos/apinf/platform/issues/1869","id":260286492,"user":{"login":"brylie","id":17307,"avatar_url":"https://avatars.githubusercontent.com/u/17307?v=3","gravatar_id":"","url":"https://api.github.com/users/brylie","html_url":"https://github.com/brylie","followers_url":"https://api.github.com/users/brylie/followers","following_url":"https://api.github.com/users/brylie/following{/other_user}","gists_url":"https://api.github.com/users/brylie/gists{/gist_id}","starred_url":"https://api.github.com/users/brylie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brylie/subscriptions","organizations_url":"https://api.github.com/users/brylie/orgs","repos_url":"https://api.github.com/users/brylie/repos","events_url":"https://api.github.com/users/brylie/events{/privacy}","received_events_url":"https://api.github.com/users/brylie/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T09:25:35Z","updated_at":"2016-11-14T09:25:35Z","body":"> Another open issue: What behaviour is expected if user select one proxy in list, save settings then select the first item \"Select ... \" ? Now I hide the form.\r\nThe question is delete or not proxy backend configuration in our data base? Delete or not from apiUmbrella?\r\n\r\nAny time the proxy is changed, and the changes are saved locally:\r\n- warn the administrator of possible side effects\r\n  - loss of analytics data\r\n  - API user broken links\r\n- remove the backend from the previous proxy\r\n\r\nNote: selecting the 'Select a Proxy' option from the dropdown and clicking save is functionally the same as changing to a different proxy."}}
{"actor":{"display_login":"brylie"}}