|
4 | 4 | xsi:schemaLocation="http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd">
|
5 | 5 |
|
6 | 6 | <services>
|
7 |
| - <defaults autowire="true" autoconfigure="true" public="true"> |
8 |
| - <bind key="int $errorLevel">300</bind> |
9 |
| - </defaults> |
| 7 | + <defaults autowire="true" autoconfigure="true" public="true" /> |
10 | 8 | <!-- ... -->
|
| 9 | + |
11 | 10 | <prototype namespace="Magento\MagentoCloud\" resource="../src/*" exclude="../src/{Test}"/>
|
12 | 11 |
|
13 | 12 | <service id="Composer\Package\Version\VersionParser" autowire="false" />
|
14 |
| - <service id="Magento\MagentoCloud\Filesystem\SystemList" autowire="false" /> |
15 |
| - <service id="Magento\MagentoCloud\Step\Build\DeployStaticContent" autowire="false" /> |
| 13 | + <service id="Composer\Semver\Comparator"/> |
| 14 | + <service id="Composer\Semver\Semver"/> |
| 15 | + <service id="Composer\Semver\VersionParser"/> |
| 16 | + <service id="Illuminate\Config\Repository"/> |
16 | 17 | <service id="Magento\MagentoCloud\App\Container" autowire="false" />
|
| 18 | + <service id="Magento\MagentoCloud\App\ContainerInterface" alias="container" /> |
17 | 19 | <service id="Magento\MagentoCloud\App\GenericException" autowire="false" />
|
18 | 20 | <service id="Magento\MagentoCloud\App\Logger\Gelf\Handler" autowire="false" />
|
19 |
| - <service id="Magento\MagentoCloud\App\Container" autowire="false" /> |
| 21 | + <service id="Magento\MagentoCloud\Config\AdminDataInterface" alias="Magento\MagentoCloud\Config\AdminData" /> |
| 22 | + <service id="Magento\MagentoCloud\Config\EnvironmentDataInterface" alias="Magento\MagentoCloud\Config\EnvironmentData" /> |
| 23 | + <service id="Magento\MagentoCloud\Config\Environment\ReaderInterface" alias="Magento\MagentoCloud\Config\Environment\Reader" /> |
| 24 | + <service id="Magento\MagentoCloud\Config\Magento\Env\ReaderInterface" alias="Magento\MagentoCloud\Config\Magento\Env\Reader" /> |
| 25 | + <service id="Magento\MagentoCloud\Config\Magento\Env\WriterInterface" alias="Magento\MagentoCloud\Config\Magento\Env\Writer" /> |
| 26 | + <service id="Magento\MagentoCloud\Config\Magento\Shared\ReaderInterface" alias="Magento\MagentoCloud\Config\Magento\Shared\Reader" /> |
| 27 | + <service id="Magento\MagentoCloud\Config\Magento\Shared\WriterInterface" alias="Magento\MagentoCloud\Config\Magento\Shared\Writer" /> |
| 28 | + <service id="Magento\MagentoCloud\Config\Stage\BuildInterface" alias="Magento\MagentoCloud\Config\Stage\Build" /> |
| 29 | + <service id="Magento\MagentoCloud\Config\Stage\DeployInterface" alias="Magento\MagentoCloud\Config\Stage\Deploy" /> |
| 30 | + <service id="Magento\MagentoCloud\Config\Stage\PostDeployInterface" alias="Magento\MagentoCloud\Config\Stage\PostDeploy" /> |
| 31 | + <service id="Magento\MagentoCloud\Config\Validator\Deploy\ServiceEol" autowire="false" /> |
20 | 32 | <service id="Magento\MagentoCloud\Config\Validator\Result\Error" autowire="false" />
|
21 | 33 | <service id="Magento\MagentoCloud\DB\Data\Connection" autowire="false" />
|
22 | 34 | <service id="Magento\MagentoCloud\DB\Data\RelationshipConnection" autowire="false" />
|
23 | 35 | <service id="Magento\MagentoCloud\DB\PDOException" autowire="false" />
|
| 36 | + <service id="Magento\MagentoCloud\Filesystem\FileSystemException" autowire="false" /> |
24 | 37 | <service id="Magento\MagentoCloud\Filesystem\Flag\ConfigurationMismatchException" autowire="false" />
|
| 38 | + <service id="Magento\MagentoCloud\Filesystem\Flag\Pool"> |
| 39 | + <argument type="collection"> |
| 40 | + <argument key="regenerate">var/.regenerate</argument> |
| 41 | + <argument key="scd_in_build">.static_content_deploy</argument> |
| 42 | + <argument key="deploy_is_failed">var/.deploy_is_failed</argument> |
| 43 | + </argument> |
| 44 | + </service> |
| 45 | + <service id="Magento\MagentoCloud\Filesystem\SystemList" autowire="false" /> |
| 46 | + <service id="Magento\MagentoCloud\Package\UndefinedPackageException" autowire="false" /> |
| 47 | + <service id="Magento\MagentoCloud\PlatformVariable\DecoderInterface" alias="Magento\MagentoCloud\PlatformVariable\Decoder" /> |
25 | 48 | <service id="Magento\MagentoCloud\Scenario\Exception\ProcessorException" autowire="false" />
|
26 | 49 | <service id="Magento\MagentoCloud\Scenario\Exception\ValidationException" autowire="false" />
|
27 |
| - <service id="Magento\MagentoCloud\Filesystem\FileSystemException" autowire="false" /> |
28 |
| - <service id="Magento\MagentoCloud\Package\UndefinedPackageException" autowire="false" /> |
| 50 | + <service id="Magento\MagentoCloud\Service\ServiceMismatchException" autowire="false" /> |
| 51 | + <service id="Magento\MagentoCloud\Shell\Process" autowire="false" /> |
| 52 | + <service id="Magento\MagentoCloud\Shell\ProcessException" autowire="false" /> |
| 53 | + <service id="Magento\MagentoCloud\Shell\ShellInterface" alias="Magento\MagentoCloud\Shell\Shell" /> |
| 54 | + <service id="Magento\MagentoCloud\Step\Build\BackupData" autowire="false" /> |
| 55 | + <service id="Magento\MagentoCloud\Step\Build\DeployStaticContent" autowire="false" /> |
29 | 56 | <service id="Magento\MagentoCloud\Step\Deploy\DeployCompletion" autowire="false" />
|
30 | 57 | <service id="Magento\MagentoCloud\Step\Deploy\DeployStaticContent" autowire="false" />
|
31 | 58 | <service id="Magento\MagentoCloud\Step\Deploy\InstallUpdate" autowire="false" />
|
|
34 | 61 | <service id="Magento\MagentoCloud\Step\SkipStep" autowire="false" />
|
35 | 62 | <service id="Magento\MagentoCloud\Step\StepException" autowire="false" />
|
36 | 63 | <service id="Magento\MagentoCloud\Step\ValidateConfiguration" autowire="false" />
|
37 |
| - <service id="Magento\MagentoCloud\Step\Build\BackupData" autowire="false" /> |
38 |
| - <service id="Magento\MagentoCloud\Service\ServiceMismatchException" autowire="false" /> |
39 |
| - <service id="Magento\MagentoCloud\Shell\Process" autowire="false" /> |
40 |
| - <service id="Magento\MagentoCloud\Shell\ProcessException" autowire="false" /> |
41 |
| - <service id="Magento\MagentoCloud\Filesystem\Flag\Pool"> |
42 |
| - <argument type="collection"> |
43 |
| - <argument key="regenerate">var/.regenerate</argument> |
44 |
| - <argument key="scd_in_build">.static_content_deploy</argument> |
45 |
| - <argument key="deploy_is_failed">var/.deploy_is_failed</argument> |
| 64 | + <service id="Psr\Log\LoggerInterface" alias="Magento\MagentoCloud\App\Logger" /> |
| 65 | + <service id="ServiceEol.Warnings" class="Magento\MagentoCloud\Config\Validator\Deploy\ServiceEol"> |
| 66 | + <argument key="$errorLevel" type="constant"> |
| 67 | + Magento\MagentoCloud\Config\ValidatorInterface::LEVEL_WARNING |
46 | 68 | </argument>
|
47 | 69 | </service>
|
48 |
| - <service id="ServiceEol.Warnings" class="Magento\MagentoCloud\Config\Validator\Deploy\ServiceEol" /> |
49 | 70 | <service id="ServiceEol.Notices" class="Magento\MagentoCloud\Config\Validator\Deploy\ServiceEol">
|
50 |
| - <bind key="int $errorLevel">250</bind> |
| 71 | + <argument key="$errorLevel" type="constant"> |
| 72 | + Magento\MagentoCloud\Config\ValidatorInterface::LEVEL_NOTICE |
| 73 | + </argument> |
51 | 74 | </service>
|
52 |
| - <service id="Composer\Package\Version\VersionParser"/> |
53 |
| - <service id="Composer\Semver\VersionParser"/> |
54 |
| - <service id="Composer\Semver\Semver"/> |
55 |
| - <service id="Composer\Semver\Comparator"/> |
56 |
| - <service id="Illuminate\Config\Repository"/> |
57 | 75 | <service id="Symfony\Component\Serializer\Encoder\XmlEncoder"/>
|
58 |
| - <service id="Psr\Log\LoggerInterface" alias="Magento\MagentoCloud\App\Logger" /> |
59 |
| - <service id="Magento\MagentoCloud\App\ContainerInterface" alias="container" /> |
60 |
| - <service id="Magento\MagentoCloud\Shell\ShellInterface" alias="Magento\MagentoCloud\Shell\Shell" /> |
61 |
| - <service id="Magento\MagentoCloud\Config\Stage\DeployInterface" alias="Magento\MagentoCloud\Config\Stage\Deploy" /> |
62 |
| - <service id="Magento\MagentoCloud\Config\Stage\BuildInterface" alias="Magento\MagentoCloud\Config\Stage\Build" /> |
63 |
| - <service id="Magento\MagentoCloud\Config\Stage\PostDeployInterface" alias="Magento\MagentoCloud\Config\Stage\PostDeploy" /> |
64 |
| - <service id="Magento\MagentoCloud\Config\EnvironmentDataInterface" alias="Magento\MagentoCloud\Config\EnvironmentData" /> |
65 |
| - <service id="Magento\MagentoCloud\Config\AdminDataInterface" alias="Magento\MagentoCloud\Config\AdminData" /> |
66 |
| - <service id="Magento\MagentoCloud\PlatformVariable\DecoderInterface" alias="Magento\MagentoCloud\PlatformVariable\Decoder" /> |
67 |
| - <service id="Magento\MagentoCloud\Config\Environment\ReaderInterface" alias="Magento\MagentoCloud\Config\Environment\Reader" /> |
68 |
| - <service id="Magento\MagentoCloud\Config\Magento\Env\ReaderInterface" alias="Magento\MagentoCloud\Config\Magento\Env\Reader" /> |
69 |
| - <service id="Magento\MagentoCloud\Config\Magento\Env\WriterInterface" alias="Magento\MagentoCloud\Config\Magento\Env\Writer" /> |
70 |
| - <service id="Magento\MagentoCloud\Config\Magento\Shared\ReaderInterface" alias="Magento\MagentoCloud\Config\Magento\Shared\Reader" /> |
71 |
| - <service id="Magento\MagentoCloud\Config\Magento\Shared\WriterInterface" alias="Magento\MagentoCloud\Config\Magento\Shared\Writer" /> |
72 | 76 | </services>
|
73 | 77 | </container>
|
0 commit comments