Feature #37854

Refactor ConfigurationManager to Support Custom Configuration Files

Added by Marc Neuhaus about 3 years ago. Updated over 2 years ago.

Status:Resolved Start date:2012-06-08
Priority:Must have Due date:
Assigned To:Marc Neuhaus % Done:

100%

Category:Configuration
Target version:TYPO3 Flow Base Distribution - 2.1
PHP Version: Complexity:
Has patch:No

Description

The ConfigurationManager should be capable to handle custom Configuration Files for cases like

ContentObjects.yaml for the TYPO3.TYPO3CR Package
Assets.yaml for the TYPO3.Asset Package

Associated revisions

Revision 8378b191
Added by Marc Neuhaus over 2 years ago

[FEATURE] Allow custom custom configuration files in ConfigurationManager

Using the added methods it is possible to register new "types" of
configuration. The set of processing types remains constant, but one
can now e.g. register "Assets" as configuration type and use the
"Settings" processing rule for that. This way it it possible to move
settings for assets into a dedicated file, "Assets.yaml".

The change adds

- resolveConfigurationProcessingType() method
- registerConfigurationType() method
- 2 tests to add a new ConfigurationType
- emitConfigurationManagerReady() to register new ConfigurationTypes during boot

Change-Id: I16b1de8e7c3ec826240c273a87c5e2a095815a86
Resolves: #37854
Releases: master

Revision 9c5e31b6
Added by Karsten Dambekalns over 2 years ago

[TASK] Add custom configuration types documentation

In change I16b1de8e7c3ec826240c273a87c5e2a095815a86 the option to use
custom configuration types was added.

This change adds the missing documentation for that feature.

Change-Id: Id19f05b6b3105900c3cc9e8f5dd29c9dc0a1dc8e
Related: #37854
Releases: master

Revision fae1b9d9
Added by Karsten Dambekalns over 2 years ago

[FEATURE] Allow split configuration sources

With this change it is possible to allow split configuration sources
when defining a custom configuration type. This allows to use multiple
YAML for a type (when using the bundled YamlSource), which will be
merged together.

Change-Id: Ifb957d182fe8d2f417f5ff1f695215df9666d287
Related: #37854
Releases: 2.0, master

Revision 78078564
Added by Marc Neuhaus over 2 years ago

[FEATURE] Allow custom custom configuration files in ConfigurationManager

Using the added methods it is possible to register new "types" of
configuration. The set of processing types remains constant, but one
can now e.g. register "Assets" as configuration type and use the
"Settings" processing rule for that. This way it it possible to move
settings for assets into a dedicated file, "Assets.yaml".

The change adds

- resolveConfigurationProcessingType() method
- registerConfigurationType() method
- 2 tests to add a new ConfigurationType
- emitConfigurationManagerReady() to register new ConfigurationTypes during boot

Change-Id: I16b1de8e7c3ec826240c273a87c5e2a095815a86
Resolves: #37854
Releases: 2.0, master

Revision b783aec9
Added by Karsten Dambekalns over 2 years ago

[FEATURE] Allow split configuration sources

With this change it is possible to allow split configuration sources
when defining a custom configuration type. This allows to use multiple
YAML for a type (when using the bundled YamlSource), which will be
merged together.

Change-Id: Ifb957d182fe8d2f417f5ff1f695215df9666d287
Related: #37854
Releases: 2.0, master

Revision fb2fc011
Added by Aske Ertmann over 1 year ago

[FEATURE] Split configuration sources include non-split default

This change changes the behavior of split configuration sources to
include the default non-prefixed source as a fallback for increased
flexibility, allowing some packages to have split sources and others
to have a single source.

Also a check in the has method is made more strict.

Change-Id: I60c1b40c291b184d22f290c1ffcd02e43fe493a8
Related: #37854
Releases: master, 2.2

Revision d9d1fd03
Added by Aske Ertmann over 1 year ago

[FEATURE] Split configuration sources include non-split default

This change changes the behavior of split configuration sources to
include the default non-prefixed source as a fallback for increased
flexibility, allowing some packages to have split sources and others
to have a single source.

Also a check in the has method is made more strict.

Change-Id: I60c1b40c291b184d22f290c1ffcd02e43fe493a8
Related: #37854
Releases: master, 2.2

History

#1 Updated by Gerrit Code Review about 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11982

#2 Updated by Gerrit Code Review about 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11982

#3 Updated by Karsten Dambekalns about 3 years ago

  • Category set to Configuration
  • Assigned To set to Marc Neuhaus
  • Target version set to 2.0 beta 1

#4 Updated by Gerrit Code Review about 3 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11982

#5 Updated by Gerrit Code Review over 2 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11982

#6 Updated by Gerrit Code Review over 2 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11982

#7 Updated by Gerrit Code Review over 2 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11982

#8 Updated by Gerrit Code Review over 2 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11982

#9 Updated by Gerrit Code Review over 2 years ago

Patch set 8 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11982

#10 Updated by Gerrit Code Review over 2 years ago

Patch set 9 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11982

#11 Updated by Gerrit Code Review over 2 years ago

Patch set 10 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11982

#12 Updated by Karsten Dambekalns over 2 years ago

  • Target version changed from 2.0 beta 1 to 2.1

#13 Updated by Gerrit Code Review over 2 years ago

Patch set 11 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/11982

#14 Updated by Gerrit Code Review over 2 years ago

Patch set 12 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/11982

#15 Updated by Anonymous over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#16 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19780

#17 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19780

#18 Updated by Anonymous over 2 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF