test-kitchen / vmware-vra-gem

A Ruby Gem for interacting with the VMware vRealize Automation system
Apache License 2.0
15 stars 32 forks source link

Add support for boolean vRA parameters, fix deep merge, add tracing #76

Closed stuartpreston closed 5 years ago

stuartpreston commented 5 years ago

Signed-off-by: Stuart Preston stuart@chef.io

Description

This PR solves more of the deep merge problems being seen when used in combination with kitchen-vra. Previously, a request to submit a blueprint with custom parameters would retrieve the template from the vRA server and merge the data at the wrong level which meant that although the additional parameters were being seen by vRA, they were not overriding the correct values from the template.

This PR also adds support for boolean parameters that be set as input to a blueprint (in addition to the existing String, Integer support).

Finally we add a tracing capability (set VRA_HTTP_TRACE=1 in your environment to activate) so that the API calls can be monitors when there are issues.

Issues Resolved

Fixes #75

Check List