diff options
author | 2023-04-11 16:26:59 +0000 | |
---|---|---|
committer | 2023-04-11 16:26:59 +0000 | |
commit | a05d9e732fabb2496012e0ae13d9bf61b671ee5d (patch) | |
tree | b89e9a6f7680b5e29bd40fdd8ecc4541e62b38a8 /cps-ri/src | |
parent | 1277790ff4aa87fbf93dbf485c49b10eba51cbf7 (diff) | |
parent | fe25cdbf4e97fb4d3bdbb32d5b0c02b75f80ba72 (diff) |
Merge "Populate Dataspace field of DataNode"
Diffstat (limited to 'cps-ri/src')
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java b/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java index aa631d1b1..369e5289b 100644 --- a/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java @@ -458,6 +458,7 @@ public class CpsDataPersistenceServiceImpl implements CpsDataPersistenceService return new DataNodeBuilder() .withXpath(fragmentEntity.getXpath()) .withLeaves(leaves) + .withDataspace(fragmentEntity.getAnchor().getDataspace().getName()) .withAnchor(fragmentEntity.getAnchor().getName()) .withChildDataNodes(childDataNodes).build(); } |