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

OMAG server code stucture, actuator support and initial unit tests #7782

Merged
merged 5 commits into from
Jul 18, 2023

Conversation

tijanapavicic
Copy link
Contributor

Initial setup with whitelisting health actuator endpoints, and basic unit test coverage for OMAGServer class.

Related Issue(s)

Testing

Release Notes & Documentation

Additional notes

@sonatype-lift
Copy link
Contributor

sonatype-lift bot commented Jul 13, 2023

Sonatype Lift is retiring

Sonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console.
We are extremely grateful and thank you for your support over the years.

📖 Read about the impacts and timeline

@lpalashevski lpalashevski marked this pull request as ready for review July 17, 2023 07:16
@lpalashevski lpalashevski changed the title Feature/initial omag server OMAG server code stucture, actuator support and initial unit tests Jul 17, 2023
Signed-off-by: tijanapavicic <[email protected]>
Signed-off-by: tijanapavicic <[email protected]>
Signed-off-by: tijanapavicic <[email protected]>
Signed-off-by: tijanapavicic <[email protected]>
@tijanapavicic tijanapavicic force-pushed the feature/initial-omag-server branch from 2a3c489 to 7447ebc Compare July 18, 2023 08:11
} catch (IOException e) {
LOG.error("Exception while loading OMAG server configuration", e);
LOG.error("Failed loading OMAG server configuration with exception message : {}", e.getMessage());

Check warning

Code scanning / CodeQL

Unused format argument

This format call refers to 0 argument(s) but supplies 1 argument(s).
//TODO: Confirm if this is desired behaviour (configuration is null)
// Same as in the case above.
throw new ApplicationContextException("Exception loading OMAG server configuration");
throw new ApplicationContextException(
String.format("Failed loading OMAG server configuration with exception message : {}", e.getMessage()));

Check warning

Code scanning / CodeQL

Unused format argument

This format call refers to 0 argument(s) but supplies 1 argument(s).
@lpalashevski lpalashevski merged commit 8cb859c into odpi:main Jul 18, 2023
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.

2 participants