Extraktion S3-Buckethandling in api-base
Die Behandlung der S3-Dateien soll in das rdm/biome/api-base>-Projekt verschoben werden.
Im Zuge des Umzuges soll auch die Verwaltung der Dateien dokumentiert werden.
AK
-
Behandlung von S3-Dateien ist in api-base-Projekt verschoben -
Dateihandhabung ist dokumentiert
-
Dependencies and configuration is moved: composer dependencies ( vich uploader
,aws flysistem
) and services definitions inconfig
folder. Environment variables stay in the main project, these must be injected from the main project.- Note: it is not possible to remove vich and flysystem into the package, because that would require to have extensions dependencies between api-base and those 2 bundles. I do not currently know of the way to do so, so I left the vich and flysystem in top project and documented the services definitions in the readme.
-
Services from Service/Media
directory are moved into api-base package -
REST controllers are moved into the package (with routes) -
(optional) Handle 500 error on restricted file upload, when aws credentials are wrong
Review
-
Behandlung von S3-Dateien ist in api-base-Projekt verschoben -
Dateihandhabung ist dokumentiert
Edited by Michael Voigt