diff options
author | Arpit Singh <as00745003@techmahindra.com> | 2024-09-04 11:02:06 +0530 |
---|---|---|
committer | Arpit Singh <as00745003@techmahindra.com> | 2024-09-10 10:10:29 +0000 |
commit | 3c8539cf17b1698cadf08e6f3acc4a8b9273af85 (patch) | |
tree | 491c24c147e6a303fcb68bbdf5b27bb6ae69ffd8 /docs/cps-delta-endpoints.rst | |
parent | 3a4dcb5af00b85ae3f48709dfa0f9d797e02aabd (diff) |
Renaming Delta Operations as per RFC 9144
RFC 9144 recommends naming convention for operations that can be performed on any datastore.
The recommended names are:
- create
- remove
- replace
Whereas in CPS Delta feature these operaitions were named:
- add
- remove
- update
So, "add" and "update" operations have been changed to "create" and "replace" respectively.
Issue-ID: CPS-2393
Change-Id: Ie39f5f8ccc91e96cf484ca7fbc833a6be8758054
Signed-off-by: Arpit Singh <as00745003@techmahindra.com>
Diffstat (limited to 'docs/cps-delta-endpoints.rst')
-rw-r--r-- | docs/cps-delta-endpoints.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/cps-delta-endpoints.rst b/docs/cps-delta-endpoints.rst index b2e4e6041b..ecb7550f44 100644 --- a/docs/cps-delta-endpoints.rst +++ b/docs/cps-delta-endpoints.rst @@ -38,7 +38,7 @@ Sample Delta Report [ { - "action": "ADD", + "action": "create", "xpath": "/bookstore/categories/[@code=3]", "target-data": { "code": "3,", @@ -46,7 +46,7 @@ Sample Delta Report } }, { - "action": "REMOVE", + "action": "remove", "xpath": "/bookstore/categories/[@code=1]", "source-data": { "code": "1,", @@ -54,7 +54,7 @@ Sample Delta Report } }, { - "action": "UPDATE", + "action": "replace", "xpath": "/bookstore/categories/[@code=2]", "source-data": { "name": "Funny" |