#628-Fix-team-2-tmp-service-V4 #656

Merged
c24elipe merged 2 commits from #628-Fix-team-2-tmp-service-V4 into week_4_temp_branch 2026-04-30 10:52:40 +00:00
Collaborator
  • changed sql queries
  • change business logic for year and year month
  • Tested on my computer using bruno. Works
+ changed sql queries + change business logic for year and year month + Tested on my computer using bruno. Works
+ changed sql queries
+ change business logic for year and year month
+ Tested on my computer using bruno. Works
Collaborator

LGTM

![LGTM](/attachments/85b2f0ad-181a-495b-89c2-207218c2755a)
+ Endpoints now error message
+ Moved interface for service to separate file
Collaborator

Review on #628

Whats done

Tested on Windows 11 using chrome

  • App starts
    • TempView works now (too many decimals real insted of duble middleware issue),
    • BookingView dont work(worked before) need to change how we call the api in frontend
    • " HTTP 404 from TemperatureView", old fix was on the querry now its not implimented,(should probebly be implimented in frontend if we can find a fix)
    • Data can be querried from db correctly but we have many end points to add/fix will need comperation from someone who impliments the view and backend, we need to know what data is needed from querries

Inspected following files

  • service/tempService/tempService/Services/TempService.cs

    • Indentation/code styling
      • ok
    • Naming convention
      • ok
    • Comments
      • exist out comented code
    • General code quality
      • Good, now there exist more seperation between resposibilities witch was what the issue set out to do.
  • service/tempService/tempService/Services/ITempService.cs

    • Indentation/code styling
      • ok
    • Naming convention
      • ok
    • Comments
      • ok
    • General code quality
      • Good, now there exist more seperation between resposibilities witch was what the issue set out to do.
  • scripts/UnixRebuild.sh

    • cant test unix build script.
  • service/tempService/tempService/Services/ITempService.cs

    • Indentation/code styling
      • ok
    • Naming convention
      • ok
    • Comments
      • ok
    • General code quality
      • Good, now there exist more seperation between resposibilities witch was what the issue set out to do.

What needs to be done

[Here you should write the things that needs to be fixed.]

  • Both in Views and in endpoints/querries
    • we need to create issues were those who makes the views document what endpoint they need and what data needs to be querried.
  • remove unused code in service/tempService/tempService/Services/ITempService.cs

Conclusion

  • ok to merge but more issues needs to be created to make existing views comply to new backend structure
# Review on #628 ## Whats done ### Tested on Windows 11 using chrome + App starts + TempView works now (too many decimals real insted of duble middleware issue), + BookingView dont work(worked before) need to change how we call the api in frontend + " HTTP 404 from TemperatureView", old fix was on the querry now its not implimented,(should probebly be implimented in frontend if we can find a fix) + Data can be querried from db correctly but we have many end points to add/fix will need comperation from someone who impliments the view and backend, we need to know what data is needed from querries ### Inspected following files + service/tempService/tempService/Services/TempService.cs + Indentation/code styling + ok + Naming convention + ok + Comments + exist out comented code + General code quality + Good, now there exist more seperation between resposibilities witch was what the issue set out to do. + service/tempService/tempService/Services/ITempService.cs + Indentation/code styling + ok + Naming convention + ok + Comments + ok + General code quality + Good, now there exist more seperation between resposibilities witch was what the issue set out to do. + scripts/UnixRebuild.sh + cant test unix build script. + service/tempService/tempService/Services/ITempService.cs + Indentation/code styling + ok + Naming convention + ok + Comments + ok + General code quality + Good, now there exist more seperation between resposibilities witch was what the issue set out to do. ## What needs to be done [Here you should write the things that needs to be fixed.] + Both in Views and in endpoints/querries + we need to create issues were those who makes the views document what endpoint they need and what data needs to be querried. + remove unused code in service/tempService/tempService/Services/ITempService.cs ## Conclusion + ok to merge but more issues needs to be created to make existing views comply to new backend structure
c24danli approved these changes 2026-04-30 10:18:41 +00:00
c24elipe merged commit 78643d923b into week_4_temp_branch 2026-04-30 10:52:40 +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!656
No description provided.