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

Overview

Artifactory supports Remote Repository Provisioning which allows you to share the configuration details of remote repositories between different instances of Artifactory.

JFrog maintains a  Public instance of Artifactory which contains an up-to-date version of most of the common public repositories, and has enabled shared configurations which you can import as described below. .

Page Contents


Sharing a Repository Configuration

To share a remote repository configuration, set the Share Configuration check box in the Edit Remote Repository dialog.

When a remote repository configuration is shared, Artifactory makes it available to another Artifactory instance. In this case, all configuration parameters are shared to REST API queries except network connection credentials (Username and Password) and Proxy configuration.

You can declare a remote repository with a URL pointing to one of your own local repositories. In this case, if someone imports your repository configuration, they will also get the local repository parameters. Note that this remote repository is not usable.


Importing Shared Repository Configurations

To import a shared repository configuration from another instance of Artifactory, in the Remote Repositories section of the Configure Repositories page, click the "Import" button. Artifactory will display the Import Remote Repositories dialog.

In the URL field, enter the root URL of the Artifactory instance from which you want to import remote repository configurations. The default points to the JFrog Public Repository.

Click "Load" to issue a request to the server and display a list of repository configurations that have been shared.

If you have a System Default proxy defined, Artifactory uses it to perform this HTTP query.

 

Select the repository configurations you wish to import and click "Import". In case there is a naming conflict with an existing repository configuration, you can change the Repository Key for the import operation.

Important points to notice:

  1. If an imported repository key already exists within your instance of Artifactory, the configuration of the existing remote repository is modified.
  2. If an HTTP proxy is used, each of the new repositories must be associated with the local proxy definition.
  3. You must add new remote repositories to existing virtual repositories so they are visible to virtual repository requests.

 

 

 

  • No labels