[ https://issues.apache.org/jira/browse/JAMES-3796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3796. --------------------------------- Resolution: Fixed > Guice support the custom task-json in extension > ----------------------------------------------- > > Key: JAMES-3796 > URL: https://issues.apache.org/jira/browse/JAMES-3796 > Project: James Server > Issue Type: Improvement > Reporter: Tung TRAN > Priority: Minor > Time Spent: 1h 10m > Remaining Estimate: 0h > > *Why* > - James is supporting the custom web admin > ([https://james.apache.org/howTo/custom-webadmin-routes.html]), but It does > not yet support the `task-json` in the extension. > We got an error when trying to guice bind more > `AdditionalInformationDTOModule` to Set in the extension module. > Eg: > {code:java} > @Named(DTOModuleInjections.WEBADMIN_DTO) > @ProvidesIntoSet > public AdditionalInformationDTOModule<? extends > TaskExecutionDetails.AdditionalInformation, ? extends > AdditionalInformationDTO> webAdminFeedHamAdditionalInformation() > { return > FeedHamToRSpamDTaskAdditionalInformationDTO.SERIALIZATION_MODULE; } > {code} > -> It will be better if have a mechanism for support that > *How* > - Add one more configure for `webadmin-dto` guice in `webadmin.properties`. > Eg: > `extensions.dtos=org.apache.james.modules.server.WebAdminDTOExtensionModuleImpl` > > - Add one more configure for `task-json` guice in `extensions.properties` > Eg: > `guice.extension.task=org.apache.james.server.task.json.TaskExtensionModuleImpl` > > > Mailing-list: > [https://www.mail-archive.com/server-dev@james.apache.org/msg72210.html] -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org