This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit c7125d401e518944c8bec2fa3aca18cbfc954449
Author: Benoit Tellier <btell...@linagora.com>
AuthorDate: Sat Aug 31 23:46:56 2019 +0700

    MAILBOX-359 Remove no longer used classes
---
 .../modules/CassandraRegistrationModule.java       | 44 ----------------------
 .../table/CassandraMailboxPathRegisterTable.java   | 36 ------------------
 2 files changed, 80 deletions(-)

diff --git 
a/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/modules/CassandraRegistrationModule.java
 
b/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/modules/CassandraRegistrationModule.java
deleted file mode 100644
index 8384890..0000000
--- 
a/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/modules/CassandraRegistrationModule.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/****************************************************************
- * 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.                                           *
- ****************************************************************/
-
-package org.apache.james.mailbox.cassandra.modules;
-
-import static com.datastax.driver.core.DataType.text;
-
-import org.apache.james.backends.cassandra.components.CassandraModule;
-import 
org.apache.james.mailbox.cassandra.table.CassandraMailboxPathRegisterTable;
-
-import com.datastax.driver.core.schemabuilder.SchemaBuilder;
-
-public interface CassandraRegistrationModule {
-    CassandraModule MODULE = CassandraModule.builder()
-        .type(CassandraMailboxPathRegisterTable.MAILBOX_PATH)
-        .statement(statement -> statement
-            
.addColumn(CassandraMailboxPathRegisterTable.MailboxPath.NAMESPACE, text())
-            .addColumn(CassandraMailboxPathRegisterTable.MailboxPath.NAME, 
text())
-            .addColumn(CassandraMailboxPathRegisterTable.MailboxPath.USER, 
text()))
-        .table(CassandraMailboxPathRegisterTable.TABLE_NAME)
-        .comment("Holds node mailboxPath registration for distributed events")
-        .options(options -> options
-            .compactionOptions(SchemaBuilder.timeWindowCompactionStrategy()))
-        .statement(statement -> statement
-            
.addUDTPartitionKey(CassandraMailboxPathRegisterTable.MAILBOX_PATH, 
SchemaBuilder.frozen(CassandraMailboxPathRegisterTable.MAILBOX_PATH))
-            .addClusteringColumn(CassandraMailboxPathRegisterTable.TOPIC, 
text()))
-        .build();
-}
diff --git 
a/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/table/CassandraMailboxPathRegisterTable.java
 
b/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/table/CassandraMailboxPathRegisterTable.java
deleted file mode 100644
index 69e76eb..0000000
--- 
a/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/table/CassandraMailboxPathRegisterTable.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/****************************************************************
- * 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.                                           *
- ****************************************************************/
-
-package org.apache.james.mailbox.cassandra.table;
-
-public interface CassandraMailboxPathRegisterTable {
-
-    String TABLE_NAME = "mailboxPathRegister";
-
-    String MAILBOX_PATH = "mailboxPath";
-
-    String TOPIC = "topic";
-
-    interface MailboxPath {
-        String NAMESPACE = "namespace";
-        String USER = "user";
-        String NAME = "name";
-    }
-
-}


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

Reply via email to