From 4aea2fe135fb62a18bdf6416f0887680e1a0730a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 11 Dec 2023 15:47:08 +0100 Subject: [PATCH] Add configuration for chill-doc-store into skeleton --- config/bundles.php | 2 +- config/packages/champs-libres.yaml | 14 -------------- config/packages/chill_doc_store.yaml | 6 ++++++ 3 files changed, 7 insertions(+), 15 deletions(-) delete mode 100644 config/packages/champs-libres.yaml create mode 100644 config/packages/chill_doc_store.yaml diff --git a/config/bundles.php b/config/bundles.php index a0c6329..a54979e 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -15,7 +15,7 @@ return [ Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true], Knp\Bundle\MenuBundle\KnpMenuBundle::class => ['all' => true], Knp\Bundle\TimeBundle\KnpTimeBundle::class => ['all' => true], - ChampsLibres\AsyncUploaderBundle\ChampsLibresAsyncUploaderBundle::class => ['all' => true], + //ChampsLibres\AsyncUploaderBundle\ChampsLibresAsyncUploaderBundle::class => ['all' => true], Chill\MainBundle\ChillMainBundle::class => ['all' => true], Chill\PersonBundle\ChillPersonBundle::class => ['all' => true], Chill\CustomFieldsBundle\ChillCustomFieldsBundle::class => ['all' => true], diff --git a/config/packages/champs-libres.yaml b/config/packages/champs-libres.yaml deleted file mode 100644 index ebea3ef..0000000 --- a/config/packages/champs-libres.yaml +++ /dev/null @@ -1,14 +0,0 @@ -champs_libres_async_uploader: - openstack: - os_username: '%env(resolve:OS_USERNAME)%' # Required - os_password: '%env(resolve:OS_PASSWORD)%' # Required - os_tenant_id: '%env(resolve:OS_TENANT_ID)%' # Required - os_region_name: '%env(resolve:OS_REGION_NAME)%' # Required - os_auth_url: '%env(resolve:OS_AUTH_URL)%' # Required - temp_url: - temp_url_key: '%env(resolve:ASYNC_UPLOAD_TEMP_URL_KEY)%' # Required - container: '%env(resolve:ASYNC_UPLOAD_TEMP_URL_CONTAINER)%' # Required - temp_url_base_path: '%env(resolve:ASYNC_UPLOAD_TEMP_URL_BASE_PATH)%' # Required. Do not forget a trailing slash - max_post_file_size: 15000000 # 15Mo (bytes) - max_expires_delay: 180 - max_submit_delay: 3600 diff --git a/config/packages/chill_doc_store.yaml b/config/packages/chill_doc_store.yaml new file mode 100644 index 0000000..994e192 --- /dev/null +++ b/config/packages/chill_doc_store.yaml @@ -0,0 +1,6 @@ +chill_doc_store: + openstack: + temp_url: + temp_url_key: '%env(resolve:ASYNC_UPLOAD_TEMP_URL_KEY)%' # Required + container: '%env(resolve:ASYNC_UPLOAD_TEMP_URL_CONTAINER)%' # Required + temp_url_base_path: '%env(resolve:ASYNC_UPLOAD_TEMP_URL_BASE_PATH)%' # Required