Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

Objective

Delta report provides the list of actions (ADD/DELETE/UPDATE) and changed data. This delta report can be used to perform bulk updates on a given anchor.

Implementation

To perform bulk update operation using delta report we will implement a new REST API as given below

URL : PUT http://localhost:8080/cps/api/v2/dataspaces/{dataspace-name}/apply-delta

Request parameters:

Parameter name

In

Description

dataspace-name

path

dataspace name

source-delta-anchor

query

source delta anchor

target-delta-anchor

query

target delta anchor

target-anchor

query

anchor name where delta will be applied

...

URL : PUT http://localhost:8080/cps/api/v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/apply-delta

Request parameters:

Parameter name

In

Description

dataspace-name

path

dataspace name

anchor-name

path

anchor name where delta will be applied

...