File tree Expand file tree Collapse file tree 3 files changed +22
-9
lines changed
specs/ingestion/common/schemas
tests/CTS/requests/ingestion Expand file tree Collapse file tree 3 files changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,10 @@ TransformationTry:
153
153
properties :
154
154
code :
155
155
$ref : ' #/Code'
156
+ type :
157
+ $ref : ' #/TransformationType'
158
+ input :
159
+ $ref : ' #/TransformationInput'
156
160
sampleRecord :
157
161
description : The record to apply the given code to.
158
162
type : object
@@ -161,7 +165,8 @@ TransformationTry:
161
165
items :
162
166
$ref : ' ./authentication.yml#/AuthenticationCreate'
163
167
required :
164
- - code
168
+ - type
169
+ - input
165
170
- sampleRecord
166
171
167
172
TransformationTryResponse :
Original file line number Diff line number Diff line change 1
1
[
2
2
{
3
3
"parameters" : {
4
- "code" : " foo" ,
4
+ "type" : " code" ,
5
+ "input" : {"code" : " foo" },
5
6
"sampleRecord" : {
6
7
"bar" : " baz"
7
8
}
10
11
"path" : " /1/transformations/try" ,
11
12
"method" : " POST" ,
12
13
"body" : {
13
- "code" : " foo" ,
14
+ "type" : " code" ,
15
+ "input" : {"code" : " foo" },
14
16
"sampleRecord" : {
15
17
"bar" : " baz"
16
18
}
20
22
{
21
23
"testName" : " with authentications" ,
22
24
"parameters" : {
23
- "code" : " foo" ,
25
+ "type" : " code" ,
26
+ "input" : {"code" : " foo" },
24
27
"sampleRecord" : {
25
28
"bar" : " baz"
26
29
},
40
43
"path" : " /1/transformations/try" ,
41
44
"method" : " POST" ,
42
45
"body" : {
43
- "code" : " foo" ,
46
+ "type" : " code" ,
47
+ "input" : {"code" : " foo" },
44
48
"sampleRecord" : {
45
49
"bar" : " baz"
46
50
},
Original file line number Diff line number Diff line change 3
3
"parameters" : {
4
4
"transformationID" : " 6c02aeb1-775e-418e-870b-1faccd4b2c0f" ,
5
5
"transformationTry" : {
6
- "code" : " foo" ,
6
+ "type" : " code" ,
7
+ "input" : {"code" : " foo" },
7
8
"sampleRecord" : {
8
9
"bar" : " baz"
9
10
}
13
14
"path" : " /1/transformations/6c02aeb1-775e-418e-870b-1faccd4b2c0f/try" ,
14
15
"method" : " POST" ,
15
16
"body" : {
16
- "code" : " foo" ,
17
+ "type" : " code" ,
18
+ "input" : {"code" : " foo" },
17
19
"sampleRecord" : {
18
20
"bar" : " baz"
19
21
}
25
27
"parameters" : {
26
28
"transformationID" : " 6c02aeb1-775e-418e-870b-1faccd4b2c0f" ,
27
29
"transformationTry" : {
28
- "code" : " foo" ,
30
+ "type" : " code" ,
31
+ "input" : {"code" : " foo" },
29
32
"sampleRecord" : {
30
33
"bar" : " baz"
31
34
},
46
49
"path" : " /1/transformations/6c02aeb1-775e-418e-870b-1faccd4b2c0f/try" ,
47
50
"method" : " POST" ,
48
51
"body" : {
49
- "code" : " foo" ,
52
+ "type" : " code" ,
53
+ "input" : {"code" : " foo" },
50
54
"sampleRecord" : {
51
55
"bar" : " baz"
52
56
},
You can’t perform that action at this time.
0 commit comments