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

(DIO-2833) Connect domain settings to pools, create v2 API #475

Merged
merged 13 commits into from
Apr 7, 2022
Merged

Conversation

genebean
Copy link
Contributor

@genebean genebean commented Dec 30, 2021

API V2

There are changes needed to support domains being configurable per pool that will require breaking changes to the API. For this reason a V2 API is being introduced as part of this PR. The V2 API is intended to be minimally different than the V1 with the following key differences:

  • hostnames in the JSON response will be fully qualified if a provider-level or as as fallback a global domain is specified. In the V1 API they were always bare hostnames (sans domain).
  • the top-level key domain that is included in V1 JSON responses will no longer be included since each host could be from a different domain.

@genebean genebean changed the title [wip] connect domain settings to pools (DIO-2833) Connect domain settings to pools Jan 4, 2022
@genebean
Copy link
Contributor Author

I will be resuming this work today

@genebean genebean force-pushed the sut_domain branch 5 times, most recently from 64a50c8 to 7e97c57 Compare January 11, 2022 21:52
@genebean genebean force-pushed the sut_domain branch 4 times, most recently from 6ae6ed1 to 7273efb Compare January 12, 2022 18:55
@genebean genebean changed the title (DIO-2833) Connect domain settings to pools (DIO-2833) Connect domain settings to pools, create v2 API Jan 13, 2022
@genebean genebean force-pushed the sut_domain branch 7 times, most recently from 0d54579 to 45e536a Compare January 25, 2022 22:04
@sbeaulie sbeaulie marked this pull request as ready for review March 30, 2022 13:42
@sbeaulie sbeaulie requested a review from a team as a code owner March 30, 2022 13:42
lib/vmpooler/api/v2.rb Outdated Show resolved Hide resolved
@sbeaulie sbeaulie force-pushed the sut_domain branch 2 times, most recently from a6b1fc5 to 932ceb4 Compare March 31, 2022 13:11
@sbeaulie sbeaulie merged commit c3a6fd2 into main Apr 7, 2022
@sbeaulie sbeaulie deleted the sut_domain branch April 7, 2022 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants