devfactory-apps-admin
The platform-operator console for the Dev Factory. Where the developer console
Componentes
Páginas 20
| Arquivo | Título |
|---|---|
404.html | Página não encontrada | Admin Dev Factory |
access/index.html | Administradores | Admin Dev Factory |
activity/index.html | Atividade | Admin Dev Factory |
auth/index.html | Entrando | Admin Dev Factory |
aws-cost/index.html | Custo AWS | Admin Dev Factory |
bedrock-keys/index.html | Bedrock Keys | Admin Dev Factory |
capacity/index.html | Capacidade | Admin Dev Factory |
clarity/index.html | Analytics de Produto | Admin Dev Factory |
entra-apps/index.html | Apps Entra | Admin Dev Factory |
index.html | Visão Geral | Admin Dev Factory |
observability/index.html | Observabilidade | Admin Dev Factory |
onboarding/index.html | Onboarding | Admin Dev Factory |
plugins/index.html | Plugins | Admin Dev Factory |
pricing/index.html | Preços de Modelos | Admin Dev Factory |
settings/index.html | Configurações | Admin Dev Factory |
shared-repos/index.html | Repos Compartilhados | Admin Dev Factory |
taxonomy/index.html | Taxonomia de Tags | Admin Dev Factory |
templates/index.html | Templates de Aplicação | Admin Dev Factory |
tokens/index.html | Consumo de Tokens | Admin Dev Factory |
users/index.html | Usuários | Admin Dev Factory |
Estrutura
README
Dev Factory — Platform Admin
The platform-operator console for the Dev Factory. Where the developer console (devfactory-apps-console) is project-centric self-service, this app is for platform-wide configuration and monitoring — everything that governs the platform as a whole.
Same stack as the console: fully static plain HTML + Vue 3 (CDN), Tailwind, Font Awesome and LESS compiled in the browser. No build step. It reuses the core-control (apis-aws) API and the same Entra/MSAL auth + shared services as the console.
Pages
| Page | What it does | API |
|---|---|---|
Overview (/) | Platform KPIs: projects, resources, platform admins, est. cost, AI-enabled, telemetry totals | /projects, /admin/usage, /admin/observability, /admin/platform-admins |
Access control (/access) | Grant/revoke platform admins; view the role catalog | /admin/platform-admins, /rbac/catalog |
Tag taxonomy (/taxonomy) | Edit the known tag keys that shape the projects-list filter — label, color, icon, drill-down order, suggested values | GET/PUT /tags/taxonomy |
Usage & cost (/usage) | Platform-wide usage + estimated cost per project/environment | /admin/usage |
Observability (/observability) | Telemetry aggregated across every project — signals, errors, by-kind, per project | /admin/observability |
All pages require the platform-admin role; non-admins get an access notice.
Layout
src/
env.js # runtime config (generated by the container entrypoint on EKS)
index.* (-view, -viewmodel) # Overview (KPI cards)
access/ index.* # platform admins + role catalog
taxonomy/ index.* # tag taxonomy editor
usage/ index.* # usage & cost
observability/ index.* # platform-wide telemetry
_models/
config.js # apiBaseUrl/authMode/basePath/consoleUrl from window.__ENV__
components/admin-sidebar.js # platform-admin navigation
services/ # api-client, auth, rbac, tags, usage, admin (shared with console)
_assets/ # DevFactory design tokens, toast, version badge
tests/ # Playwright (a01-admin) + mock-api
Running locally
npx serve src # static site; open the printed URL
# env.js ships with authMode 'none' (dev bypass) so it runs with a stub admin user
npx playwright test # a01-admin spec (mock API)
Deploy
Containerized (nginx) and deployed to the shared EKS cluster like the console:
- ECR repo
devfactory-apps-admin; image built on push torelease/dev(GitHub OIDC). - k8s
Deployment/Serviceapps-admin-devindevfactory-v1-dev. - Served by the front-door proxy under
/dev-factory-admin-dev/(BASE_PATH); its API calls go
to the console's /dev-factory-dev/api route → apis-aws. Entra redirect URI …/dev-factory-admin-dev/auth/ must be registered on the platform SPA app.