[jira] [Created] (JAMES-2611) Log info instead of warning when lmtpserver.xml or managesieve.xml are missing

2018-11-27 Thread Gautier DI FOLCO (JIRA)
Gautier DI FOLCO created JAMES-2611:
---

 Summary: Log info instead of warning when lmtpserver.xml or 
managesieve.xml are missing
 Key: JAMES-2611
 URL: https://issues.apache.org/jira/browse/JAMES-2611
 Project: James Server
  Issue Type: Improvement
  Components: guice
Reporter: Gautier DI FOLCO


Log info instead of warning when `lmtpserver.xml` or `managesieve.xml` are 
missing because there are optional files.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[1/2] james-project git commit: JAMES-2544 Increase timeout of ConcurrentEnqueueDequeue

2018-11-27 Thread btellier
Repository: james-project
Updated Branches:
  refs/heads/master edac1840a -> bc079d2f6


JAMES-2544 Increase timeout of ConcurrentEnqueueDequeue

It seems that the CI is too slow for RabbitMQMailQueue regarding the configured 
timeout


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

Branch: refs/heads/master
Commit: bc079d2f620d3a20046d0f6d8f85331df45c5175
Parents: 7ac8c9f
Author: Benoit Tellier 
Authored: Mon Nov 26 12:07:25 2018 +0700
Committer: Benoit Tellier 
Committed: Tue Nov 27 17:41:58 2018 +0700

--
 .../test/java/org/apache/james/queue/api/MailQueueContract.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/james-project/blob/bc079d2f/server/queue/queue-api/src/test/java/org/apache/james/queue/api/MailQueueContract.java
--
diff --git 
a/server/queue/queue-api/src/test/java/org/apache/james/queue/api/MailQueueContract.java
 
b/server/queue/queue-api/src/test/java/org/apache/james/queue/api/MailQueueContract.java
index b5d8b3e..be3029d 100644
--- 
a/server/queue/queue-api/src/test/java/org/apache/james/queue/api/MailQueueContract.java
+++ 
b/server/queue/queue-api/src/test/java/org/apache/james/queue/api/MailQueueContract.java
@@ -384,7 +384,7 @@ public interface MailQueueContract {
 })
 .threadCount(threadCount)
 .operationCount(operationCount)
-.runSuccessfullyWithin(Duration.ofMinutes(1));
+.runSuccessfullyWithin(Duration.ofMinutes(5));
 
 assertThat(
 dequeuedMails.stream()


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



[2/2] james-project git commit: JAMES-2544 Correct RabbitMQ Enqueuer asynchronous logic

2018-11-27 Thread btellier
JAMES-2544 Correct RabbitMQ Enqueuer asynchronous logic


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

Branch: refs/heads/master
Commit: 7ac8c9f2b03bcf7b80e1715c9ab50c5eb56f8d92
Parents: edac184
Author: Benoit Tellier 
Authored: Mon Nov 26 11:56:33 2018 +0700
Committer: Benoit Tellier 
Committed: Tue Nov 27 17:41:58 2018 +0700

--
 .../src/main/java/org/apache/james/queue/rabbitmq/Enqueuer.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/james-project/blob/7ac8c9f2/server/queue/queue-rabbitmq/src/main/java/org/apache/james/queue/rabbitmq/Enqueuer.java
--
diff --git 
a/server/queue/queue-rabbitmq/src/main/java/org/apache/james/queue/rabbitmq/Enqueuer.java
 
b/server/queue/queue-rabbitmq/src/main/java/org/apache/james/queue/rabbitmq/Enqueuer.java
index b0dbc84..7a93fe0 100644
--- 
a/server/queue/queue-rabbitmq/src/main/java/org/apache/james/queue/rabbitmq/Enqueuer.java
+++ 
b/server/queue/queue-rabbitmq/src/main/java/org/apache/james/queue/rabbitmq/Enqueuer.java
@@ -62,7 +62,7 @@ class Enqueuer {
 void enQueue(Mail mail) throws MailQueue.MailQueueException {
 saveMail(mail)
 .thenApply(Throwing.function(partsId -> publishReferenceToRabbit(mail, 
partsId)).sneakyThrow())
-.thenApply(mailQueueView::storeMail)
+.thenCompose(mailQueueView::storeMail)
 .thenRun(enqueueMetric::increment)
 .join();
 }


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



[jira] [Created] (JAMES-2610) Enhance MailetPipelineLogging

2018-11-27 Thread Antoine Duprat (JIRA)
Antoine Duprat created JAMES-2610:
-

 Summary: Enhance MailetPipelineLogging
 Key: JAMES-2610
 URL: https://issues.apache.org/jira/browse/JAMES-2610
 Project: James Server
  Issue Type: New Feature
Reporter: Antoine Duprat


This logger is really helpful when debugging a pipeline mailet.

However, some mailets do not override the `getMailetInfo` method, and the 
generic implementation of it is returning an empty string.

This means we are blind on some mailet and calls.

To get rid of this, we can log the mailing list in an empty mailet info.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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