feat: integrate with flysystem for xml data
This commit is contained in:
@@ -14,4 +14,5 @@ return [
|
||||
Symfony\UX\StimulusBundle\StimulusBundle::class => ['all' => true],
|
||||
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
|
||||
Knp\Bundle\MenuBundle\KnpMenuBundle::class => ['all' => true],
|
||||
League\FlysystemBundle\FlysystemBundle::class => ['all' => true],
|
||||
];
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
flysystem:
|
||||
storages:
|
||||
default.storage:
|
||||
adapter: 'local'
|
||||
options:
|
||||
directory: '%kernel.project_dir%/var/storage/default'
|
||||
xml_export.storage:
|
||||
adapter: 'local'
|
||||
options:
|
||||
directory: '%kernel.project_dir%/var/xmlexport'
|
||||
xml_dump.storage:
|
||||
adapter: 'local'
|
||||
options:
|
||||
directory: '%kernel.project_dir%/var/bpn'
|
||||
# adapter: 'sftp'
|
||||
# options:
|
||||
# host: '%env(SFTP_XML_EXPORT_HOST)%'
|
||||
# port: '%env(int:SFTP_XML_EXPORT_PORT)%'
|
||||
# username: '%env(SFTP_XML_EXPORT_USER)%'
|
||||
# password: '%env(SFTP_XML_EXPORT_PASSWORD)%'
|
||||
@@ -12,7 +12,8 @@ services:
|
||||
autowire: true # Automatically injects dependencies in your services.
|
||||
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
|
||||
bind:
|
||||
$xmlPath: '%kernel.project_dir%/var/xmlexport'
|
||||
$xmlExport: '@xml_export.storage'
|
||||
$xmlDump: '@xml_dump.storage'
|
||||
$travelInfoBaseUrl: '%env(APP_TRAVEL_INFO_BASE_URL)%'
|
||||
$logger: '@monolog.logger.core'
|
||||
|
||||
@@ -38,7 +39,6 @@ services:
|
||||
bpn_api_ip: '%env(APP_BPN_IP)%'
|
||||
bpn_api_port: '%env(APP_BPN_PORT)%'
|
||||
debug: '%env(bool:APP_BPN_DEBUG)%'
|
||||
target_folder_dumps: '%kernel.project_dir%/var/bpn'
|
||||
|
||||
App\Twig\AppRuntime:
|
||||
arguments:
|
||||
|
||||
Reference in New Issue
Block a user