- 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.
39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.EntityFrameworkCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Host=ep-holy-glitter-a4hongg7-pooler.us-east-1.aws.neon.tech;Port=5432;Database=storage_service;Username=neondb_owner;Password=npg_Ssfy6HKO0cXI;SSL Mode=Require"
|
|
},
|
|
"Storage": {
|
|
"Provider": "minio",
|
|
"DefaultBucket": "goodgo",
|
|
"PreSignedUrlExpirationSeconds": 3600,
|
|
"MaxFileSizeBytes": 104857600,
|
|
"MinIO": {
|
|
"Endpoint": "167.114.174.113:9000",
|
|
"AccessKey": "minioadmin",
|
|
"SecretKey": "Velik@2026",
|
|
"UseSSL": false,
|
|
"Region": "us-east-1"
|
|
},
|
|
"AliyunOSS": {
|
|
"Endpoint": "",
|
|
"AccessKeyId": "",
|
|
"AccessKeySecret": "",
|
|
"Region": ""
|
|
}
|
|
},
|
|
"IamService": {
|
|
"BaseUrl": "http://localhost:5001",
|
|
"ServiceName": "storage-service",
|
|
"TimeoutSeconds": 30,
|
|
"CacheDurationSeconds": 300,
|
|
"HealthCheckCacheDurationSeconds": 60
|
|
}
|
|
} |