Skip to content

Commit

Permalink
Addd triggers and transfers to provider_info.schema (#33654)
Browse files Browse the repository at this point in the history
They were not added to the schema, even if they are appearing
already as they are automatically extracted from provider.yaml

Part of #29918
  • Loading branch information
potiuk authored Aug 23, 2023
1 parent 85aea74 commit 5544c8b
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions airflow/provider_info.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,60 @@
"deprecatedVersion": "2.2.0"
}
},
"transfers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"how-to-guide": {
"description": "Path to how-to-guide for the transfer. The path must start with '/docs/'",
"type": "string"
},
"source-integration-name": {
"type": "string",
"description": "Integration name. It must have a matching item in the 'integration' section of any provider."
},
"target-integration-name": {
"type": "string",
"description": "Target integration name. It must have a matching item in the 'integration' section of any provider."
},
"python-module": {
"type": "string",
"description": "List of python modules containing the transfers."
}
},
"additionalProperties": false,
"required": [
"source-integration-name",
"target-integration-name",
"python-module"
]
}
},
"triggers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"integration-name": {
"type": "string",
"description": "Integration name. It must have a matching item in the 'integration' section of any provider."
},
"python-modules": {
"description": "List of Python modules containing the triggers.",
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": [
"integration-name",
"python-modules"
]
}
},
"connection-types": {
"type": "array",
"description": "Map of connection types mapped to hook class names.",
Expand Down

0 comments on commit 5544c8b

Please sign in to comment.