summaryrefslogtreecommitdiffstats
path: root/cps-ri/src/test/resources
diff options
context:
space:
mode:
authorNiamh Core <niamh.core@est.tech>2021-09-30 14:03:20 +0000
committerGerrit Code Review <gerrit@onap.org>2021-09-30 14:03:20 +0000
commit98e686f3aa8ae8171e850591c1f85433b00c56cf (patch)
tree850d68a967a7e61c522bc37abc367b94df88424d /cps-ri/src/test/resources
parent1582202a9026eb8f2d109e6bf6b54654af035ed3 (diff)
parent8bf710c85d26ddd4586554868473b070ca68a70c (diff)
Merge "CPS-594: Exception when updating list node PATCH"
Diffstat (limited to 'cps-ri/src/test/resources')
-rwxr-xr-xcps-ri/src/test/resources/data/fragment.sql9
1 files changed, 8 insertions, 1 deletions
diff --git a/cps-ri/src/test/resources/data/fragment.sql b/cps-ri/src/test/resources/data/fragment.sql
index 886e6e1751..f6e887e017 100755
--- a/cps-ri/src/test/resources/data/fragment.sql
+++ b/cps-ri/src/test/resources/data/fragment.sql
@@ -61,4 +61,11 @@ INSERT INTO FRAGMENT (ID, DATASPACE_ID, ANCHOR_ID, PARENT_ID, XPATH, ATTRIBUTES)
(4215, 1001, 3003, 4214, '/parent-203/child-203', '{}'),
(4216, 1001, 3003, 4214, '/parent-203/child-204[@key="A"]', '{"key": "A"}'),
(4217, 1001, 3003, 4214, '/parent-203/child-204[@key="X"]', '{"key": "X"}'),
- (4218, 1001, 3003, 4217, '/parent-203/child-204[@key="X"]/grand-child-204[@key2="Y"]', '{"key": "X", "key2": "Y"}'); \ No newline at end of file
+ (4218, 1001, 3003, 4217, '/parent-203/child-204[@key="X"]/grand-child-204[@key2="Y"]', '{"key": "X", "key2": "Y"}'),
+ (4219, 1001, 3003, null, '/parent-204[@key="L"]', '{"key": "L"}'),
+ (4220, 1001, 3003, 4219, '/parent-204[@key="L"]/child-210[@key="M"]', '{"key": "M"}'),
+ (4221, 1001, 3003, null, '/parent-205', '{"leaf-value": "original"}'),
+ (4222, 1001, 3003, 4221, '/parent-205/child-205', '{}'),
+ (4223, 1001, 3003, 4221, '/parent-205/child-205[@key="X"]', '{"key": "X"}'),
+ (4224, 1001, 3003, 4223, '/parent-205/child-205[@key="X"]/grand-child-206[@key="Y"]', '{"key": "Y", "key2": "Z"}'),
+ (4225, 1001, 3003, 4223, '/parent-205/child-205[@key="X"]/grand-child-206[@key="Y" and @key2="Z"]', '{"key": "Y", "key2": "Z"}'); \ No newline at end of file