Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for HTTP calls to 3scale backend #47

Open
mayorova opened this issue May 29, 2017 · 1 comment
Open

Add support for HTTP calls to 3scale backend #47

mayorova opened this issue May 29, 2017 · 1 comment

Comments

@mayorova
Copy link
Contributor

Currently the plugin only supports HTTPS communication with 3scale Service Management API. SSL is preferred, but there might be cases, where it might be preferred to use plain HTTP, especially for 3scale AMP on-premises. For example, a real HTTPS certificate might not yet exist, and if the certificate on the backend is self-signed, currently the call also fails (which might be open as a separate issue).

The suggestion is to support both HTTP and HTTPS. Two possible options are:

  • add a parameter which lets choosing HTTPS or HTTP, as it is done in the Ruby plugin
  • support a full URL with schema which would define the protocol (http:// vs https://), as it is done in Python plugin (I personally prefer this one – less params, more flexibility)
@mikz
Copy link
Contributor

mikz commented May 30, 2017

Supporting full URI is definitely the way forward. Because you can minimise all params (host, port, scheme) into one. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants