jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Turli <notificati...@github.com>
Subject Re: [jclouds] Add new Softlayer API method to return arbitrary VirtualGuest fields (#832)
Date Mon, 03 Aug 2015 15:20:53 GMT
thanks @grkvlt ! I think it makes sense to have such a method. Probably it should be the only
mechanism supported *but* in order to do that we need to improve the domain objects (moving
to AutoValue for sure) so that they actually support arbitrary fields.

Main problem is that DTO are quite complex in SoftLayer and they not only support `local properties`
but also `relational and count properties` because of the rich query language they support
from API.
There is a risk that the query passed using *Filtered method may be valid but requires a field
that is not modelled in the domain class. See [VirtualGuest def](http://sldn.softlayer.com/reference/datatypes/SoftLayer_Virtual_Guest)
and [VirtualGuest jclouds](https://github.com/jclouds/jclouds/blob/master/providers/softlayer/src/main/java/org/jclouds/softlayer/domain/VirtualGuest.java)


Reply to this email directly or view it on GitHub:
View raw message