Commit 8acb1d49 authored by Oscar Scholten's avatar Oscar Scholten

ARCHE-550 Add AutoExport settings for residual node categories

- added patterns for injecting and overriding residual child node categories
- also changed the workspace/channel node to use .meta:residual-child-node-category rather than .meta:category as all other channel nodes will use that pattern
- changed the configuration for autoexport:enabled and autoexport:modules to normal properties rather than overrides, as they only need to set the values
parent ffc8a7e0
......@@ -2,11 +2,32 @@ definitions:
config:
/hippo:configuration/hippo:modules/autoexport:
/hippo:moduleconfig:
autoexport:enabled:
operation: override
type: boolean
value: true
autoexport:modules:
operation: override
type: string
value: ['repository-data/config:/']
autoexport:enabled: true
autoexport:modules: ['repository-data/config:/']
autoexport:injectresidualchildnodecategory: [
'**/hst:workspace/**[hst:containercomponent]: content',
'**/hst:workspace/**[hst:sitemenu]: content',
'**/hst:workspace/hst:abstractpages: content',
'**/hst:workspace/hst:channel: content',
'**/hst:workspace/hst:components: content',
'**/hst:workspace/hst:pages: content',
'**/hst:workspace/hst:sitemap: content',
'**/hst:workspace/hst:templates: content',
'/hst:hst/hst:hosts/**[hst:virtualhostgroup]: content',
'/hst:hst/hst:hosts/**[hst:virtualhost]: content',
'/hst:hst/hst:hosts/**[hst:mount]: content']
autoexport:overrideresidualchildnodecategory: [
'/hst:hst/hst:configurations: config',
'/hst:hst/hst:hosts: config',
'/hst:hst/hst:hosts/*: config',
'/hst:hst/hst:hosts/*/*: config',
'/hst:hst/hst:hosts/*/*/*: config',
'/hst:hst/hst:hosts/*/*/*/*: config',
'/hst:hst/hst:hosts/*/*/*/*/*: config',
'/hst:hst/hst:hosts/*/*/*/*/*/*: config',
'/hst:hst/hst:hosts/*/*/*/*/*/*/*: config',
'/hst:hst/hst:hosts/*/*/*/*/*/*/*/*: config',
'/hst:hst/hst:hosts/*/*/*/*/*/*/*/*/*: config',
'/hst:hst/hst:hosts/*/*/*/*/*/*/*/*/*/*: config',
'/hst:hst/hst:hosts/*/*/*/*/*/*/*/*/*/*/*: config',
'/hst:hst/hst:hosts/*/*/*/*/*/*/*/*/*/*/*/*: config']
......@@ -6,8 +6,7 @@
definitions:
config:
/hst:hst/hst:configurations/${rootArtifactId.replace($hyphen,$empty)}/hst:workspace/hst:channel:
.meta:residual-child-node-category: content
jcr:primaryType: hst:channel
hst:name: ${projectName}
hst:type: website
/hst:channelinfo:
.meta:category: content
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment