3PillarGlobal-Czechia / interview-app-api

API for Interview App.
MIT License
3 stars 1 forks source link

add app insight BE #61

Closed robertstriz closed 2 years ago

robertstriz commented 2 years ago

Summary

🚨 Provide a brief summary of your work.

Types of changes

Testing

🚨 Provide info about the new tests and tests result

Notes

🚨 Anything else

robertstriz commented 2 years ago

Comments resolved

fpindej commented 2 years ago

@PlesnikJakub Could you please check the pipeline? Looks like it has some running issues, it's been failing and I'm sure this project is fine. At least it works on both @robertstriz and my machines.

PlesnikJakub commented 2 years ago

@PlesnikJakub Could you please check the pipeline? Looks like it has some running issues, it's been failing and I'm sure this project is fine. At least it works on both @robertstriz and my machines.

I can't tell why but the solution file doesn't seem to be right.

D:\a\interview-app-api\interview-app-api\src\WebApi\WebApi.sln : Solution file error MSB5009: Error parsing the project "Logging" section with GUID: "{532A4DCF-02E6-4D72-971E-3E2EB6DA6F24}". It is nested under "{BD63581C-1EC5-4102-94E0-F1003CECE2D9}" but that project is not found in the solution.

I propose to change the ID before the Loggin project to the same ID as with the other projects

- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Logging", "Logging\Logging.csproj", "{532A4DCF-02E6-4D72-971E-3E2EB6DA6F24}"
+ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Logging", "Logging\Logging.csproj", "{532A4DCF-02E6-4D72-971E-3E2EB6DA6F24}"

and remove the section about nested project

GlobalSection(NestedProjects) = preSolution
        {532A4DCF-02E6-4D72-971E-3E2EB6DA6F24} = {BD63581C-1EC5-4102-94E0-F1003CECE2D9}
EndGlobalSection
PlesnikJakub commented 2 years ago

One more thing, I see ConfigurationExtension but I feel there may be some overlap with ConfigurationProvider. Using extension means we won't be able to use this in any other project than WebApi, that ofc may or may not be a problem.

Let's just consider if it would make sense to merge those implementations together.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

80.0% 80.0% Coverage
0.0% 0.0% Duplication