v2.2.0
This release adds VCF Automation 9.1 support with automatic API version negotiation, provider/system administrator logins, and fixes workflow and configuration parameter payloads to use the canonical vRO type keys the REST API expects.
Added
- VCF Automation 9.1 support: the default
vcfaplatform now auto-negotiates the VCF Cloud API version before authenticating, probing the unauthenticatedGET /api/versionsdiscovery document and preferring9.1.0over9.0.0. A probe that fails outright falls back to9.0.0for that attempt only and discovery is retried on the next authentication; a probe that succeeds but advertises no known version caches the9.0.0fallback. Authentication is single-flighted, so concurrent requests share one probe and one session login. NewVCFA_TARGET_PLATFORMvaluesvcfa9.1andvcfa9.0pin the version explicitly and skip the probe (VCFO-057). - Provider/system administrator logins:
VCFA_ORGANIZATION=system(case-insensitive) now routes authentication to/cloudapi/1.0.0/sessions/provider; the tenant/sessionsendpoint rejects provider accounts with 401. Login 401 errors now include a hint distinguishing organization names from display names and pointing provider accounts atVCFA_ORGANIZATION=system(VCFO-057).
Fixed
- Workflow execution and configuration attribute payloads now key parameter values by the canonical lowercase/hyphenated vRO type literal (
secure-string,date,mime-attachment, …) instead of the display type from the definition (SecureString), which the vRO REST API rejects with a 400.Array/<type>inputs are serialized as{"array": {"elements": [...]}}, SDK object types (e.g.VC:VirtualMachine) as{"sdk-object": {"id", "type"}}, and plain-objectPropertiesvalues as{"properties": {"property": [...]}}(VCFO-058). run-workflowandrun-workflow-and-waitinput validation now rejects non-string values forSecureStringandEncryptedStringinputs instead of forwarding them to the vRO API (VCFO-058).