cuba-platform / cuba

CUBA Platform is a high level framework for enterprise applications development
https://www.cuba-platform.com
Apache License 2.0
1.34k stars 220 forks source link

Ability to choose FileStorage implementation based on app property #2149

Closed alexbudarov closed 5 years ago

alexbudarov commented 5 years ago

Description of the bug or enhancement

See https://www.cuba-platform.com/discuss/t/file-storage-type-based-on-app-property/9190/2

File storage implementation is a runtime deployment choice. We can develop, debug and test some project using usual filesystem-based File Storage. But at the same time have preproduction and production servers running in Amazon Cloud.

Therefore file storage mode should be tunable by runtime settings (local app properties).

knstvk commented 5 years ago

Can be implemented using Spring profiles, see cuba#66