sonatype / nexus-public

Sonatype Nexus Repository Open-source codebase mirror
https://www.sonatype.com/products/repository-oss-download
Eclipse Public License 1.0
1.84k stars 556 forks source link

NEXUS-17671 Provide a REST API for cleanup policies #149

Open stevehipwell opened 1 year ago

stevehipwell commented 1 year ago
nblair commented 1 year ago

Thanks for opening this @stevehipwell, we will keep this open to gauge demand.

eriklogtenberg commented 11 months ago

Actually, it would be really nice to be able to fully configure Nexus through the API. This would aid automatic deployment through our CI/CD pipeline significantly.

tutNichts commented 11 months ago

I would also greatly appreciate this. For my scripted Nexus configuration, Cleanup Policies are the last missing piece.

martincodes-de commented 11 months ago

I wholeheartedly support the idea of integrating the Cleanup Policy API for Nexus.

It's long overdue and will provide significant advantages to our project. The ability to automatically clean up artifacts will enhance our build environments and ensure a more efficient development workflow.

I kindly ask the development team to consider prioritizing this feature for prompt implementation.

eddiewebb commented 9 months ago

We have Terraform driving full metal to meta provisioning and outside replacing the default admin credentials this is our only remaining manual task. Thanks for any consideration towards this feature.


EDIT:

We are having success with enabling scripting, and this solution https://stackoverflow.com/questions/66170796/nexus-3-create-clean-up-policy-with-groovy-script

We start with a configmap that has the scripting flag in nexus.properties to true, configure cleanup policies with link above, disable scripting with another config map change and restart deploy.

RGPosadas commented 9 months ago

+1, would greatly improve our QoL when configuring and maintaining nexus.

mowhank commented 9 months ago

+1, We fully configure our Nexus instance through Ansible and we can't manage add, update and delete cleanup policies while we manage blobstores, repositories, roles, users, ad with API.

Please take care of this request 👍

Tosta-Mista commented 9 months ago

+1 It would be great to have this, useful when you want to manage everything via scripts/ansible/terraform.

danparisi commented 8 months ago

Same for me, looking forward to have this feature

sonykus commented 8 months ago

Big Bump! Same as all the others above.

mfld commented 7 months ago

+1. Would love for this feature to be implemented

fregatte commented 7 months ago

Can't wait for it, it would be great to implement and give the ability to use in automated IaC configurations

santimar commented 6 months ago

@nblair any update on this?

torsten-online commented 4 months ago

Just from moving of own puppet deployment of Nexus, the missing management of cleanup Policies over the Rest Api is stopping us, to have Nexus fully into Code over Terraform.

I will really Welcome this, If sonatype will Take over this Feature, soon.

Thanks 👍

soam247 commented 4 months ago

+1 would highly appreciate it

Exether commented 4 months ago

This is the last bit that prevents the full automation of Nexus deployment, thanks in advance !

m4rii0 commented 4 months ago

Up, we cannot fully automate the configuration of the Nexus instance without this endpoints

shook2012 commented 3 months ago

+1. Would love for this feature to be implemented

BenjaminSchweizer commented 3 months ago

+1 - would love it

akramWewe commented 2 months ago

+1

tele-penguin commented 2 months ago

+1 for these API features. Being able to fully configure via API would be extremely helpful.

craigmiller160 commented 2 months ago

+1 for this