generated from it-at-m/oss-repository-en-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ♻️ gateway refactor hazelcast properties * 📝 gateway document hazelcast properties * 📝 gateway document hazelcast module java properties * 📝 gateway document hazelcast kubernetes * 🎨 gateway sportless format * ♻️ gateway rm hazelcast kubernetes namespace as auto discovered * ♻️ gateway refactor properties load * ♻️ gateway refactor properties load
- Loading branch information
Showing
4 changed files
with
74 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...-gateway/src/main/java/de/muenchen/refarch/gateway/configuration/HazelcastProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package de.muenchen.refarch.gateway.configuration; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
import org.springframework.boot.context.properties.ConfigurationProperties; | ||
|
||
@Getter | ||
@RequiredArgsConstructor | ||
@AllArgsConstructor | ||
@ConfigurationProperties("refarch.hazelcast") | ||
@SuppressWarnings("PMD.ImmutableField") | ||
public class HazelcastProperties { | ||
/** | ||
* Name of the hazelcast cluster. | ||
*/ | ||
private String clusterName = "session_replication_group"; | ||
/** | ||
* Name of the hazelcast instance. | ||
*/ | ||
private String instanceName = "hazl_instance"; | ||
/** | ||
* Kubernetes service name. | ||
* Required for running hazelcast inside kubernetes. | ||
*/ | ||
private String serviceName; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters