Requirement on the rest API to add Nexus Artifact Sources to Harness

This topic provides requirements on the rest of API to add Nexus Artifact Sources to Harness.

Make sure the connected user account has the following permissions in the Nexus Server.
• Repo: All repositories (Read)
• Nexus UI: Repository Browser
If used as a Docker Repo, the user needs:
• List images and tags
• Pull images

  1. Go to this in your equivalent in URL: https://nexus3.dev.harness.io/#admin/system/api

  2. Find menu System → API then scroll the list of APIs till you see repositories.

  3. Then click Try it Out it will change and show as Execute button:

  4. It will then become this and show the sample call with curl and with base URL embedded

  5. Which for us is: https://nexus3.dev.harness.io/service/rest/v1/repositories That should be the base URL. That must work to return something else it means you do not meet the minimum requirement for it.

  6. You can check more on this here : [Repositories API]

We are dependent on these APIs to be able to interact with the system if you do not meet the minimum requirement for it then it is not possible to add Nexus artifactory to Harness.