Merge pull request #4825 from wkloucek/remove-storage-system-events

remove storage-system events
This commit is contained in:
Willy Kloucek
2022-10-14 11:48:13 +02:00
committed by GitHub
2 changed files with 7 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
Bugfix: Remove the storage-users event configuration
We've removed the events configuration from the storage-users section because it is not needed.
https://github.com/owncloud/ocis/pull/4825

View File

@@ -13,9 +13,8 @@ type Config struct {
Log *Log `yaml:"log"`
Debug Debug `yaml:"debug"`
GRPC GRPCConfig `yaml:"grpc"`
HTTP HTTPConfig `yaml:"http"`
Events Events `yaml:"events"`
GRPC GRPCConfig `yaml:"grpc"`
HTTP HTTPConfig `yaml:"http"`
TokenManager *TokenManager `yaml:"token_manager"`
Reva *Reva `yaml:"reva"`
@@ -76,8 +75,3 @@ type OCISDriver struct {
// Root is the absolute path to the location of the data
Root string `yaml:"root" env:"STORAGE_SYSTEM_OCIS_ROOT" desc:"Path for the directory where the STORAGE-SYSTEM service stores it's persistent data."`
}
type Events struct {
Addr string `yaml:"endpoint" env:"STORAGE_SYSTEM_EVENTS_ENDPOINT" desc:"The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture."`
ClusterID string `yaml:"cluster" env:"STORAGE_SYSTEM_EVENTS_CLUSTER" desc:"The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system."`
}