[MAGNOLIA-8069] RepositoryManager should be a system component Created: 20/Apr/21 Updated: 22/Apr/21 Resolved: 22/Apr/21 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 6.2.7 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Richard Gange | Assignee: | Unassigned |
| Resolution: | Workaround exists | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||
| Description |
|
In order to access information about the repository easier RepositoryManager should be a system level component: <components>
<id>system</id>
<component>
<type>info.magnolia.repository.RepositoryManager</type>
<implementation>info.magnolia.repository.DefaultRepositoryManager</implementation>
</component>
|
| Comments |
| Comment by Richard Gange [ 22/Apr/21 ] |
|
Use Components
this.repositoryManager = Components.getComponent(RepositoryManager.class);
|