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:
153153 properties :
154154 code :
155155 $ref : ' #/Code'
156+ type :
157+ $ref : ' #/TransformationType'
158+ input :
159+ $ref : ' #/TransformationInput'
156160 sampleRecord :
157161 description : The record to apply the given code to.
158162 type : object
@@ -161,7 +165,8 @@ TransformationTry:
161165 items :
162166 $ref : ' ./authentication.yml#/AuthenticationCreate'
163167 required :
164- - code
168+ - type
169+ - input
165170 - sampleRecord
166171
167172TransformationTryResponse :
Original file line number Diff line number Diff line change 11[
22 {
33 "parameters" : {
4- "code" : " foo" ,
4+ "type" : " code" ,
5+ "input" : {"code" : " foo" },
56 "sampleRecord" : {
67 "bar" : " baz"
78 }
1011 "path" : " /1/transformations/try" ,
1112 "method" : " POST" ,
1213 "body" : {
13- "code" : " foo" ,
14+ "type" : " code" ,
15+ "input" : {"code" : " foo" },
1416 "sampleRecord" : {
1517 "bar" : " baz"
1618 }
2022 {
2123 "testName" : " with authentications" ,
2224 "parameters" : {
23- "code" : " foo" ,
25+ "type" : " code" ,
26+ "input" : {"code" : " foo" },
2427 "sampleRecord" : {
2528 "bar" : " baz"
2629 },
4043 "path" : " /1/transformations/try" ,
4144 "method" : " POST" ,
4245 "body" : {
43- "code" : " foo" ,
46+ "type" : " code" ,
47+ "input" : {"code" : " foo" },
4448 "sampleRecord" : {
4549 "bar" : " baz"
4650 },
Original file line number Diff line number Diff line change 33 "parameters" : {
44 "transformationID" : " 6c02aeb1-775e-418e-870b-1faccd4b2c0f" ,
55 "transformationTry" : {
6- "code" : " foo" ,
6+ "type" : " code" ,
7+ "input" : {"code" : " foo" },
78 "sampleRecord" : {
89 "bar" : " baz"
910 }
1314 "path" : " /1/transformations/6c02aeb1-775e-418e-870b-1faccd4b2c0f/try" ,
1415 "method" : " POST" ,
1516 "body" : {
16- "code" : " foo" ,
17+ "type" : " code" ,
18+ "input" : {"code" : " foo" },
1719 "sampleRecord" : {
1820 "bar" : " baz"
1921 }
2527 "parameters" : {
2628 "transformationID" : " 6c02aeb1-775e-418e-870b-1faccd4b2c0f" ,
2729 "transformationTry" : {
28- "code" : " foo" ,
30+ "type" : " code" ,
31+ "input" : {"code" : " foo" },
2932 "sampleRecord" : {
3033 "bar" : " baz"
3134 },
4649 "path" : " /1/transformations/6c02aeb1-775e-418e-870b-1faccd4b2c0f/try" ,
4750 "method" : " POST" ,
4851 "body" : {
49- "code" : " foo" ,
52+ "type" : " code" ,
53+ "input" : {"code" : " foo" },
5054 "sampleRecord" : {
5155 "bar" : " baz"
5256 },
You can’t perform that action at this time.
0 commit comments