sonatype-nexus-community / nexus-repository-composer

Composer support for the Nexus Repository Manager (work in progress!)
Eclipse Public License 1.0
211 stars 82 forks source link

Add rest api to configure composer repositories #144

Open stefdev49 opened 1 year ago

stefdev49 commented 1 year ago

This PR adds rest API support to configure composer repositories, which can be used in automated deployment.

Due to the incompatible changes in the 3.41.0-01 release, I had to raise nxrm-version and parent version to 3.41.0-01. Without this version bump the API for proxy repositories wouldn't work.

This feature has been tested through the nexus embedded API playground. I haven't been able to find a suitable integration test in the whole nexus-public, so any hint toward such a test would be welcomed.

stefdev49 commented 12 months ago

Hello,

I have been able to add API tests using the integration tests in nexus-repository-composer-it. I have added tests for the hosted and group case.