# achmaouiayoub120-beep/omnipay-app architecture

> Architecture diagram of the GitHub repository achmaouiayoub120-beep/omnipay-app, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/achmaouiayoub120-beep/omnipay-app
- Repository: https://github.com/achmaouiayoub120-beep/omnipay-app

## Overview

OmniPay Zero-Trust is a pedagogical neobank simulation repository centered on CI integration and security practices. Its README describes a runtime workflow of customer authentication, bank transfers, and asynchronous notifications, as well as a Jenkins-based CI setup and local secret audits. The supplied tree contains no service implementation files, so those documented service nodes have no source paths and their internal interactions are not shown. Relationships below are limited to README statements; implementation details cannot be verified from excerpts.

Main entry points: [`ci/docker-compose-jenkins.yml`](https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/ci/docker-compose-jenkins.yml) (Jenkins Compose setup), [`ci/jenkins-casc.yaml`](https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/ci/jenkins-casc.yaml) (Jenkins JCasC), [`ci/scripts`](https://github.com/achmaouiayoub120-beep/omnipay-app/tree/main/ci/scripts) (Secret audit scripts), [`ci/Jenkinsfile`](https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/ci/Jenkinsfile) (Jenkins pipeline)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_services["Banking services"]
  node_auth["Authentication"]
  node_transfer["Bank transfers"]
  node_notification["Notifications"]
end

subgraph group_ci["CI and security"]
  node_secret_audit["Secret audit scripts"]
  node_compose["Jenkins Compose setup"]
  node_jenkins_config["Jenkins JCasC<br/>[jenkins-casc.yaml]"]
  node_pipeline["Jenkins pipeline"]
end

subgraph group_docs["Architecture and operations"]
  node_architecture["Architecture overview"]
  node_threat_model["STRIDE threat model"]
  node_runbook["CI troubleshooting"]
end

node_client(("Customer"))
node_email["Email simulation"]
node_developer(("Developer"))

node_developer -->|"runs audit"| node_secret_audit
node_developer -->|"starts controller"| node_compose
node_compose -->|"loads configuration"| node_jenkins_config
node_jenkins_config -.->|"configures pipeline"| node_pipeline
node_client -->|"authenticates"| node_auth
node_client -->|"initiates transfer"| node_transfer
node_transfer -->|"triggers notification"| node_notification
node_notification -->|"simulates email"| node_email

click node_secret_audit "https://github.com/achmaouiayoub120-beep/omnipay-app/tree/main/ci/scripts"
click node_compose "https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/ci/docker-compose-jenkins.yml"
click node_jenkins_config "https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/ci/jenkins-casc.yaml"
click node_pipeline "https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/ci/Jenkinsfile"
click node_architecture "https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/docs/architecture/project-overview.md"
click node_threat_model "https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/docs/security/threat-model-stride.md"
click node_runbook "https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/docs/runbooks/ci-troubleshooting.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_auth,node_transfer,node_notification toneBlue
class node_secret_audit,node_compose,node_jenkins_config,node_pipeline toneAmber
class node_architecture,node_threat_model,node_runbook toneMint
class node_client,node_email,node_developer toneIndigo
```

## Components

### Banking services

- **Authentication**
- **Bank transfers**
- **Notifications**

### CI and security

- [Secret audit scripts](https://github.com/achmaouiayoub120-beep/omnipay-app/tree/main/ci/scripts): `ci/scripts`
- [Jenkins Compose setup](https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/ci/docker-compose-jenkins.yml): `ci/docker-compose-jenkins.yml`
- [Jenkins JCasC](https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/ci/jenkins-casc.yaml): `ci/jenkins-casc.yaml`
- [Jenkins pipeline](https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/ci/Jenkinsfile): `ci/Jenkinsfile`

### Architecture and operations

- [Architecture overview](https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/docs/architecture/project-overview.md): `docs/architecture/project-overview.md`
- [STRIDE threat model](https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/docs/security/threat-model-stride.md): `docs/security/threat-model-stride.md`
- [CI troubleshooting](https://github.com/achmaouiayoub120-beep/omnipay-app/blob/main/docs/runbooks/ci-troubleshooting.md): `docs/runbooks/ci-troubleshooting.md`

### Other components

- **Customer**
- **Email simulation**
- **Developer**

## Connections

- Developer → Secret audit scripts: runs audit (evidence: `README.md`)
- Developer → Jenkins Compose setup: starts controller (evidence: `README.md`)
- Jenkins Compose setup → Jenkins JCasC: loads configuration (evidence: `README.md`)
- Jenkins JCasC → Jenkins pipeline: configures pipeline
- Customer → Authentication: authenticates (evidence: `README.md`)
- Customer → Bank transfers: initiates transfer (evidence: `README.md`)
- Bank transfers → Notifications: triggers notification (evidence: `README.md`)
- Notifications → Email simulation: simulates email (evidence: `README.md`)
