mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Refactor ConfigureOpenstackObjectStorageCommand
- change namespace for more obvious handling; - remove command of local storage is configured
This commit is contained in:
parent
83f7086bb0
commit
c65f1d495d
@ -9,7 +9,7 @@ declare(strict_types=1);
|
|||||||
* the LICENSE file that was distributed with this source code.
|
* the LICENSE file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Chill\DocStoreBundle\AsyncUpload\Command;
|
namespace Chill\DocStoreBundle\AsyncUpload\Driver\OpenstackObjectStore;
|
||||||
|
|
||||||
use Symfony\Component\Console\Command\Command;
|
use Symfony\Component\Console\Command\Command;
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
@ -12,6 +12,7 @@ declare(strict_types=1);
|
|||||||
namespace Chill\DocStoreBundle\DependencyInjection\Compiler;
|
namespace Chill\DocStoreBundle\DependencyInjection\Compiler;
|
||||||
|
|
||||||
use Chill\DocStoreBundle\AsyncUpload\Driver\LocalStorage\TempUrlLocalStorageGenerator;
|
use Chill\DocStoreBundle\AsyncUpload\Driver\LocalStorage\TempUrlLocalStorageGenerator;
|
||||||
|
use Chill\DocStoreBundle\AsyncUpload\Driver\OpenstackObjectStore\ConfigureOpenstackObjectStorageCommand;
|
||||||
use Chill\DocStoreBundle\AsyncUpload\Driver\OpenstackObjectStore\TempUrlOpenstackGenerator;
|
use Chill\DocStoreBundle\AsyncUpload\Driver\OpenstackObjectStore\TempUrlOpenstackGenerator;
|
||||||
use Chill\DocStoreBundle\AsyncUpload\TempUrlGeneratorInterface;
|
use Chill\DocStoreBundle\AsyncUpload\TempUrlGeneratorInterface;
|
||||||
use Chill\DocStoreBundle\Service\StoredObjectManagerInterface;
|
use Chill\DocStoreBundle\Service\StoredObjectManagerInterface;
|
||||||
@ -24,6 +25,7 @@ class StorageConfigurationCompilerPass implements CompilerPassInterface
|
|||||||
private const SERVICES_OPENSTACK = [
|
private const SERVICES_OPENSTACK = [
|
||||||
\Chill\DocStoreBundle\AsyncUpload\Driver\OpenstackObjectStore\StoredObjectManager::class,
|
\Chill\DocStoreBundle\AsyncUpload\Driver\OpenstackObjectStore\StoredObjectManager::class,
|
||||||
TempUrlOpenstackGenerator::class,
|
TempUrlOpenstackGenerator::class,
|
||||||
|
ConfigureOpenstackObjectStorageCommand::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
private const SERVICES_LOCAL_STORAGE = [
|
private const SERVICES_LOCAL_STORAGE = [
|
||||||
|
@ -9,9 +9,9 @@ declare(strict_types=1);
|
|||||||
* the LICENSE file that was distributed with this source code.
|
* the LICENSE file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace AsyncUpload\Command;
|
namespace Chill\DocStoreBundle\Tests\AsyncUpload\Driver\OpenstackObjectStore;
|
||||||
|
|
||||||
use Chill\DocStoreBundle\AsyncUpload\Command\ConfigureOpenstackObjectStorageCommand;
|
use Chill\DocStoreBundle\AsyncUpload\Driver\OpenstackObjectStore\ConfigureOpenstackObjectStorageCommand;
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
use Symfony\Component\Console\Tester\CommandTester;
|
use Symfony\Component\Console\Tester\CommandTester;
|
||||||
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
@ -56,6 +56,3 @@ services:
|
|||||||
|
|
||||||
Chill\DocStoreBundle\AsyncUpload\Templating\:
|
Chill\DocStoreBundle\AsyncUpload\Templating\:
|
||||||
resource: '../AsyncUpload/Templating/'
|
resource: '../AsyncUpload/Templating/'
|
||||||
|
|
||||||
Chill\DocStoreBundle\AsyncUpload\Command\:
|
|
||||||
resource: '../AsyncUpload/Command/'
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user