Skip to content
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

Split ContactsCollection mailet #1308

Merged
merged 4 commits into from
Nov 19, 2024

Conversation

HoussemNasri
Copy link
Member

@HoussemNasri HoussemNasri commented Nov 14, 2024

Closes #1257

TODO

  • Add more integration tests
  • In James-project: fix com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of org.apache.james.transport.mailets.ContactExtractor$ExtractedContacts
  • Update documentation for the mailet
  • Delete ContactsCollection leftovers (code, doc, tests, etc...)
    • Remove the replace_openpaas_amqp_uri hack from MemoryCalendarEventReplyWithAMQPWorkflowTest and use OpenPaasAmqpForwardAttribute.

@HoussemNasri HoussemNasri force-pushed the split-contacts-collection branch 2 times, most recently from 01c3f47 to cbce198 Compare November 18, 2024 13:52
@HoussemNasri HoussemNasri changed the title [WIP] Split ContactsCollection mailet Split ContactsCollection mailet Nov 18, 2024
@HoussemNasri HoussemNasri marked this pull request as ready for review November 18, 2024 13:55
- Removed ContactsCollection usage from mailetcontainer.xml in tests
- Removed references of ContactsCollection from documentation
- Removed all code belonging to ContactsCollection
@Arsnael Arsnael merged commit e068afe into linagora:master Nov 19, 2024
5 checks passed
<mailet match="SenderIsLocal" class="com.linagora.tmail.mailets.ContactsCollection">
<mailet match="SenderIsLocal" class="ContactExtractor">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HoussemNasri can you adapt this change to memory-app sample mailetcontainer.xml and potentially other apps too?

Frontend team rely on memory app for their test and it is failing java.lang.ClassNotFoundException: com.linagora.tmail.mailets.ContactsCollection. cc @hoangdat @tk-nguyen @tddang-linagora

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's already adapted AFAIK.

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe mobile team mount outdated configuration file to container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split ContactsCollection
5 participants