nexus-repository-composer icon indicating copy to clipboard operation
nexus-repository-composer copied to clipboard

HA support

Open julienhuon opened this issue 5 months ago • 0 comments

Hi,

Currently, the plug-in doesn't works with the new high availability mode of Nexus.

The plug-in can be installed without any error, but when you're trying to configure a new repository, all the composer recipes will not appear in the list of available recipes and the following error will appear in nexus.log:

2024-10-01 14:56:14,388+0200 ERROR [qtp286980758-317] nexus admin org.sonatype.nexus.repository.db.datastore.DatabaseCheckImpl - Missing database version specified for class org.sonatype.nexus.repository.composer.internal.recipe.ComposerHostedRecipe
2024-10-01 14:56:14,389+0200 ERROR [qtp286980758-317] nexus admin org.sonatype.nexus.repository.db.datastore.DatabaseCheckImpl - Missing database version specified for class org.sonatype.nexus.repository.composer.internal.recipe.ComposerProxyRecipe
2024-10-01 14:56:14,390+0200 ERROR [qtp286980758-317] nexus admin org.sonatype.nexus.repository.db.datastore.DatabaseCheckImpl - Missing database version specified for class org.sonatype.nexus.repository.composer.internal.recipe.ComposerGroupRecipe

This PR adds support of the ha mode of Nexus by:

Let me know if you need any further information.

Regards, Julien Huon

julienhuon avatar Oct 01 '24 13:10 julienhuon