feat(storage-service): Update storage configuration and enhance service initialization
- Changed the default bucket name in `appsettings.Development.json` from "storage" to "goodgo" and updated MinIO endpoint and credentials for improved access. - Modified the service initialization in `Program.cs` to include the environment name, enhancing configuration flexibility. - Added a missing namespace in `CustomWebApplicationFactory.cs` for better test setup. - Removed obsolete unit test files for `CreateSampleCommandHandler` and `SampleAggregate`, streamlining the test suite.
This commit is contained in:
@@ -12,15 +12,15 @@
|
||||
},
|
||||
"Storage": {
|
||||
"Provider": "minio",
|
||||
"DefaultBucket": "storage",
|
||||
"DefaultBucket": "goodgo",
|
||||
"PreSignedUrlExpirationSeconds": 3600,
|
||||
"MaxFileSizeBytes": 104857600,
|
||||
"MinIO": {
|
||||
"Endpoint": "localhost:9000",
|
||||
"Endpoint": "167.114.174.113:9000",
|
||||
"AccessKey": "minioadmin",
|
||||
"SecretKey": "minioadmin",
|
||||
"SecretKey": "Velik@2026",
|
||||
"UseSSL": false,
|
||||
"Region": ""
|
||||
"Region": "us-east-1"
|
||||
},
|
||||
"AliyunOSS": {
|
||||
"Endpoint": "",
|
||||
|
||||
Reference in New Issue
Block a user