Skip to content

Commit

Permalink
[DOP-17436] add hive s3 hdfs type
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-pedchenko committed Jun 25, 2024
1 parent 2d5271e commit 86a075d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions syncmaster/backend/api/v1/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@
)
from syncmaster.exceptions.credentials import AuthDataNotFoundError
from syncmaster.exceptions.group import GroupNotFoundError
from syncmaster.schemas.v1.connection_types import HIVE_TYPE, ORACLE_TYPE, POSTGRES_TYPE
from syncmaster.schemas.v1.connection_types import (
HDFS_TYPE,
HIVE_TYPE,
ORACLE_TYPE,
POSTGRES_TYPE,
S3_TYPE,
)
from syncmaster.schemas.v1.connections.connection import (
ConnectionCopySchema,
ConnectionPageSchema,
Expand All @@ -30,7 +36,7 @@

router = APIRouter(tags=["Connections"])

CONNECTION_TYPES = ORACLE_TYPE, POSTGRES_TYPE, HIVE_TYPE
CONNECTION_TYPES = ORACLE_TYPE, POSTGRES_TYPE, HIVE_TYPE, S3_TYPE, HDFS_TYPE


@router.get("/connections")
Expand Down

0 comments on commit 86a075d

Please sign in to comment.