This is an automated email from the ASF dual-hosted git repository. dklco pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git
commit cd245f9e24d99218877bc62d9670d84d4e01745f Author: Dan Klco <[email protected]> AuthorDate: Thu Dec 17 09:46:17 2020 -0500 Moving configurations to Sling Feature model --- feature/src/main/features/app/cms.json | 432 --------------------- feature/src/main/features/cms/cms.json | 277 +++++++++++++ .../src/main/features/{app => cms}/composum.json | 0 feature/src/main/features/cms/dependencies.json | 251 ++++++++++++ feature/src/main/features/cms/healthchecks.json | 68 ++++ ...adability.impl.ReadabilityServiceImpl-en.config | 24 -- ....internal.ResourceEditorAssociation-auth.config | 20 - ...nal.ResourceEditorAssociation-confbucket.config | 20 - ...al.ResourceEditorAssociation-confbuckets.config | 20 - ...ernal.ResourceEditorAssociation-confedit.config | 20 - ...ernal.ResourceEditorAssociation-confroot.config | 20 - ....internal.ResourceEditorAssociation-site.config | 21 - ...al.ResourceEditorAssociation-sitecontent.config | 21 - ...internal.ResourceEditorAssociation-sites.config | 22 -- ...nternal.ResourceEditorAssociation-static.config | 20 - ...ernal.ResourceEditorAssociation-taxonomy.config | 20 - ...e.internal.ResourceEditorAssociation-ugc.config | 20 - ...nal.repository.DataStoreCleanupScheduler.config | 19 - ...rnal.repository.RevisionCleanupScheduler.config | 19 - ...riter.ReferenceMappingTransformerFactory.config | 20 - ...ling.engine.impl.auth.SlingAuthenticator.config | 19 - ...g.event.jobs.QueueConfiguration-cmsqueue.config | 29 -- ...hitelist.fragment-serviceuser-webconsole.config | 20 - ...inAdminWhitelist.fragment-sling-cms-core.config | 20 - ....internal.JcrResourceResolverFactoryImpl.config | 39 -- 25 files changed, 596 insertions(+), 865 deletions(-) diff --git a/feature/src/main/features/app/cms.json b/feature/src/main/features/app/cms.json deleted file mode 100644 index e27bf5e..0000000 --- a/feature/src/main/features/app/cms.json +++ /dev/null @@ -1,432 +0,0 @@ -{ - "bundles": [ - { - "id": "com.github.livesense:org.liveSense.fragment.sun.misc:1.0.5", - "start-order": "5" - }, - { - "id": "org.apache.sling:org.apache.sling.launchpad.api:1.2.0", - "start-order": "5" - }, - { - "id": "org.apache.sling:org.apache.sling.launchpad.startupmanager:1.0.0", - "start-order": "5" - }, - { - "id": "org.apache.sling:org.apache.sling.cms.api:${cms-version}", - "start-order": "20" - }, - { - "id": "org.apache.sling:org.apache.sling.cms.ui:${cms-version}", - "start-order": "20" - }, - { - "id": "com.vladsch.flexmark:flexmark-osgi:0.62.2", - "start-order": "15" - }, - { - "id": "org.apache.cocoon:cocoon-serializers-charsets:${cocoon-serializers-charsets-version}", - "start-order": "15" - }, - { - "id": "org.apache.commons:commons-compress:1.20", - "start-order": "15" - }, - { - "id": "org.apache.commons:commons-csv:1.8", - "start-order": "15" - }, - { - "id": "org.apache.commons:commons-email:1.5", - "start-order": "15" - }, - { - "id": "org.apache.commons:commons-math3:3.6.1", - "start-order": "15" - }, - { - "id": "org.apache.jackrabbit:oak-auth-external:${oak-version}", - "start-order": "15" - }, - { - "id": "org.apache.jackrabbit:oak-auth-ldap:${oak-version}", - "start-order": "15" - }, - { - "id": "org.apache.servicemix.bundles:org.apache.servicemix.bundles.xmlbeans:3.1.0_2", - "start-order": "15" - }, - { - "id": "org.apache.sling:org.apache.sling.fileoptim:${org-apache-sling-fileoptim-version}", - "start-order": "20" - }, - { - "id": "org.apache.sling:org.apache.sling.resourcemerger:1.3.10", - "start-order": "15" - }, - { - "id": "org.jsoup:jsoup:${jsoup-version}", - "start-order": "15" - }, - { - "id": "com.sun.mail:javax.mail:1.6.2", - "start-order": "15" - }, - { - "id": "org.apache.commons:commons-text:${commons-text-version}", - "start-order": "15" - }, - { - "id": "org.apache.servicemix.bundles:org.apache.servicemix.bundles.jasypt:1.9.3_1", - "start-order": "15" - }, - { - "id": "org.apache.servicemix.bundles:org.apache.servicemix.bundles.poi:4.1.2_2", - "start-order": "15" - }, - { - "id": "org.apache.sling:org.apache.sling.cms.core:${cms-version}", - "start-order": "20" - }, - { - "id": "org.apache.sling:org.apache.sling.cms.reference:${cms-version}", - "start-order": "20" - }, - { - "id": "org.apache.sling:org.apache.sling.cms.transformer:${cms-version}", - "start-order": "20" - }, - { - "id": "org.apache.sling:org.apache.sling.cms.login:${cms-version}", - "start-order": "20" - }, - { - "id": "org.apache.sling:org.apache.sling.commons.crypto:1.0.0", - "start-order": "15" - }, - { - "id": "org.apache.sling:org.apache.sling.commons.html:1.1.0", - "start-order": "15" - }, - { - "id": "org.apache.sling:org.apache.sling.commons.messaging.mail:1.0.0", - "start-order": "15" - }, - { - "id": "org.apache.sling:org.apache.sling.commons.messaging:1.0.0", - "start-order": "15" - }, - { - "id": "org.apache.sling:org.apache.sling.rewriter:1.2.2", - "start-order": "15" - }, - { - "id": "org.ow2.asm:asm:9.0", - "start-order": "15" - }, - { - "id": "org.ow2.asm:asm-analysis:9.0", - "start-order": "15" - }, - { - "id": "org.ow2.asm:asm-commons:9.0", - "start-order": "15" - }, - { - "id": "org.ow2.asm:asm-tree:9.0", - "start-order": "15" - }, - { - "id": "org.ow2.asm:asm-util:9.0", - "start-order": "15" - }, - { - "id": "org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.3.2", - "start-order": "15" - }, - { - "id": "org.apache.tika:tika-bundle:${tika-version}", - "start-order": "15" - }, - { - "id": "org.codehaus.groovy:groovy:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-ant:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-astbuilder:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-cli-picocli:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-console:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-datetime:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-docgenerator:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-groovydoc:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-groovysh:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-jmx:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-json:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-jsr223:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-macro:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-nio:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-servlet:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-sql:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-swing:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-templates:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-test:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-test-junit5:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-testng:${groovy-version}", - "start-order": "20" - }, - { - "id": "org.codehaus.groovy:groovy-xml:${groovy-version}", - "start-order": "20" - } - ], - "configurations": { - "org.apache.sling.servlets.get.DefaultGetServlet": { - "index.files": [ - "index", - "index.html" - ], - "aliases": [ - "" - ], - "enable.html": false, - "json.maximumresults:Integer": "200", - "enable.txt": false, - "enable.xml": false, - "index": false, - "enable.json": true, - "ecmaSuport": true - }, - "org.apache.felix.hc.generalchecks.JmxAttributeCheck~index": { - "mbean.name": "org.apache.jackrabbit.oak:name=async,type=IndexStats", - "hc.tags": [ - "oak", - "system-resources" - ], - "hc.name": "Jackrabbit Oak - Index", - "attribute.value.constraint": "false", - "attribute.name": "Failing", - "statusForFailedContraint": "CRITICAL" - }, - "org.apache.felix.hc.generalchecks.JmxAttributeCheck~jobqueue": { - "mbean.name": "org.apache.sling:type=queues,name=AllQueues", - "hc.tags": [ - "sling", - "system-resources" - ], - "hc.name": "Sling - Job Queue", - "attribute.value.constraint": "< 1000", - "attribute.name": "NumberOfQueuedJobs", - "statusForFailedContraint": "WARN" - }, - "org.apache.felix.hc.generalchecks.JmxAttributeCheck~luceneindex": { - "mbean.name": "org.apache.jackrabbit.oak:name=Lucene Index statistics,type=LuceneIndex", - "hc.tags": [ - "oak", - "system-resources" - ], - "hc.name": "Jackrabbit Oak - Lucene Index", - "attribute.value.constraint": "false", - "attribute.name": "Failing", - "statusForFailedContraint": "CRITICAL" - }, - "org.apache.felix.hc.generalchecks.JmxAttributeCheck~requestdurationcritical": { - "mbean.name": "org.apache.sling:type=engine,service=RequestProcessor", - "hc.tags": [ - "sling", - "system-resources" - ], - "hc.name": "Sling - StdDev Request Duration (CRITICAL)", - "attribute.value.constraint": "matches (1|2|3|4)?\\d?\\d\\..*", - "attribute.name": "StandardDeviationDurationMsec", - "statusForFailedContraint": "CRITICAL" - }, - "org.apache.felix.hc.generalchecks.JmxAttributeCheck~requestdurationwarn": { - "mbean.name": "org.apache.sling:type=engine,service=RequestProcessor", - "hc.tags": [ - "sling", - "system-resources" - ], - "hc.name": "Sling - StdDev Request Duration (WARN)", - "attribute.value.constraint": "matches (1)?\\d?\\d\\..*", - "attribute.name": "StandardDeviationDurationMsec", - "statusForFailedContraint": "WARN" - }, - "org.apache.sling.hc.support.DefaultLoginsHealthCheck~slingcms": { - "logins": [ - "admin:admin" - ], - "hc.tags": [ - "configuration" - ], - "hc.name": "Sling CMS - Default Logins Check" - }, - "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-cms-error": { - "user.mapping": [ - "org.apache.sling.cms.core:sling-cms-error=sling-cms-error", - "org.apache.sling.models.impl:sling-cms-error=sling-cms-error" - ] - }, - "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-cms-metadata": { - "user.mapping": [ - "org.apache.sling.cms.core:sling-cms-metadata=sling-cms-metadata" - ] - }, - "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-cms-transformer": { - "user.mapping": [ - "org.apache.sling.cms.transformer:sling-cms-transformer=sling-cms-transformer" - ] - }, - "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-cms-ugc": { - "user.mapping": [ - "org.apache.sling.cms.core:sling-cms-ugc=sling-cms-ugc" - ] - }, - "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-cms-versionmgr": { - "user.mapping": [ - "org.apache.sling.cms.core:sling-cms-versionmgr=sling-cms-versionmgr" - ] - }, - "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling.rewriter": { - "user.mapping": [ - "org.apache.sling.rewriter=sling-rewriter" - ] - } - }, - "repoinit:TEXT|true": [ - "", - "# CMS root paths", - "create path (sling:OrderedFolder) /etc/i18n", - "set ACL for everyone", - "allow jcr:read\ton /etc/i18n", - "end", - "create path (sling:OrderedFolder) /etc/taxonomy", - "set ACL for everyone", - "allow jcr:read\ton /etc/taxonomy", - "end", - "create path (sling:OrderedFolder) /static", - "set ACL for everyone", - "allow jcr:read\ton /static", - "end", - "create path (sling:OrderedFolder) /conf", - "set ACL for everyone", - "allow jcr:read\ton /conf", - "end", - "create path (sling:OrderedFolder) /content", - "create path (sling:OrderedFolder) /etc/usergenerated", - "set ACL for everyone", - "allow jcr:read on /etc/usergenerated", - "end", - "", - "# Groups", - "create path (rep:AuthorizableFolder) /home/groups", - "create path (rep:AuthorizableFolder) /home/groups/sling-cms", - "create group administrators with path sling-cms", - "set ACL for administrators", - "allow jcr:all on /", - "end", - "create group authors with path sling-cms", - "set ACL for authors", - "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /content", - "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /static", - "allow jcr:read on /", - "end", - "create group job-users with path sling-cms", - "create group taxonomy-users with path sling-cms", - "set ACL for taxonomy-users", - "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /etc/taxonomy", - "end", - "create group ugc-users with path sling-cms", - "set ACL for ugc-users", - "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /etc/usergenerated", - "end", - "", - "# Service users", - "create service user sling-cms-error", - "set ACL for sling-cms-error", - "allow\tjcr:read\ton /", - "end", - "create service user sling-cms-metadata", - "set ACL for sling-cms-metadata", - "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /content", - "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /static", - "allow jcr:read on /", - "end", - "create service user sling-cms-transformer", - "set ACL for sling-cms-transformer", - "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /content", - "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /static", - "allow jcr:read on /", - "end", - "create service user sling-rewriter", - "set ACL for sling-rewriter", - "allow jcr:read on /", - "end", - "create service user sling-cms-ugc", - "set ACL for sling-cms-ugc", - "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /etc/usergenerated", - "end", - "create service user sling-cms-versionmgr", - "set ACL for sling-cms-versionmgr", - "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /", - "allow jcr:read on /jcr:system/jcr:versionStorage", - "end" - ] -} \ No newline at end of file diff --git a/feature/src/main/features/cms/cms.json b/feature/src/main/features/cms/cms.json new file mode 100644 index 0000000..5644ea1 --- /dev/null +++ b/feature/src/main/features/cms/cms.json @@ -0,0 +1,277 @@ +{ + "bundles": [ + { + "id": "org.apache.sling:org.apache.sling.cms.api:${cms-version}", + "start-order": "20" + }, + { + "id": "org.apache.sling:org.apache.sling.cms.ui:${cms-version}", + "start-order": "20" + }, + { + "id": "org.apache.sling:org.apache.sling.cms.core:${cms-version}", + "start-order": "20" + }, + { + "id": "org.apache.sling:org.apache.sling.cms.reference:${cms-version}", + "start-order": "20" + }, + { + "id": "org.apache.sling:org.apache.sling.cms.transformer:${cms-version}", + "start-order": "20" + }, + { + "id": "org.apache.sling:org.apache.sling.cms.login:${cms-version}", + "start-order": "20" + } + ], + "configurations": { + "org.apache.sling.cms.core.internal.repository.DataStoreCleanupScheduler": { + "scheduler.expression": "0 31 1 ? * SUN *" + }, + "org.apache.sling.cms.core.internal.repository.RevisionCleanupScheduler": { + "scheduler.expression": "0 31 1 ? * SUN *" + }, + "org.apache.sling.cms.core.internal.ResourceEditorAssociation~auth": { + "pathPattern": "/home.*", + "editor": "/cms/auth/list.html" + }, + "org.apache.sling.cms.core.internal.ResourceEditorAssociation~confbucket": { + "pathPattern": "\\/conf\\/[\\w\\d\\-_]+\\/[\\w\\d\\-_]+", + "editor": "/cms/config/bucket.html" + }, + "org.apache.sling.cms.core.internal.ResourceEditorAssociation~confbuckets": { + "pathPattern": "\\/conf\\/[\\w\\d\\-_]+", + "editor": "/cms/config/buckets.html" + }, + "org.apache.sling.cms.core.internal.ResourceEditorAssociation~confedit": { + "pathPattern": "\\/conf\\/[\\w\\d\\-_]+\\/[\\w\\d\\-_]+\\/.+", + "editor": "/cms/config/edit.html" + }, + "org.apache.sling.cms.core.internal.ResourceEditorAssociation~confroot": { + "pathPattern": "\\/conf", + "editor": "/cms/config/configs.html" + }, + "org.apache.sling.cms.core.internal.ResourceEditorAssociation~site": { + "pathPattern": "\\/content.*", + "editor": "/cms/site/content.html", + "resourceType": "sling:Site" + }, + "org.apache.sling.cms.core.internal.ResourceEditorAssociation~sitecontent": { + "pathPattern": "\\/content.*", + "editor": "/cms/site/content.html", + "parentType": "sling:Site" + }, + "org.apache.sling.cms.core.internal.ResourceEditorAssociation~sites": { + "pathPattern": "\\/content.*", + "editor": "/cms/site/sites.html", + "resourceType": "sling:OrderedFolder", + "service.ranking": 1 + }, + "org.apache.sling.cms.core.internal.ResourceEditorAssociation~static": { + "pathPattern": "\\/static.*", + "editor": "/cms/static/content.html" + }, + "org.apache.sling.cms.core.internal.ResourceEditorAssociation~taxonomy": { + "pathPattern": "\\/etc\\/taxonomy.*", + "editor": "/cms/taxonomy/list.html" + }, + "org.apache.sling.cms.core.internal.ResourceEditorAssociation~ugc": { + "pathPattern": "\\/etc\\/usergenerated.*", + "editor": "/cms/usergenerated/content.html" + }, + "org.apache.sling.cms.core.internal.rewriter.ReferenceMappingTransformerFactory": { + "mappedAttributes": [ + "action", + "href", + "src" + ], + "enabledPaths": [ + "/content" + ] + }, + "org.apache.sling.cms.core.readability.impl.ReadabilityServiceImpl~en": { + "locale": "en", + "extraVowelExpression": ".+y$", + "vowelExpression": "a|e|i|o|u", + "isWordExpression": "[a-zA-Z]*", + "wordstems": [ + "es", + "ed", + "ing", + "e" + ], + "complexityMin": 3 + }, + "org.apache.sling.engine.impl.auth.SlingAuthenticator": { + "sling.auth.requirements": [ + "/bin", + "/cms", + "/libs", + "/apps", + "/etc", + "/home", + "/var" + ] + }, + "org.apache.sling.event.jobs.QueueConfiguration~cmsqueue": { + "queue.name": "Sling CMS Jobs", + "queue.priority": "NORM", + "queue.maxparallel": 4624633867356078080, + "queue.topics": [ + "cmsjob/*" + ], + "queue.retries": "10", + "queue.preferRunOnCreationInstance": true, + "queue.threadPoolSize": 0, + "queue.retrydelay": 2000, + "service.ranking": 0, + "queue.type": "UNORDERED", + "queue.keepJobs": true + }, + "org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl": { + "resource.resolver.required.providernames": [ + "JCR" + ], + "resource.resolver.manglenamespaces": true, + "resource.resolver.optimize.alias.resolution": true, + "resource.resolver.vanitypath.blacklist": [ + "" + ], + "resource.resolver.vanity.precedence": false, + "resource.resolver.vanitypath.maxEntries": -1, + "resource.resolver.required.providers": [ + "" + ], + "resource.resolver.enable.vanitypath": true, + "resource.resolver.providerhandling.paranoid": false, + "resource.resolver.allowDirect": true, + "resource.resolver.mapping": [ + "/:/", + "/content/:/", + "/system/docroot/:/", + "/mnt/overlay/sling-cms/content:/cms" + ], + "resource.resolver.vanitypath.whitelist": [ + "" + ], + "resource.resolver.map.location": "/etc/map", + "resource.resolver.vanitypath.maxEntries.startup": true, + "resource.resolver.map.observation": [ + "/" + ], + "resource.resolver.default.vanity.redirect.status": 302, + "resource.resolver.vanitypath.bloomfilter.maxBytes": 1024000, + "resource.resolver.searchpath": [ + "/apps", + "/libs" + ], + "resource.resolver.log.unclosed": true, + "resource.resolver.log.closing": false, + "resource.resolver.virtual": [ + "/:/" + ] + }, + "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-cms-error": { + "user.mapping": [ + "org.apache.sling.cms.core:sling-cms-error=sling-cms-error", + "org.apache.sling.models.impl:sling-cms-error=sling-cms-error" + ] + }, + "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-cms-metadata": { + "user.mapping": [ + "org.apache.sling.cms.core:sling-cms-metadata=sling-cms-metadata" + ] + }, + "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-cms-transformer": { + "user.mapping": [ + "org.apache.sling.cms.transformer:sling-cms-transformer=sling-cms-transformer" + ] + }, + "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-cms-ugc": { + "user.mapping": [ + "org.apache.sling.cms.core:sling-cms-ugc=sling-cms-ugc" + ] + }, + "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-cms-versionmgr": { + "user.mapping": [ + "org.apache.sling.cms.core:sling-cms-versionmgr=sling-cms-versionmgr" + ] + } + }, + "repoinit:TEXT|true": [ + "", + "# CMS root paths", + "create path (sling:OrderedFolder) /etc/i18n", + "set ACL for everyone", + "allow jcr:read\ton /etc/i18n", + "end", + "create path (sling:OrderedFolder) /etc/taxonomy", + "set ACL for everyone", + "allow jcr:read\ton /etc/taxonomy", + "end", + "create path (sling:OrderedFolder) /static", + "set ACL for everyone", + "allow jcr:read\ton /static", + "end", + "create path (sling:OrderedFolder) /conf", + "set ACL for everyone", + "allow jcr:read\ton /conf", + "end", + "create path (sling:OrderedFolder) /content", + "create path (sling:OrderedFolder) /etc/usergenerated", + "set ACL for everyone", + "allow jcr:read on /etc/usergenerated", + "end", + "", + "# Groups", + "create path (rep:AuthorizableFolder) /home/groups", + "create path (rep:AuthorizableFolder) /home/groups/sling-cms", + "create group administrators with path sling-cms", + "set ACL for administrators", + "allow jcr:all on /", + "end", + "create group authors with path sling-cms", + "set ACL for authors", + "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /content", + "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /static", + "allow jcr:read on /", + "end", + "create group job-users with path sling-cms", + "create group taxonomy-users with path sling-cms", + "set ACL for taxonomy-users", + "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /etc/taxonomy", + "end", + "create group ugc-users with path sling-cms", + "set ACL for ugc-users", + "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /etc/usergenerated", + "end", + "", + "# Service users", + "create service user sling-cms-error", + "set ACL for sling-cms-error", + "allow\tjcr:read\ton /", + "end", + "create service user sling-cms-metadata", + "set ACL for sling-cms-metadata", + "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /content", + "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /static", + "allow jcr:read on /", + "end", + "create service user sling-cms-transformer", + "set ACL for sling-cms-transformer", + "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /content", + "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /static", + "allow jcr:read on /", + "end", + "create service user sling-cms-ugc", + "set ACL for sling-cms-ugc", + "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /etc/usergenerated", + "end", + "create service user sling-cms-versionmgr", + "set ACL for sling-cms-versionmgr", + "allow jcr:write,jcr:nodeTypeManagement,jcr:versionManagement on /", + "allow jcr:read on /jcr:system/jcr:versionStorage", + "end" + ] +} \ No newline at end of file diff --git a/feature/src/main/features/app/composum.json b/feature/src/main/features/cms/composum.json similarity index 100% rename from feature/src/main/features/app/composum.json rename to feature/src/main/features/cms/composum.json diff --git a/feature/src/main/features/cms/dependencies.json b/feature/src/main/features/cms/dependencies.json new file mode 100644 index 0000000..626b817 --- /dev/null +++ b/feature/src/main/features/cms/dependencies.json @@ -0,0 +1,251 @@ +{ + "bundles": [ + { + "id": "com.github.livesense:org.liveSense.fragment.sun.misc:1.0.5", + "start-order": "5" + }, + { + "id": "org.apache.sling:org.apache.sling.launchpad.api:1.2.0", + "start-order": "5" + }, + { + "id": "org.apache.sling:org.apache.sling.launchpad.startupmanager:1.0.0", + "start-order": "5" + }, + { + "id": "com.vladsch.flexmark:flexmark-osgi:0.62.2", + "start-order": "15" + }, + { + "id": "org.apache.cocoon:cocoon-serializers-charsets:${cocoon-serializers-charsets-version}", + "start-order": "15" + }, + { + "id": "org.apache.commons:commons-compress:1.20", + "start-order": "15" + }, + { + "id": "org.apache.commons:commons-csv:1.8", + "start-order": "15" + }, + { + "id": "org.apache.commons:commons-email:1.5", + "start-order": "15" + }, + { + "id": "org.apache.commons:commons-math3:3.6.1", + "start-order": "15" + }, + { + "id": "org.apache.jackrabbit:oak-auth-external:${oak-version}", + "start-order": "15" + }, + { + "id": "org.apache.jackrabbit:oak-auth-ldap:${oak-version}", + "start-order": "15" + }, + { + "id": "org.apache.servicemix.bundles:org.apache.servicemix.bundles.xmlbeans:3.1.0_2", + "start-order": "15" + }, + { + "id": "org.apache.sling:org.apache.sling.fileoptim:${org-apache-sling-fileoptim-version}", + "start-order": "20" + }, + { + "id": "org.apache.sling:org.apache.sling.resourcemerger:1.3.10", + "start-order": "15" + }, + { + "id": "org.jsoup:jsoup:${jsoup-version}", + "start-order": "15" + }, + { + "id": "com.sun.mail:javax.mail:1.6.2", + "start-order": "15" + }, + { + "id": "org.apache.commons:commons-text:${commons-text-version}", + "start-order": "15" + }, + { + "id": "org.apache.servicemix.bundles:org.apache.servicemix.bundles.jasypt:1.9.3_1", + "start-order": "15" + }, + { + "id": "org.apache.servicemix.bundles:org.apache.servicemix.bundles.poi:4.1.2_2", + "start-order": "15" + }, + { + "id": "org.apache.sling:org.apache.sling.commons.crypto:1.0.0", + "start-order": "15" + }, + { + "id": "org.apache.sling:org.apache.sling.commons.html:1.1.0", + "start-order": "15" + }, + { + "id": "org.apache.sling:org.apache.sling.commons.messaging.mail:1.0.0", + "start-order": "15" + }, + { + "id": "org.apache.sling:org.apache.sling.commons.messaging:1.0.0", + "start-order": "15" + }, + { + "id": "org.apache.sling:org.apache.sling.rewriter:1.2.2", + "start-order": "15" + }, + { + "id": "org.ow2.asm:asm:9.0", + "start-order": "15" + }, + { + "id": "org.ow2.asm:asm-analysis:9.0", + "start-order": "15" + }, + { + "id": "org.ow2.asm:asm-commons:9.0", + "start-order": "15" + }, + { + "id": "org.ow2.asm:asm-tree:9.0", + "start-order": "15" + }, + { + "id": "org.ow2.asm:asm-util:9.0", + "start-order": "15" + }, + { + "id": "org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.3.2", + "start-order": "15" + }, + { + "id": "org.apache.tika:tika-bundle:${tika-version}", + "start-order": "15" + }, + { + "id": "org.codehaus.groovy:groovy:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-ant:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-astbuilder:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-cli-picocli:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-console:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-datetime:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-docgenerator:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-groovydoc:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-groovysh:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-jmx:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-json:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-jsr223:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-macro:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-nio:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-servlet:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-sql:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-swing:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-templates:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-test:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-test-junit5:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-testng:${groovy-version}", + "start-order": "20" + }, + { + "id": "org.codehaus.groovy:groovy-xml:${groovy-version}", + "start-order": "20" + } + ], + "configurations": { + "org.apache.sling.servlets.get.DefaultGetServlet": { + "index.files": [ + "index", + "index.html" + ], + "aliases": [ + "" + ], + "enable.html": false, + "json.maximumresults:Integer": "200", + "enable.txt": false, + "enable.xml": false, + "index": false, + "enable.json": true, + "ecmaSuport": true + }, + "org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling.rewriter": { + "user.mapping": [ + "org.apache.sling.rewriter=sling-rewriter" + ] + }, + "org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment~serviceuser-webconsole": { + "whitelist.bundles": [ + "org.apache.sling.serviceuser.webconsole" + ], + "whitelist.name": "org.apache.sling.serviceuser.webconsole" + } + }, + "repoinit:TEXT|true": [ + "create service user sling-rewriter", + "set ACL for sling-rewriter", + "allow jcr:read on /", + "end" + ] +} \ No newline at end of file diff --git a/feature/src/main/features/cms/healthchecks.json b/feature/src/main/features/cms/healthchecks.json new file mode 100644 index 0000000..9aa7f53 --- /dev/null +++ b/feature/src/main/features/cms/healthchecks.json @@ -0,0 +1,68 @@ +{ + "configurations": { + "org.apache.felix.hc.generalchecks.JmxAttributeCheck~index": { + "mbean.name": "org.apache.jackrabbit.oak:name=async,type=IndexStats", + "hc.tags": [ + "oak", + "system-resources" + ], + "hc.name": "Jackrabbit Oak - Index", + "attribute.value.constraint": "false", + "attribute.name": "Failing", + "statusForFailedContraint": "CRITICAL" + }, + "org.apache.felix.hc.generalchecks.JmxAttributeCheck~jobqueue": { + "mbean.name": "org.apache.sling:type=queues,name=AllQueues", + "hc.tags": [ + "sling", + "system-resources" + ], + "hc.name": "Sling - Job Queue", + "attribute.value.constraint": "< 1000", + "attribute.name": "NumberOfQueuedJobs", + "statusForFailedContraint": "WARN" + }, + "org.apache.felix.hc.generalchecks.JmxAttributeCheck~luceneindex": { + "mbean.name": "org.apache.jackrabbit.oak:name=Lucene Index statistics,type=LuceneIndex", + "hc.tags": [ + "oak", + "system-resources" + ], + "hc.name": "Jackrabbit Oak - Lucene Index", + "attribute.value.constraint": "false", + "attribute.name": "Failing", + "statusForFailedContraint": "CRITICAL" + }, + "org.apache.felix.hc.generalchecks.JmxAttributeCheck~requestdurationcritical": { + "mbean.name": "org.apache.sling:type=engine,service=RequestProcessor", + "hc.tags": [ + "sling", + "system-resources" + ], + "hc.name": "Sling - StdDev Request Duration (CRITICAL)", + "attribute.value.constraint": "matches (1|2|3|4)?\\d?\\d\\..*", + "attribute.name": "StandardDeviationDurationMsec", + "statusForFailedContraint": "CRITICAL" + }, + "org.apache.felix.hc.generalchecks.JmxAttributeCheck~requestdurationwarn": { + "mbean.name": "org.apache.sling:type=engine,service=RequestProcessor", + "hc.tags": [ + "sling", + "system-resources" + ], + "hc.name": "Sling - StdDev Request Duration (WARN)", + "attribute.value.constraint": "matches (1)?\\d?\\d\\..*", + "attribute.name": "StandardDeviationDurationMsec", + "statusForFailedContraint": "WARN" + }, + "org.apache.sling.hc.support.DefaultLoginsHealthCheck~slingcms": { + "logins": [ + "admin:admin" + ], + "hc.tags": [ + "configuration" + ], + "hc.name": "Sling CMS - Default Logins Check" + } + } +} \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/config/org.apache.sling.cms.core.readability.impl.ReadabilityServiceImpl-en.config b/ui/src/main/resources/jcr_root/libs/sling-cms/config/org.apache.sling.cms.core.readability.impl.ReadabilityServiceImpl-en.config deleted file mode 100644 index dd77ed5..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/config/org.apache.sling.cms.core.readability.impl.ReadabilityServiceImpl-en.config +++ /dev/null @@ -1,24 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -locale="en" -extraVowelExpression=".+y$" -vowelExpression="a|e|i|o|u" -isWordExpression="[a-zA-Z]*" -wordstems=["es","ed","ing","e"] -complexityMin=I"3" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-auth.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-auth.config deleted file mode 100644 index 9188e1b..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-auth.config +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -pathPattern="\\/home.*" -editor="/cms/auth/list.html" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-confbucket.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-confbucket.config deleted file mode 100644 index 23fa083..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-confbucket.config +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -pathPattern="\\/conf\\/[\\w\\d\\-_]+\\/[\\w\\d\\-_]+" -editor="/cms/config/bucket.html" diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-confbuckets.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-confbuckets.config deleted file mode 100644 index 28705e4..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-confbuckets.config +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -pathPattern="\\/conf\\/[\\w\\d\-_]+" -editor="/cms/config/buckets.html" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-confedit.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-confedit.config deleted file mode 100644 index 9269f4e..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-confedit.config +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -pathPattern="\\/conf\\/[\\w\\d\\-_]+\\/[\\w\\d\\-_]+\\/.+" -editor="/cms/config/edit.html" diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-confroot.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-confroot.config deleted file mode 100644 index 5216e0e..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-confroot.config +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -pathPattern="\\/conf" -editor="/cms/config/configs.html" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-site.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-site.config deleted file mode 100644 index a9e5152..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-site.config +++ /dev/null @@ -1,21 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -pathPattern="\\/content.*" -editor="/cms/site/content.html" -resourceType="sling:Site" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-sitecontent.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-sitecontent.config deleted file mode 100644 index ecb6ab0..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-sitecontent.config +++ /dev/null @@ -1,21 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -pathPattern="\\/content.*" -editor="/cms/site/content.html" -parentType="sling:Site" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-sites.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-sites.config deleted file mode 100644 index fd4fc1c..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-sites.config +++ /dev/null @@ -1,22 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -pathPattern="\\/content.*" -editor="/cms/site/sites.html" -resourceType="sling:OrderedFolder" -service.ranking=I"1" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-static.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-static.config deleted file mode 100644 index 6fd4be4..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-static.config +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -pathPattern="\\/static.*" -editor="/cms/static/content.html" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-taxonomy.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-taxonomy.config deleted file mode 100644 index bdd5a99..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-taxonomy.config +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -pathPattern="\\/etc\\/taxonomy.*" -editor="/cms/taxonomy/list.html" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-ugc.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-ugc.config deleted file mode 100644 index 1b7d94a..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.ResourceEditorAssociation-ugc.config +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -pathPattern="\\/etc\\/usergenerated.*" -editor="/cms/usergenerated/content.html" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.repository.DataStoreCleanupScheduler.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.repository.DataStoreCleanupScheduler.config deleted file mode 100644 index 7e8e14c..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.repository.DataStoreCleanupScheduler.config +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -scheduler.expression="0\ 31\ 1\ ?\ *\ SUN\ *" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.repository.RevisionCleanupScheduler.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.repository.RevisionCleanupScheduler.config deleted file mode 100644 index e0676b7..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.repository.RevisionCleanupScheduler.config +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -scheduler.expression="0\ 31\ 0\ ?\ *\ SUN\ *" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.rewriter.ReferenceMappingTransformerFactory.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.rewriter.ReferenceMappingTransformerFactory.config deleted file mode 100644 index 57cdc0a..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.cms.core.internal.rewriter.ReferenceMappingTransformerFactory.config +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -mappedAttributes=["action","href","src"] -enabledPaths=["/content"] diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.engine.impl.auth.SlingAuthenticator.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.engine.impl.auth.SlingAuthenticator.config deleted file mode 100644 index 2c33e34..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.engine.impl.auth.SlingAuthenticator.config +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -sling.auth.requirements=["/bin","/cms","/libs","/apps","/etc","/home","/var"] \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.event.jobs.QueueConfiguration-cmsqueue.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.event.jobs.QueueConfiguration-cmsqueue.config deleted file mode 100644 index 9a8d548..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.event.jobs.QueueConfiguration-cmsqueue.config +++ /dev/null @@ -1,29 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -queue.name="Sling\ CMS\ Jobs" -queue.priority="NORM" -queue.maxparallel=D"4624633867356078080" -queue.topics=["cmsjob/*"] -queue.retries=I"10" -queue.preferRunOnCreationInstance=B"true" -queue.threadPoolSize=I"0" -queue.retrydelay=L"2000" -service.ranking=I"0" -queue.type="UNORDERED" -queue.keepJobs=B"true" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-serviceuser-webconsole.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-serviceuser-webconsole.config deleted file mode 100644 index b648112..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-serviceuser-webconsole.config +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -whitelist.bundles=["org.apache.sling.serviceuser.webconsole"] -whitelist.name="org.apache.sling.serviceuser.webconsole" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-sling-cms-core.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-sling-cms-core.config deleted file mode 100644 index a0039c1..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-sling-cms-core.config +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -whitelist.bundles=["org.apache.sling.cms.core"] -whitelist.name="org.apache.sling.cms.core" \ No newline at end of file diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl.config b/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl.config deleted file mode 100644 index 6372e9c..0000000 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/install/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl.config +++ /dev/null @@ -1,39 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -resource.resolver.required.providernames=["JCR"] -resource.resolver.manglenamespaces=B"true" -resource.resolver.optimize.alias.resolution=B"true" -resource.resolver.vanitypath.blacklist=[""] -resource.resolver.vanity.precedence=B"false" -resource.resolver.vanitypath.maxEntries=I"-1" -resource.resolver.required.providers=[""] -resource.resolver.enable.vanitypath=B"true" -resource.resolver.providerhandling.paranoid=B"false" -resource.resolver.allowDirect=B"true" -resource.resolver.mapping=["/:/","/content/:/","/system/docroot/:/","/mnt/overlay/sling-cms/content:/cms"] -resource.resolver.vanitypath.whitelist=[""] -resource.resolver.map.location="/etc/map" -resource.resolver.vanitypath.maxEntries.startup=B"true" -resource.resolver.map.observation=["/"] -resource.resolver.default.vanity.redirect.status=I"302" -resource.resolver.vanitypath.bloomfilter.maxBytes=I"1024000" -resource.resolver.searchpath=["/apps","/libs"] -resource.resolver.log.unclosed=B"true" -resource.resolver.log.closing=B"false" -resource.resolver.virtual=["/:/"] \ No newline at end of file
