Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FRW-8938 Integration. #408

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
"spryker/dummy-marketplace-payment": "^0.2.5",
"spryker/entity-tags-rest-api": "^1.0.2",
"spryker/flysystem": "^3.0.0",
"spryker/flysystem-aws3v3-file-system": "^3.0.0",
"spryker/flysystem-ftp-file-system": "^3.0.0",
"spryker/flysystem-local-file-system": "^3.0.0",
"spryker/gift-card-mail-connector": "^1.2.0",
Expand Down
122 changes: 114 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions config/Shared/config_default.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
use Spryker\Glue\Log\Plugin\GlueLoggerConfigPlugin;
use Spryker\Glue\Log\Plugin\Log\GlueBackendSecurityAuditLoggerConfigPlugin;
use Spryker\Glue\Log\Plugin\Log\GlueSecurityAuditLoggerConfigPlugin;
use Spryker\Service\FlysystemAws3v3FileSystem\Plugin\Flysystem\Aws3v3FilesystemBuilderPlugin;
use Spryker\Service\FlysystemLocalFileSystem\Plugin\Flysystem\LocalFilesystemBuilderPlugin;
use Spryker\Shared\Acl\AclConstants;
use Spryker\Shared\AgentSecurityBlockerMerchantPortal\AgentSecurityBlockerMerchantPortalConstants;
Expand Down Expand Up @@ -609,6 +610,21 @@

// >>> FILESYSTEM
$config[FileSystemConstants::FILESYSTEM_SERVICE] = [
's3-import' => [
'sprykerAdapterClass' => Aws3v3FilesystemBuilderPlugin::class,
'root' => '/',
'path' => '/',
'key' => '',
'secret' => '',
'bucket' => '',
'version' => '',
'region' => '',
],
'files-import' => [
'sprykerAdapterClass' => LocalFilesystemBuilderPlugin::class,
'root' => '/',
'path' => '/',
],
'files' => [
'sprykerAdapterClass' => LocalFilesystemBuilderPlugin::class,
'root' => APPLICATION_ROOT_DIR . '/data/DE/media/',
Expand Down
2 changes: 2 additions & 0 deletions src/Pyz/Service/Flysystem/FlysystemDependencyProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
namespace Pyz\Service\Flysystem;

use Spryker\Service\Flysystem\FlysystemDependencyProvider as SprykerFlysystemDependencyProvider;
use Spryker\Service\FlysystemAws3v3FileSystem\Plugin\Flysystem\Aws3v3FilesystemBuilderPlugin;
use Spryker\Service\FlysystemFtpFileSystem\Plugin\Flysystem\FtpFilesystemBuilderPlugin;
use Spryker\Service\FlysystemLocalFileSystem\Plugin\Flysystem\LocalFilesystemBuilderPlugin;

Expand All @@ -21,6 +22,7 @@ protected function getFilesystemBuilderPluginCollection(): array
return [
new FtpFilesystemBuilderPlugin(),
new LocalFilesystemBuilderPlugin(),
new Aws3v3FilesystemBuilderPlugin(),
];
}
}
Loading