Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ACS-7688] Reduce the usage of LogService and TranslateModule (tests) #9567

Merged
merged 16 commits into from
Apr 19, 2024

Conversation

DenysVuika
Copy link
Contributor

@DenysVuika DenysVuika commented Apr 17, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)

What is the new behaviour?

  • remove the usage of LogService where not mission critical
  • mark LogService as deprecated
    • the service errors should be handled at the application level
    • the components should not spam the console log
  • remove TranslateModule.forRoot() calls from unit tests that already have CoreTestingModule imported

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:
ACS-7688

@DenysVuika DenysVuika changed the title [ACS-7688] Reduce the usage of LogService [ACS-7688] Reduce the usage of LogService and TranslateModule (tests) Apr 17, 2024
@DenysVuika DenysVuika force-pushed the log-service-cleanup branch from a5036d8 to 0ff27a5 Compare April 18, 2024 11:31
@DenysVuika DenysVuika force-pushed the log-service-cleanup branch from 0ff27a5 to 3a26f3a Compare April 18, 2024 18:03
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
23.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@DenysVuika DenysVuika merged commit 54c3e12 into develop Apr 19, 2024
30 of 33 checks passed
@DenysVuika DenysVuika deleted the log-service-cleanup branch April 19, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants