Go to file
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
.claude Initial commit: LetsBe Cloud Orchestrator 2025-12-03 11:02:31 +01:00
.gitea/workflows Add Gitea Actions CI/CD and fix trailing slash routing 2025-12-08 12:37:28 +01:00
alembic feat: add secure token-based agent registration and multi-tenant isolation 2025-12-07 11:11:32 +01:00
app feat: add Nextcloud initial setup endpoint via Playwright 2025-12-08 20:20:31 +01:00
tests feat: add Nextcloud initial setup endpoint via Playwright 2025-12-08 20:20:31 +01:00
.env.example docs: add ADMIN_API_KEY to .env.example with generation instructions 2025-12-07 11:25:38 +01:00
.gitignore Initial commit: LetsBe Cloud Orchestrator 2025-12-03 11:02:31 +01:00
CLAUDE.md Initial commit: LetsBe Cloud Orchestrator 2025-12-03 11:02:31 +01:00
Dockerfile Initial commit: LetsBe Cloud Orchestrator 2025-12-03 11:02:31 +01:00
ROADMAP.md feat: add tenant_id to agent registration and task filtering 2025-12-05 20:09:58 +01:00
alembic.ini Initial commit: LetsBe Cloud Orchestrator 2025-12-03 11:02:31 +01:00
docker-compose-dev.yml chore: add ADMIN_API_KEY to docker-compose files 2025-12-07 11:24:46 +01:00
docker-compose.override.yml Use registry image in docker-compose, add dev override 2025-12-08 12:50:13 +01:00
docker-compose.yml Use registry image in docker-compose, add dev override 2025-12-08 12:50:13 +01:00
nginx.conf Add production Docker Compose and nginx config 2025-12-03 11:25:57 +01:00
requirements.txt feat: add Nextcloud initial setup endpoint via Playwright 2025-12-08 20:20:31 +01:00