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

Rabbitmq - Fix event sending process #81

Conversation

marwanehcine
Copy link
Contributor

@marwanehcine marwanehcine commented Nov 14, 2023

1- fix rabbitmq event sending process after code refactor
2- adding IT test for communication between gateway and console using rabbitmq

@marwanehcine marwanehcine force-pushed the fix_rabbitmq_event_sending_process_for_gateway branch from 068bab3 to e8e798c Compare November 28, 2023 22:14
Copy link
Member

@pmauduit pmauduit left a comment

Choose a reason for hiding this comment

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

The GHA is failing:
https://github.com/georchestra/georchestra-gateway/pull/81/checks

so I wouldd expect the PR is not ready for review yet

*/
@SpringBootTest(classes = GeorchestraGatewayApplication.class)
@TestPropertySource(properties = { //
"georchestra.datadir=${user.dir}/src/test/resources/data_directory" })
Copy link
Member

@pmauduit pmauduit Dec 13, 2023

Choose a reason for hiding this comment

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

It does not sound to me as very portable, it doesn't resolve on my dev environment.

return interfaceAddress.getAddress().getHostAddress();
}
} catch (SocketException e) {
e.printStackTrace();
Copy link
Member

Choose a reason for hiding this comment

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

I'd make use of a logger, even in a test context.

@marwanehcine
Copy link
Contributor Author

The GHA is failing: https://github.com/georchestra/georchestra-gateway/pull/81/checks

so I wouldd expect the PR is not ready for review yet

This needs this PR to be merged before to make compilation works :
https://github.com/georchestra/georchestra/pull/4098/files

@marwanehcine marwanehcine force-pushed the fix_rabbitmq_event_sending_process_for_gateway branch 5 times, most recently from cdaa9cb to 2c3cb9c Compare January 17, 2024 09:25
gateway/pom.xml Outdated Show resolved Hide resolved
@pmauduit pmauduit changed the title Fix rabbitmq event sending process after code refactor Fix rabbitmq event sending process Jan 18, 2024
@pmauduit pmauduit changed the title Fix rabbitmq event sending process Rabbitmq - Fix event sending process Jan 18, 2024
@pmauduit
Copy link
Member

pmauduit commented Jan 18, 2024

This needs this PR to be merged before to make compilation works :
https://github.com/georchestra/georchestra/pull/4098/files

I am still concerned by the failing testsuite though.

@marwanehcine marwanehcine force-pushed the fix_rabbitmq_event_sending_process_for_gateway branch 2 times, most recently from 09e927f to 255feae Compare January 19, 2024 09:46
@marwanehcine marwanehcine force-pushed the fix_rabbitmq_event_sending_process_for_gateway branch from 255feae to 8de54bb Compare January 19, 2024 09:57
@marwanehcine marwanehcine merged commit 5f6b5d5 into georchestra:main Jan 19, 2024
3 checks passed
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.

None yet

2 participants