FastAPI · Clear HTTP contracts
Pydantic validation, integrated OpenAPI documentation and a thin HTTP layer. Presentation, application, domain and infrastructure are separated so business rules do not become scattered across routes.
A multi-tenant full-stack platform that turns fragmented NOC operations into a centralized, traceable flow protected by server-side identity and authorization controls.
Documented case baseline: Sprint 4 approved · Sprint 5 under review. This edition preserves the delivery states and evidence of the Portuguese case.
Baseline measured in the CI run for PR #61 on September 25, 2026. These figures describe that execution, not a production guarantee or a current security certification.

In a NOC, operational information can be scattered across monitoring tools, ITSM, spreadsheets, chats and shift handover records.
When incident context, decisions and updates live in multiple channels, teams face rework, lost history, duplicate actions and communication gaps. NOC Flow Cloud brings the incident, timeline, actor and context into a single operational source of truth.
Each technical choice addresses a specific domain problem.
Pydantic validation, integrated OpenAPI documentation and a thin HTTP layer. Presentation, application, domain and infrastructure are separated so business rules do not become scattered across routes.
PostgreSQL, SQLAlchemy and Alembic support transactional persistence and reproducible migrations. Current incident state is separate from the event timeline, preserving operational traceability.
The model uses a shared database and schema with an explicit tenant_id. Clients cannot freely select a tenant: scope is resolved from the authenticated context and enforced server-side.
Frontend, API and PostgreSQL run through Docker Compose. CI checks backend, frontend, migrations, tests, dependency audits and integrated stack smoke tests.
| Decision | Benefit | Accepted cost |
|---|---|---|
| Modular monolith | Simpler deployment and debugging at this stage | Modules cannot scale independently |
| Shared schema | Lower cost and simpler operations | Tenant scoping is mandatory on every access |
| Database-backed RBAC | Internal, auditable authorization | Memberships need their own lifecycle |
| Append-only timeline | Preserves the operational trail | Corrections require a new event |
| Cloudflare Access | Protects the demo before requests reach the application | External dependency and real-session acceptance testing |
External identity establishes who the user is; final authorization remains under application control.
Authorization flow: external OIDC/Cloudflare Access token → cryptographic validation → internal membership → server-side RBAC permissions → tenant-scoped resource.
The backend checks the signature through JWKS, issuer, audience, expiration and subject. The private demo can also run behind Cloudflare Access.
After authenticating identity, the backend queries users and tenant_memberships to resolve the internal role. Permissions come from that membership, reducing the privilege-escalation surface.
Admin, Supervisor, Operator and Viewer. Viewer is read-only; writes require explicit permissions such as incident:create, incident:update and incident:normalize.
Tests cover expired tokens, invalid tenants, missing or inactive memberships, cross-tenant access attempts and denied writes for roles without permission.
Current state answers “what is happening now”; the timeline answers “how did we get here”.
Creation, updates and normalization produce chronological events. The supported HTTP flow has no endpoints for editing or deleting recorded events: the timeline is append-only.
tenant_id, actor, identifiers and timestamps are defined or resolved by the server. The frontend is not the authority for sensitive metadata.
Operational flow: alert detection → triage of context, impact and evidence → carrier contact and protocol → follow-up updates → normalization and outcome recording.
Architecture: Angular interface → FastAPI contracts → Application and Domain rules → Repository persistence → PostgreSQL through SQLAlchemy and Alembic.
Zabbix, notifications and ITSM platforms remain in the post-v1.0 backlog; they are not features of this release.



Implemented, under review and planned are distinct states. The case explicitly preserves that separation.
All public product images are portfolio mockups with synthetic names, IDs, sites, carriers, metrics and contacts.
| Capability | State | Evidence |
|---|---|---|
| PostgreSQL and Alembic | Implemented | Migrations and PostgreSQL CI job |
| Docker Compose | Implemented | Nginx → FastAPI → PostgreSQL smoke test |
| OIDC/JWT and RBAC | Implemented | Token, membership and permission tests |
| Multi-tenant isolation | Implemented | Negative cross-tenant scenarios |
| Dashboard and handover | Accepted | Sprint 4 Functional Smoke and v0.4.0-beta acceptance |
| Auditing and structured logging | Under review | PRs #59 and #60; outside the main baseline |
| Azure and Application Insights | Planned | Sprint 6 roadmap |
| Zabbix, WhatsApp and ITSM | Backlog | Post-v1.0 backlog |
I led problem discovery, requirements, backlog, architecture, modeling, contracts, implementation, security, test strategy, CI, documentation and acceptance gates.
AI tools supported implementation and review; requirements, decisions, validation and technical accountability remained human-led.
A capability is described as delivered only when it exists in the applicable baseline, has corresponding tests or evidence and is documented consistently. Open PRs remain under review; intentions remain planned.
The documented v0.4.0-beta release covers incidents, timeline, dashboard, versioned shift handover, PostgreSQL migrations, Docker Compose, automated tests, OIDC/JWT, Cloudflare Access, server-side RBAC and multi-tenant isolation.
Auditing and observability are under review; Azure and integrations remain on the roadmap. The architecture aims to provide a foundation that can evolve safely without rewriting the domain, not to promise high availability prematurely.
Source documents and original product screenshots may be in Portuguese. Their language does not change the delivery state or the scope of the evidence.