-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JAMES-2884 Rename jmap modules to jmap-draft #164
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for this nice contribution.
After my review I believe:
- We should keep only one data-api that jmap and jmap-draft will share
- We are going to ship both JMAP and JMAP-Draft within the same application (on different ports) so we need to be cautious to have distinct fully qualified class names (
/server/protocol/jmap-draft
&/server/container/guice/protocols/jmap-draft
)
Apart from this, I gonna take time this morning to break down the mailing list thread you refer to into an epic, with subtickets.
Cheers,
Benoit
server/container/guice/protocols/jmap-draft/src/main/java/org/apache/james/jmap/JMAPModule.java
Outdated
Show resolved
Hide resolved
...ontainer/guice/protocols/jmap-draft/src/main/java/org/apache/james/utils/JmapGuiceProbe.java
Outdated
Show resolved
Hide resolved
Leave Mailet code in the original package because those classes are referenced from configuration files.
2aebd7e
to
01d1685
Compare
I had another run at this.
|
That assumption is right (cf mailetContainer.xml) My personal believe regarding mailets is that new & old spec can share the same mailet (underlying logic did not change). Thus extracting JMAP mailet under a |
Hello @cketti , There are some failed tests after your rename proposal, I made some corrections to your work here, feel free to cherry-pick my commits here! Issues:
Best regards, Benoit |
@chibenwa Thanks 👍 Is there an easy way to build the project, then start it up and run the integration tests using Docker? |
The integration tests are fully integrated to the junit test suite. We rely on testcontainer leveraging docker-java in order to start dependencies then run James directly in the testing JVM For running them, having docker working and writting If you are looking for a CI have a look at https://github.com/linagora/james-jenkins Also, we have a CI running, but on |
Hi @cketti , I just merged this work, can you close this PR? |
First step of the plan outlined in https://www.mail-archive.com/server-dev@james.apache.org/msg62072.html
jmap
in their name to usejmap-draft
insteadJMAPServer
toJMAPDraftServer
https://issues.apache.org/jira/browse/JAMES-2884