> + * User side:
> + * Get a Service with api.get(service_id)
> + * Get a UpdateService builder by using Service.toUpdatabaleService()
> + *    This step will provide an interface that exposes the updatable JSON 
> values to the user.
> + * Use the UpdateService.Builder instance to modify and build() a new 
> UpdateService.
> + * Send the original Service and the new UpdateService to the api.update 
> method.
> + *
> + * jclouds side:
> + * Convert the Service to UpdateService, but don't change it (this is the 
> source).
> + * Serialize both source and target to String
> + * Diff to create JSONPatch using dependency.
> + * Send the JSONPatch in the request.
> + *
> + * JSONPatch RFC:
> + * https://tools.ietf.org/html/rfc6902
> + */

The explanation above should be mostly sufficient, but I was wondering if there 
is a better way to handle JSONPatch

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/179/files#r25899397

Reply via email to