summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/imported_struct_fields/imported-fields.cfg
diff options
context:
space:
mode:
authorGeir Storli <geirstorli@yahoo.no>2018-11-27 17:18:12 +0100
committerGitHub <noreply@github.com>2018-11-27 17:18:12 +0100
commit68c4f2c38295ed2cda8a5be06f6ab60e2c6218e7 (patch)
tree98b591160829d893274b829ec2380f8fa2536588 /config-model/src/test/derived/imported_struct_fields/imported-fields.cfg
parent95323a3a983e3b87f83ea7eaee990ce6070ed699 (diff)
parenta92d0b2c764aa4d3e0acc99955ca1abc23a96f9d (diff)
Merge pull request #7779 from vespa-engine/toregge/derive-config-for-imported-struct-fields
Handle limited import of array of struct/map of struct/map of primitives
Diffstat (limited to 'config-model/src/test/derived/imported_struct_fields/imported-fields.cfg')
-rw-r--r--config-model/src/test/derived/imported_struct_fields/imported-fields.cfg35
1 files changed, 35 insertions, 0 deletions
diff --git a/config-model/src/test/derived/imported_struct_fields/imported-fields.cfg b/config-model/src/test/derived/imported_struct_fields/imported-fields.cfg
new file mode 100644
index 00000000000..772e5cffec9
--- /dev/null
+++ b/config-model/src/test/derived/imported_struct_fields/imported-fields.cfg
@@ -0,0 +1,35 @@
+attribute[0].name "my_elem_array.name"
+attribute[0].referencefield "parent_ref"
+attribute[0].targetfield "elem_array.name"
+attribute[0].datatype NONE
+attribute[0].collectiontype SINGLE
+attribute[1].name "my_elem_array.weight"
+attribute[1].referencefield "parent_ref"
+attribute[1].targetfield "elem_array.weight"
+attribute[1].datatype NONE
+attribute[1].collectiontype SINGLE
+attribute[2].name "my_elem_map.key"
+attribute[2].referencefield "parent_ref"
+attribute[2].targetfield "elem_map.key"
+attribute[2].datatype NONE
+attribute[2].collectiontype SINGLE
+attribute[3].name "my_elem_map.value.name"
+attribute[3].referencefield "parent_ref"
+attribute[3].targetfield "elem_map.value.name"
+attribute[3].datatype NONE
+attribute[3].collectiontype SINGLE
+attribute[4].name "my_elem_map.value.weight"
+attribute[4].referencefield "parent_ref"
+attribute[4].targetfield "elem_map.value.weight"
+attribute[4].datatype NONE
+attribute[4].collectiontype SINGLE
+attribute[5].name "my_str_int_map.key"
+attribute[5].referencefield "parent_ref"
+attribute[5].targetfield "str_int_map.key"
+attribute[5].datatype NONE
+attribute[5].collectiontype SINGLE
+attribute[6].name "my_str_int_map.value"
+attribute[6].referencefield "parent_ref"
+attribute[6].targetfield "str_int_map.value"
+attribute[6].datatype NONE
+attribute[6].collectiontype SINGLE \ No newline at end of file