-
Notifications
You must be signed in to change notification settings - Fork 63
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
Remove stacktrace from Catalog log when service is down #3019
Conversation
api-catalog-services/src/main/resources/apicatalog-log-messages.yml
Outdated
Show resolved
Hide resolved
…s.yml Co-authored-by: Pablo Carle <pablocarle@users.noreply.github.com> Signed-off-by: JirkaAichler <39735421+JirkaAichler@users.noreply.github.com>
...-services/src/main/java/org/zowe/apiml/apicatalog/instance/EurekaServiceInstanceRequest.java
Show resolved
Hide resolved
...alog-services/src/main/java/org/zowe/apiml/apicatalog/instance/InstanceRetrievalService.java
Outdated
Show resolved
Hide resolved
…nstance/InstanceRetrievalService.java Co-authored-by: Pablo Carle <pablocarle@users.noreply.github.com> Signed-off-by: JirkaAichler <39735421+JirkaAichler@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The API Catalog log message looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, I think it would be better to have tests that verifies what goes and does not go into the logger, I added a couple like these in the ZosmfServiceTest, if there's a test that currently covers this scenario, perhaps you can add an assertion there.
Kudos, SonarCloud Quality Gate passed! 0 Bugs 85.4% Coverage The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
Description
Fixes #3008