- Deleted the `POST /resources/get/{dataFolder?}` and `GET /resources/get-installer` endpoints as part of the architectural shift towards simplified resource management.
- Removed associated methods and configurations, including `ResourcesService.GetEncryptedResource`, `ResourcesService.GetInstaller`, and related properties in `ResourcesConfig`.
- Cleaned up environment variables and configuration files to reflect the removal of installer-related settings.
- Eliminated the `GetResourceRequest` DTO and its validator, along with the `WrongResourceName` error code.
- Updated documentation to clarify the changes in resource handling and the retirement of per-user file encryption.
Co-authored-by: Cursor <cursoragent@cursor.com>
1.2 KiB
Module: Azaion.Common.Configs.ResourcesConfig
Purpose
Configuration POCO for the file resource storage root, bound from appsettings.json section ResourcesConfig.
Cycle 2 (2026-05-14) note —
SuiteInstallerFolderandSuiteStageInstallerFolderwere removed along with the installer endpoints (GET /resources/get-installer[/stage]) andResourcesService.GetInstaller. TheirASPNETCORE_ResourcesConfig__SuiteInstallerFolder/__SuiteStageInstallerFolderenv-var rows were removed fromappsettings.json,.env.example,secrets/staging.public.env,secrets/production.public.env, anddocker-compose.test.yml.
Public Interface
| Property | Type | Description |
|---|---|---|
ResourcesFolder |
string |
Root directory for uploaded resource files |
Internal Logic
None — pure data class.
Dependencies
None.
Consumers
ResourcesService— usesResourcesFolderto resolve upload / list / clear paths
Data Models
None.
Configuration
Bound via builder.Configuration.GetSection(nameof(ResourcesConfig)) in Program.cs.
External Integrations
None.
Security
Path controls where files are read from and written to on the server's filesystem.
Tests
None.