Code Review
/
cps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Support for Patch across multiple data nodes
[cps.git]
/
cps-service
/
src
/
main
/
java
/
org
/
onap
/
cps
/
spi
/
CpsDataPersistenceService.java
diff --git
a/cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java
b/cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java
index
d28a333
..
4fb25e9
100644
(file)
--- a/
cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java
+++ b/
cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java
@@
-116,14
+116,14
@@
public interface CpsDataPersistenceService {
FetchDescendantsOption fetchDescendantsOption);
/**
FetchDescendantsOption fetchDescendantsOption);
/**
- * Updates
leaves for existing data node
.
+ * Updates
data leaves for multiple data nodes
.
*
*
- * @param dataspaceName dataspace name
- * @param anchorName anchor name
- * @param xpath xpath
- * @param leaves the leaves as a map where key is a leaf name and a value is a leaf value
+ * @param dataspaceName dataspace name
+ * @param anchorName anchor name
+ * @param updatedLeavesPerXPath Map of xPaths to updated leaf nodes
*/
*/
- void updateDataLeaves(String dataspaceName, String anchorName, String xpath, Map<String, Serializable> leaves);
+ void batchUpdateDataLeaves(String dataspaceName, String anchorName,
+ Map<String, Map<String, Serializable>> updatedLeavesPerXPath);
/**
* Replaces multiple existing data nodes' content including descendants in a batch operation.
/**
* Replaces multiple existing data nodes' content including descendants in a batch operation.