chiradeep / go-nitro

A Golang client to the Citrix ADC API
Apache License 2.0
18 stars 21 forks source link

missing properties in responderaction #20

Closed sl-eddycharly closed 5 years ago

sl-eddycharly commented 6 years ago

"reasonphrase" and "responsestatuscode" seem to be missing in resource responderaction.

chiradeep commented 6 years ago

Code was generated using the 10.5 API. Looks like this is new in 11/12. PR will be accepted to update this struct

sl-eddycharly commented 6 years ago

Ok, thanks.

doubret commented 6 years ago

Hi, If you're interested, i started another project in the same spirit.

What i did was to create yaml specs for various resources and bindings form the official documentation (https://github.com/doubret/citrix-netscaler-nitro-12-yaml-specs and https://github.com/doubret/citrix-netscaler-nitro-11-yaml-specs).

From these yaml spec files, i generate a nitro go client (https://github.com/doubret/citrix-netscaler-nitro-go-client).

And finally, i generate a terraform provider (https://github.com/doubret/terraform-provider-netscaler). I took a different approach as yours regarding the terraform provider as i consider bindings as resources from the terraform point of view.

There's still a lot of work to do but it begins to work correctly. Currently i'm adding unit tests to the nitro client. Once it's done i'll continue adding new resources.

Thanks for the inspiration. Regards.

chiradeep commented 5 years ago

closed by 82bb933547b7