0

I want to understand what is a virtual repository in the context of Artifacts Repository Manager.

Before that, I referred the documentation. But, I didn't get the explanation as I was new to DevOps that time. Thanks.

A virtual repository is a collection of local, remote and other virtual repositories accessed through a single logical URL.

A virtual repository hides the access details of the underlying repositories letting users work with a single, well-known URL. The underlying participating repositories and their access rules may be changed without requiring any client-side changes.

Above is the documentation definition, my doubt is how virtual repositories are connected to either Local/Remote Repository.

omkar sirra
  • 163
  • 1
  • 2
  • 8

3 Answers3

5

Local repositories serve artifacts from your local storage. These are found in paths like this one:

http://<host>:<port>/artifactory/<local-repository-name>/<artifact-path>

Remote repositories act as proxies to remote locations which may e.g. be other Artifactory servers. They also provide caching. These are found in paths like this one:

http://<host>:<port>/artifactory/<remote-repository-name>/<artifact-path>

Virtual repositories provide a way to logically group many repositories under a common name. Example path is following:

http://<host>:<port>/artifactory/<virtual-repository-name>/<artifact-path>

There is a default virtual repository called repo which groups all local and remote repositories.

Please try this article from JFrog for more details. It covers local, remote and virtual repositories in a friendly way:

https://www.jfrog.com/confluence/display/RTF20/Understanding+Repositories

treedust
  • 117
  • 7
luki
  • 84
  • 1
  • 2
3

A virtual repository is a collection of local, remote and other virtual repositories accessed through a single logical URL.

A virtual repository hides the access details of the underlying repositories letting users work with a single, well-known URL. The underlying participating repositories and their access rules may be changed without requiring any client-side changes.

Quote from the JFrog Artifactory User Guide.

JBaruch
  • 383
  • 1
  • 11
2

Artifactory allows you to define a virtual repository which is a collection of local, remote and other virtual repositories accessed through a single logical URL.

A virtual repository hides the access details of the underlying repositories letting users work with a single, well-known URL. The underlying participating repositories and their access rules may be changed without requiring any client-side changes.

Balaji L S
  • 21
  • 2