Skip to content
Permalink
stable/1.15.x
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
<?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">
<component>
<key>org.exoplatform.services.log.LogConfigurationInitializer</key>
<type>org.exoplatform.services.log.LogConfigurationInitializer</type>
<init-params>
<value-param>
<name>logger</name>
<value>org.exoplatform.services.log.impl.BufferedLog4JLogger</value>
</value-param>
<value-param>
<name>configurator</name>
<value>org.exoplatform.services.log.impl.Log4JConfigurator</value>
</value-param>
<properties-param>
<name>properties</name>
<description>Log4J properties</description>
<property name="log4j.rootLogger" value="INFO, stdout, file"/>
<property name="log4j.appender.stdout" value="org.apache.log4j.ConsoleAppender"/>
<property name="log4j.appender.stdout.threshold" value="INFO"/>
<property name="log4j.appender.stdout.layout" value="org.apache.log4j.PatternLayout"/>
<property name="log4j.appender.stdout.layout.ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m (%F, line %L) %n"/>
<property name="log4j.appender.file" value="org.apache.log4j.FileAppender"/>
<property name="log4j.appender.file.File" value="target/jcr.log"/>
<property name="log4j.appender.file.layout" value="org.apache.log4j.PatternLayout"/>
<property name="log4j.appender.file.layout.ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m (%F, line %L) %n"/>
<!-- property name="log4j.category.ext.BackupScheduler" value="DEBUG"/>
<property name="log4j.category.ext.BackupManagerImpl" value="DEBUG"/ -->
</properties-param>
</init-params>
</component>
<component>
<key>org.exoplatform.services.cache.CacheService</key>
<jmx-name>cache:type=CacheService</jmx-name>
<type>org.exoplatform.services.cache.impl.CacheServiceImpl</type>
<init-params>
<object-param>
<name>cache.config.default</name>
<description>The default cache configuration</description>
<object type="org.exoplatform.services.cache.ExoCacheConfig">
<field name="name">
<string>default</string>
</field>
<field name="maxSize">
<int>300</int>
</field>
<field name="liveTime">
<long>300</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>
<component>
<key>org.exoplatform.services.jcr.RepositoryService</key>
<type>org.exoplatform.services.jcr.impl.RepositoryServiceImpl</type>
<component-plugins>
<!--component-plugin>
<name>register.listener</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.services.jcr.impl.RepositoryChangesListenerRegisterPlugin</type>
<init-params>
<value-param>
<name>repository-name</name>
<value>db1</value>
</value-param>
<value-param>
<name>workspaces</name>
<value>ws,ws3,ws4,ws5</value>
</value-param>
<value-param>
<name>component-class-name</name>
<value>org.exoplatform.services.jcr.ext.replication.async.AsyncStartChangesListener</value>
</value-param>
</init-params>
</component-plugin-->
<component-plugin>
<name>add.namespaces</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.services.jcr.impl.AddNamespacesPlugin</type>
<init-params>
<properties-param>
<name>namespaces</name>
<property name="dc" value="http://purl.org/dc/elements/1.1/"/>
<property name="jos" value="http://www.exoplatform.com/jcr-services/organization-service/1.0/"/>
<property name="rma" value="http://www.rma.com/jcr/"/>
<property name="publication" value="http://www.exoplatform.com/jcr/publication/1.1/"/>
</properties-param>
</init-params>
</component-plugin>
<component-plugin>
<name>add.nodeType</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.services.jcr.impl.AddNodeTypePlugin</type>
<init-params>
<values-param>
<name>autoCreatedInNewRepository</name>
<description>Node types configuration file</description>
<value>jar:/conf/ext-nodetypes-config.xml</value>
<value>jar:/conf/jcr-audit-nodetypes.xml</value>
<value>jar:/conf/organization-nodetypes.xml</value>
<value>jar:/conf/test/organization-nodetypes-v1.xml</value>
<value>jar:/conf/test/nodetypes-ext-test.xml</value>
</values-param>
</init-params>
</component-plugin>
</component-plugins>
</component>
<component>
<key>org.exoplatform.services.jcr.config.RepositoryServiceConfiguration</key>
<type>org.exoplatform.services.jcr.impl.config.RepositoryServiceConfigurationImpl</type>
<init-params>
<value-param>
<name>conf-path</name>
<description>JCR configuration file</description>
<value>jar:/conf/standalone/test-jcr-ext-config.xml</value>
</value-param>
</init-params>
</component>
<!-- backup -->
<component>
<key>org.exoplatform.services.jcr.ext.backup.BackupManager</key>
<type>org.exoplatform.services.jcr.ext.backup.impl.BackupManagerImpl</type>
<init-params>
<properties-param>
<name>backup-properties</name>
<property name="default-incremental-job-period" value="3600"/><!-- set default incremental periond = 60 minutes -->
<property name="full-backup-type" value="org.exoplatform.services.jcr.ext.backup.impl.fs.FullBackupJob"/>
<property name="incremental-backup-type" value="org.exoplatform.services.jcr.ext.backup.impl.fs.IncrementalBackupJob"/>
<property name="backup-dir" value="target/backup"/>
</properties-param>
</init-params>
</component>
<!-- REST -->
<component>
<type>org.exoplatform.services.jcr.ext.registry.RESTRegistryService</type>
</component>
<!-- HTTPBackupAgent -->
<component>
<type>org.exoplatform.services.jcr.ext.backup.server.HTTPBackupAgent</type>
</component>
<component>
<type>org.exoplatform.services.jcr.ext.app.ThreadLocalSessionProviderService</type>
</component>
<component>
<type>org.exoplatform.services.jcr.ext.registry.RegistryService</type>
<component-plugins>
<component-plugin>
<name>appConfig</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.services.jcr.ext.registry.RegistryInitializationEntryPlugin</type>
<init-params>
<value-param>
<name>GroovyEditor</name>
<value>
<![CDATA[<GroovyEditor><context>portal/rest</context><repository>repository</repository><workspace>collaboration</workspace></GroovyEditor>]]>
</value>
</value-param>
</init-params>
</component-plugin>
</component-plugins>
<init-params>
<properties-param>
<name>locations</name>
<property name="db1" value="ws2"/>
</properties-param>
</init-params>
</component>
<component>
<type>org.exoplatform.services.jcr.impl.ext.action.SessionActionCatalog</type>
<component-plugins>
<component-plugin>
<name>addActions</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.services.jcr.impl.ext.action.AddActionsPlugin</type>
<description>add actions plugin</description>
<init-params>
<object-param>
<name>actions</name>
<object type="org.exoplatform.services.jcr.impl.ext.action.AddActionsPlugin$ActionsConfig">
<field name="actions">
<collection type="java.util.ArrayList">
<!-- an example
<value>
<object type="org.exoplatform.services.jcr.impl.ext.action.ActionConfiguration">
<field name="eventTypes"><string>addNode</string></field>
<field name="path"><string>/test</string></field>
<field name="isDeep"><boolean>true</boolean></field>
<field name="nodeTypes"><string>nt:unstructured</string></field>
<field name="workspace"><string>production</string></field>
<field name="actionClassName"><string>org.exoplatform.services.jcr.ext.DummyAction</string></field>
</object>
</value>
-->
<value>
<object type="org.exoplatform.services.jcr.impl.ext.action.ActionConfiguration">
<field name="eventTypes">
<string>addProperty,changeProperty</string>
</field>
<field name="path">
<string>/MetaDataActionTest/testAddContent</string>
</field>
<field name="isDeep">
<boolean>true</boolean>
</field>
<field name="nodeTypes">
<string>nt:resource</string>
</field>
<field name="actionClassName">
<string>org.exoplatform.services.jcr.ext.metadata.AddMetadataAction</string>
</field>
</object>
</value>
<value>
<object type="org.exoplatform.services.jcr.impl.ext.action.ActionConfiguration">
<field name="eventTypes">
<string>addNode</string>
</field>
<field name="path">
<string>/MetaDataActionTest/testSetMetaData</string>
</field>
<field name="isDeep">
<boolean>false</boolean>
</field>
<field name="actionClassName">
<string>org.exoplatform.services.jcr.ext.metadata.SetDCMetadataAction</string>
</field>
</object>
</value>
<value>
<object type="org.exoplatform.services.jcr.impl.ext.action.ActionConfiguration">
<field name="eventTypes">
<string>addNode</string>
</field>
<field name="path">
<string>/test</string>
</field>
<field name="isDeep">
<boolean>true</boolean>
</field>
<field name="actionClassName">
<string>org.exoplatform.services.jcr.ext.owner.AddOwneableAction</string>
</field>
</object>
</value>
<!-- AddAuditableAction -->
<value>
<object type="org.exoplatform.services.jcr.impl.ext.action.ActionConfiguration">
<field name="eventTypes">
<string>addNode</string>
</field>
<field name="path">
<string>/AuditServiceTest/deep</string>
</field>
<field name="isDeep">
<boolean>true</boolean>
</field>
<field name="actionClassName">
<string>org.exoplatform.services.jcr.ext.audit.AddAuditableAction</string>
</field>
</object>
</value>
<value>
<object type="org.exoplatform.services.jcr.impl.ext.action.ActionConfiguration">
<field name="eventTypes">
<string>addNode</string>
</field>
<field name="path">
<string>/AuditServiceTest/notdeep</string>
</field>
<field name="isDeep">
<boolean>false</boolean>
</field>
<field name="actionClassName">
<string>org.exoplatform.services.jcr.ext.audit.AddAuditableAction</string>
</field>
</object>
</value>
<!-- AddAuditableAction -->
<!-- AuditAction -->
<value>
<object type="org.exoplatform.services.jcr.impl.ext.action.ActionConfiguration">
<field name="eventTypes">
<string>addProperty,changeProperty,removeProperty</string>
</field>
<field name="path">
<string>/AuditServiceTest/deep</string>
</field>
<field name="nodeTypes">
<string>exo:auditable</string>
</field>
<field name="isDeep">
<boolean>true</boolean>
</field>
<field name="actionClassName">
<string>org.exoplatform.services.jcr.ext.audit.AuditAction</string>
</field>
</object>
</value>
<value>
<object type="org.exoplatform.services.jcr.impl.ext.action.ActionConfiguration">
<field name="eventTypes">
<string>addProperty,changeProperty,removeProperty</string>
</field>
<field name="path">
<string>/AuditServiceTest/notdeep</string>
</field>
<field name="nodeTypes">
<string>exo:auditable</string>
</field>
<field name="isDeep">
<boolean>true</boolean>
</field>
<field name="actionClassName">
<string>org.exoplatform.services.jcr.ext.audit.AuditAction</string>
</field>
</object>
</value>
<value>
<object type="org.exoplatform.services.jcr.impl.ext.action.ActionConfiguration">
<field name="eventTypes">
<string>addProperty,changeProperty,removeProperty</string>
</field>
<field name="path">
<string>/AuditServiceTest/mixin</string>
</field>
<field name="nodeTypes">
<string>exo:auditable</string>
</field>
<field name="isDeep">
<boolean>false</boolean>
</field>
<field name="actionClassName">
<string>org.exoplatform.services.jcr.ext.audit.AuditAction</string>
</field>
</object>
</value>
<value>
<object type="org.exoplatform.services.jcr.impl.ext.action.ActionConfiguration">
<field name="eventTypes">
<string>addMixin</string>
</field>
<field name="path">
<string>/AuditServiceTest/mixin</string>
</field>
<field name="nodeTypes">
<string>exo:auditable</string>
</field>
<field name="isDeep">
<boolean>true</boolean>
</field>
<field name="actionClassName">
<string>org.exoplatform.services.jcr.ext.audit.AuditAction</string>
</field>
</object>
</value>
<value>
<object type="org.exoplatform.services.jcr.impl.ext.action.ActionConfiguration">
<field name="eventTypes">
<string>addMixin,addProperty,changeProperty,removeProperty</string>
</field>
<field name="path">
<string>/AuditServiceTest/SetPropertyAfterAddAudit</string>
</field>
<field name="nodeTypes">
<string>exo:auditable</string>
</field>
<field name="isDeep">
<boolean>true</boolean>
</field>
<field name="actionClassName">
<string>org.exoplatform.services.jcr.ext.audit.AuditAction</string>
</field>
</object>
</value>
<!-- AuditAction -->
<!-- RemoveAuditableAction -->
<value>
<object type="org.exoplatform.services.jcr.impl.ext.action.ActionConfiguration">
<field name="eventTypes">
<string>removeNode</string>
</field>
<field name="path">
<string>/AuditServiceTest</string>
</field>
<!-- field name="nodeTypes"><string>exo:auditable</string></field -->
<field name="isDeep">
<boolean>true</boolean>
</field>
<field name="actionClassName">
<string>org.exoplatform.services.jcr.ext.audit.RemoveAuditableAction</string>
</field>
</object>
</value>
</collection>
<!-- RemoveAuditableAction -->
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</component-plugins>
</component>
<component>
<key>org.exoplatform.services.jcr.ext.audit.AuditService</key>
<type>org.exoplatform.services.jcr.ext.audit.AuditServiceImpl</type>
<init-params>
<value-param>
<name>adminIdentity</name>
<value>root;john</value>
</value-param>
</init-params>
</component>
<component>
<key>org.exoplatform.services.security.Authenticator</key>
<type>org.exoplatform.services.organization.auth.OrganizationAuthenticatorImpl</type>
</component>
<component>
<type>org.exoplatform.services.jcr.ext.resource.NodeRepresentationService</type>
</component>
<component>
<type>org.exoplatform.services.jcr.ext.resource.XMLViewNodeRepresentationRenderer</type>
</component>
<component>
<type>org.exoplatform.services.jcr.ext.resource.jcr.Handler</type>
</component>
<component>
<type>org.exoplatform.services.jcr.ext.script.groovy.GroovyScript2RestLoader</type>
<init-params>
<object-param>
<name>observation.config</name>
<object type="org.exoplatform.services.jcr.ext.script.groovy.ObservationListenerConfiguration">
<field name="repository">
<string>db1</string>
</field>
<field name="workspaces">
<collection type="java.util.ArrayList">
<value>
<string>ws</string>
</value>
</collection>
</field>
</object>
</object-param>
</init-params>
</component>
<!--component>
<type>org.exoplatform.services.jcr.ext.replication.async.AsyncReplication</type>
<component-plugins>
<component-plugin>
<name>async-workspace-config</name>
<set-method>addAsyncWorkspaceConfig</set-method>
<type>org.exoplatform.services.jcr.ext.replication.async.config.AsyncWorkspaceConfig</type>
<description>async replication config per workspace</description>
<init-params>
<properties-param>
<name>async-workspace-config</name>
<property name="repository-name" value="db1"/>
<property name="workspace-name" value="ws"/>
<property name="priority" value="80"/>
<property name="other-participants-priority" value="100,50"/>
<property name="bind-ip-address" value="127.0.0.1"/>
<property name="channel-config" value="TCP(start_port=7700;oob_thread_pool.queue_max_size=100;thread_naming_pattern=cl;use_concurrent_stack=true;oob_thread_pool.rejection_policy=Run;discard_incompatible_packets=true;thread_pool.max_threads=40;oob_thread_pool.enabled=true;oob_thread_pool.max_threads=20;loopback=false;oob_thread_pool.keep_alive_time=5000;thread_pool.queue_enabled=false;oob_thread_pool.queue_enabled=false;max_bundle_size=64000;thread_pool.queue_max_size=100;thread_pool.enabled=true;enable_diagnostics=true;max_bundle_timeout=30;oob_thread_pool.min_threads=8;use_incoming_packet_handler=true;thread_pool.rejection_policy=Run;bind_addr=$bind-ip-address;thread_pool.min_threads=8;thread_pool.keep_alive_time=5000;enable_bundling=true):MPING(timeout=2000;num_initial_members=8;mcast_port=35526;mcast_addr=224.0.0.1):FD(timeout=2000;max_tries=5;shun=true):FD_SOCK:VERIFY_SUSPECT(timeout=1500):pbcast.NAKACK(max_xmit_size=60000;print_stability_history_on_failed_xmit=true;use_mcast_xmit=false;gc_lag=0;discard_delivered_msgs=true;retransmit_timeout=300,600,1200,2400,4800):pbcast.STABLE(stability_delay=1000;desired_avg_gossip=50000;max_bytes=8000000):pbcast.GMS(print_local_addr=true;join_timeout=3000;view_bundling=true;join_retry_timeout=2000;shun=true;merge_leader=true;reject_join_from_existing_member=true)"/>
<property name="channel-name" value="AsyncRepCh"/>
<property name="storage-dir" value="target/asyncreplication/db1/ws"/>
<property name="wait-all-members" value="15"/>
</properties-param>
</init-params>
</component-plugin>
<component-plugin>
<name>async-workspace-config</name>
<set-method>addAsyncWorkspaceConfig</set-method>
<type>org.exoplatform.services.jcr.ext.replication.async.config.AsyncWorkspaceConfig</type>
<description>async replication config per workspace</description>
<init-params>
<properties-param>
<name>async-workspce-config</name>
<property name="repository-name" value="db1"/>
<property name="workspace-name" value="ws1"/>
<property name="priority" value="80"/>
<property name="other-participants-priority" value="100,50"/>
<property name="bind-ip-address" value="127.0.0.1"/>
<property name="channel-config" value="TCP(start_port=7700;oob_thread_pool.queue_max_size=100;thread_naming_pattern=cl;use_concurrent_stack=true;oob_thread_pool.rejection_policy=Run;discard_incompatible_packets=true;thread_pool.max_threads=40;oob_thread_pool.enabled=true;oob_thread_pool.max_threads=20;loopback=false;oob_thread_pool.keep_alive_time=5000;thread_pool.queue_enabled=false;oob_thread_pool.queue_enabled=false;max_bundle_size=64000;thread_pool.queue_max_size=100;thread_pool.enabled=true;enable_diagnostics=true;max_bundle_timeout=30;oob_thread_pool.min_threads=8;use_incoming_packet_handler=true;thread_pool.rejection_policy=Run;bind_addr=$bind-ip-address;thread_pool.min_threads=8;thread_pool.keep_alive_time=5000;enable_bundling=true):MPING(timeout=2000;num_initial_members=8;mcast_port=35526;mcast_addr=224.0.0.1):FD(timeout=2000;max_tries=5;shun=true):FD_SOCK:VERIFY_SUSPECT(timeout=1500):pbcast.NAKACK(max_xmit_size=60000;print_stability_history_on_failed_xmit=true;use_mcast_xmit=false;gc_lag=0;discard_delivered_msgs=true;retransmit_timeout=300,600,1200,2400,4800):pbcast.STABLE(stability_delay=1000;desired_avg_gossip=50000;max_bytes=8000000):pbcast.GMS(print_local_addr=true;join_timeout=3000;view_bundling=true;join_retry_timeout=2000;shun=true;merge_leader=true;reject_join_from_existing_member=true)"/>
<property name="channel-name" value="AsyncRepCh"/>
<property name="storage-dir" value="target/asyncreplication/db1/ws1"/>
<property name="wait-all-members" value="15"/>
</properties-param>
</init-params>
</component-plugin>
</component-plugins>
</component-->
<!--component>
<type>org.exoplatform.services.jcr.ext.replication.async.executor.AsyncReplicationExecutor</type>
<init-params>
<object-param>
<name>async-replication-executor-configuration</name>
<description>async replication nodes</description>
<object type="org.exoplatform.services.jcr.ext.replication.async.executor.AsyncReplicationExecutor$ExecutorConf">
<field name="members">
<collection type="java.util.ArrayList">
<value>
<object type="org.exoplatform.services.jcr.ext.replication.async.executor.Member">
<field name="url">
<string>http://root:exo@192.168.0.15:8080</string>
</field>
<field name="realmName">
<string>eXo REST services</string>
</field>
</object>
</value>
<value>
<object type="org.exoplatform.services.jcr.ext.replication.async.executor.Member">
<field name="url">
<string>http://root:exo@192.168.0.15:8090</string>
</field>
<field name="realmName">
<string>eXo REST services</string>
</field>
</object>
</value>
</collection>
</field>
</object>
</object-param>
</init-params>
</component-->
<component>
<key>org.exoplatform.services.organization.OrganizationService</key>
<type>org.exoplatform.services.jcr.ext.organization.TesterJCROrgService</type>
<init-params>
<value-param>
<name>storage-workspace</name>
<description>Workspace in default repository where organization storage will be created</description>
<value>ws</value>
</value-param>
<value-param>
<name>cache-enabled</name>
<value>true</value>
</value-param>
</init-params>
</component>
<!-- org service initializer, copied from ECM portal.war -->
<external-component-plugins>
<target-component>org.exoplatform.services.organization.OrganizationService</target-component>
<component-plugin>
<name>init.service.listener</name>
<set-method>addListenerPlugin</set-method>
<type>org.exoplatform.services.organization.OrganizationDatabaseInitializer</type>
<description>this listener populate organization data for the first launch</description>
<init-params>
<value-param>
<name>checkDatabaseAlgorithm</name>
<description>check database</description>
<value>entry</value>
</value-param>
<value-param>
<name>printInformation</name>
<description>Print information init database</description>
<value>false</value>
</value-param>
<object-param>
<name>configuration</name>
<description>description</description>
<object type="org.exoplatform.services.organization.OrganizationConfig">
<field name="membershipType">
<collection type="java.util.ArrayList">
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$MembershipType">
<field name="type"><string>manager</string></field>
<field name="description"><string>manager membership type</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$MembershipType">
<field name="type"><string>member</string></field>
<field name="description"><string>member membership type</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$MembershipType">
<field name="type"><string>validator</string></field>
<field name="description"><string>validator membership type</string></field>
</object>
</value>
</collection>
</field>
<field name="group">
<collection type="java.util.ArrayList">
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>platform</string></field>
<field name="parentId"><string></string></field>
<field name="description"><string>the /platform group</string></field>
<field name="label"><string>Platform</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>administrators</string></field>
<field name="parentId"><string>/platform</string></field>
<field name="description"><string>the /platform/administrators group</string></field>
<field name="label"><string>Administrators</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>users</string></field>
<field name="parentId"><string>/platform</string></field>
<field name="description"><string>the /platform/users group</string></field>
<field name="label"><string>Users</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>guests</string></field>
<field name="parentId"><string>/platform</string></field>
<field name="description"><string>the /platform/guests group</string></field>
<field name="label"><string>Guests</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>organization</string></field>
<field name="parentId"><string></string></field>
<field name="description"><string>the organization group</string></field>
<field name="label"><string>Organization</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>management</string></field>
<field name="parentId"><string>/organization</string></field>
<field name="description"><string>the /organization/management group</string></field>
<field name="label"><string>Management</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>executive-board</string></field>
<field name="parentId"><string>/organization/management</string></field>
<field name="description"><string>the /organization/management/executive-board group</string></field>
<field name="label"><string>Executive Board</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>human-resources</string></field>
<field name="parentId"><string>/organization/management</string></field>
<field name="description"><string>the /organization/management/human-resource group</string></field>
<field name="label"><string>Human Resources</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>communication</string></field>
<field name="parentId"><string>/organization</string></field>
<field name="description"><string>the /organization/communication group</string></field>
<field name="label"><string>Communication</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>marketing</string></field>
<field name="parentId"><string>/organization/communication</string></field>
<field name="description"><string>the /organization/communication/marketing group</string></field>
<field name="label"><string>Marketing</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>press-and-media</string></field>
<field name="parentId"><string>/organization/communication</string></field>
<field name="description"><string>the /organization/communication/press-and-media group</string></field>
<field name="label"><string>Press and Media</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>operations</string></field>
<field name="parentId"><string>/organization</string></field>
<field name="description"><string>the /organization/operations and media group</string></field>
<field name="label"><string>Operations</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>sales</string></field>
<field name="parentId"><string>/organization/operations</string></field>
<field name="description"><string>the /organization/operations/sales group</string></field>
<field name="label"><string>Sales</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>finances</string></field>
<field name="parentId"><string>/organization/operations</string></field>
<field name="description"><string>the /organization/operations/finances group</string></field>
<field name="label"><string>Finances</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>customers</string></field>
<field name="parentId"><string></string></field>
<field name="description"><string>the /customers group</string></field>
<field name="label"><string>Customers</string></field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$Group">
<field name="name"><string>partners</string></field>
<field name="parentId"><string></string></field>
<field name="description"><string>the /partners group</string></field>
<field name="label"><string>Partners</string></field>
</object>
</value>
</collection>
</field>
<field name="user">
<collection type="java.util.ArrayList">
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$User">
<field name="userName"><string>root</string></field>
<field name="password"><string>exo</string></field>
<field name="firstName"><string>Root</string></field>
<field name="lastName"><string>Root</string></field>
<field name="email"><string>root@localhost</string></field>
<field name="displayName"><string>Root</string></field>
<field name="groups">
<string>
manager:/platform/administrators,member:/platform/users,
member:/organization/management/executive-board
</string>
</field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$User">
<field name="userName"><string>john</string></field>
<field name="password"><string>exo</string></field>
<field name="firstName"><string>John</string></field>
<field name="lastName"><string>Anthony</string></field>
<field name="email"><string>john@localhost</string></field>
<field name="displayName"><string>John</string></field>
<field name="groups">
<string>
member:/platform/administrators,member:/platform/users,
manager:/organization/management/executive-board
</string>
</field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$User">
<field name="userName"><string>marry</string></field>
<field name="password"><string>exo</string></field>
<field name="firstName"><string>Marry</string></field>
<field name="lastName"><string>Kelly</string></field>
<field name="email"><string>marry@localhost</string></field>
<field name="displayName"><string>Marry</string></field>
<field name="groups">
<string>member:/platform/users</string>
</field>
</object>
</value>
<value>
<object type="org.exoplatform.services.organization.OrganizationConfig$User">
<field name="userName"><string>demo</string></field>
<field name="password"><string>exo</string></field>
<field name="firstName"><string>Demo</string></field>
<field name="lastName"><string>exo</string></field>
<field name="email"><string>demo@localhost</string></field>
<field name="displayName"><string>Demo</string></field>
<field name="groups">
<string>member:/platform/guests,member:/platform/users</string>
</field>
</object>
</value>
</collection>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</external-component-plugins>
<external-component-plugins>
<target-component>org.exoplatform.services.organization.OrganizationService</target-component>
<component-plugin>
<name>tester.membership.type.listener</name>
<set-method>addListenerPlugin</set-method>
<type>org.exoplatform.services.organization.MembershipTypeEventListener</type>
<description>Membership type listerner for testing purpose</description>
</component-plugin>
</external-component-plugins>
<external-component-plugins>
<target-component>org.exoplatform.services.naming.InitialContextInitializer</target-component>
<component-plugin>
<name>bind.datasource</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.services.naming.BindReferencePlugin</type>
<init-params>
<value-param>
<name>bind-name</name>
<value>jdbcjcr</value>
</value-param>
<value-param>
<name>class-name</name>
<value>javax.sql.DataSource</value>
</value-param>
<value-param>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</value-param>
<properties-param>
<name>ref-addresses</name>
<description>ref-addresses</description>
<property name="driverClassName" value="org.hsqldb.jdbcDriver"/>
<property name="url" value="jdbc:hsqldb:file:target/temp/data/portal"/>
<property name="username" value="sa"/>
<property name="password" value=""/>
</properties-param>
</init-params>
</component-plugin>
<component-plugin>
<name>bind.datasource</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.services.naming.BindReferencePlugin</type>
<init-params>
<value-param>
<name>bind-name</name>
<value>jdbcjcr2</value>
</value-param>
<value-param>
<name>class-name</name>
<value>javax.sql.DataSource</value>
</value-param>
<value-param>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</value-param>
<properties-param>
<name>ref-addresses</name>
<description>ref-addresses</description>
<property name="driverClassName" value="org.hsqldb.jdbcDriver"/>
<property name="url" value="jdbc:hsqldb:file:target/temp/data/jcr"/>
<property name="username" value="sa"/>
<property name="password" value=""/>
</properties-param>
</init-params>
</component-plugin>
</external-component-plugins>
</configuration>