diff options
author | mpriyank <priyank.maheshwari@est.tech> | 2023-04-28 15:02:00 +0100 |
---|---|---|
committer | mpriyank <priyank.maheshwari@est.tech> | 2023-05-02 12:09:29 +0100 |
commit | 74cf06f7af65c699187f9e268db58023db2e2a62 (patch) | |
tree | fc9439384f1b5336e337da62f0841c969aded8fc /cps-application/src/main | |
parent | 5f964d1910e309502530631bff4d21e5d59f4dc8 (diff) |
Align the hazelcast cluster names
- We need to align the hazelcast cluster names as members of the same
cluster can join each other. We will still have exclusivity as the
instance names and configs are different for each distributed object.
- Exposing env variable to override the cluster name depending on the
env it is run on.
- Modified test cases to validate the cluster names as well
Issue-ID: CPS-1637
Change-Id: Ib0f8c80dc9b2268f976b0c2d3ccd6d64792d4781
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-application/src/main')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 1eb1c11f20..ccd09c8555 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -199,6 +199,7 @@ ncmp: # Custom Hazelcast Config. hazelcast: + cluster-name: ${CPS_NCMP_CACHES_CLUSTER_NAME:"cps-and-ncmp-common-cache-cluster"} mode: kubernetes: enabled: ${HAZELCAST_MODE_KUBERNETES_ENABLED:false} |