[OSJC-101] Add support for setting and retrieving additional gear storag...

...e
The odd ways of setting and getting are in line with what the REST API 
provides.  Your comment with regards to the value mismatch is probably 
correct.  We could correct this by either forcing a refresh or figuring 
out how to update the gear group when setting the value on the Cartridge.

On 10/14/2014 01:33 PM, André Dietisheim wrote:
> In src/main/java/com/openshift/client/cartridge/IEmbeddedCartridge.java:
>
>> @@ -52,4 +42,13 @@
>>  	 * @return the resource properties
>>  	 */
>>  	public CartridgeResourceProperties getProperties();
>> +	
>> +	/**
>> +	 * set the additional gear storage for the cartridge to the given
>> +	 * size.
>> +	 *
>> +	 * @param size  The total additional gear storage for the cartridge
>> +	 *              in gigabytes
>> +	 */
>> +	public void setAdditionalGearStorage(int size);
>
> what looks weird to me is that we set the additional gear storage in the
> standalone cartridge while we can only get it in the gear group.
> Furthermore it looks to me as if you set the additional gear storage and
> then go and get the value from the gear group you'd get the old value?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/openshift/openshift-java-client/pull/148/files#r18844358>.
>

-- 
Jeff Cantrill
Senior Software Engineer, Red Hat Engineering
Red Hat
Office: 703-748-4420 | 866-546-8970 ext. 8162420
jcantril@redhat.com
http://www.redhat.com