[
https://issues.jboss.org/browse/GTNPORTAL-2457?page=com.atlassian.jira.pl...
]
Trong Tran updated GTNPORTAL-2457:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Externalize default-repository in JCR configuration
---------------------------------------------------
Key: GTNPORTAL-2457
URL:
https://issues.jboss.org/browse/GTNPORTAL-2457
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Reporter: kien nguyen
Assignee: kien nguyen
Labels: portal-s67, worked
Fix For: 3.4.0.Final
Original Estimate: 1 hour
Time Spent: 1 hour
Remaining Estimate: 0 minutes
Variablize default-repository and repository's name in Repository Service
configuration, to make possible repository name configuration via
configuration.properties.
Usage of the variable should be as follows:
{code}
<repository-service
default-repository="${gatein.jcr.repository.default}">
<repositories>
<repository name="${gatein.jcr.repository.default}"
system-workspace="${gatein.jcr.workspace.system}"
default-workspace="${gatein.jcr.workspace.default}">
...
</repository>
</repositories>
</repository-service>
{code}
The configuration.properties will be:
{code}
# JCR system and default workspaces
gatein.jcr.repository.default=repository
gatein.jcr.workspace.default=collaboration
gatein.jcr.workspace.system=system
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira