# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
#
# IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
# `get_provider_info_TEMPLATE.py.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY


def get_provider_info():
    return {
        "package-name": "apache-airflow-providers-informatica",
        "name": "Informatica",
        "description": "`Informatica <https://www.informatica.com//>`__\n",
        "integrations": [
            {
                "integration-name": "Informatica",
                "external-doc-url": "https://www.informatica.com/",
                "logo": "/docs/integration-logos/informatica.png",
                "tags": ["protocol"],
            }
        ],
        "hooks": [
            {"integration-name": "Informatica", "python-modules": ["airflow.providers.informatica.hooks.edc"]}
        ],
        "connection-types": [
            {
                "hook-class-name": "airflow.providers.informatica.hooks.edc.InformaticaEDCHook",
                "hook-name": "Informatica EDC",
                "connection-type": "informatica_edc",
            }
        ],
        "plugins": [
            {
                "name": "informatica",
                "plugin-class": "airflow.providers.informatica.plugins.InformaticaProviderPlugin",
            }
        ],
        "config": {
            "informatica": {
                "description": "This section applies settings for Informatica integration.\nMore about configuration and its precedence can be found in the `usage's guide\n<https://airflow.apache.org/docs/apache-airflow-providers-informatica/stable/guides/usage.html#transport-setup>`_.\n",
                "options": {
                    "listener_disabled": {
                        "description": "Disable sending events without uninstalling the Informatica Provider by setting this to true.\n",
                        "type": "boolean",
                        "example": None,
                        "default": "False",
                        "version_added": None,
                    },
                    "default_conn_id": {
                        "description": "The default connection ID to use for Informatica operations.\n",
                        "type": "string",
                        "example": "informatica_edc_default",
                        "default": "informatica_edc_default",
                        "version_added": None,
                    },
                    "auto_lineage_enabled": {
                        "description": "Enable automatic SQL lineage detection for operators with a ``sql`` attribute.\nWhen set to ``true``, the provider parses each task's SQL at pre-execution time,\nresolves the referenced tables against the Informatica catalog, and creates lineage\nlinks on task success.  Set to ``false`` to rely solely on manually declared inlets\nand outlets.\n",
                        "type": "boolean",
                        "example": None,
                        "default": "True",
                        "version_added": None,
                    },
                    "disabled_for_operators": {
                        "description": "Exclude specific operator classes from Informatica lineage tracking by providing\na semicolon-separated list of fully-qualified class names.  Operators listed here\nwill have neither manual nor automatic lineage processed.\n",
                        "type": "string",
                        "example": "airflow.providers.standard.operators.bash.BashOperator; airflow.providers.standard.operators.python.PythonOperator",
                        "default": "",
                        "version_added": None,
                    },
                    "request_timeout": {
                        "description": "Timeout in seconds for HTTP requests made to the Informatica EDC REST API.\n",
                        "type": "integer",
                        "example": "30",
                        "default": "30",
                        "version_added": None,
                    },
                },
            }
        },
    }
