All Downloads are FREE. Search and download functionalities are using the official Maven repository.

OSGI-INF.serviceComponents.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0">
    <scr:component enabled="true" immediate="true" name="org.sakaiproject.nakamura.lite.ConfigurationImpl" activate="activate">
        <implementation class="org.sakaiproject.nakamura.lite.ConfigurationImpl"/>
        <service servicefactory="false">
            <provide interface="org.sakaiproject.nakamura.api.lite.Configuration"/>
        </service>
        <property name="acl-column-family" type="String" value="ac"/>
        <property name="keyspace" type="String" value="n"/>
        <property name="authorizable-column-family" type="String" value="au"/>
        <property name="content-column-family" type="String" value="cn"/>
        <property name="lock-column-family" type="String" value="lk"/>
        <property name="index-column-names" type="String" value="au:rep:principalName,au:type,cn:sling:resourceType,cn:sakai:pooled-content-manager,cn:sakai:messagestore,cn:sakai:type,cn:sakai:marker,cn:sakai:tag-uuid,cn:sakai:contactstorepath,cn:sakai:state,cn:_created,cn:sakai:category,cn:sakai:messagebox,cn:sakai:from,cn:sakai:subject"/>
        <property name="index-column-types" type="String" value="cn:sakai:pooled-content-manager=String[],cn:sakai:category=String[]"/>
        <property name="service.pid" value="org.sakaiproject.nakamura.lite.ConfigurationImpl"/>
    </scr:component>
    <scr:component enabled="true" immediate="true" name="org.sakaiproject.nakamura.lite.OSGiStoreListener">
        <implementation class="org.sakaiproject.nakamura.lite.OSGiStoreListener"/>
        <service servicefactory="false">
            <provide interface="org.sakaiproject.nakamura.api.lite.StoreListener"/>
        </service>
        <property name="service.pid" value="org.sakaiproject.nakamura.lite.OSGiStoreListener"/>
        <reference name="eventAdmin" interface="org.osgi.service.event.EventAdmin" cardinality="1..1" policy="static" bind="bindEventAdmin" unbind="unbindEventAdmin"/>
    </scr:component>
    <scr:component enabled="true" immediate="true" name="org.sakaiproject.nakamura.lite.RepositoryImpl" activate="activate" deactivate="deactivate">
        <implementation class="org.sakaiproject.nakamura.lite.RepositoryImpl"/>
        <service servicefactory="false">
            <provide interface="org.sakaiproject.nakamura.api.lite.Repository"/>
        </service>
        <property name="service.pid" value="org.sakaiproject.nakamura.lite.RepositoryImpl"/>
        <reference name="configuration" interface="org.sakaiproject.nakamura.api.lite.Configuration" cardinality="1..1" policy="static" bind="bindConfiguration" unbind="unbindConfiguration"/>
        <reference name="clientPool" interface="org.sakaiproject.nakamura.lite.storage.StorageClientPool" cardinality="1..1" policy="static" bind="bindClientPool" unbind="unbindClientPool"/>
        <reference name="storeListener" interface="org.sakaiproject.nakamura.api.lite.StoreListener" cardinality="1..1" policy="static" bind="bindStoreListener" unbind="unbindStoreListener"/>
        <reference name="principalValidatorResolver" interface="org.sakaiproject.nakamura.api.lite.accesscontrol.PrincipalValidatorResolver" cardinality="1..1" policy="static" bind="bindPrincipalValidatorResolver" unbind="unbindPrincipalValidatorResolver"/>
    </scr:component>
    <scr:component enabled="true" immediate="true" name="org.sakaiproject.nakamura.lite.accesscontrol.PrincipalValidatorResolverImpl">
        <implementation class="org.sakaiproject.nakamura.lite.accesscontrol.PrincipalValidatorResolverImpl"/>
        <service servicefactory="false">
            <provide interface="org.sakaiproject.nakamura.api.lite.accesscontrol.PrincipalValidatorResolver"/>
        </service>
        <property name="service.pid" value="org.sakaiproject.nakamura.lite.accesscontrol.PrincipalValidatorResolverImpl"/>
    </scr:component>
    <scr:component enabled="true" immediate="true" name="org.sakaiproject.nakamura.lite.http.SparseSessionTrackerImpl">
        <implementation class="org.sakaiproject.nakamura.lite.http.SparseSessionTrackerImpl"/>
        <service servicefactory="false">
            <provide interface="javax.servlet.Filter"/>
            <provide interface="org.sakaiproject.nakamura.api.lite.SparseSessionTracker"/>
        </service>
        <property name="pattern" type="String" value="/.*"/>
        <property name="service.pid" value="org.sakaiproject.nakamura.lite.http.SparseSessionTrackerImpl"/>
    </scr:component>
    <scr:component enabled="true" immediate="true" name="org.sakaiproject.nakamura.lite.storage.jdbc.migrate.MigrateContentComponent" activate="activate">
        <implementation class="org.sakaiproject.nakamura.lite.storage.jdbc.migrate.MigrateContentComponent"/>
        <service servicefactory="false">
            <provide interface="org.sakaiproject.nakamura.api.lite.MigrateContentService"/>
        </service>
        <property name="redolog-location" type="String" value="migrationlogs"/>
        <property name="max-redo-log-size" type="Integer" value="1024000"/>
        <property name="service.pid" value="org.sakaiproject.nakamura.lite.storage.jdbc.migrate.MigrateContentComponent"/>
        <reference name="repository" interface="org.sakaiproject.nakamura.api.lite.Repository" cardinality="1..1" policy="static" bind="bindRepository" unbind="unbindRepository"/>
        <reference name="configuration" interface="org.sakaiproject.nakamura.api.lite.Configuration" cardinality="1..1" policy="static" bind="bindConfiguration" unbind="unbindConfiguration"/>
        <reference name="propertyMigratorTracker" interface="org.sakaiproject.nakamura.lite.storage.jdbc.migrate.PropertyMigratorTracker" cardinality="1..1" policy="static" bind="bindPropertyMigratorTracker" unbind="unbindPropertyMigratorTracker"/>
    </scr:component>
    <scr:component enabled="true" immediate="true" name="org.sakaiproject.nakamura.lite.storage.jdbc.migrate.PropertyMigratorTrackerService">
        <implementation class="org.sakaiproject.nakamura.lite.storage.jdbc.migrate.PropertyMigratorTrackerService"/>
        <service servicefactory="false">
            <provide interface="org.sakaiproject.nakamura.lite.storage.jdbc.migrate.PropertyMigratorTracker"/>
        </service>
        <property name="service.pid" value="org.sakaiproject.nakamura.lite.storage.jdbc.migrate.PropertyMigratorTrackerService"/>
        <reference name="propertyMigrator" interface="org.sakaiproject.nakamura.api.lite.PropertyMigrator" cardinality="0..n" policy="dynamic" bind="bind" unbind="unbind"/>
    </scr:component>
    <scr:component enabled="false" immediate="true" name="org.sakaiproject.nakamura.lite.storage.mongo.MongoClientPool" activate="activate" modified="activate">
        <implementation class="org.sakaiproject.nakamura.lite.storage.mongo.MongoClientPool"/>
        <service servicefactory="false">
            <provide interface="org.sakaiproject.nakamura.lite.storage.StorageClientPool"/>
        </service>
        <property name="mongo.uri" type="String" value="mongodb://127.0.0.1/?maxpoolsize=1000"/>
        <property name="mongo.db" type="String" value="nakamura"/>
        <property name="mongo.user" type="String" value="nakamura"/>
        <property name="mongo.password" type="String" value="nakamura"/>
        <property name="mongo.gridfs.bucket" type="String" value="smc_content_bodies"/>
        <property name="service.pid" value="org.sakaiproject.nakamura.lite.storage.mongo.MongoClientPool"/>
        <reference name="configuration" interface="org.sakaiproject.nakamura.api.lite.Configuration" cardinality="1..1" policy="static" bind="bindConfiguration" unbind="unbindConfiguration"/>
    </scr:component>
    <scr:component enabled="false" name="org.sakaiproject.nakamura.lite.storage.cassandra.CassandraClientPool" activate="activate" deactivate="deactivate">
        <implementation class="org.sakaiproject.nakamura.lite.storage.cassandra.CassandraClientPool"/>
        <service servicefactory="false">
            <provide interface="org.sakaiproject.nakamura.lite.storage.StorageClientPool"/>
        </service>
        <property name="conection-pool" type="String" value="localhost:9610"/>
        <property name="max-active" type="Integer" value="200"/>
        <property name="max-wait" type="Long" value="10"/>
        <property name="max-idle" type="Integer" value="5"/>
        <property name="test-on-borrow" type="Boolean" value="true"/>
        <property name="test-on-return" type="Boolean" value="true"/>
        <property name="time-between-eviction-run" type="Long" value="60000"/>
        <property name="num-tests-per-eviction-run" type="Integer" value="1000"/>
        <property name="min-evictable-idle-time-millis" type="Long" value="10000"/>
        <property name="test-while-idle" type="Boolean" value="false"/>
        <property name="when-exhausted-action" type="String" value="grow"/>
        <property name="long-string-size" type="Integer" value="16384"/>
        <property name="store-base-dir" type="String" value="store"/>
        <property name="long-string-base-dir" type="String" value="store"/>
        <property name="service.pid" value="org.sakaiproject.nakamura.lite.storage.cassandra.CassandraClientPool"/>
        <reference name="storageManagerCache" interface="org.sakaiproject.nakamura.api.lite.StorageCacheManager" cardinality="0..1" policy="dynamic" bind="bindStorageManagerCache" unbind="unbindStorageManagerCache"/>
        <reference name="configuration" interface="org.sakaiproject.nakamura.api.lite.Configuration" cardinality="1..1" policy="static" bind="bindConfiguration" unbind="unbindConfiguration"/>
    </scr:component>
    <scr:component enabled="true" immediate="true" name="org.sakaiproject.nakamura.lite.storage.jdbc.JDBCStorageClientPool" activate="activate" deactivate="deactivate">
        <implementation class="org.sakaiproject.nakamura.lite.storage.jdbc.JDBCStorageClientPool"/>
        <service servicefactory="false">
            <provide interface="org.sakaiproject.nakamura.lite.storage.StorageClientPool"/>
        </service>
        <property name="jdbc-url" type="String" value="jdbc:derby:sling/sparsemap/db;create=true"/>
        <property name="jdbc-driver" type="String" value="org.apache.derby.jdbc.EmbeddedDriver"/>
        <property name="username" type="String" value="sa"/>
        <property name="password" type="String" value=""/>
        <property name="max-active" type="Integer" value="200"/>
        <property name="max-wait" type="Long" value="10"/>
        <property name="max-idle" type="Integer" value="5"/>
        <property name="test-on-borrow" type="Boolean" value="true"/>
        <property name="test-on-return" type="Boolean" value="true"/>
        <property name="time-between-eviction-run" type="Long" value="60000"/>
        <property name="num-tests-per-eviction-run" type="Integer" value="1000"/>
        <property name="min-evictable-idle-time-millis" type="Long" value="10000"/>
        <property name="test-while-idle" type="Boolean" value="false"/>
        <property name="when-exhausted-action" type="String" value="grow"/>
        <property name="long-string-size" type="Integer" value="16384"/>
        <property name="store-base-dir" type="String" value="store"/>
        <property name="long-string-base-dir" type="String" value="store"/>
        <property name="service.pid" value="org.sakaiproject.nakamura.lite.storage.jdbc.JDBCStorageClientPool"/>
        <reference name="storageManagerCache" interface="org.sakaiproject.nakamura.api.lite.StorageCacheManager" cardinality="0..1" policy="dynamic" bind="bindStorageManagerCache" unbind="unbindStorageManagerCache"/>
        <reference name="configuration" interface="org.sakaiproject.nakamura.api.lite.Configuration" cardinality="1..1" policy="static" bind="bindConfiguration" unbind="unbindConfiguration"/>
    </scr:component>
    <scr:component enabled="false" name="org.sakaiproject.nakamura.lite.storage.mem.MemoryStorageClientPool" activate="activate" deactivate="deactivate">
        <implementation class="org.sakaiproject.nakamura.lite.storage.mem.MemoryStorageClientPool"/>
        <service servicefactory="false">
            <provide interface="org.sakaiproject.nakamura.lite.storage.StorageClientPool"/>
        </service>
        <property name="max-active" type="Integer" value="200"/>
        <property name="max-wait" type="Long" value="10"/>
        <property name="max-idle" type="Integer" value="5"/>
        <property name="test-on-borrow" type="Boolean" value="true"/>
        <property name="test-on-return" type="Boolean" value="true"/>
        <property name="time-between-eviction-run" type="Long" value="60000"/>
        <property name="num-tests-per-eviction-run" type="Integer" value="1000"/>
        <property name="min-evictable-idle-time-millis" type="Long" value="10000"/>
        <property name="test-while-idle" type="Boolean" value="false"/>
        <property name="when-exhausted-action" type="String" value="grow"/>
        <property name="long-string-size" type="Integer" value="16384"/>
        <property name="store-base-dir" type="String" value="store"/>
        <property name="long-string-base-dir" type="String" value="store"/>
        <property name="service.pid" value="org.sakaiproject.nakamura.lite.storage.mem.MemoryStorageClientPool"/>
        <reference name="configuration" interface="org.sakaiproject.nakamura.api.lite.Configuration" cardinality="1..1" policy="static" bind="bindConfiguration" unbind="unbindConfiguration"/>
    </scr:component>
</components>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy