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:
Ho Ngoc Hai
2026-01-13 02:27:18 +07:00
parent ee3cd7c770
commit 0b59b7d219
6 changed files with 6 additions and 301 deletions

View File

@@ -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": "",