<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">
   
   <component>
    <key>org.exoplatform.services.seo.SEOService</key>
    <type>org.exoplatform.services.seo.impl.SEOServiceImpl</type>
    <init-params>
	  <object-param>
	    <name>seo.config</name>
		<object type="org.exoplatform.services.seo.SEOConfig">
		  <field name="robotsindex">
		    <collection type="java.util.ArrayList">
			  <value><string>INDEX</string></value>	
			  <value><string>NOINDEX</string></value>
			</collection>	  
		  </field>
		  <field name="robotsfollow">
		    <collection type="java.util.ArrayList">
			  <value><string>FOLLOW</string></value>	
			  <value><string>NOFOLLOW</string></value>
			</collection>	  
		  </field>	  
		  <field name="frequency">
		    <collection type="java.util.ArrayList">
			  <value><string>Always</string></value>
			  <value><string>Hourly</string></value>
			  <value><string>Daily</string></value>
			  <value><string>Weekly</string></value>
			  <value><string>Monthly</string></value>
			  <value><string>Yearly</string></value>
			  <value><string>Never</string></value>						
			</collection>
		  </field>
        </object>  	    
	  </object-param>	  	
    </init-params>
  </component>
	
	<external-component-plugins>
    <target-component>org.exoplatform.services.cache.CacheService</target-component>
    <component-plugin>
      <name>addExoCacheConfig</name>
      <set-method>addExoCacheConfig</set-method>
      <type>org.exoplatform.services.cache.ExoCacheConfigPlugin</type>
      <description>Configures the cache for SEO service</description>
      <init-params>
        <object-param>
          <name>cache.config.wcm.seo</name>
          <description>The default cache configuration</description>
          <object type="org.exoplatform.services.cache.ExoCacheConfig">
            <field name="name">
              <string>wcm.seo</string>
            </field>
            <field name="maxSize">
              <int>300</int>
            </field>
            <field name="liveTime">
              <long>600</long>
            </field>
            <field name="distributed">
              <boolean>false</boolean>
            </field>
            <field name="implementation">
              <string>org.exoplatform.services.cache.concurrent.ConcurrentFIFOExoCache</string>
            </field>
          </object>
        </object-param>
      </init-params>
    </component-plugin>
  </external-component-plugins>
   
</configuration>   
