Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger changes for Synapse flowlets #16335

Merged
merged 3 commits into from
Oct 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@ findsimilars
findsquare
firmwares
Flexera
Flowlet
fluentd
forceclosehandles
forestsummary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2945,6 +2945,13 @@
"description": "Data flow instance.",
"$ref": "#/definitions/DataFlowResource"
},
"dataFlows": {
"description": "List of Data flows",
"type": "array",
"items": {
"$ref": "#/definitions/DataFlowResource"
}
},
"datasets": {
"type": "array",
"description": "List of datasets.",
Expand Down Expand Up @@ -3868,6 +3875,13 @@
"description": "Data flow instance.",
"$ref": "#/definitions/DataFlowDebugResource"
},
"dataFlows": {
"description": "List of Data flows",
"type": "array",
"items": {
"$ref": "#/definitions/DataFlowDebugResource"
}
},
"datasets": {
"type": "array",
"description": "List of datasets.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,26 @@
}
}
},
"Flowlet": {
"x-ms-discriminator-value": "Flowlet",
"description": "Data flow flowlet",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/DataFlow"
}
],
"properties": {
"typeProperties": {
"description": "Flowlet type properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/FlowletTypeProperties"
}
},
"additionalProperties": {
"type": "object"
}
},
"MappingDataFlowTypeProperties": {
"description": "Mapping data flow type properties.",
"type": "object",
Expand Down Expand Up @@ -86,6 +106,13 @@
"script": {
"type": "string",
"description": "DataFlow script."
},
"scriptLines": {
"type": "array",
"description": "Data flow script lines.",
"items": {
"type": "string"
}
}
}
},
Expand All @@ -100,6 +127,10 @@
"description": {
"description": "Transformation description.",
"type": "string"
},
"flowlet": {
"description": "Flowlet Reference",
"$ref": "../artifacts.json#/definitions/DataFlowReference"
}
},
"required": [
Expand All @@ -126,6 +157,10 @@
"schemaLinkedService": {
"description": "Schema linked service reference.",
"$ref": "../artifacts.json#/definitions/LinkedServiceReference"
},
"flowlet": {
"description": "Flowlet Reference",
"$ref": "../artifacts.json#/definitions/DataFlowReference"
}
}
},
Expand All @@ -149,6 +184,51 @@
"schemaLinkedService": {
"description": "Schema linked service reference.",
"$ref": "../artifacts.json#/definitions/LinkedServiceReference"
},
"flowlet": {
"description": "Flowlet Reference",
"$ref": "../artifacts.json#/definitions/DataFlowReference"
}
}
},
"FlowletTypeProperties": {
"description": "Flowlet type properties.",
"type": "object",
"properties": {
"sources": {
"type": "array",
"description": "List of sources in Flowlet.",
"items": {
"$ref": "#/definitions/DataFlowSource"
}
},
"sinks": {
"type": "array",
"description": "List of sinks in Flowlet.",
"items": {
"$ref": "#/definitions/DataFlowSink"
}
},
"transformations": {
"type": "array",
"description": "List of transformations in Flowlet.",
"items": {
"$ref": "#/definitions/Transformation"
}
},
"script": {
"type": "string",
"description": "Flowlet script."
},
"scriptLines": {
"type": "array",
"description": "Flowlet script lines.",
"items": {
"type": "string"
}
},
"additionalProperties": {
"type": "object"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,13 @@
"description": "Data flow instance.",
"$ref": "#/definitions/DataFlowDebugResource"
},
"dataFlows": {
"description": "List of Data flows",
"type": "array",
"items": {
"$ref": "#/definitions/DataFlowDebugResource"
}
},
"datasets": {
"type": "array",
"description": "List of datasets.",
Expand Down Expand Up @@ -745,6 +752,13 @@
"description": "Data flow instance.",
"$ref": "dataflows.json#/definitions/DataFlowResource"
},
"dataFlows": {
"description": "List of Data flows",
"type": "array",
"items": {
"$ref": "#/definitions/DataFlowResource"
}
},
"datasets": {
"type": "array",
"description": "List of datasets.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,26 @@
}
}
},
"Flowlet": {
"x-ms-discriminator-value": "Flowlet",
"description": "Data flow flowlet",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/DataFlow"
}
],
"properties": {
"typeProperties": {
"description": "Flowlet type properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/FlowletTypeProperties"
}
},
"additionalProperties": {
"type": "object"
}
},
"MappingDataFlowTypeProperties": {
"description": "Mapping data flow type properties.",
"type": "object",
Expand Down Expand Up @@ -86,6 +106,13 @@
"script": {
"type": "string",
"description": "DataFlow script."
},
"scriptLines": {
"type": "array",
"description": "Data flow script lines.",
"items": {
"type": "string"
}
}
}
},
Expand All @@ -100,6 +127,10 @@
"description": {
"description": "Transformation description.",
"type": "string"
},
"flowlet": {
"description": "Flowlet Reference",
"$ref": "../artifacts.json#/definitions/DataFlowReference"
}
},
"required": [
Expand All @@ -126,6 +157,10 @@
"schemaLinkedService": {
"description": "Schema linked service reference.",
"$ref": "../artifacts.json#/definitions/LinkedServiceReference"
},
"flowlet": {
"description": "Flowlet Reference",
"$ref": "../artifacts.json#/definitions/DataFlowReference"
}
}
},
Expand All @@ -149,6 +184,51 @@
"schemaLinkedService": {
"description": "Schema linked service reference.",
"$ref": "../artifacts.json#/definitions/LinkedServiceReference"
},
"flowlet": {
"description": "Flowlet Reference",
"$ref": "../artifacts.json#/definitions/DataFlowReference"
}
}
},
"FlowletTypeProperties": {
"description": "Flowlet type properties.",
"type": "object",
"properties": {
"sources": {
"type": "array",
"description": "List of sources in Flowlet.",
"items": {
"$ref": "#/definitions/DataFlowSource"
}
},
"sinks": {
"type": "array",
"description": "List of sinks in Flowlet.",
"items": {
"$ref": "#/definitions/DataFlowSink"
}
},
"transformations": {
"type": "array",
"description": "List of transformations in Flowlet.",
"items": {
"$ref": "#/definitions/Transformation"
}
},
"script": {
"type": "string",
"description": "Flowlet script."
},
"scriptLines": {
"type": "array",
"description": "Flowlet script lines.",
"items": {
"type": "string"
}
},
"additionalProperties": {
"type": "object"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,13 @@
"description": "Data flow instance.",
"$ref": "#/definitions/DataFlowDebugResource"
},
"dataFlows": {
"description": "List of Data flows",
"type": "array",
"items": {
"$ref": "#/definitions/DataFlowDebugResource"
}
},
"datasets": {
"type": "array",
"description": "List of datasets.",
Expand Down Expand Up @@ -745,6 +752,13 @@
"description": "Data flow instance.",
"$ref": "dataflows.json#/definitions/DataFlowResource"
},
"dataFlows": {
"description": "List of Data flows",
"type": "array",
"items": {
"$ref": "#/definitions/DataFlowResource"
}
},
"datasets": {
"type": "array",
"description": "List of datasets.",
Expand Down
Loading