Add water sensor mockup service #971

Merged
a22erigr merged 1 commit from 933-water-sensor-mockup into team_2_week_6 2026-05-16 13:17:58 +00:00
Collaborator

Implemented a mockup water sensor service similar to the existing energy sensor mockup.

Changes:

  • Added water sensor mockup project
  • Created /water endpoint
  • Added mock water usage sensor data
  • Renamed project structure from energy to water
  • Added basic test project setup
Implemented a mockup water sensor service similar to the existing energy sensor mockup. Changes: * Added water sensor mockup project * Created `/water` endpoint * Added mock water usage sensor data * Renamed project structure from energy to water * Added basic test project setup
Collaborator

Review on #971

Whats done

Tested that everything works as intended.

Tested onWindows.

  • Verified that water sensor mockup starts using dotnet run.
  • Inspected that the /water endpoint is reachable and returns valid JSON data.
  • Verified that randomized water usage values (liters) is generated.
  • Verified that the project builds corectly.

Code

  • All files looks good and follows the standards for the most part.
  • The implementation is consistent with the existing energySensorMockup structure

Note: The comment mentions 10 minutes while the current delay is set to 10 seconds in Program.cs during testing

What needs to be done

  • No blocking issues found
  • Solution is similar to energySensorMockup and no major issues were identified during testing

Conclusion

Ready to merge.

# Review on #971 ## Whats done Tested that everything works as intended. ### Tested onWindows. + Verified that water sensor mockup starts using dotnet run. + Inspected that the /water endpoint is reachable and returns valid JSON data. + Verified that randomized water usage values (liters) is generated. + Verified that the project builds corectly. ### Code + All files looks good and follows the standards for the most part. + The implementation is consistent with the existing energySensorMockup structure Note: The comment mentions 10 minutes while the current delay is set to 10 seconds in **Program**.cs during testing ## What needs to be done + No blocking issues found + Solution is similar to energySensorMockup and no major issues were identified during testing ## Conclusion Ready to merge.
a22erigr merged commit 69961b97d1 into team_2_week_6 2026-05-16 13:17:58 +00:00
a22erigr deleted branch 933-water-sensor-mockup 2026-05-21 12:41:05 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 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!971
No description provided.