Skip to content

OVH: Allow ovh provider to connect to other endpoints than EU (#2625)#2651

Merged
tlimoncelli merged 4 commits intoStackExchange:masterfrom
masterzen:masterzen/2625-ovh-endpoint-config
Nov 27, 2023
Merged

OVH: Allow ovh provider to connect to other endpoints than EU (#2625)#2651
tlimoncelli merged 4 commits intoStackExchange:masterfrom
masterzen:masterzen/2625-ovh-endpoint-config

Conversation

@masterzen
Copy link
Copy Markdown
Collaborator

Fix for #2625, allowing users to set OVH provider endpoint configuration to:

  • eu (default) to target the EU API endpoint
  • ca to target the Canada API endpoint
  • us to target the US API endpoint
  • any other url

If omitted, the default is the EU endpoint for backward compatibility.

…ge#2625)

This introduces the `endpoint` provider configuration parameter.
If not provided the provider will connect to the EU region for
backward compatibility.
The `endpoint` can be set to `eu`, `us` or `ca` depending on the OVH
region the use wants to manage domains and zones in.
It can also be set to any arbitrary URL for future OVH regions.
When all corrections are non modifying corrections (ie report only), we
don't need to add the REFRESH ZONE correction.
This was making some of the IGNORE integration test failed because the
test system was checking for 0 corrections applied.
@masterzen masterzen force-pushed the masterzen/2625-ovh-endpoint-config branch from fab1fad to 19d8d6a Compare November 27, 2023 18:40
@tlimoncelli tlimoncelli changed the title Allow ovh provider to connect to other endpoints than EU (#2625) OVH: Allow ovh provider to connect to other endpoints than EU (#2625) Nov 27, 2023
@tlimoncelli
Copy link
Copy Markdown
Contributor

Thanks!

@tlimoncelli
Copy link
Copy Markdown
Contributor

P.S. Thank you for a great PR. This is great! It fixes a real problem, has tests, and you updated the docs! I wish all PRs would be so complete! Thanks again!

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