File tree Expand file tree Collapse file tree 2 files changed +111
-0
lines changed
tests/CTS/requests/composition-full Expand file tree Collapse file tree 2 files changed +111
-0
lines changed Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "parameters" : {
4+ "compositionID" : " 1234" ,
5+ "composition" : {
6+ "objectID" : " 1234" ,
7+ "name" : " my first composition" ,
8+ "behavior" : {
9+ "injection" : {
10+ "main" : {
11+ "source" : {
12+ "search" : {
13+ "index" : " foo"
14+ }
15+ }
16+ },
17+ "injectedItems" : []
18+ }
19+ }
20+ }
21+ },
22+ "request" : {
23+ "path" : " /1/compositions/1234" ,
24+ "method" : " PUT" ,
25+ "body" : {
26+ "objectID" : " 1234" ,
27+ "name" : " my first composition" ,
28+ "behavior" : {
29+ "injection" : {
30+ "main" : {
31+ "source" : {
32+ "search" : {
33+ "index" : " foo"
34+ }
35+ }
36+ },
37+ "injectedItems" : []
38+ }
39+ }
40+ }
41+ },
42+ "response" : {
43+ "statusCode" : 200 ,
44+ "body" : {
45+ "taskID" : 42
46+ }
47+ }
48+ }
49+ ]
Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "parameters" : {
4+ "compositionID" : " 1234" ,
5+ "objectID" : " 5678" ,
6+ "compositionRule" : {
7+ "objectID" : " 5678" ,
8+ "conditions" : [
9+ {
10+ "anchoring" : " is" ,
11+ "pattern" : " test"
12+ }
13+ ],
14+ "consequence" : {
15+ "behavior" : {
16+ "injection" : {
17+ "main" : {
18+ "source" : {
19+ "search" : {
20+ "index" : " foo"
21+ }
22+ }
23+ }
24+ }
25+ }
26+ }
27+ }
28+ },
29+ "request" : {
30+ "path" : " /1/compositions/1234/rules/5678" ,
31+ "method" : " PUT" ,
32+ "body" : {
33+ "objectID" : " 5678" ,
34+ "conditions" : [
35+ {
36+ "anchoring" : " is" ,
37+ "pattern" : " test"
38+ }
39+ ],
40+ "consequence" : {
41+ "behavior" : {
42+ "injection" : {
43+ "main" : {
44+ "source" : {
45+ "search" : {
46+ "index" : " foo"
47+ }
48+ }
49+ }
50+ }
51+ }
52+ }
53+ }
54+ },
55+ "response" : {
56+ "statusCode" : 200 ,
57+ "body" : {
58+ "taskID" : 42
59+ }
60+ }
61+ }
62+ ]
You can’t perform that action at this time.
0 commit comments