You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AbstractCreationAndUpdateRdfTests requires at least one instanceShape property value to update a resource #30
@jamsden could you please check your notes? I recall we had long OP conversations on shapes, esp. if there are multiple shapes on a CF endpoint. But I don't recall if we discussed having shapes on created resources for their subsequent updates.
CreationFactory oslc:resourceShape is Zero-or-Many as the constraint is optional. However if a specific application needs the constraint, it could add the assertNotNull above.
See https://github.com/eclipse/lyo.testsuite/blob/1f331b3c4ddbbb09c0ced18e121afcfd379ea458/org.eclipse.lyo.testsuite.server/src/main/java/org/eclipse/lyo/testsuite/oslcv2/core/AbstractCreationAndUpdateRdfTests.java#L353
https://docs.oasis-open-projects.org/oslc-op/core/v3.0/ps02/core-shapes.html#CommonPropertiesShape does not require this property and does not even include a SHOULD CC to encourage it.