Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adds custom cert types and can GET list certs * can get a single custom certificate * adds delete, updated, create custom TLS * cleaned up for feedback * get, list and patch custom tls configurations * adds test fixtures * adds TLSActivation API operations * go fmt * adds tls configuration tests and fixtures * adds tests for activation, fixes relationships * fixes server error due to API not accepting "type" to be blank * adds "Type" tag to update activation * updated comments, fmt * update errors * adds Type field to input structs to get around API bug * updates Create and Update input struct tags per feedback * adds comments to exported functions * Update fastly/custom_tls_activation.go Co-authored-by: Patrick Hamann <[email protected]> * Update fastly/custom_tls_activation.go Co-authored-by: Patrick Hamann <[email protected]> * Update fastly/custom_tls_activation.go "Include" value Co-authored-by: Patrick Hamann <[email protected]> * Update fastly/custom_tls_configuration.go Co-authored-by: Patrick Hamann <[email protected]> * Update fastly/custom_tls_activation.go Co-authored-by: Patrick Hamann <[email protected]> * Update fastly/custom_tls_activation.go Co-authored-by: Patrick Hamann <[email protected]> * Update fastly/custom_tls_activation.go Co-authored-by: Patrick Hamann <[email protected]> * Update fastly/custom_tls_certificate.go Co-authored-by: Patrick Hamann <[email protected]> * adds include param to GetTLSActivation() * adds tls protocols to CustomTLSConfiguration * adds include to ListCustomTLSConfigurationsInput * removes white space and compares i.Include to nil rather than an empty string * updates tls activation tests to match changes to tls activation child types * Refactors CustomCertificate to CustomTLSCertificate and updates all related tests and CRUD functions * removes redudant struct tag, adds tests to confirm child struct still deserializes * removes redudant "TLS" in Activation input types, updates tests to check for matching IDs in get and list * adds robust input unit testing for TLS activation operations * adds input validation tests for custom TLS certificate operations * adds input validation unit tests to TLS configuration operations * adds missing params to ListCustomCertificates * Update fastly/custom_tls_activation.go Co-authored-by: Patrick Hamann <[email protected]> * Update fastly/custom_tls_certificate.go Co-authored-by: Patrick Hamann <[email protected]> * Update fastly/custom_tls_activation.go Co-authored-by: Patrick Hamann <[email protected]> * Update fastly/custom_tls_activation.go Co-authored-by: Patrick Hamann <[email protected]> * remove pesky type * Update fastly/custom_tls_configuration.go Co-authored-by: Mark McDonnell <[email protected]> * Update fastly/custom_tls_configuration.go Co-authored-by: Mark McDonnell <[email protected]> * Update fastly/errors.go Co-authored-by: Mark McDonnell <[email protected]> * Update fastly/errors.go Co-authored-by: Mark McDonnell <[email protected]> * small changes to match convention, per feedback * converts list operations to not use pointers in their input structs * Update fastly/errors.go Co-authored-by: Mark McDonnell <[email protected]> * Update fastly/errors.go Co-authored-by: Mark McDonnell <[email protected]> * Update fastly/errors.go Co-authored-by: Mark McDonnell <[email protected]> * fixes ListCustomTLSCertificates filter * go fmt * Update fastly/custom_tls_certificate.go Co-authored-by: Mark McDonnell <[email protected]> * Update fastly/errors.go Co-authored-by: Mark McDonnell <[email protected]> * Update fastly/errors.go Co-authored-by: Mark McDonnell <[email protected]> * Update fastly/errors.go Co-authored-by: Mark McDonnell <[email protected]> * pushing filter fix where GH "commit suggestion" didnt work Co-authored-by: Patrick Hamann <[email protected]> Co-authored-by: Mark McDonnell <[email protected]>
- Loading branch information