summaryrefslogtreecommitdiffstats
path: root/vpp-common/vpp-translate-utils/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-common/vpp-translate-utils/src/test/resources')
-rw-r--r--vpp-common/vpp-translate-utils/src/test/resources/multi-mapping.json35
-rw-r--r--vpp-common/vpp-translate-utils/src/test/resources/naming.json14
2 files changed, 49 insertions, 0 deletions
diff --git a/vpp-common/vpp-translate-utils/src/test/resources/multi-mapping.json b/vpp-common/vpp-translate-utils/src/test/resources/multi-mapping.json
new file mode 100644
index 000000000..c20401fc0
--- /dev/null
+++ b/vpp-common/vpp-translate-utils/src/test/resources/multi-mapping.json
@@ -0,0 +1,35 @@
+{
+ "mappings": {
+ "mapping": [
+ {
+ "name": "parent-1",
+ "value": [
+ {
+ "index": 1,
+ "name": "child-1"
+ },
+ {
+ "index": 2,
+ "name": "child-2"
+ },
+ {
+ "index": 3,
+ "name": "child-3"
+ }
+ ]
+ },
+ {
+ "name": "parent-2"
+ },
+ {
+ "name": "parent-3",
+ "value": [
+ {
+ "index": 1,
+ "name": "child-1"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/vpp-common/vpp-translate-utils/src/test/resources/naming.json b/vpp-common/vpp-translate-utils/src/test/resources/naming.json
new file mode 100644
index 000000000..0248264d2
--- /dev/null
+++ b/vpp-common/vpp-translate-utils/src/test/resources/naming.json
@@ -0,0 +1,14 @@
+{
+ "mappings": {
+ "mapping": [
+ {
+ "name": "name-1",
+ "index": 1
+ },
+ {
+ "name": "name-2",
+ "index": 2
+ }
+ ]
+ }
+} \ No newline at end of file