octodns / octodns-constellix

Constellix DNS provider for octoDNS
MIT License
1 stars 4 forks source link

Refactor: de-duplicate API code #41

Closed istr closed 10 months ago

istr commented 10 months ago

Currently, the ConstellixClient and the SonarClient share similar, but not identical code to communicate with the Constellix APIs.

Refactor the code to use a common ConstellixAPI base class for both, prepared for the new v4 API with Authentication: Bearer instead of the custom authZ header. https://api.dns.constellix.com/v4/docs#section/Authentication