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

Added YAML configuration support and bumped Hazelcast to v4.0.2 #102

Merged
merged 2 commits into from
Nov 18, 2020

Conversation

alparslanavci
Copy link
Contributor

Fixes #93.

@alparslanavci alparslanavci added this to the 2.2 milestone Nov 17, 2020
Copy link

@leszko leszko left a comment

Choose a reason for hiding this comment

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

Added 2 minor comments. Other than that, LGTM 👍

@@ -32,7 +32,7 @@
<timestamp>${maven.build.timestamp}</timestamp>
<extraVmArgs/>

<hazelcast.version>4.0</hazelcast.version>
<hazelcast.version>4.0.2</hazelcast.version>
Copy link

Choose a reason for hiding this comment

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

Can't we bump it to 4.1?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am planning to do it in another PR.


import static com.hazelcast.internal.config.ConfigLoader.locateConfig;

class P2PConfigLoader {
Copy link

Choose a reason for hiding this comment

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

Why is it called P2PConfigLoader and not ConfigLoader or MemberConfigLoader?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I know it doesn't look good, but member setup related classes are named as P2P in tomcat-session-manager. Ex.: P2PLifecycleListener.

@alparslanavci alparslanavci merged commit f68a527 into hazelcast:master Nov 18, 2020
@alparslanavci
Copy link
Contributor Author

We should reconsider this approach when this issue is fixed on IMDG side: hazelcast/hazelcast#17316

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.

YAML configuration is parsed as XML (com.hazelcast.session.P2PLifecycleListener)
3 participants