Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 1.12.x: Make manager registry resettable Update XSD to allow for complex driver options Allow non-scalar DBAL options split tests to test well known services one at a time fix well known schema filter blacklist tables
- Loading branch information
Showing
26 changed files
with
329 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...DependencyInjection/Fixtures/config/xml/well_known_schema_filter_default_tables_cache.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:srv="http://symfony.com/schema/dic/services" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd | ||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd"> | ||
|
||
<config> | ||
<dbal default-connection="connection1"> | ||
<connection name="connection1" schema-filter="~^(?!t_)~" /> | ||
<connection name="connection2" /> | ||
<connection name="connection3" /> | ||
</dbal> | ||
</config> | ||
|
||
<srv:services> | ||
<srv:service id="well_known_filter" alias="doctrine.dbal.well_known_schema_asset_filter" public="true" /> | ||
<srv:service id="symfony.cache" class="Symfony\Component\Cache\Adapter\PdoAdapter" /> | ||
</srv:services> | ||
</srv:container> |
21 changes: 21 additions & 0 deletions
21
.../DependencyInjection/Fixtures/config/xml/well_known_schema_filter_default_tables_lock.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:srv="http://symfony.com/schema/dic/services" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd | ||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd"> | ||
|
||
<config> | ||
<dbal default-connection="connection1"> | ||
<connection name="connection1" schema-filter="~^(?!t_)~" /> | ||
<connection name="connection2" /> | ||
<connection name="connection3" /> | ||
</dbal> | ||
</config> | ||
|
||
<srv:services> | ||
<srv:service id="well_known_filter" alias="doctrine.dbal.well_known_schema_asset_filter" public="true" /> | ||
<srv:service id="symfony.lock" class="Symfony\Component\Lock\Store\PdoStore" /> | ||
</srv:services> | ||
</srv:container> |
21 changes: 21 additions & 0 deletions
21
...ndencyInjection/Fixtures/config/xml/well_known_schema_filter_default_tables_messenger.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:srv="http://symfony.com/schema/dic/services" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd | ||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd"> | ||
|
||
<config> | ||
<dbal default-connection="connection1"> | ||
<connection name="connection1" schema-filter="~^(?!t_)~" /> | ||
<connection name="connection2" /> | ||
<connection name="connection3" /> | ||
</dbal> | ||
</config> | ||
|
||
<srv:services> | ||
<srv:service id="well_known_filter" alias="doctrine.dbal.well_known_schema_asset_filter" public="true" /> | ||
<srv:service id="symfony.messenger" class="Symfony\Component\Messenger\Transport\Doctrine\Connection" /> | ||
</srv:services> | ||
</srv:container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...pendencyInjection/Fixtures/config/xml/well_known_schema_filter_overridden_tables_lock.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:srv="http://symfony.com/schema/dic/services" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd | ||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd"> | ||
|
||
<config> | ||
<dbal default-connection="connection1"> | ||
<connection name="connection1" schema-filter="~^(?!t_)~" /> | ||
<connection name="connection2" /> | ||
<connection name="connection3" /> | ||
</dbal> | ||
</config> | ||
|
||
<srv:services> | ||
<srv:service id="well_known_filter" alias="doctrine.dbal.well_known_schema_asset_filter" public="true" /> | ||
<srv:service id="symfony.lock" class="Symfony\Component\Lock\Store\PdoStore"> | ||
<srv:argument /> | ||
<srv:argument type="collection"> | ||
<srv:argument key="db_table">app_locks</srv:argument> | ||
</srv:argument> | ||
</srv:service> | ||
</srv:services> | ||
</srv:container> |
25 changes: 25 additions & 0 deletions
25
...ncyInjection/Fixtures/config/xml/well_known_schema_filter_overridden_tables_messenger.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:srv="http://symfony.com/schema/dic/services" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd | ||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd"> | ||
|
||
<config> | ||
<dbal default-connection="connection1"> | ||
<connection name="connection1" schema-filter="~^(?!t_)~" /> | ||
<connection name="connection2" /> | ||
<connection name="connection3" /> | ||
</dbal> | ||
</config> | ||
|
||
<srv:services> | ||
<srv:service id="well_known_filter" alias="doctrine.dbal.well_known_schema_asset_filter" public="true" /> | ||
<srv:service id="symfony.messenger" class="Symfony\Component\Messenger\Transport\Doctrine\Connection"> | ||
<srv:argument type="collection"> | ||
<srv:argument key="table_name">app_messages</srv:argument> | ||
</srv:argument> | ||
</srv:service> | ||
</srv:services> | ||
</srv:container> |
26 changes: 26 additions & 0 deletions
26
...dencyInjection/Fixtures/config/xml/well_known_schema_filter_overridden_tables_session.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:srv="http://symfony.com/schema/dic/services" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd | ||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd"> | ||
|
||
<config> | ||
<dbal default-connection="connection1"> | ||
<connection name="connection1" schema-filter="~^(?!t_)~" /> | ||
<connection name="connection2" /> | ||
<connection name="connection3" /> | ||
</dbal> | ||
</config> | ||
|
||
<srv:services> | ||
<srv:service id="well_known_filter" alias="doctrine.dbal.well_known_schema_asset_filter" public="true" /> | ||
<srv:service id="symfony.session" class="Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler"> | ||
<srv:argument /> | ||
<srv:argument type="collection"> | ||
<srv:argument key="db_table">app_session</srv:argument> | ||
</srv:argument> | ||
</srv:service> | ||
</srv:services> | ||
</srv:container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...DependencyInjection/Fixtures/config/yml/well_known_schema_filter_default_tables_cache.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
doctrine: | ||
dbal: | ||
default_connection: connection1 | ||
connections: | ||
connection1: | ||
schema_filter: ~^(?!t_)~ | ||
connection2: [] | ||
connection3: [] | ||
|
||
services: | ||
well_known_filter: | ||
alias: 'doctrine.dbal.well_known_schema_asset_filter' | ||
public: true | ||
|
||
symfony.cache: | ||
class: 'Symfony\Component\Cache\Adapter\PdoAdapter' |
Oops, something went wrong.