[oslc-core] Minor problem in JSON Service Provider Resource example
Steve K Speicher
sspeiche at us.ibm.com
Fri Aug 26 09:25:39 EDT 2011
Thanks Sam, made the fix. After a quick sanity check, I also noticed that
oslc:queryCapabilty has the same issue as oslc:service (should be an
array). Also the oslc:resourceShape (also renamed from oslc:shap) were
objects and not arrays. Think I fixed all the issues with it. I also ran
it through jslint.org to make sure it was valid still.
Let me know if I missed anything.
Thanks,
Steve Speicher | IBM Rational Software | (919) 254-0645
> From: Samuel Padgett/Durham/IBM at IBMUS
> To: "oslc-core at open-services.net" <oslc-core at open-services.net>,
> Cc: Kevin Bauer/Raleigh/IBM at IBMUS
> Date: 08/23/2011 03:15 PM
> Subject: [oslc-core] Minor problem in JSON Service Provider Resource
example
> Sent by: oslc-core-bounces at open-services.net
>
>
> Minor problem in the JSON Service Provider Resource example [1]: It
looks
> like 'service' should be 'oslc:service', and the value should be a JSON
> array rather than a JSON object since it occurs 'one-or-many' [2].
>
> - Best Regards, Sam
>
> [1]
> http://open-services.net/bin/view/Main/OSLCCoreSpecJSONExamples?
> sortcol=table;up=#Service_Provider_Resource
> [2]
> http://open-services.net/bin/view/Main/OslcCoreSpecification?
> sortcol=table;up=#Service_Provider_Resources
>
>
> _______________________________________________
> Oslc-Core mailing list
> Oslc-Core at open-services.net
> http://open-services.net/mailman/listinfo/oslc-core_open-services.net
>
More information about the Oslc-Core
mailing list