feat: allow create/update OAuth2 DB (#30071)

This commit is contained in:
Beto Dealmeida
2024-09-03 19:22:38 -04:00
committed by GitHub
parent c929f5ed7a
commit 0415ed34ce
16 changed files with 620 additions and 29 deletions

View File

@@ -3255,6 +3255,7 @@ class TestDatabaseApi(SupersetTestCase):
"supports_dynamic_catalog": True,
"disable_ssh_tunneling": False,
},
"supports_oauth2": False,
},
{
"available_drivers": ["bigquery"],
@@ -3279,6 +3280,7 @@ class TestDatabaseApi(SupersetTestCase):
"supports_dynamic_catalog": True,
"disable_ssh_tunneling": True,
},
"supports_oauth2": False,
},
{
"available_drivers": ["psycopg2"],
@@ -3335,6 +3337,7 @@ class TestDatabaseApi(SupersetTestCase):
"supports_dynamic_catalog": False,
"disable_ssh_tunneling": False,
},
"supports_oauth2": False,
},
{
"available_drivers": ["apsw"],
@@ -3359,6 +3362,7 @@ class TestDatabaseApi(SupersetTestCase):
"supports_dynamic_catalog": False,
"disable_ssh_tunneling": True,
},
"supports_oauth2": True,
},
{
"available_drivers": ["mysqlconnector", "mysqldb"],
@@ -3415,6 +3419,7 @@ class TestDatabaseApi(SupersetTestCase):
"supports_dynamic_catalog": False,
"disable_ssh_tunneling": False,
},
"supports_oauth2": False,
},
{
"available_drivers": [""],
@@ -3427,6 +3432,7 @@ class TestDatabaseApi(SupersetTestCase):
"supports_dynamic_catalog": False,
"disable_ssh_tunneling": False,
},
"supports_oauth2": False,
},
]
}
@@ -3460,6 +3466,7 @@ class TestDatabaseApi(SupersetTestCase):
"supports_dynamic_catalog": False,
"disable_ssh_tunneling": False,
},
"supports_oauth2": False,
},
{
"available_drivers": [""],
@@ -3472,6 +3479,7 @@ class TestDatabaseApi(SupersetTestCase):
"supports_dynamic_catalog": False,
"disable_ssh_tunneling": False,
},
"supports_oauth2": False,
},
]
}