Maven Virtual Registry: Maven API endpoint
🔭 Issues plan
- Maven Virtual Registry: Database models (#467972 - closed).
- Maven Virtual Registry: Permissions policy (#467977 - closed).
- Maven Virtual Registry: Registry models API (#467979 - closed).
-
Maven Virtual Registry: Maven API endpoint (#467982 - closed).
👈 You're here. - Maven Virtual Registry: Cache logic (#467983 - closed).
- Maven Registry: Cached responses destruction (#468113 - closed).
- Improve workhorse dependencyproxy logic (#461561 - closed).
- Maven Virtual Registry: Documentation (#468115).
- Maven Virtual Registry: Performance review (#468116).
- Maven Virtual Registry: feature flag cleanup (#468117).
🗒 Description
Route | Notes |
---|---|
GET /api/v4/virtual_registry/packages/maven/:registry_id/*path/:file_name | Users will need to configure /api/v4/virtual_registry/packages/maven/:registry_id as the registry endpoint. |
To give a concrete example here, on gitlab.com
, with a maven registry with id 555
, I'll configure Maven clients with.
https://gitlab.com/api/v4/virtual_registry/packages/maven/555
No caching logic in this implementation. Simply workhorse sendurl
to the upstream and that's it.
🔮 Other considerations
- No caching logic, it will be implemented in the next issue.
- Authentication: PAT, CI job token, DeployToken
- Authorization: permission
read_virtual_registry
. See Maven Virtual Registry: Permissions policy (#467977 - closed). - Use a feature flag
Edited by David Fernandez