VMware {code} Community
CrisFic
Contributor
Contributor

Java SDK enum EventType missing some strings.

Java SDK, version 8.0.0 and 8.0.10

I'm testing some working code before an upgrade, and found new events that aren't defined on the expected enumeration.

com.vmware.vcloud.sdk.constants.EventType

Missing event strings:
    com/vmware/vcloud/event/cell/start
    com/vmware/vcloud/event/session/authorize
    com/vmware/vcloud/event/cell/failover

So it raises an IllegalArgumentException if you try to get the EventType from the String returned by the API.

Maybe that constant isn't updated anymore, but was nice to have an enum so we don't need to remember every string...

0 Kudos
0 Replies