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

[api] attributes base_url and admin_url to account #1869

Merged
merged 1 commit into from
May 27, 2020

Conversation

guicassolato
Copy link
Contributor

Introduces two new attributes in the representation of account objects in the admin API responses: base_url and admin_base_url. These correspond to the existing domain and admin_domain attributes prepended with the current HTTP scheme of the system (http or https) to make them full URLs, instead of just domain names.

In particular, this change will allow Zync to resolve which TLS configuration to apply to the Kubernetes/OpenShift routes it manages for the accounts, without having to rely on a default.

Related to THREESCALE-4832.

Martouta
Martouta previously approved these changes May 11, 2020
hallelujah
hallelujah previously approved these changes May 27, 2020
@guicassolato guicassolato dismissed stale reviews from hallelujah and Martouta via 1fded31 May 27, 2020 09:02
@guicassolato guicassolato force-pushed the api/admin-and-portal-urls branch from abc6914 to 1fded31 Compare May 27, 2020 09:02
Copy link
Contributor

@Martouta Martouta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Martouta Martouta requested a review from hallelujah May 27, 2020 09:26
@guicassolato guicassolato merged commit d0242a3 into master May 27, 2020
@guicassolato guicassolato deleted the api/admin-and-portal-urls branch May 27, 2020 11:10
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

Successfully merging this pull request may close these issues.

3 participants