chibenwa commented on code in PR #2835:
URL: https://github.com/apache/james-project/pull/2835#discussion_r2431823850


##########
server/protocols/webadmin/webadmin-jmap/src/main/java/org/apache/james/webadmin/data/jmap/RunRulesOnMailboxRoutes.java:
##########
@@ -112,8 +118,8 @@ public String getBasePath() {
     public void define(Service service) {
         service.post(MESSAGES_PATH, runRulesOnMailboxRoute(), jsonTransformer);
 
-        // JAMES-4148: should define a hook to be able to plug it as an extra 
task route on /messages endpoint
-        // service.post(MESSAGES_BASE, this::runRulesOnAllUsersMailbox, 
jsonTransformer);
+        // TESTING only

Review Comment:
   Yes. I wanted to keep the tests as is, and avoid a complicated plug with the 
messagesRoute, avoid a new dependency. That's the most straightforward way to 
do this I found....



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to