Set up your Artifactory
Configuring your Artifactory instance to connect to Deque's Agora artifact repository
Configuring your Artifactory repository to connect to Deque’s Agora artifact repository
Follow these steps when you want to connect to Deque’s Agora artifact repository from your Artifactory instance. Setting up this authenticated remote repository within Artifactory allows your users to access Axe DevTools components through your own software distribution network.
Prerequisites
You must have Agora login credentials as well as admin credentials to your Artifactory instance to configure this repository connection.
Creating an Agora Identity Token
To begin, sign into Agora, click the welcome button in the top right corner to take you to the profile page. Here you will need to generate an Identity Token and copy it.
Remember to copy your Identity Token's value when creating it, as this will be your only opportunity. Otherwise, you'll have to create a new token.
Identity Tokens expire (usually after a year), so you'll need to recreate your token periodically.
Connecting to Agora
- Sign into your Artifactory Repository Manager with your admin credentials.
- Select Admin in the left navigation menu.
- Select “Remote” under “Repositories” to display the remote repositories page.
- Select “Create New” in the upper right of the Remote Repositories page.
- The page should display a listing of package types
- Select your package type (e.g. npm)
- The create repository: page should display a form (see above example of an npm repository).
- In the Repository Key field, type the name you would like to use to refer to the repository. The repository key must not contain spaces or special characters, must be unique, must not begin with a number, and is limited to 58 characters.
- Enter the URL to the Agora registry (see Agora Registry URLs below).
- Select the appropriate layouts (defaults should work for each repository type)
- Click the “Test” button to test the connection
- Click “Save and Finish”
- If you want users to use this repository by default you will have to include it in any of your virtual registries
Agora Registry URLs
These links are not meant to be visited. Instead, right-click on the link you want, choose Copy Link, and then paste the URL into the Agora setup page for the Agora registry's URL.
- npm: https://agora.dequecloud.com/artifactory/api/npm/devtools-npm/
- Maven: https://agora.dequecloud.com/artifactory/devtools-maven/
- NuGet: https://agora.dequecloud.com/artifactory/api/nuget/devtools-nuget/
- Gems: https://agora.dequecloud.com/artifactory/devtools-gems/
- Pip: https://agora.dequecloud.com/artifactory/api/pypi/devtools-python/simple/
