Presenter: Aleksandr Pchelintcev
Questions:
- What is observed in the JCR config workspace, and what not
- answer: all in config ws is observed
- if it is not working: report a bug
How config works:
Configuration are resources, there are two different types
- JCR based
- YAML based
The resource module reads the resources. The UI frameworks makes sure, definition items defined in these resources are added to its correspondent registry.
On module startup of UI frameworks
- The process to scan and register for resources which configure items is initiated.
- The cfg resource is is read / parsed and a bean is instantiated.
- The bean is added to the correspondent registry.
- Resources are observed (both YAML and JCR)
- changes on resources re-trigger the process (1-3)
Do you want to create a custom resource "mechanism"?
- Create your own implementation of $webResourceManager.requireResource("info.magnolia.sys.confluence.artifact-info-plugin:javadoc-resource-macro-resources") AbstractFileResourceConfigurationSource.
Use the Definitions app to see whether your definitions have "problems".
Decoration
See Definition decoration - handy way to "customize" / change existing definition items.
Feature request
Code based configuration definition supplemented by DSL builder (Andrey Zavodnik).
Configuration by code
See Configuration by code via generated builder DSL.
What about the YAML extends?
- There is already YAML includes - which will change slightly (see The include mechanism).
- Extends will come at some point ...
- JIRA
- MAGNOLIA-7060 - Getting issue details... STATUS
- MAGNOLIA-6664 - Getting issue details... STATUS
..
