first commit
This commit is contained in:
22
libs/api/tracker/infrastructure/README.md
Normal file
22
libs/api/tracker/infrastructure/README.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# api-tracker-infrastructure
|
||||
|
||||
Adaptadores de salida del tracker.
|
||||
|
||||
- **Import**: `@task-stream/api/tracker/infrastructure`
|
||||
- **Capa**: `infrastructure` · **Tags**: `scope:api-tracker`, `type:infrastructure`
|
||||
|
||||
## Contenido
|
||||
|
||||
- `postgres/`: lookups de escritura (`project_keys`, `issue_sequences`, `release_names`) y `ReleaseIssuesRepository` (consulta el event store).
|
||||
- `mongo/`: esquemas del read model, repositorios `Find*` y `UpsertMaterialized*` (upsert idempotente por versión).
|
||||
- `realtime/`: `RedisChangeFeed` (canales de Redis pub/sub por proyecto, ticket y usuario).
|
||||
- `identity/`: `IdentityUserDirectory`, capa anticorrupción hacia el contexto de identidad.
|
||||
|
||||
## Comandos
|
||||
|
||||
```sh
|
||||
npx nx lint api-tracker-infrastructure
|
||||
npx nx test api-tracker-infrastructure # Jest
|
||||
```
|
||||
|
||||
Reglas de dependencia entre capas: [Arquitectura](../../../../docs/02-arquitectura.md#21-capas-hexagonales).
|
||||
Reference in New Issue
Block a user