1.6 KiB
1.6 KiB
Quickstart: Provider Foundation v1
Branch: 061-provider-foundation
Date: 2026-01-24
Spec: /Users/ahmeddarrazi/Documents/projects/TenantAtlas/specs/061-provider-foundation/spec.md
Local setup
- Start the app stack:
./vendor/bin/sail up -d
- Install dependencies (if needed):
./vendor/bin/sail composer install
- Run migrations:
./vendor/bin/sail artisan migrate
Manual QA (once implemented)
- Select a Suite Tenant in the admin UI.
- Create a Microsoft Provider Connection:
- Enter
entra_tenant_id(GUID) anddisplay_name - Mark it as the default connection (or ensure exactly one default exists)
- Enter
- Attach credentials (Owner/Manager only):
- Enter
client_id+client_secret - Verify secrets are never shown again after saving
- Enter
- Run “Check connection” (Owner/Manager/Operator):
- Verify an
OperationRunis created and visible in Monitoring → Operations - Verify failures show a stable reason code + short sanitized message (no tokens/secrets/emails)
- Verify an
- Start inventory collection and compliance snapshot:
- Re-start the same operation while it’s running → returns the existing active run
- Start a different operation while a run is active for the same scope → blocked as “scope busy” with a link to the active run
- Confirm DB-only render:
- Provider Connections and Operations pages should load/poll without triggering outbound provider calls.
Test run (once implemented)
- Run targeted tests:
./vendor/bin/sail artisan test tests/Feature./vendor/bin/sail artisan test tests/Unit