Skip to content

Allow API owner to select one from several configured proxies #1869

@bajiat

Description

@bajiat

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.

Definition of done

  • If there is more than one API Umbrella defined, owner can select any of the defined proxies, when adding or editing proxy backend settings.
  • If there is only one API Umbrella defined, a simple solution is available for defaulting to the only API Umbrella.
  • Proxy base path will come from selected proxy.
  • 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."

Open 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?

Wireframes

  • In API profile Proxy tab, a dropmenu would appear depending on if there are more than 1 proxy available for selection.
    Open question: in case of only one proxy avialable, should we show the name as hard coded?
    apiprofilemultiproxyselector

  • 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:

apiprofilemultiproxyselector2

apiprofilemultiproxyselector3

  • When API owner tries to switch from one proxy to another, the following alert window should appear:
    apiprofilemultiproxyselector4

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions