letsbe-orchestrator/app/routes
Matt 4bafefdfaf
Build and Push Docker Image / test (push) Successful in 55s Details
Build and Push Docker Image / build (push) Successful in 1m16s Details
feat: add Nextcloud initial setup endpoint via Playwright
Add POST /api/v1/tenants/{tenant_id}/nextcloud/setup endpoint that:
- Creates a PLAYWRIGHT task for Nextcloud initial admin setup
- Validates tenant has domain configured
- Auto-resolves online agent for tenant
- Performs health check against Nextcloud before creating task
- Returns 409 if Nextcloud is unavailable

Changes:
- Add httpx for health checks
- Add build_nextcloud_initial_setup_step() and create_nextcloud_initial_setup_task()
- Add NextcloudInitialSetupRequest schema with username/password validation
- Add check_nextcloud_availability() helper for health checks
- Add comprehensive unit tests (42 tests total)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-08 20:20:31 +01:00
..
__init__.py feat: add secure token-based agent registration and multi-tenant isolation 2025-12-07 11:11:32 +01:00
agents.py Add Gitea Actions CI/CD and fix trailing slash routing 2025-12-08 12:37:28 +01:00
env.py Add ENV and FILE management APIs with tests 2025-12-04 00:30:37 +01:00
files.py Add ENV and FILE management APIs with tests 2025-12-04 00:30:37 +01:00
health.py Initial commit: LetsBe Cloud Orchestrator 2025-12-03 11:02:31 +01:00
playbooks.py feat: add Nextcloud initial setup endpoint via Playwright 2025-12-08 20:20:31 +01:00
registration_tokens.py feat: add secure token-based agent registration and multi-tenant isolation 2025-12-07 11:11:32 +01:00
tasks.py Add Gitea Actions CI/CD and fix trailing slash routing 2025-12-08 12:37:28 +01:00
tenants.py Add Gitea Actions CI/CD and fix trailing slash routing 2025-12-08 12:37:28 +01:00