Skip to content

release: DEV → QA — Plutarco v1 + Dependabot + pgx security fix#56

Closed
galigaribaldi wants to merge 25 commits into
QAfrom
DEV
Closed

release: DEV → QA — Plutarco v1 + Dependabot + pgx security fix#56
galigaribaldi wants to merge 25 commits into
QAfrom
DEV

Conversation

@galigaribaldi

@galigaribaldi galigaribaldi commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Sumary

Test Plan

  • Levantar entorno QA: make docker-qa
  • Probar los 3 endpoints analíticos con filtros
  • Verificar regresión de endpoints existentes (CRUD + GeoJSON)
  • Verificar Swagger UI en :8081/swagger/index.html
  • Probar MEXIBUS sin acento: GET /movilidad/MEXIBUS/linea

galigaribaldi and others added 25 commits April 25, 2026 15:03
FUNDING Sponsors available
FUNDING Sponsors available
Merge pull request #32 from galigaribaldi/DEV
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.6.0 to 5.9.2.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.6.0...v5.9.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.9.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…neas

- Nuevo endpoint GET /movilidad/analitico/agebs (issue #36)
  - Raw SQL con ST_AsGeoJSON(geom, 6) y paginación limit/offset
  - Scope: 11,787 AGEBs urbanas, 6 estados macrometrópoli
  - Atributos censales INEGI Censo 2020 en properties
  - Añade linea_id y num_comercial a properties de geojsonEstacion
  - Añade linea_id a properties de geojsonLinea
  - Elimina GROUP BY duplicado que sobreescribía el query builder
- Nuevo grupo /analitico/ en router (sin middleware ValidarSistema)
- Swagger actualizado con tag Analítico
- Postman: carpeta '4. Analítico (Plutarco)' con request documentado
Closes #36
…logación (#39) - Nuevo ETL: LoadAfluencia.py (Excel histórico + 4 CSVs complementarios)

- DDL: tablas afluencia_linea y catalogo_homologacion (idempotente)
 - Seed: ~151 variantes de nombres CSV→linea_id  - Fix: METRO L12 (num_comercial='L12', no '12') - Fix: TL CSV derivación mes_num desde fecha - 1,197 registros cargados: METRO 204, TROLE 688, MB 119, CBB 118, TL 68
\ Closes #39
…logación (#39) - Nuevo ETL: LoadAfluencia.py (Excel histórico + 4 CSVs complementarios)

- DDL: tablas afluencia_linea y catalogo_homologacion (idempotente)
 - Seed: ~151 variantes de nombres CSV→linea_id  - Fix: METRO L12 (num_comercial='L12', no '12') - Fix: TL CSV derivación mes_num desde fecha - 1,197 registros cargados: METRO 204, TROLE 688, MB 119, CBB 118, TL 68
\ Closes #39
#40) - Nuevo endpoint afluencia-linea (JSON tabular, filtros: sistema/linea_id/anio/mes_num) - JOIN con public.lineas para num_comercial y nombre_linea - README: fuentes SEMOVI/datos.cdmx.gob.mx, granularidad por dataset, metodología ETL - Fix: CC es Corredor Concesionado (no Cable Car) - Postman: request documentado + variables base_url y base_url_prod - Issue #45 creado: hallazgo afluencia por estación Metro (2010-2026) - Issues #41-44 actualizados con contexto de avance para continuidad multi-equipo \ Closes #40
…tros, 195/195 estaciones, 2010-2026 (#45 pasos 1-2)
…er extensión + guía activación (#45 pasos 3-5)

- Nuevo endpoint: 6 filtros (linea_id, num_comercial, estacion_id, nombre_estacion, anio, mes_num)
- Disclaimer HTTP 503 en los 3 endpoints analíticos si extensión no activada (tabla vacía)
- Makefile: targets plutarco-setup, plutarco-status, plutarco-etl, plutarco-deps
- docs/PLUTARCO_EXTENSION.md: guía paso a paso para usuarios nuevos
- docs/consultas_plutarco_extension.sql: queries de demostración PgAdmin
- ETL/requirements.txt: dependencias Python documentadas
- Postman: request afluencia-estacion con 6 filtros documentados
- Swagger regenerado con nuevo modelo AfluenciaEstacionResponse
feat(plutarco): extensions analítica v1 - AGEBs, afluencia línea y estación
…b.com/jackc/pgx/v5-5.9.0

Bump github.com/jackc/pgx/v5 from 5.6.0 to 5.9.2
ci: extender configuración de Dependabot para todos los ecosistemas

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @galigaribaldi, your pull request is larger than the review limit of 150000 diff characters

@galigaribaldi galigaribaldi self-assigned this Jun 24, 2026
@galigaribaldi galigaribaldi added bug Something isn't working area: backend Tareas del servidor, API y lógica de negocio area: data Tareas de base de datos, ETL y calidad de datos labels Jun 24, 2026
@galigaribaldi galigaribaldi added data-quality Datos incompletos, fuentes no oficiales, validaciones dependencies Pull requests that update a dependency file labels Jun 24, 2026
@galigaribaldi galigaribaldi deleted the branch QA June 25, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: backend Tareas del servidor, API y lógica de negocio area: data Tareas de base de datos, ETL y calidad de datos bug Something isn't working data-quality Datos incompletos, fuentes no oficiales, validaciones dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant