File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
metadata/src/test/resources/composite Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "entityInfo" : {
3
+ "name" : " A_def" ,
4
+ "datastore" : {
5
+ "backend" :" mongo" ,
6
+ "datasource" : " mongodata" ,
7
+ "collection" : " user"
8
+ }
9
+ },
10
+ "schema" : {
11
+ "name" : " A_def" ,
12
+ "version" : {
13
+ "value" : " 1.0.0" ,
14
+ "changelog" : " Test"
15
+ },
16
+ "status" : {
17
+ "value" : " active"
18
+ },
19
+ "access" : {
20
+ "insert" : [" anyone" ],
21
+ "find" :[" anyone" ],
22
+ "update" :[" anyone" ],
23
+ "delete" :[" anyone" ]
24
+ },
25
+ "fields" : {
26
+ "_id" : {"type" : " string" },
27
+ "objectType" : {"type" : " string" },
28
+ "field1" : { "type" : " string" },
29
+ "obj1" : {
30
+ "type" :" object" ,
31
+ "fields" : {
32
+ "field1" : { "type" :" string" },
33
+ "c_ref" :{"type" :" string" },
34
+ "c" : {
35
+ "type" :" reference" ,
36
+ "entity" :" C" ,
37
+ "query" :{"field" :" _id" ,"op" :" $eq" ,"rfield" :" $parent.c_ref" }
38
+ }
39
+ }
40
+ },
41
+ "b_ref" : { "type" : " string" },
42
+ "b" : {
43
+ "type" :" reference" ,
44
+ "entity" :" B" ,
45
+ "query" :{ "field" :" _id" ,"op" :" $eq" ,"rfield" :" $parent.b_ref" }
46
+ }
47
+ }
48
+ }
49
+ }
You can’t perform that action at this time.
0 commit comments