def initialize(options = {})
initialize_identity options
@openstack_service_type = options[:openstack_service_type] || ['workflowv2']
@openstack_service_name = options[:openstack_service_name]
@connection_options = options[:connection_options] || {}
authenticate
unless @path.match(SUPPORTED_VERSIONS)
@path = "/" + Fog::OpenStack.get_supported_version(
SUPPORTED_VERSIONS,
@openstack_management_uri,
@auth_token,
@connection_options
)
end
@persistent = options[:persistent] || false
@connection = Fog::Core::Connection.new("#{@scheme}://#{@host}:#{@port}", @persistent, @connection_options)
end