[oslc-core] Behavior of oslc.where and oslc.sort if resources are not managed by the service provider

Dragos Cojocari dragos.cojocari at ro.ibm.com
Wed Jan 12 09:25:29 EST 2011


Hey Arthur,

thanks for the reply.  The first two resources both have 
oslc:shortTitle="Some defect" so I assume both will be included. But what 
if the 3rd one, the one not managed by the service provider also has 
oslc:shortTitle="Some defect"? The service provider doesn't know that so 
it won't include that in the result. In my opinion that is incorrect, 
since the result set is not full. I think that reporting an error if the 
service provider cannot verify the filter/sort for all the collection 
members would be more rigorous. What do you think?

Regards,
        Dragos




Arthur Ryman <ryman at ca.ibm.com> 
12/01/2011 16:18

To
Dragos Cojocari/Romania/IBM at IBMRO
cc
oslc-core at open-services.net, oslc-core-bounces at open-services.net
Subject
Re: [oslc-core] Behavior of oslc.where and oslc.sort if resources are not 
managed by the service provider






Dragos,

BTW, the query result is just the first resource since it matches 
oslc:shortTitle="Some defect" 

Regards, 
___________________________________________________________________________ 


Arthur Ryman, PhD, DE

Chief Architect, Project and Portfolio Management
IBM Software, Rational
Markham, ON, Canada | Office: 905-413-3077, Cell: 416-939-5063





From:
Dragos Cojocari <dragos.cojocari at ro.ibm.com>
To:
oslc-core at open-services.net
Date:
01/12/2011 08:12 AM
Subject:
[oslc-core] Behavior of oslc.where and oslc.sort if resources are not 
managed by the service provider
Sent by:
oslc-core-bounces at open-services.net



Hey everyone, 

and a Happy new year. 

I'd like to understand what is the defined behaviour if a query specifies 
in its where/orderBy clause and the collection of resources contains 
resources not managed by the service provider and the serviceprovider 
cannot filter/sort them. What should the provider do: 
- reject the response with an error 
- include only the resources for which the filter/sort can be calculated 
- undefined 

Example data: 




So for the data above what is the expected result for the following query: 

 
http://<server>:<post>/defects?oslc.select=*&oslc.where=oslc:shortTitle="Some 

defect" 

Regards, 
        Dragos

Exceptand situatiile in care partile au convenit in alt mod: / Unless 
stated otherwise above:
IBM România S.R.L.
Bucharest Business Park, Corp A2, Şos. Bucureşti-Ploieşti Nr. 1A, 013681
Bucureşti 1, ROMANIA
CIF RO378660, RC J/40/5106/1991
Cap.Soc. 41.670 Lei_______________________________________________
Oslc-Core mailing list
Oslc-Core at open-services.net
http://open-services.net/mailman/listinfo/oslc-core_open-services.net






Exceptand situatiile in care partile au convenit in alt mod: / Unless 
stated otherwise above:
IBM România S.R.L.
Bucharest Business Park, Corp A2, Şos. Bucureşti-Ploieşti Nr. 1A, 013681
Bucureşti 1, ROMANIA
CIF RO378660, RC J/40/5106/1991
Cap.Soc. 41.670 Lei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20110112/e40cbf40/attachment-0003.html>


More information about the Oslc-Core mailing list