#344 Add mqtt login #383

Merged
c24elipe merged 1 commit from #344-mqtt-login-to-use-env-file into team_2_week_2 2026-04-20 11:23:40 +00:00
Collaborator

Changes:

  • Replaced hardcoded MQTT credentials with environment variables
  • Updated compose file to use env variables
  • Added env variables to services
  • Added missing await to delay in readParkingApiMockup
  • Updated the installation scripts to generate MQTT credentials in .env
Changes: - Replaced hardcoded MQTT credentials with environment variables - Updated compose file to use env variables - Added env variables to services - Added missing await to delay in readParkingApiMockup - Updated the installation scripts to generate MQTT credentials in .env
j21marbr changed title from Add mqtt login to #344 Add mqtt login 2026-04-16 15:10:51 +00:00
Collaborator

Reviewed and partially tested locally.

MQTT credentials are now read from environment variables
No hardcoded MQTT credentials found in the reviewed files
Docker compose is updated to pass MQTT env variables
The installation script generates MQTT_USER and MQTT_PASSWORD in DockerCompose/.env
The added await fix looks correct

I could not complete the full Docker runtime test because compose stopped on an unrelated image pull issue for `parkingapimockup, but the MQTT/.env changes themselves look correct to me.

Reviewed and partially tested locally. MQTT credentials are now read from environment variables No hardcoded MQTT credentials found in the reviewed files Docker compose is updated to pass MQTT env variables The installation script generates MQTT_USER and MQTT_PASSWORD in DockerCompose/.env The added await fix looks correct I could not complete the full Docker runtime test because compose stopped on an unrelated image pull issue for `parkingapimockup, but the MQTT/.env changes themselves look correct to me.
Collaborator

I have checked it with Docker, and it works fine.

I have checked it with Docker, and it works fine.
Collaborator

The problem came from an old, pre-fixed install and rebuild script. So, not a problem with this branch.

In other words, I merge it now. Good work!

The problem came from an old, pre-fixed install and rebuild script. So, not a problem with this branch. In other words, I merge it now. Good work!
c24elipe approved these changes 2026-04-20 11:23:34 +00:00
c24elipe merged commit bd8cba3997 into team_2_week_2 2026-04-20 11:23:40 +00:00
c24elipe deleted branch #344-mqtt-login-to-use-env-file 2026-04-20 11:23:41 +00:00
Sign in to join this conversation.
No reviewers
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!383
No description provided.