-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor to separate out RepoInit into AEMaaCS and 6.5 configs * Move RepoInit to build image phase. * Bump nokoiri gem
- Loading branch information
Showing
16 changed files
with
174 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
jcr:title="AEM Modernize Tools" | ||
id="aem-modernize"> | ||
|
||
<full /> | ||
<structure /> | ||
<component /> | ||
<policy /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
40 changes: 40 additions & 0 deletions
40
...ig/config.author/org.apache.sling.jcr.repoinit.RepositoryInitializer-aem-modernize.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
scripts=[" | ||
create path /var/aem-modernize(sling:Folder) | ||
create path /var/aem-modernize/job-data(sling:Folder) | ||
|
||
# Cover any missing paths on CS | ||
create path /etc/designs(sling:Folder) | ||
|
||
create service user aem-modernize-schedule-job-service with path system/aem-modernize | ||
set ACL for aem-modernize-schedule-job-service | ||
allow jcr:read on / | ||
allow jcr:readAccessControl on /content,/conf,/etc | ||
allow rep:write on /var/aem-modernize/job-data | ||
end | ||
|
||
create service user aem-modernize-convert-service with path system/aem-modernize | ||
set ACL for aem-modernize-convert-service | ||
allow jcr:read on / | ||
allow rep:write on /etc/designs | ||
allow rep:write on /conf | ||
allow rep:write on /content | ||
allow jcr:versionManagement on /content | ||
allow rep:write on /var/aem-modernize/job-data | ||
end | ||
|
||
create path /apps/aem-modernize(sling:Folder) | ||
create path /apps/aem-modernize/content(sling:Folder) | ||
|
||
create path /apps/cq(sling:Folder) | ||
create path /apps/cq/core(sling:Folder) | ||
create path /apps/cq/core/content(sling:Folder) | ||
create path /apps/cq/core/content/nav(sling:Folder) | ||
create path /apps/cq/core/content/nav/tools(sling:Folder) | ||
create path /apps/cq/core/content/nav/tools/aem-modernize(sling:OrderedFolder) | ||
|
||
set ACL for everyone | ||
deny jcr:all on /apps/aem-modernize | ||
deny jcr:all on /apps/cq/core/content/nav/tools/aem-modernize | ||
deny jcr:all on /var/aem-modernize | ||
end | ||
"] |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...iconfig/config.author/org.apache.sling.event.jobs.QueueConfiguration-aem-modernize.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
queue.name="AEM Modernize Tools Queue" | ||
queue.topics=["com/adobe/aem/modernize/job/topic/convert/*"] | ||
queue.type="ORDERED" | ||
queue.priority="MIN" | ||
queue.retries="0" | ||
queue.maxparallel="1" |
40 changes: 40 additions & 0 deletions
40
...ig/config.author/org.apache.sling.jcr.repoinit.RepositoryInitializer-aem-modernize.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
scripts=[" | ||
create path /var/aem-modernize(sling:Folder) | ||
create path /var/aem-modernize/job-data(sling:Folder) | ||
|
||
# Cover any missing paths on CS | ||
create path /etc/designs(sling:Folder) | ||
|
||
create service user aem-modernize-schedule-job-service with forced path system/cq:services/aem-modernize | ||
set principal ACL for aem-modernize-schedule-job-service | ||
allow jcr:read on / | ||
allow jcr:readAccessControl on /content,/conf,/etc | ||
allow rep:write on /var/aem-modernize/job-data | ||
end | ||
|
||
create service user aem-modernize-convert-service with forced path system/cq:services/aem-modernize | ||
set principal ACL for aem-modernize-convert-service | ||
allow jcr:read on / | ||
allow rep:write on /etc/designs | ||
allow rep:write on /conf | ||
allow rep:write on /content | ||
allow jcr:versionManagement on /content | ||
allow rep:write on /var/aem-modernize/job-data | ||
end | ||
|
||
create path /apps/aem-modernize(sling:Folder) | ||
create path /apps/aem-modernize/content(sling:Folder) | ||
|
||
create path /apps/cq(sling:Folder) | ||
create path /apps/cq/core(sling:Folder) | ||
create path /apps/cq/core/content(sling:Folder) | ||
create path /apps/cq/core/content/nav(sling:Folder) | ||
create path /apps/cq/core/content/nav/tools(sling:Folder) | ||
create path /apps/cq/core/content/nav/tools/aem-modernize(sling:OrderedFolder) | ||
|
||
set ACL for everyone | ||
deny jcr:all on /apps/aem-modernize | ||
deny jcr:all on /apps/cq/core/content/nav/tools/aem-modernize | ||
deny jcr:all on /var/aem-modernize | ||
end | ||
"] |
Oops, something went wrong.