3728c245d3
- Add GitHubAdapter and GitLabAdapter with URL parsing - Create provider factory in apps/api/app/git/providers/ - Implement clone, fetch, push in LocalGitOperations - Add repository_connections router with CRUD and SSH key endpoints - Create RepositoryConnection schema with validation - Update models and routers __init__.py for new components - Add comprehensive tests for git operations
28 lines
988 B
Python
28 lines
988 B
Python
from fastapi import APIRouter
|
|
|
|
from app.routers.access_routes import router as access_routes_router
|
|
from app.routers.configs import router as configs_router
|
|
from app.routers.projects import router as projects_router
|
|
from app.routers.repositories import router as repositories_router
|
|
from app.routers.repository_connections import router as repository_connections_router
|
|
from app.routers.secrets import router as secrets_router
|
|
from app.routers.tool_definitions import router as tool_definitions_router
|
|
from app.routers.tool_instances import router as tool_instances_router
|
|
from app.routers.users import router as users_router
|
|
from app.routers.workspaces import router as workspaces_router
|
|
|
|
routers: list[APIRouter] = [
|
|
access_routes_router,
|
|
configs_router,
|
|
projects_router,
|
|
repositories_router,
|
|
repository_connections_router,
|
|
secrets_router,
|
|
tool_definitions_router,
|
|
tool_instances_router,
|
|
users_router,
|
|
workspaces_router,
|
|
]
|
|
|
|
__all__ = ["routers"]
|