[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (OSLCCORE-23) Should a ServiceProviderCatalog or ServiceProvider resource be an LDPC?
[ https://issues.oasis-open.org/browse/OSLCCORE-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60561#comment-60561 ] Martin Pain commented on OSLCCORE-23: ------------------------------------- I don't like the language "sub-types" in the proposal. "Sub-types" suggest that this is defined in the vocab, whereas I would have this as a spec requirement. That is, that to be compliant with OSLC Core v3 Discovery, servers' SPCs and SPs MUST also be LDPCs. I also think we need to flesh out a bit how this would look. What would an SPC LDPC contain? SPCs, SPs or both? What type of container would it be? Does it matter? (If not, should we publish a "best practice"?) I'll think a bit more on this. > Should a ServiceProviderCatalog or ServiceProvider resource be an LDPC? > ----------------------------------------------------------------------- > > Key: OSLCCORE-23 > URL: https://issues.oasis-open.org/browse/OSLCCORE-23 > Project: OASIS OSLC Lifecycle Integration Core (OSLC Core) TC > Issue Type: Task > Reporter: James Amsden > Assignee: James Amsden > Labels: ready-for-vote > > OSLC 2.0/3.0 compatibility re-introduces the OSLC Core 2.0 ServiceProviderCatalog (SPC), ServiceProvider (SP) and Service resources. These resources provide a somewhat static, up-front discovery capability to access information about OSLC resources and capabilities supported by a server. > OSLC Core 3.0 also utilizes Link headers in response to OPTIONS or HEAD request on LDPCs to dynamically discover information about OSLC resources and capabilities supported through that LDPC. > Although these are somewhat overlapping approaches to discovery, they are both useful in practice and can be complimentary, balancing the convenience of up-front static discovery by parsing a few resources, and more dynamic, flexible discovery through introspection of LDPCs. In any case, the OSLC Core 2.0 discovery approach is required for compatibility. > There may be a way to normalize these by requiring that ServiceProviderCatalog, ServiceProvider and Service resources are also LDPCs. This may allow server implementations to dynamically generate the service provider resources from the LDPC and may simplify the server implementation of OSLC Discovery, and eliminate data redundancy. > However, there's a potential problem with 2.0 SPC and SP's being LDPCs. A GET on an LDPC must also return the contents of the container in the ldp:contains property of the RDFSource resource response body. That may be a large amount of data for any given LDPC that would be inappropriate for SPC discovery. LDP supports the use of the Prefer request header to allow the client to give the server a hint on what content is desired in the response, and possibly the omit-parameter with ldp#PrefereContainment could be used to get the LDPC without any of its content element URIs. However, an OSLC 2.0 client would not know anything about these headers. -- This message was sent by Atlassian JIRA (v6.2.2#6258)