infoblox-go-client
infoblox-go-client copied to clipboard
Not possible to set query parameters like _max_results
Since its not possible to set _max_results
as query parameter, it is not possible to get records from a zone with more than 1000 records. It fails with the following error:
... 2018-11-23T12:00:00.000000Z info WAPI request error: 400('400 Bad Request') Contents: { "Error": "AdmConProtoError: Result set too large (> 1000)", "code": "Client.Ibap.Proto", "text": "Result set too large (> 1000)" } ...
Further it takes a long time until GetObject returns, since it tries to get the records four times (2x makeRequest in GetObject and 2x SendRequest in makeRequest).
So it would be nice if the following things get fixed:
- Allow to set Query Parameters like _max_results and so on
- Abort after the first failed request