Sequence Diagram for Temp Sensor #90

Closed
opened 2026-04-01 12:40:40 +00:00 by a24vinla · 7 comments
Collaborator

Parent Issue #89

Parent Issue #89
Collaborator
No description provided.
Collaborator

Will be adding a description on Tuesday

Will be adding a description on Tuesday
Collaborator

I added the entry point to the diagram since frontend requests go through it before tempService

I added the entry point to the diagram since frontend requests go through it before tempService
Collaborator

The sequence diagram shows how temperature data moves through the system from sensor to frontend. ReadTempSensorMockup first gets the temperature data from TempSensorMockup via HTTP. The data is then published as JSON through MQTT (Mosquitto) to middleware. The middleware receives the data and stores it in PostgreSQL database. When frontend requests data, it sends it via the entryPoint, which forwards it to tempService. TempService gets the latest temperature data from the database and sends the response back through entryPoint to frontend.

The sequence diagram shows how temperature data moves through the system from sensor to frontend. ReadTempSensorMockup first gets the temperature data from TempSensorMockup via HTTP. The data is then published as JSON through MQTT (Mosquitto) to middleware. The middleware receives the data and stores it in PostgreSQL database. When frontend requests data, it sends it via the entryPoint, which forwards it to tempService. TempService gets the latest temperature data from the database and sends the response back through entryPoint to frontend.
Collaborator

Reviewed both versions of the diagram, and I think the first version without the 'entrypoint' would be the best one to use as the 'entrypoint' part from the second version isn't reflected much in the code.

Reviewed both versions of the diagram, and I think the first version without the 'entrypoint' would be the best one to use as the 'entrypoint' part from the second version isn't reflected much in the code.
Collaborator

This can be added to the wiki now.

This can be added to the wiki now.
Collaborator

Oki I'll fix it

Oki I'll fix it
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K#90
No description provided.