EchoContext
Object extensions echo invocation context
{
"request": {
"message": "string"
},
"selectors": [
"string"
],
"phase": "string",
"invocationOrder": "string"
}
This object will be sent to the first selected extension. Example payload received/sent by the extension(s):
xml
(namespaces excluded; applicable only to AMQP extensions):
<Echo
xmlns="http://www.vmware.com/vcloud/extensibility/v1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.vmware.com/vcloud/extensibility/v1.0 https://127.0.0.1:8443/api/extensibility/v1.0/master.xsd">
<message>Hello World</message>
</Echo>
json
(this will be the embedded payload in theHalfDuplexEnvelope
in case of a channel extension):
{
"message": "Hello World"
}
If there is a selector extension for example on urn:selector:organization
and urn:selector:organizationVdc
, you would pass an urn id of an organization and/or a urn id of one of its VDCs
The phase represents the particular extension point of an actual workflow where object extensions will be executed, given there is a selector extension on that phase.
The execution order when there are multiple selected extensions. It is determined based on this and the individual selector priorities.