Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of all available groovy functions in Nexus3

Where can I find the groovy API documentation containing the list of available function for Sonatype Nexus 3?

I saw the web page below which describes

  • core
  • repository
  • blobStore
  • security

https://help.sonatype.com/repomanager3/rest-and-integration-api/script-api/writing-scripts#app

... but how to know what to put after security, for example security.securitySystem.changePassword?

Thanks.

like image 212
Samuel Mutel Avatar asked Jan 02 '23 12:01

Samuel Mutel


1 Answers

I too had looked for the specific functions for a while but didn't find any official documentation, so I went straight to the code looking for the functions:

  • core
  • repository
  • security
  • blobStore

Here are some samples that may help: https://github.com/sonatype/nexus-book-examples/tree/nexus-3.x/scripting.

The links were taken from this page: https://books.sonatype.com/nexus-book/3.0/reference/scripting.html#scripting-configuration

like image 147
Carles Capdevila Tejada Avatar answered Jan 08 '23 04:01

Carles Capdevila Tejada