<?xml version="1.0" encoding="ISO-8859-1"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
	xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">

	<external-component-plugins>
		<target-component>org.exoplatform.platform.common.service.MenuConfiguratorService</target-component>
		<component-plugin>
			<name>cs.setup.navigation</name>
			<set-method>addNavigation</set-method>
			<type>org.exoplatform.platform.common.service.plugin.MenuConfiguratorAddNodePlugin</type>
			<description>This listener adds an entry in Administration Menu</description>
			<init-params>
				<value-param>
					<name>extended.setup.navigation.file</name>
					<value>war:/conf/customer-space/portal/setup-navigation.xml</value>
				</value-param>
			</init-params>
		</component-plugin>
	</external-component-plugins>

	<external-component-plugins>
		<target-component>org.exoplatform.portal.config.UserPortalConfigService</target-component>
		<component-plugin>
			<name>CSSpace.site.template</name>
			<set-method>initListener</set-method>
			<type>org.exoplatform.portal.config.NewPortalConfigListener</type>
			<description>CSSpace site template</description>
			<init-params>
				<value-param>
					<name>override</name>
					<value>true</value>
				</value-param>
				<object-param>
					<name>site.templates.location</name>
					<description>description</description>
					<object type="org.exoplatform.portal.config.SiteConfigTemplates">
						<field name="location">
							<string>war:/conf/customer-space/portal</string>
						</field>
						<field name="groupTemplates">
							<collection type="java.util.HashSet">
								<value>
									<string>CSSpace</string>
								</value>
							</collection>
						</field>
					</object>
				</object-param>
				<object-param>
					<name>group.configuration</name>
					<description>description</description>
					<object type="org.exoplatform.portal.config.NewPortalConfig">
						<field name="predefinedOwner">
							<collection type="java.util.HashSet">
								<value>
									<string>/platform/administrators</string>
								</value>
								<value>
									<string>/gss</string>
								</value>
							<value>
									<string>/support-team</string>
								</value>
							</collection>
						</field>
						<field name="ownerType">
							<string>group</string>
						</field>
						<field name="templateLocation">
							<string>war:/conf/customer-space/portal</string>
						</field>
						<field name="override">
							<boolean>true</boolean>
						</field>
						<field name="importMode">
							<string>${exo.cspace.portalConfig.metadata.importmode:insert}</string>
						</field>
					</object>
				</object-param>
			</init-params>
		</component-plugin>
	</external-component-plugins>

	<external-component-plugins>
		<target-component>org.exoplatform.services.resources.ResourceBundleService</target-component>
		<component-plugin>
			<name>CS Addon Navigation ResourceBundle Plugin</name>
			<set-method>addResourceBundle</set-method>
			<type>org.exoplatform.services.resources.impl.BaseResourceBundlePlugin</type>
			<init-params>
				<values-param>
					<name>init.resources</name>
					<value>locale.space.customer-space-navigation</value>
				</values-param>
				<values-param>
					<name>portal.resource.names</name>
					<value>locale.space.customer-space-navigation</value>
				</values-param>
			</init-params>
		</component-plugin>
	</external-component-plugins>
	<external-component-plugins>
		<target-component>org.exoplatform.services.resources.ResourceBundleService</target-component>
		<component-plugin>
			<name>CS Addon ResourceBundle Plugin</name>
			<set-method>addResourceBundle</set-method>
			<type>org.exoplatform.services.resources.impl.BaseResourceBundlePlugin</type>
			<init-params>
				<values-param>
					<name>init.resources</name>
					<value>locale.customer-space</value>
				</values-param>
				<values-param>
					<name>portal.resource.names</name>
					<value>locale.customer-space</value>
				</values-param>
			</init-params>
		</component-plugin>
	</external-component-plugins>

</configuration>
