Skip to content
Neil-IBM edited this page Dec 12, 2016 · 2 revisions

The service uses Resource Shapes as a means to verify resources that are being created, updated, or searched for using OSLC Query. OSLC Services may have a Resource Shape to indicate the types of resources the service will accept.

Each Resource Shape has a set of properties that the service examines to make sure that all resources in requests have the required information. For instance, a Resource Shape may indicate that a property's value must be an integer, or that the value cannot be changed with a PUT or PATCH update.

The service inserts shapes into the database when first initializing the services after downloading them from the Internet. The URI's for the shapes are stored locally in a dictionary with the associated CreationFactory or QueryCapability URI. When those CreationFactory or QueryCapability URI's are requested, the service loads the respective Resource Shape from the database.

Clone this wiki locally