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