james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [1/5] james-project git commit: JAMES-1994 remove cassandra spring configuration file
Date Thu, 02 Mar 2017 11:21:01 GMT
Repository: james-project
Updated Branches:
  refs/heads/master afe155866 -> 35cb47ae4


JAMES-1994 remove cassandra spring configuration file


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/35cb47ae
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/35cb47ae
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/35cb47ae

Branch: refs/heads/master
Commit: 35cb47ae4b914b7edbf217dd9fba7a6dc4be235b
Parents: d71dfc4
Author: Luc DUZAN <lduzan@linagora.com>
Authored: Wed Feb 22 13:46:24 2017 +0100
Committer: benwa <btellier@linagora.com>
Committed: Thu Mar 2 18:20:35 2017 +0700

----------------------------------------------------------------------
 .../resources/META-INF/cassandra-session.xml    | 144 -------------------
 1 file changed, 144 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/35cb47ae/backends-common/cassandra/src/main/resources/META-INF/cassandra-session.xml
----------------------------------------------------------------------
diff --git a/backends-common/cassandra/src/main/resources/META-INF/cassandra-session.xml b/backends-common/cassandra/src/main/resources/META-INF/cassandra-session.xml
deleted file mode 100644
index 3fe26f0..0000000
--- a/backends-common/cassandra/src/main/resources/META-INF/cassandra-session.xml
+++ /dev/null
@@ -1,144 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="
-          http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
-          http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
-
-    <!-- Cassandra lazy initialization-->
-
-    <!--
-      The Cluster factory is responsible for connecting the cluster
-
-      The ClusterWithKeyspaceCreatedFactory is responsible for creating the keyspace if not
present.
-
-      The SessionFactory is responsible for giving a session we can work with
-    -->
-
-    <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
-        <property name="ignoreUnresolvablePlaceholders" value="true"/>
-        <property name ="location" value="classpath:cassandra.properties"/>
-    </bean>
-
-    <bean id="cassandra-mailbox-uid-modseq-module"
-          class="org.apache.james.mailbox.cassandra.modules.CassandraUidAndModSeqModule"
-          lazy-init="true"/>
-
-    <bean id="cassandra-subscription-module"
-          class="org.apache.james.mailbox.cassandra.modules.CassandraSubscriptionModule"
-          lazy-init="true"/>
-
-    <bean id="cassandra-mailbox-module"
-          class="org.apache.james.mailbox.cassandra.modules.CassandraMailboxModule"
-          lazy-init="true"/>
-
-    <bean id="cassandra-mailbox-counters-module"
-          class="org.apache.james.mailbox.cassandra.modules.CassandraMailboxCounterModule"
-          lazy-init="true"/>
-
-    <bean id="cassandra-message-module"
-          class="org.apache.james.mailbox.cassandra.modules.CassandraMessageModule"
-          lazy-init="true"/>
-
-    <bean id="cassandra-mailbox-acl-module"
-          class="org.apache.james.mailbox.cassandra.modules.CassandraAclModule"
-          lazy-init="true"/>
-
-    <bean id="cassandra-mailbox-quota-module"
-          class="org.apache.james.mailbox.cassandra.modules.CassandraQuotaModule"
-          lazy-init="true"/>
-
-    <bean id="cassandra-mailbox-registration-module"
-          class="org.apache.james.mailbox.cassandra.modules.CassandraRegistrationModule"
-          lazy-init="true"/>
-
-    <bean id="cassandra-rrt-module"
-          class="org.apache.james.rrt.cassandra.CassandraRRTModule"
-          lazy-init="true"/>
-
-    <bean id="cassandra-sieve-repository-module"
-          class="org.apache.james.sieve.cassandra.CassandraSieveRepositoryModule"
-          lazy-init="true"/>
-
-    <bean id="cassandra-usersrepository-module"
-          class="org.apache.james.user.cassandra.CassandraUsersRepositoryModule"
-          lazy-init="true"/>
-
-    <bean id="cassandra-domainlist-module"
-          class="org.apache.james.domainlist.cassandra.CassandraDomainListModule"
-          lazy-init="true"/>
-
-    <bean id="cassandra-module-composite"
-          class="org.apache.james.backends.cassandra.init.CassandraModuleComposite"
-          lazy-init="true">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="cassandra-mailbox-uid-modseq-module"/>
-                <ref bean="cassandra-subscription-module"/>
-                <ref bean="cassandra-mailbox-registration-module"/>
-                <ref bean="cassandra-mailbox-module"/>
-                <ref bean="cassandra-message-module"/>
-                <ref bean="cassandra-mailbox-counters-module"/>
-                <ref bean="cassandra-mailbox-acl-module"/>
-                <ref bean="cassandra-mailbox-quota-module"/>
-                <ref bean="cassandra-rrt-module"/>
-                <ref bean="cassandra-usersrepository-module"/>
-                <ref bean="cassandra-domainlist-module"/>
-                <ref bean="cassandra-sieve-repository-module"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="cassandra-cluster"
-          class="org.apache.james.backends.cassandra.init.ClusterBuilder"
-          factory-method="createClusterForSingleServerWithoutPassWord"
-          lazy-init="true">
-        <constructor-arg index="0" value="${cassandra.ip}"/>
-        <constructor-arg index="1" value="${cassandra.port}" type="int"/>
-    </bean>
-
-    <bean id="cassandra-cluster-initialized"
-          class="org.apache.james.backends.cassandra.init.ClusterWithKeyspaceCreatedFactory"
-          factory-method="clusterWithInitializedKeyspace"
-          lazy-init="true">
-        <constructor-arg index="0" ref="cassandra-cluster"/>
-        <constructor-arg index="1" value="${cassandra.keyspace}"/>
-        <constructor-arg index="2" value="${cassandra.replication.factor}" type="int"/>
-    </bean>
-
-    <bean id="cassandra-session"
-          class="org.apache.james.backends.cassandra.init.SpringStaticSessionFactory"
-          factory-method="createSession"
-          lazy-init="true">
-        <constructor-arg index="0" ref="cassandra-cluster-initialized"/>
-        <constructor-arg index="1" value="${cassandra.keyspace}"/>
-        <constructor-arg index="2" ref="cassandra-module-composite"/>
-    </bean>
-
-    <bean id="cassandra-type-provider"
-          class="org.apache.james.backends.cassandra.init.CassandraTypesProvider"
-          lazy-init="true">
-        <constructor-arg index="0" ref="cassandra-module-composite"/>
-        <constructor-arg index="1" ref="cassandra-session"/>
-    </bean>
-
-</beans>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message