Branch: refs/heads/XCOMMONS-2921
Home:
https://github.com/xwiki/xwiki-commons
Commit: 81780280318fffd90fb9afe7238c5d590817391d
https://github.com/xwiki/xwiki-commons/commit/81780280318fffd90fb9afe7238c5…
Author: Marius Dumitru Florea <marius(a)xwiki.com>
Date: 2024-01-31 (Wed, 31 Jan 2024)
Changed paths:
M
xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/pom.xml
M
xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/src/main/java/org/xwiki/configuration/ConfigurationSource.java
A
xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/src/main/java/org/xwiki/configuration/TemporaryConfigurationExecutor.java
A
xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/src/main/java/org/xwiki/configuration/internal/AbstractMemoryConfigurationSource.java
A
xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/src/main/java/org/xwiki/configuration/internal/DefaultTemporaryConfigurationExecutor.java
A
xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/src/main/java/org/xwiki/configuration/internal/ExecutionContextConfigurationSource.java
M
xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/src/main/java/org/xwiki/configuration/internal/MemoryConfigurationSource.java
M
xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/src/main/resources/META-INF/components.txt
A
xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/src/test/java/org/xwiki/configuration/internal/DefaultTemporaryConfigurationExecutorTest.java
A
xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/src/test/java/org/xwiki/configuration/internal/ExecutionContextConfigurationSourceTest.java
Log Message:
-----------
XCOMMONS-2921: Add support for overwritting the configuration from the execution
context
* Implement a new "executionContext" configuration source
* Add ConfigurationSource#removeProperty()
* Add a helper to execute some code with modified configuration.