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

[DATAGO-80317] fix issues blocking standalone mode from executing. #192

Merged
merged 4 commits into from
Jul 17, 2024

Conversation

moodiRealist
Copy link
Collaborator

@moodiRealist moodiRealist commented Jul 15, 2024

What is the purpose of this change?

To fix bugs when running the application in standalone mode and certain config values are not available.

How was this change implemented?

Made the existence of a troublesome bean optional.
Also update the default for event-portal.gateway.messaging.standalone in conditionalExpressions to set to True.

How was this change tested?

Updated tests, and manually created docker image, then ran scans from both standalone and connected mode. They both worked.

Connected:

Screenshot 2024-07-16 at 3 53 16 PM
Standalone:

Screenshot 2024-07-16 at 3 42 43 PM

Is there anything the reviewers should focus on/be aware of?

Nope.

@moodiRealist moodiRealist changed the title [DATAGO-80317] Make a bean only used for 1 mode conditional on the parent caller. [DATAGO-80317] fix issues blocking standalone mode from executing. Jul 16, 2024
Copy link

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@moodiRealist I added a second test to cover standalone mode, too

Copy link
Contributor

@mynecker mynecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and @moodiRealist please cross-check the added test case

@moodiRealist moodiRealist merged commit 9d52d97 into main Jul 17, 2024
6 checks passed
@moodiRealist moodiRealist deleted the moodiRealist/DATAGO-80317-optional-bean branch July 17, 2024 15:06
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