openfaas-incubator / vcenter-connector

Extend vCenter with OpenFaaS
MIT License
28 stars 8 forks source link

Added ObjectName to OutboundEvent #20

Closed embano1 closed 5 years ago

embano1 commented 5 years ago

In certain cases the ManagedObjectReference alone might not be useful, e.g. when an object is deleted.

This commit adds a new field objectName to the outbound JSON data which serves as additional metadata for the receiver.

Note: ObjectName for certain vSphere objects, e.g. virtual machines, is only unique within a folder (if applicable) as per the description here.

This added field should be treated as metadata and not for requests against vCenter (use ManagedObjectReference instead).

Signed-off-by: Michael Gasch embano1@live.com

alexellis commented 5 years ago

Thank you Michael.