You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2024/11/14 02:20:40 UTC
(james-project) 03/03: JAMES-2456 Add a Tika integration test for Distributed app
This is an automated email from the ASF dual-hosted git repository.
rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 88155b18d9669162f4993b4cab4c409e059bceb7
Author: Quan Tran <hq...@linagora.com>
AuthorDate: Wed Nov 13 16:00:26 2024 +0700
JAMES-2456 Add a Tika integration test for Distributed app
---
.../apache/james/DistributedJamesWithTikaTest.java | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/server/apps/distributed-app/src/test/java/org/apache/james/DistributedJamesWithTikaTest.java b/server/apps/distributed-app/src/test/java/org/apache/james/DistributedJamesWithTikaTest.java
new file mode 100644
index 0000000000..78b0666cf6
--- /dev/null
+++ b/server/apps/distributed-app/src/test/java/org/apache/james/DistributedJamesWithTikaTest.java
@@ -0,0 +1,32 @@
+/*
+ * 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;
+
+import org.apache.james.modules.AwsS3BlobStoreExtension;
+import org.junit.jupiter.api.extension.RegisterExtension;
+
+public class DistributedJamesWithTikaTest implements MailsShouldBeWellReceivedConcreteContract {
+ @RegisterExtension
+ static JamesServerExtension jamesServerExtension = CassandraRabbitMQJamesServerFixture.baseExtensionBuilder()
+ .extension(new AwsS3BlobStoreExtension())
+ .extension(new TikaExtension())
+ .lifeCycle(JamesServerExtension.Lifecycle.PER_TEST)
+ .build();
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org