In details:
Once the
war:/ks-extension/jcr/repository-configuration.xml
file has been initialized, the server will load the
storage-configuration.xml
file, and the
setLocation
function in the
org.exoplatform.forum.common.conf.DataLocationPlugin
component will run.
<external-component-plugins>
<target-component>org.exoplatform.forum.common.jcr.KSDataLocation</target-component>
<component-plugin>
<name>ks.data.location</name>
<set-method>setLocation</set-method>
<type>org.exoplatform.forum.common.conf.DataLocationPlugin</type>
<init-params>
<value-param>
<name>repository</name>
<description>JCR repository for KS data</description>
<value>repository</value>
</value-param>
<value-param>
<name>workspace</name>
<description>workspace for KS data</description>
<value>knowledge</value>
</value-param>
</init-params>
</component-plugin>
</external-component-plugins>
In which,
Value-param | Possible value | Default value | Description |
---|---|---|---|
repository |
string
|
repository
| The JCR repository for KS data. |
workspace |
string
|
knowledge
| The workspace for KS data. |