HandlerContributor not extending custom ContributedHandler with datastore enabled - Sonatype Nexus Repository - Sonatype Community

HandlerContributor not extending custom ContributedHandler with datastore enabled

post by bborzor on Sep 27, 2024

Hello!

Im developing plugin extension for nexus3, using 3.59.0 version with docker. With default run settings everyting is ok, but for some reason, if run a container with datastore enabled(Dnexus.datastore.enabled=true, using postgresql) - HandlerContributor not extending custom ContributedHandler. Any suggestions on how to solve this problem?

Best Regards,

Boris.

post by mpiggott on Sep 27, 2024

My only suggestion is that perhaps your ContributedHandler cannot be injected, or perhaps even resolved. i.e. if it were written for Orient the many classes have changed.

post by bborzor on Sep 30, 2024

yea, i think this is what happening, but no idea why, because implementation of ContributedHandler not changing. Maybe there is a tool or debugging method for this? Logs on handling repository requests only shows, that HandlerContributor extending chains by default handlers but not mine

post by Michael_Greenwood on Apr 30, 2025

@bborzor did you find a solution to this? I am having the exact same problem.

post by bborzor on Apr 30, 2025

unfortunately not