Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup hook should implement SlingRepositoryInitializer to propagate #548

Draft
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

kwin
Copy link
Member

@kwin kwin commented Jan 26, 2021

exceptions properly

This closes #545 partially

@kwin kwin force-pushed the feature/convert-startup-hook-into-sling-repository-initializer branch from fd03f45 to a9a1f23 Compare January 26, 2021 11:01
@kwin kwin marked this pull request as draft January 29, 2021 13:02
@kwin kwin force-pushed the feature/convert-startup-hook-into-sling-repository-initializer branch from cfe2b35 to a4a1d07 Compare February 2, 2021 10:09
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 2, 2021

@kwin kwin marked this pull request as ready for review November 8, 2021 15:52
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 8, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

List<String> relevantPathsForInstallation = getRelevantPathsForInstallation(repo);
LOG.info("Running AcTool with "
+ (relevantPathsForInstallation.isEmpty() ? "all paths" : "paths " + relevantPathsForInstallation) + "...");
acInstallationService.apply(null, relevantPathsForInstallation.toArray(new String[relevantPathsForInstallation.size()]),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kwin during the repo initialisation process this method participates, IIRC the SlingRepository will not be available as service yet? (see

)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right, this probably requires some refactoring of AcInstallationServiceImpl()

@kwin kwin marked this pull request as draft November 9, 2021 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AEMaaCS: Startup Hook executed too early for ACLs on mutable content
2 participants