This commit introduces a new test suite for the IM file service, including a stub implementation for testing purposes. It adds tests for resolving file services based on storage providers and ensures proper fallback mechanisms for MinIO URLs. Additionally, the `rewriteStorageURLs` and `cleanIMContent` functions have been refactored to utilize a resolver for improved caching and efficiency. These changes enhance the robustness of file service handling and improve test coverage for various storage scenarios. |
||
|---|---|---|
| .. | ||
| cos.go | ||
| cos_parse_test.go | ||
| dummy.go | ||
| factory.go | ||
| ks3.go | ||
| local.go | ||
| local_test.go | ||
| minio.go | ||
| obs.go | ||
| oss.go | ||
| oss_test.go | ||
| s3.go | ||
| s3_test.go | ||
| tos.go | ||