criteo-cookbooks / nexus3

Chef cookbook to install and configure Sonatype Nexus 3 Repository Manager
http://www.sonatype.com/download-oss-sonatype
MIT License
17 stars 17 forks source link

Add resource for routing-rules #123

Closed jeremy-clerc closed 3 years ago

jeremy-clerc commented 3 years ago

Routing rules can be used by proxy repo to restrict access to certain paths.

https://help.sonatype.com/repomanager3/repository-management/routing-rules

This pull request is breaking if you changed default['nexus3']['api']['endpoint'] in your attributes. You'll need to remove script/ If you used ::Nexus3::Api.run_script / ::Nexus3::Api.request directly, you'll need to prepend the path with script/