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

[portal] Display a customizable endpoint for APIs #550

Closed
vdelattre opened this issue Apr 21, 2017 · 4 comments
Closed

[portal] Display a customizable endpoint for APIs #550

vdelattre opened this issue Apr 21, 2017 · 4 comments
Assignees
Milestone

Comments

@vdelattre
Copy link

In ui, when i suscribed to an api, a new screen show me my apikey and url i have to use with curl command

but port(8082) is missing in url

Your Environment

  • Version used: 1.5.0
@brasseld
Copy link
Member

Yes, because we have no clue about your installation meaning that perhaps you're exposing your API on a domain like https://api.mycompany.com

@NicolasGeraud
Copy link
Member

@vdelattre do you think it could be useful to add an extra config entry (in the config.json) to set the default domain of your api gateway ?

@vdelattre
Copy link
Author

yes i can be useful.
and also port to call api

thanks

@NicolasGeraud NicolasGeraud changed the title [portal] wrong url shown when user suscribe apis [portal] Display a customizable endpoint for APIs Apr 26, 2017
@NicolasGeraud
Copy link
Member

The idea is to add a new parameter in the config.json of the UI.
Something like "gateway-endpoint": "https://api.mycompany.com"
This new parameter will be concatenate to the context-path of an api in the API headear of the portal and in the message displayed after a subscription.

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

No branches or pull requests

3 participants