Skip to content

Commit 77f5d3b

Browse files
authored
[Datafactory] Swagger change for Power Query (WranglingDataFlow) work (Azure#15584)
* [Datafactory] Add Wrangling dataflow models for Power Query * Fix spell check issue * Fix Lint errors
1 parent 93bd20d commit 77f5d3b

File tree

2 files changed

+106
-0
lines changed

2 files changed

+106
-0
lines changed

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

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,40 @@
9696
}
9797
}
9898
},
99+
"WranglingDataFlow": {
100+
"x-ms-discriminator-value": "WranglingDataFlow",
101+
"description": "Power Query data flow.",
102+
"type": "object",
103+
"allOf": [
104+
{
105+
"$ref": "#/definitions/DataFlow"
106+
}
107+
],
108+
"properties": {
109+
"typeProperties": {
110+
"description": "PowerQuery data flow type properties.",
111+
"x-ms-client-flatten": true,
112+
"$ref": "#/definitions/PowerQueryTypeProperties"
113+
}
114+
}
115+
},
116+
"PowerQueryTypeProperties": {
117+
"description": "Power Query data flow type properties.",
118+
"type": "object",
119+
"properties": {
120+
"sources": {
121+
"type": "array",
122+
"description": "List of sources in Power Query.",
123+
"items": {
124+
"$ref": "#/definitions/PowerQuerySource"
125+
}
126+
},
127+
"script": {
128+
"type": "string",
129+
"description": "Power query mashup script."
130+
}
131+
}
132+
},
99133
"Transformation": {
100134
"description": "A data flow transformation.",
101135
"type": "object",
@@ -156,6 +190,36 @@
156190
"$ref": "../datafactory.json#/definitions/LinkedServiceReference"
157191
}
158192
}
193+
},
194+
"PowerQuerySource": {
195+
"description": "Power query source.",
196+
"type": "object",
197+
"allOf": [
198+
{
199+
"$ref": "#/definitions/DataFlowSource"
200+
}
201+
],
202+
"properties": {
203+
"script": {
204+
"description": "source script.",
205+
"type": "string"
206+
}
207+
}
208+
},
209+
"PowerQuerySink": {
210+
"description": "Power query sink.",
211+
"type": "object",
212+
"allOf": [
213+
{
214+
"$ref": "#/definitions/DataFlowSink"
215+
}
216+
],
217+
"properties": {
218+
"script": {
219+
"description": "sink script.",
220+
"type": "string"
221+
}
222+
}
159223
}
160224
}
161225
}

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7098,6 +7098,30 @@
70987098
"typeProperties"
70997099
]
71007100
},
7101+
"ExecuteWranglingDataflowActivity": {
7102+
"description": "Execute power query activity.",
7103+
"type": "object",
7104+
"x-ms-discriminator-value": "ExecuteWranglingDataflow",
7105+
"allOf": [
7106+
{
7107+
"$ref": "#/definitions/Activity"
7108+
}
7109+
],
7110+
"properties": {
7111+
"typeProperties": {
7112+
"x-ms-client-flatten": true,
7113+
"description": "Execute power query activity properties.",
7114+
"$ref": "#/definitions/ExecutePowerQueryActivityTypeProperties"
7115+
},
7116+
"policy": {
7117+
"$ref": "#/definitions/ActivityPolicy",
7118+
"description": "Activity policy."
7119+
}
7120+
},
7121+
"required": [
7122+
"typeProperties"
7123+
]
7124+
},
71017125
"ExecuteDataFlowActivityTypeProperties": {
71027126
"description": "Execute data flow activity properties.",
71037127
"properties": {
@@ -7144,6 +7168,24 @@
71447168
"dataFlow"
71457169
]
71467170
},
7171+
"ExecutePowerQueryActivityTypeProperties": {
7172+
"description": "Execute power query data flow activity properties.",
7173+
"type": "object",
7174+
"allOf": [
7175+
{
7176+
"$ref": "#/definitions/ExecuteDataFlowActivityTypeProperties"
7177+
}
7178+
],
7179+
"properties": {
7180+
"sinks": {
7181+
"type": "object",
7182+
"description": "List of Power Query activity sinks mapped to a queryName.",
7183+
"additionalProperties": {
7184+
"$ref": "./DataFlow.json#/definitions/PowerQuerySink"
7185+
}
7186+
}
7187+
}
7188+
},
71477189
"SharePointOnlineListSource": {
71487190
"description": "A copy activity source for sharePoint online list source.",
71497191
"type": "object",

0 commit comments

Comments
 (0)