Skip to content

Commit

Permalink
Merge pull request #44 from opencloud-eu/nats-cluster-name
Browse files Browse the repository at this point in the history
nats cluster name
  • Loading branch information
aduffeck authored Jan 17, 2025
2 parents c9d66c6 + 3b3a222 commit 9a04b12
Show file tree
Hide file tree
Showing 19 changed files with 246 additions and 225 deletions.
435 changes: 228 additions & 207 deletions docs/helpers/env_vars.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion services/activitylog/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
Store: config.Store{
Expand Down
2 changes: 1 addition & 1 deletion services/antivirus/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
},
Workers: 10,
InfectedFileHandling: "delete",
Expand Down
2 changes: 1 addition & 1 deletion services/audit/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
Auditlog: config.Auditlog{
Expand Down
2 changes: 1 addition & 1 deletion services/clientlog/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
RevaGateway: shared.DefaultRevaConfig().Address,
Expand Down
2 changes: 1 addition & 1 deletion services/eventhistory/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
Store: config.Store{
Expand Down
2 changes: 1 addition & 1 deletion services/frontend/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func DefaultConfig() *config.Config {
AutoAcceptShares: true,
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
MaxConcurrency: 1,
Expand Down
2 changes: 1 addition & 1 deletion services/graph/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
MaxConcurrency: 20,
Expand Down
2 changes: 1 addition & 1 deletion services/nats/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func DefaultConfig() *config.Config {
Nats: config.Nats{
Host: "127.0.0.1",
Port: 9233,
ClusterID: "ocis-cluster",
ClusterID: "opencloud-cluster",
StoreDir: filepath.Join(defaults.BaseDataPath(), "nats"),
TLSCert: filepath.Join(defaults.BaseDataPath(), "nats/tls.crt"),
TLSKey: filepath.Join(defaults.BaseDataPath(), "nats/tls.key"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
RevaGateway: shared.DefaultRevaConfig().Address,
Expand Down
2 changes: 1 addition & 1 deletion services/ocm/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
},
ScienceMesh: config.ScienceMesh{
Prefix: "sciencemesh",
Expand Down
2 changes: 1 addition & 1 deletion services/policies/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
Engine: config.Engine{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func DefaultConfig() *config.Config {
Postprocessing: config.Postprocessing{
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
},
Workers: 3,
RetryBackoffDuration: 5 * time.Second,
Expand Down
2 changes: 1 addition & 1 deletion services/proxy/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func DefaultConfig() *config.Config {
CSPConfigFileLocation: "",
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
}
Expand Down
2 changes: 1 addition & 1 deletion services/search/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
DebounceDuration: 1000,
AsyncUploads: true,
EnableTLS: false,
Expand Down
2 changes: 1 addition & 1 deletion services/sharing/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Addr: "127.0.0.1:9233",
ClusterID: "ocis-cluster",
ClusterID: "opencloud-cluster",
EnableTLS: false,
},
EnableExpiredSharesCleanup: true,
Expand Down
2 changes: 1 addition & 1 deletion services/sse/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
},
HTTP: config.HTTP{
Addr: "127.0.0.1:9135",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Addr: "127.0.0.1:9233",
ClusterID: "ocis-cluster",
ClusterID: "opencloud-cluster",
EnableTLS: false,
},
FilemetadataCache: config.FilemetadataCache{
Expand Down
2 changes: 1 addition & 1 deletion services/userlog/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
MaxConcurrency: 1,
Expand Down

0 comments on commit 9a04b12

Please sign in to comment.