Skip to content

Commit f5ed5c5

Browse files
esdhrgl1984Leiwang3SQL
authored andcommitted
Swagger changes for Dataflow flowlets (Azure#16251)
* Swagger changes for Dataflow flowlets * Fix reference errors * Fix Lint checks * Separate changes for ADF and Synapse * Address Review Comment
1 parent 6ab2b0e commit f5ed5c5

File tree

3 files changed

+88
-0
lines changed

3 files changed

+88
-0
lines changed

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@ findsimilars
734734
findsquare
735735
firmwares
736736
Flexera
737+
Flowlet
737738
fluentd
738739
forceclosehandles
739740
forestsummary

specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6438,6 +6438,13 @@
64386438
"description": "Data flow instance.",
64396439
"$ref": "#/definitions/DataFlowDebugResource"
64406440
},
6441+
"dataFlows": {
6442+
"description": "List of Data flows",
6443+
"type": "array",
6444+
"items": {
6445+
"$ref": "#/definitions/DataFlowDebugResource"
6446+
}
6447+
},
64416448
"datasets": {
64426449
"type": "array",
64436450
"description": "List of datasets.",

specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/DataFlow.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,26 @@
6666
}
6767
}
6868
},
69+
"Flowlet": {
70+
"x-ms-discriminator-value": "Flowlet",
71+
"description": "Data flow flowlet",
72+
"type": "object",
73+
"allOf": [
74+
{
75+
"$ref": "#/definitions/DataFlow"
76+
}
77+
],
78+
"properties": {
79+
"typeProperties": {
80+
"description": "Flowlet type properties.",
81+
"x-ms-client-flatten": true,
82+
"$ref": "#/definitions/FlowletTypeProperties"
83+
}
84+
},
85+
"additionalProperties": {
86+
"type": "object"
87+
}
88+
},
6989
"MappingDataFlowTypeProperties": {
7090
"description": "Mapping data flow type properties.",
7191
"properties": {
@@ -93,6 +113,13 @@
93113
"script": {
94114
"type": "string",
95115
"description": "DataFlow script."
116+
},
117+
"scriptLines": {
118+
"type": "array",
119+
"description": "Data flow script lines.",
120+
"items": {
121+
"type": "string"
122+
}
96123
}
97124
}
98125
},
@@ -134,6 +161,47 @@
134161
}
135162
}
136163
},
164+
"FlowletTypeProperties": {
165+
"description": "Flowlet type properties.",
166+
"type": "object",
167+
"properties": {
168+
"sources": {
169+
"type": "array",
170+
"description": "List of sources in Flowlet.",
171+
"items": {
172+
"$ref": "#/definitions/DataFlowSource"
173+
}
174+
},
175+
"sinks": {
176+
"type": "array",
177+
"description": "List of sinks in Flowlet.",
178+
"items": {
179+
"$ref": "#/definitions/DataFlowSink"
180+
}
181+
},
182+
"transformations": {
183+
"type": "array",
184+
"description": "List of transformations in Flowlet.",
185+
"items": {
186+
"$ref": "#/definitions/Transformation"
187+
}
188+
},
189+
"script": {
190+
"type": "string",
191+
"description": "Flowlet script."
192+
},
193+
"scriptLines": {
194+
"type": "array",
195+
"description": "Flowlet script lines.",
196+
"items": {
197+
"type": "string"
198+
}
199+
},
200+
"additionalProperties": {
201+
"type": "object"
202+
}
203+
}
204+
},
137205
"Transformation": {
138206
"description": "A data flow transformation.",
139207
"type": "object",
@@ -145,6 +213,10 @@
145213
"description": {
146214
"description": "Transformation description.",
147215
"type": "string"
216+
},
217+
"flowlet": {
218+
"description": "Flowlet Reference",
219+
"$ref": "../datafactory.json#/definitions/DataFlowReference"
148220
}
149221
},
150222
"required": [
@@ -170,6 +242,10 @@
170242
"schemaLinkedService": {
171243
"description": "Schema linked service reference.",
172244
"$ref": "../datafactory.json#/definitions/LinkedServiceReference"
245+
},
246+
"flowlet": {
247+
"description": "Flowlet Reference",
248+
"$ref": "../datafactory.json#/definitions/DataFlowReference"
173249
}
174250
}
175251
},
@@ -192,6 +268,10 @@
192268
"schemaLinkedService": {
193269
"description": "Schema linked service reference.",
194270
"$ref": "../datafactory.json#/definitions/LinkedServiceReference"
271+
},
272+
"flowlet": {
273+
"description": "Flowlet Reference",
274+
"$ref": "../datafactory.json#/definitions/DataFlowReference"
195275
}
196276
}
197277
},

0 commit comments

Comments
 (0)