Change in ovirt-engine-sdk-ruby[sdk_4.0]: Accept CA files and strings

From Juan Hernandez <juan.hernandez@redhat.com>:
Juan Hernandez has submitted this change and it was merged. Change subject: Accept CA files and strings ...................................................................... Accept CA files and strings Currently the constructor of the 'Connection' class accepts the 'ca_file' option, which should contain the name of a file containing the trusted CA certificates. This patch modifies it so that it also accepts the 'ca_certs' option, containing an array of strings, each one containing the PEM representation of one certificate. Change-Id: I1f5ebc30147558fcd6093ba8f3a864a05517202a Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> (cherry picked from commit 72743b9dbe3b0efc354b0fa8f0ecc94749bc17c9) (cherry picked from commit ba620de624121dd4785b332d244e96e52ffca500) --- M sdk/lib/ovirtsdk4/connection.rb M sdk/spec/connection_create_spec.rb 2 files changed, 93 insertions(+), 4 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/71307 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1f5ebc30147558fcd6093ba8f3a864a05517202a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk-ruby Gerrit-Branch: sdk_4.0 Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review