feat(ssh_tunnel): Rename allow_ssh_tunneling and change the default value to False (#22723)

This commit is contained in:
Antonio Rivero Martinez
2023-01-18 00:11:41 -03:00
committed by GitHub
parent c87f654901
commit ad758c0802
10 changed files with 28 additions and 26 deletions

View File

@@ -2304,7 +2304,7 @@ class TestDatabaseApi(SupersetTestCase):
"sqlalchemy_uri_placeholder": "postgresql://user:password@host:port/dbname[?key=value&key=value...]",
"engine_information": {
"supports_file_upload": True,
"allow_ssh_tunneling": True,
"disable_ssh_tunneling": False,
},
},
{
@@ -2327,7 +2327,7 @@ class TestDatabaseApi(SupersetTestCase):
"sqlalchemy_uri_placeholder": "bigquery://{project_id}",
"engine_information": {
"supports_file_upload": True,
"allow_ssh_tunneling": False,
"disable_ssh_tunneling": True,
},
},
{
@@ -2379,7 +2379,7 @@ class TestDatabaseApi(SupersetTestCase):
"sqlalchemy_uri_placeholder": "redshift+psycopg2://user:password@host:port/dbname[?key=value&key=value...]",
"engine_information": {
"supports_file_upload": True,
"allow_ssh_tunneling": False,
"disable_ssh_tunneling": False,
},
},
{
@@ -2402,7 +2402,7 @@ class TestDatabaseApi(SupersetTestCase):
"sqlalchemy_uri_placeholder": "gsheets://",
"engine_information": {
"supports_file_upload": False,
"allow_ssh_tunneling": False,
"disable_ssh_tunneling": True,
},
},
{
@@ -2454,7 +2454,7 @@ class TestDatabaseApi(SupersetTestCase):
"sqlalchemy_uri_placeholder": "mysql://user:password@host:port/dbname[?key=value&key=value...]",
"engine_information": {
"supports_file_upload": True,
"allow_ssh_tunneling": False,
"disable_ssh_tunneling": False,
},
},
{
@@ -2464,7 +2464,7 @@ class TestDatabaseApi(SupersetTestCase):
"preferred": False,
"engine_information": {
"supports_file_upload": True,
"allow_ssh_tunneling": False,
"disable_ssh_tunneling": False,
},
},
]
@@ -2495,7 +2495,7 @@ class TestDatabaseApi(SupersetTestCase):
"preferred": True,
"engine_information": {
"supports_file_upload": True,
"allow_ssh_tunneling": False,
"disable_ssh_tunneling": False,
},
},
{
@@ -2505,7 +2505,7 @@ class TestDatabaseApi(SupersetTestCase):
"preferred": False,
"engine_information": {
"supports_file_upload": True,
"allow_ssh_tunneling": False,
"disable_ssh_tunneling": False,
},
},
]