# bakdaulet555/jenkins_urok architecture

> Architecture diagram of the GitHub repository bakdaulet555/jenkins_urok, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bakdaulet555/jenkins_urok
- Repository: https://github.com/bakdaulet555/jenkins_urok

## Overview

The sampled runtime is an MQTT temperature-ingestion service: it subscribes to a broker, validates numeric payloads, and sends valid readings to an actor that retains the latest accepted value. The README gives no further product detail, and the Jenkins-related files are delivery configuration rather than runtime components, so they are omitted. The graph reflects the sampled Scala sources; it does not infer behavior from unsampled files.

Main entry points: [`jenkins-docker/src/main/scala/iot/Main.scala`](https://github.com/bakdaulet555/jenkins_urok/blob/main/jenkins-docker/src/main/scala/iot/Main.scala) (MQTT Ingest), [`jenkins-docker/src/main/scala/iot/SensorActor.scala`](https://github.com/bakdaulet555/jenkins_urok/blob/main/jenkins-docker/src/main/scala/iot/SensorActor.scala) (Sensor State)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ingestion["Temperature Ingestion"]
  node_main["MQTT Ingest<br/>[Main.scala]"]
  node_sensor_actor["Sensor State<br/>[SensorActor.scala]"]
end

node_mqtt_broker{{"MQTT Broker"}}

node_main -->|"subscribes to"| node_mqtt_broker
node_mqtt_broker -->|"delivers messages"| node_main
node_main -->|"sends valid readings"| node_sensor_actor

click node_main "https://github.com/bakdaulet555/jenkins_urok/blob/main/jenkins-docker/src/main/scala/iot/Main.scala"
click node_sensor_actor "https://github.com/bakdaulet555/jenkins_urok/blob/main/jenkins-docker/src/main/scala/iot/SensorActor.scala"

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_main,node_sensor_actor toneBlue
class node_mqtt_broker toneIndigo
```

## Components

### Temperature Ingestion

- [MQTT Ingest](https://github.com/bakdaulet555/jenkins_urok/blob/main/jenkins-docker/src/main/scala/iot/Main.scala): `jenkins-docker/src/main/scala/iot/Main.scala`
- [Sensor State](https://github.com/bakdaulet555/jenkins_urok/blob/main/jenkins-docker/src/main/scala/iot/SensorActor.scala): `jenkins-docker/src/main/scala/iot/SensorActor.scala`

### Other components

- **MQTT Broker**

## Connections

- MQTT Ingest → MQTT Broker: subscribes to (evidence: `jenkins-docker/src/main/scala/iot/Main.scala`)
- MQTT Broker → MQTT Ingest: delivers messages (evidence: `jenkins-docker/src/main/scala/iot/Main.scala`)
- MQTT Ingest → Sensor State: sends valid readings (evidence: `jenkins-docker/src/main/scala/iot/Main.scala`)
