Commit Graph

50 Commits

Author SHA1 Message Date
Wilman Yesid Farfan Diaz
eb2dcbe4f8 feat: initialize full microservices architecture including backend-api, edge-agent, infrastructure backup, and supporting modules
Some checks failed
Build, MSI & Deploy / Build Docker images (push) Failing after 1m46s
Build, MSI & Deploy / Deploy to Dokploy (push) Has been skipped
Build, MSI & Deploy / Build Edge Agent Binaries (push) Failing after 1m11s
Build, MSI & Deploy / Build Edge Agent MSI (push) Has been skipped
Build, MSI & Deploy / Send notification (push) Successful in 0s
2026-07-12 18:22:02 -05:00
Wilman Yesid Farfan Diaz
d3d1a6df01 feat: implement core backend-api, events-relay, telemetry-ingestor, and build-orchestrator services with prometheus monitoring infrastructure 2026-07-07 23:06:27 -05:00
henryor
73db1f93ce fix: stabilize post-merge validation 2026-06-29 10:34:10 -05:00
henryor
d70efd6b5e fix(mqtt): support larger deploy payloads 2026-06-25 18:08:56 -05:00
henryor
f28cb4dad7 fix(edge): recover stalled installer builds 2026-06-25 18:00:22 -05:00
Wilman Yesid Farfan Diaz
3046823bb4 feat: implement automatic Linux binary upload to MinIO in build-orchestrator and optimize Docker build caching and ignore patterns. 2026-06-19 00:14:32 -05:00
henryor
11f29f9248 chore(rust): normalize workspace formatting 2026-06-18 23:03:50 -05:00
Wilman Yesid Farfan Diaz
74e7832aef feat: implement core edge-agent services, backend handlers for protocol imports and reports, and frontend admin modules 2026-06-16 18:35:11 -05:00
Wilman Yesid Farfan Diaz
4a7aa94cb9 feat: implement asymmetric provisioning flow for edge agent and add installer worker for orchestration 2026-06-16 10:11:38 -05:00
Wilman Yesid Farfan Diaz
1346e1ab0a feat(edge): OPC UA node scanner (v0.3.0)
- shared-lib: Add OpcUaScannedNode and OpcUaScanResult types to mqtt_messages
- edge-agent: Bump version 0.2.0 → 0.3.0
- edge-agent: Add optional opcua dep + opcua-support feature flag
- edge-agent/drivers/opc_ua: Add browse_nodes() with cfg-gated real impl
- edge-agent/mqtt_listener: Add ScanOpcUa command variant and MQTT handler
- edge-agent/main: Handle AgentCommand::ScanOpcUa, publish results to MQTT
- backend-api: Migration 20260511000000_opcua_scan_results.sql
- backend-api/handlers/edge_devices: trigger_opcua_scan + get_opcua_scan_result
- backend-api/main: MQTT handler for omnioil/opcua-scan/+, add API routes
- build-orchestrator: Enable opcua-support feature when building agent
- frontend-admin/variables-api: OPC UA scanner API types and functions
- frontend-admin/DeviceConfigModal: OPC UA node browser UI with polling
- .env.example.*: AGENT_LATEST_VERSION 0.2.0 → 0.3.0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-11 21:14:37 -05:00
Wilman Yesid Farfan Diaz
729a98a115 feat: implement edge project CRUD handlers and update S3 installers bucket configuration 2026-05-03 17:47:03 -05:00
Wilman Yesid Farfan Diaz
1b29607313 feat: implement OTA update service with authenticated backend proxy for agent binaries 2026-05-03 17:35:49 -05:00
Wilman Yesid Farfan Diaz
19de03c4e8 feat: implement edge agent, build orchestrator, and backend telemetry services with multi-region MQTT support 2026-05-03 10:51:38 -05:00
Wilman Yesid Farfan Diaz
196b706895 feat: implement provisioning infrastructure with P256-based ECIES encryption and binary overlay support 2026-05-02 21:43:49 -05:00
Wilman Yesid Farfan Diaz
5067b5730f feat: implement native Edge Agent service with MQTT, SQLite storage, and remote configuration management 2026-05-02 20:03:30 -05:00
Wilman Yesid Farfan Diaz
2f5f9af3c8 security: HIGH-5/6/8, MED-1/5 — rate limiting, HSTS, HttpOnly cookies, Argon2id
HIGH-5: Rate limiting por IP con governor (Docker-compatible via X-Real-IP)
  - Login/refresh: 10 req/min; Register: 5 req/min
  - services/backend-api/src/rate_limiter.rs (nuevo módulo)

HIGH-6: HSTS + X-Forwarded-Proto en Nginx; TLS terminado por Dokploy
  - infrastructure/nginx/gateway.conf

HIGH-8: Refresh token movido a cookie HttpOnly; access token solo en memoria
  - Backend: login emite cookie, refresh rota cookie, logout la borra
  - Frontend: Zustand v3 sin tokens en localStorage; credentials: include

MED-1: Eliminado PBKDF2 legacy; Argon2id m=65536 t=3 p=1 en todos los hashes
  - services/shared-lib/src/overlay.rs (imports limpiados)
  - services/backend-api/src/handlers/auth.rs (hash_password helper)

MED-5: Rotación atómica de refresh tokens con detección de replay

SECURITY_AUDIT_REPORT.md: riesgo reducido a 🟡 MEDIO

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-02 12:42:58 -05:00
Wilman Yesid Farfan Diaz
2f2b8f3538 feat: implement edge agent service core, industrial simulators, and build orchestration tools 2026-05-02 09:02:23 -05:00
Wilman Yesid Farfan Diaz
3bdd7b7594 feat: implement edge agent, build orchestrator, ANH reporting service, and Node-RED E2E test infrastructure 2026-05-01 19:09:20 -05:00
Wilman Yesid Farfan Diaz
58448b5496 feat: implement base microservice architecture with relay, generator, and edge-agent services 2026-04-29 22:11:23 -05:00
Wilman Yesid Farfan Diaz
ccb25a91a3 feat: add project-wide Docker support including build orchestrator and frontend service containers 2026-04-27 22:25:50 -05:00
Wilman Yesid Farfan Diaz
83c3713bea feat: implement telemetry ingestor service and build-orchestrator image registry push functionality 2026-04-27 21:24:39 -05:00
Wilman Yesid Farfan Diaz
546b82e560 feat: initialize core services, MQTT infrastructure, and backend API with telemetry processing and watchdog monitoring 2026-04-25 19:18:07 -05:00
Wilman Yesid Farfan Diaz
e227eccb57 Reconstrucci[on validada. 2026-04-25 16:39:18 -05:00
Wilman Yesid Farfan Diaz
76113ab9d2 Cargar valores por defecto.
Actualización de nuevas variables de entorno y comunicación.
2026-04-25 13:42:47 -05:00
Wilman Yesid Farfan Diaz
42ffe50202 feat: implement dynamic MQTT configuration and automated edge-agent binary injection in build orchestrator 2026-04-24 13:42:56 -05:00
Wilman Yesid Farfan Diaz
fa33e268a3 feat: initialize core microservices architecture including telemetry, backend API, build orchestrator, edge-agent, and admin dashboard. 2026-04-24 00:34:16 -05:00
Wilman Yesid Farfan Diaz
e83accea80 feat: implement JWT-based authentication service and initialize core infrastructure across backend, edge-agent, and dashboard services 2026-04-23 18:15:25 -05:00
Wilman Yesid Farfan Diaz
2f229b6cfb Actualizaciones locales. 2026-04-20 21:49:37 -05:00
Wilman Yesid Farfan Diaz
790b1213c3 Actualizaci[on de agente con la configuraci[on para despliegue. 2026-04-20 20:47:32 -05:00
Wilman Yesid Farfan Diaz
77f1bf07cb Despliegue completo.
Funcionalidad de despliegue por agente funcionando.
Hay que validar URL.
2026-04-19 22:33:37 -05:00
Wilman Yesid Farfan Diaz
a2152e4bce Actualizaci[on de los logs del sistema.
Validaci[on de los puntos de base de datos.
2026-04-19 16:59:39 -05:00
Wilman Yesid Farfan Diaz
f051555569 Inicializaci[on de datos 2026-04-19 14:18:20 -05:00
Wilman Yesid Farfan Diaz
039557e8e2 Actualizaci[on de todos los elementos para completar el flujo 2026-04-18 18:52:07 -05:00
Wilman Yesid Farfan Diaz
bc09dc1f80 Cambias actualizando el sistema 2026-04-17 21:44:13 -05:00
Wilman Yesid Farfan Diaz
7b9d3998b1 Revert "Actualizaci[on de los archivos para el flujo"
This reverts commit c62c9991d6.
2026-04-11 16:50:32 -05:00
Wilman Yesid Farfan Diaz
c62c9991d6 Actualizaci[on de los archivos para el flujo 2026-04-11 16:31:03 -05:00
Wilman Yesid Farfan Diaz
9135c9db7e Listo el depliegue 2026-04-09 22:39:02 -05:00
Wilman Yesid Farfan Diaz
7754b69989 Ajustes finales de comunicaci[on segura 2026-04-06 22:18:29 -05:00
Wilman Yesid Farfan Diaz
77e88ce77a Actualizaci[on de seguridad fuerte.
Actualizaci[on en el readme
2026-04-06 21:49:16 -05:00
Wilman Yesid Farfan Diaz
7d90aa7b6a Cambios en la seguridad y nuevo campo 2026-04-06 16:09:45 -05:00
Wilman Yesid Farfan Diaz
0c10dd5eed Actualizado flujo del agente de borde e instalador 2026-04-05 18:29:59 -05:00
Wilman Yesid Farfan Diaz
e80ebea547 Funcionallidad del flujo del agente preparada 2026-04-04 23:02:11 -05:00
Wilman Yesid Farfan Diaz
3622f9d4c7 Actualizaci[on docker base de datos url minio 2026-04-04 20:55:52 -05:00
Wilman Yesid Farfan Diaz
9284494636 Actualizacion del flujo de datos 2026-04-04 19:59:49 -05:00
Wilman Yesid Farfan Diaz
b291e9d633 Actualizacion de documentacion y mejoras de codigo 2026-04-03 21:48:53 -05:00
Wilman Yesid Farfan Diaz
4e97d71563 Refactorizaci[on de codigo para mejorar comportamiento y mantenibilidad 2026-04-03 12:36:39 -05:00
Wilman Yesid Farfan Diaz
15a6153a28 Cambio de paradigma a events domain 2026-04-02 08:54:59 -05:00
Wilman Yesid Farfan Diaz
dd7d1b8bdf Actualizado el edge y la base de datos 2026-03-23 23:04:47 -05:00
1a3303b463 chore: cambios en le fronted. archivo spec + form login + seed par apurebas 2026-03-15 20:15:50 -05:00
Wilman Yesid Farfan Diaz
4bd36f57a1 Iot Edge con Rust y Docker. 2026-03-13 22:12:00 -05:00