OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

oslc-core message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (OSLCCORE-126) What properties can be defined in the oslc.where of a query


    [ https://issues.oasis-open.org/browse/OSLCCORE-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=68479#comment-68479 ] 

David Honey commented on OSLCCORE-126:
--------------------------------------

I think the spec should define the desired behaviour when an oslc.where refers to an unsupported or unqueryable property. In theory, the query capability should reference a resource shape for querying that omits unsupported or unqueryable properties. If oslc.where does reference an unsupported property, I think the spec should state that the response should be 501 "Not implemented" with a response body containing an oslc:Error that describes what property is not supported, and if known, why it is not supported.

> What properties can be defined in the oslc.where of a query
> -----------------------------------------------------------
>
>                 Key: OSLCCORE-126
>                 URL: https://issues.oasis-open.org/browse/OSLCCORE-126
>             Project: OASIS OSLC Lifecycle Integration Core (OSLC Core) TC
>          Issue Type: Bug
>          Components: Query
>            Reporter: Jad El-khoury
>            Assignee: James Amsden
>
> In section "7.2 oslc where" (
> https://tools.oasis-open.org/version-control/browse/wsvn/oslc-core/trunk/specs/oslc-query.html#oslc.where), it is not clear what defines the set of properties that can be given in the oslc.where pattern.
> Let's take the provided Example2 as a example, where cm:memberBug defines the membership property, and dcterms:identifier is used in the oslc.where query.
> The example states "supposed bug reports have a dcterms:identifier" property....
> But how do we know we are dealing with "bug reports"? I see 4 alternatives:
> 1. The oslc:resourceType property of the Query Capability refers to Bug.
> 2. The Query Capability "provides Resource Shapes that describe the property values that may be expected in the resources that are queryable via the query capability." (as stated under https://open-services.net/bin/view/Main/OslcCoreSpecification#Query_Capabilities) 
> This shape would have to be different from oslc:resourceShape property, which is to describe the baseQuery itself.
> (See https://issues.oasis-open.org/browse/OSLCCORE-102 for discussion on query shapes)
> 3. The membership property cm:memberBug has a Range defined, that refers to Bug.
> 4. oslc.where can refer to any properties that don't even need to be part of the Bug resource.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]