Skip to content

Commit

Permalink
[Datafactory] Swagger change for Power Query (WranglingDataFlow) work (
Browse files Browse the repository at this point in the history
…Azure#15584)

* [Datafactory] Add Wrangling dataflow models for Power Query

* Fix spell check issue

* Fix Lint errors
  • Loading branch information
soma-ms committed Aug 13, 2021
1 parent 93bd20d commit 77f5d3b
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,40 @@
}
}
},
"WranglingDataFlow": {
"x-ms-discriminator-value": "WranglingDataFlow",
"description": "Power Query data flow.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/DataFlow"
}
],
"properties": {
"typeProperties": {
"description": "PowerQuery data flow type properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/PowerQueryTypeProperties"
}
}
},
"PowerQueryTypeProperties": {
"description": "Power Query data flow type properties.",
"type": "object",
"properties": {
"sources": {
"type": "array",
"description": "List of sources in Power Query.",
"items": {
"$ref": "#/definitions/PowerQuerySource"
}
},
"script": {
"type": "string",
"description": "Power query mashup script."
}
}
},
"Transformation": {
"description": "A data flow transformation.",
"type": "object",
Expand Down Expand Up @@ -156,6 +190,36 @@
"$ref": "../datafactory.json#/definitions/LinkedServiceReference"
}
}
},
"PowerQuerySource": {
"description": "Power query source.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/DataFlowSource"
}
],
"properties": {
"script": {
"description": "source script.",
"type": "string"
}
}
},
"PowerQuerySink": {
"description": "Power query sink.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/DataFlowSink"
}
],
"properties": {
"script": {
"description": "sink script.",
"type": "string"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7098,6 +7098,30 @@
"typeProperties"
]
},
"ExecuteWranglingDataflowActivity": {
"description": "Execute power query activity.",
"type": "object",
"x-ms-discriminator-value": "ExecuteWranglingDataflow",
"allOf": [
{
"$ref": "#/definitions/Activity"
}
],
"properties": {
"typeProperties": {
"x-ms-client-flatten": true,
"description": "Execute power query activity properties.",
"$ref": "#/definitions/ExecutePowerQueryActivityTypeProperties"
},
"policy": {
"$ref": "#/definitions/ActivityPolicy",
"description": "Activity policy."
}
},
"required": [
"typeProperties"
]
},
"ExecuteDataFlowActivityTypeProperties": {
"description": "Execute data flow activity properties.",
"properties": {
Expand Down Expand Up @@ -7144,6 +7168,24 @@
"dataFlow"
]
},
"ExecutePowerQueryActivityTypeProperties": {
"description": "Execute power query data flow activity properties.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/ExecuteDataFlowActivityTypeProperties"
}
],
"properties": {
"sinks": {
"type": "object",
"description": "List of Power Query activity sinks mapped to a queryName.",
"additionalProperties": {
"$ref": "./DataFlow.json#/definitions/PowerQuerySink"
}
}
}
},
"SharePointOnlineListSource": {
"description": "A copy activity source for sharePoint online list source.",
"type": "object",
Expand Down

0 comments on commit 77f5d3b

Please sign in to comment.