letsbe-orchestrator/tests/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 Add ENV and FILE management APIs with tests 2025-12-04 00:30:37 +01:00
test_agent_auth.py Fix failing tests for legacy auth and heartbeat 2025-12-08 12:40:02 +01:00
test_env_routes.py Add ENV and FILE management APIs with tests 2025-12-04 00:30:37 +01:00
test_files_routes.py Add ENV and FILE management APIs with tests 2025-12-04 00:30:37 +01:00
test_nextcloud_routes.py feat: add Nextcloud initial setup endpoint via Playwright 2025-12-08 20:20:31 +01:00
test_registration_tokens.py feat: add secure token-based agent registration and multi-tenant isolation 2025-12-07 11:11:32 +01:00
test_tasks_auth.py feat: add secure token-based agent registration and multi-tenant isolation 2025-12-07 11:11:32 +01:00