[rules-users] Data structures in Guvnor REST API

Jervis Liu jliu at redhat.com
Fri Dec 2 00:02:20 EST 2011


On 2011/12/1 19:03, Joe Ammann wrote:
> Hi
>
> On 12/01/2011 06:40 AM, Jervis Liu wrote:
>> the Asset.type is a standard property from Dublin core
>> (http://en.wikipedia.org/wiki/Dublin_Core), though this property is
>> never used by Guvnor Asset or Package, its always empty. I will remove
>> this property from the REST API.  Thanks for pointing this out.
>>
> I would not go too fast in removing it. If it is still available in
> Guvnor, IMHO it should also be available in the API. I was just
> wondering if there are any current uses for this.
>
> I might want to use this in my application :-)
>
I would not suggest you to use Asset.type to store custom information as 
this field is a reserved property in Guvnor thus there is no guarantee 
the information you stored will be preserved in the future.

Cheers,
Jervis





More information about the rules-users mailing list