Skip to content

PG2000/dynsoap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynsoap

Purpose

dynsoap is a helper library to read all given records at dyn.com via SOAP with a single request, as the REST interface does not support this operation and need multiple requests.

When using external-dns with a lot of DNS records (dyn.com) it could take a long time to request all dyn.com records via the REST Api.

Unfortunately the maintainer of dynectsoap has not responded to requests regarding accept a pull request nor for changes to the currently not available license which doesn't allow to fork the repo and do some custimzations.

Generating code

The models and SOAP commands were generated with https://github.com/fiorix/wsdl2go After that we need some tiny modifications so that the code can be used with dyn.com and can be used from external-dns

The changes are:

Before: "Data AnyType" After: "Data interface{}"

and

Before: `xml:"msgs,omitempty" json:"msgs,omitempty"`
After : `xml:"messages,omitempty" json:"msgs,omitempty"`

This can be easily done with some make/sed commands:

make install-go-wsdl
make generate-code-from-wsdl
make replace-any-type

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published