Importing Shared Configurations

Skip to end of metadata
Go to start of metadata
Table of Contents

Overview

Artifactory "Remote Repository Provisioning" feature allows you to share the configuration details of remote repositories between Artifactory instances.
The public JFrog Artifactory instance contains an up-to-date version of most of the common public repositories.

Sharing a Remote Repository Configuration

In the main panel of Admin:Repositories:Remote Repositories:Edit the checkbox "Share Configuration" will tell Artifactory to expose this remote repository configuration to other Artifactory instance.
When check, all configuration parameters will be shared from REST API queries except: Connection credentials (username,password) and Proxy configuration.

You can declare a remote repository with a URL pointing to yourself in order to expose access to your Artifactory. Be careful that this remote repository is not usable.

Using Import in Remote Repositories Configuration

To create or update remote repositories with a shared configuration from another Artifactory, go to Admin:Repositories:Remote Repositories:Import.

You can then enter the artifactory root URL of the server exposing remote repositories configuration. By default it points to JFrog public repository. Then activating "Load" will issue a request to the server.

If you have a "System Default" proxy defined, Artifactory will use it for doing this HTTP query.

A list of remote repositories can be selected and the repository key for each of them can be changed.

Important points to notice:
  1. If the repository key already exists, the configuration of the existing remote repository will be modified.
  2. If HTTP proxy is used, each of the new repository will have to be associated with the local proxy definition.
  3. You will have to add new remote repositories to existing virtual repositories in order for them to be visible to virtual repository requests.
Labels: