You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (Jira)" <ji...@apache.org> on 2023/05/19 10:45:00 UTC
[jira] [Closed] (SLING-11839) caconfig-mock-plugin: Support writing nested configurations and configuration collections
[ https://issues.apache.org/jira/browse/SLING-11839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert closed SLING-11839.
----------------------------------
> caconfig-mock-plugin: Support writing nested configurations and configuration collections
> -----------------------------------------------------------------------------------------
>
> Key: SLING-11839
> URL: https://issues.apache.org/jira/browse/SLING-11839
> Project: Sling
> Issue Type: New Feature
> Components: Testing
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Priority: Major
> Fix For: Context-Aware Configuration Mock Plugin 1.5.0
>
>
> currently it's quite cumbersome to persist nested context-aware configurations in unit tests, as the helper methods in MockContextAwareConfig.writeConfiguration* only support writing single configurations and configurations lists without nested structures.
> without changing the API signatures of those, it should be supported that the maps passed to this helper methods contain:
> * nested maps which are persisted as nested configurations with the given key
> * nested lists with maps with are persisted as nested configuration lists with the given key
--
This message was sent by Atlassian Jira
(v8.20.10#820010)