Skip to content

Commit 494f369

Browse files
committed
LUW
1 parent 9b8bb22 commit 494f369

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

vocabularies/Common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@
14011401
"$AppliesTo": ["EntityType"],
14021402
"@Common.Experimental": true,
14031403
"@Core.Description": "An operation that updates properties one of which is a stream property",
1404-
"@Core.LongDescription": "To invoke the operation the client makes two requests that change the same entity in one LUW:\n- a POST, PUT or PATCH request that updates the non-stream properties followed by\n- a PUT or DELETE request on the stream property (not in a $batch).\n\nBoth requests become effective only if the second request succeeds."
1404+
"@Core.LongDescription": "To invoke the operation the client makes two requests that change the same entity in one LUW:\n- a POST, PUT or PATCH request that updates the non-stream properties\n- a PUT or DELETE request on the stream property (not in a $batch).\n\nIf one of these request fails, any effect of the other MUST be rolled back as well."
14051405
}
14061406
}
14071407
}

vocabularies/Common.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Term|Type|Description
115115
[WebSocketBaseURL](Common.xml#L1610) *([Experimental](Common.md#Experimental))*|URL|<a name="WebSocketBaseURL"></a>Base URL for WebSocket connections<br>This annotation MUST be unqualified.
116116
[WebSocketChannel](Common.xml#L1618) *([Experimental](Common.md#Experimental))*|String?|<a name="WebSocketChannel"></a>Channel for WebSocket connections<br><p>Messages sent over the channel follow the <a href="https://community.sap.com/t5/application-development-blog-posts/specification-of-the-push-channel-protocol-pcp/ba-p/13137541">ABAP Push Channel Protocol</a>. To consume a channel, the client opens a web socket connection at the <a href="#WebSocketBaseURL"><code>WebSocketBaseURL</code></a> followed by URL parameters</p> <ul> <li>parameter name = annotation qualifier, parameter value = channel ID (see below)</li> <li>parameter name = <code>relatedService</code>, parameter value = base URL (relative to server root) of the OData service of the app</li> </ul> <p>Supported qualifiers and channel IDs:</p> <dl> <dt>`sideEffects` <dd>Notifications about side effects to be triggered by the client (channel ID = non-null annotation value) </dl>
117117
[AddressViaNavigationPath](Common.xml#L1635)|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|<a name="AddressViaNavigationPath"></a>Service prefers requests to use a resource path with navigation properties<br>Use this tag on services that do not restrict requests to certain resource paths via [`Capabilities`](https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Capabilities.V1.html) or [`Core.RequiresExplicitBinding`](https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.html#RequiresExplicitBinding) annotations, but that prefer requests with a resource path that contains the navigation properties reflecting the UI structure.<br>For example, entering a cancellation fee into an order item field bound to `CancellationItem/Fee` leads to a `PATCH Orders(23)/Items(5)/CancellationItem` request with `{"Fee": ...}` payload.
118-
[StreamOperation](Common.xml#L1650) *([Experimental](Common.md#Experimental))*|\[PropertyPath\]|<a name="StreamOperation"></a>An operation that updates properties one of which is a stream property<br><p>To invoke the operation the client makes two requests that change the same entity in one LUW:</p> <ul> <li>a POST, PUT or PATCH request that updates the non-stream properties followed by</li> <li>a PUT or DELETE request on the stream property (not in a $batch).</li> </ul> <p>Both requests become effective only if the second request succeeds.</p>
118+
[StreamOperation](Common.xml#L1650) *([Experimental](Common.md#Experimental))*|\[PropertyPath\]|<a name="StreamOperation"></a>An operation that updates properties one of which is a stream property<br><p>To invoke the operation the client makes two requests that change the same entity in one LUW:</p> <ul> <li>a POST, PUT or PATCH request that updates the non-stream properties</li> <li>a PUT or DELETE request on the stream property (not in a $batch).</li> </ul> <p>If one of these request fails, any effect of the other MUST be rolled back as well.</p>
119119

120120
<a name="TextFormatType"></a>
121121
## [TextFormatType](Common.xml#L134)

vocabularies/Common.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,10 +1652,10 @@ leads to a
16521652
<Annotation Term="Core.Description" String="An operation that updates properties one of which is a stream property" />
16531653
<Annotation Term="Core.LongDescription">
16541654
<String>To invoke the operation the client makes two requests that change the same entity in one LUW:
1655-
- a POST, PUT or PATCH request that updates the non-stream properties followed by
1655+
- a POST, PUT or PATCH request that updates the non-stream properties
16561656
- a PUT or DELETE request on the stream property (not in a $batch).
16571657

1658-
Both requests become effective only if the second request succeeds.</String>
1658+
If one of these request fails, any effect of the other MUST be rolled back as well.</String>
16591659
</Annotation>
16601660
</Term>
16611661

0 commit comments

Comments
 (0)