Quantcast

Unable to force Artifactory-Server to download libs by request from Artifactory-Satellite

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Unable to force Artifactory-Server to download libs by request from Artifactory-Satellite

Evgeny Morozov

I have two Artefactory instances - on the Russia (satellite) and on the USA
(server). And I want satellite to download jars which I need from server
instance and if server hasn't them, then I want server to download it from
maven central or other public.

So, as it mentioned on the other branches I set "Artifactory requests can
retrieve remote artifacts" flag to true, but I can't reach what I need. It
works like this: if my satellite or my server instance has *.jars, then I
can receive it, but server can't ask to other public repositories if it
hasn't what I need.

Artifactory version is 2.0.5 for both server and satellite.

I've read some branches of these forum, tried some; used google, but can't
find any helpful. I would appreciate for any ideas.
Thanks for your time!
--
View this message in context: http://www.nabble.com/Unable-to-force-Artifactory-Server-to-download-libs-by-request-from-Artifactory-Satellite-tp24602843p24602843.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to force Artifactory-Server to download libs by request from Artifactory-Satellite

Yoav Landman
Administrator
The "Artifactory requests can retrieve remote artifacts" flag is per virtual repository, so satellite Artifactories need to specify the URL of the virtual repository (http://server/artifactory/<virtual-repo-name>) for the remote Artifactory repository. If this is your setup and it doesn't work it may be a bug.
If, however, you are using the global "repo" virtual repository in the URL, then it will not download remote artifacts automatically.

HTH,

Yoav

On Wed, Jul 22, 2009 at 12:26 PM, Evgeny Morozov <[hidden email]> wrote:

I have two Artefactory instances - on the Russia (satellite) and on the USA
(server). And I want satellite to download jars which I need from server
instance and if server hasn't them, then I want server to download it from
maven central or other public.

So, as it mentioned on the other branches I set "Artifactory requests can
retrieve remote artifacts" flag to true, but I can't reach what I need. It
works like this: if my satellite or my server instance has *.jars, then I
can receive it, but server can't ask to other public repositories if it
hasn't what I need.

Artifactory version is 2.0.5 for both server and satellite.

I've read some branches of these forum, tried some; used google, but can't
find any helpful. I would appreciate for any ideas.
Thanks for your time!
--
View this message in context: http://www.nabble.com/Unable-to-force-Artifactory-Server-to-download-libs-by-request-from-Artifactory-Satellite-tp24602843p24602843.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------

_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to force Artifactory-Server to download libs by request from Artifactory-Satellite

Evgeny Morozov

Really thanks for your answer! You are absolutely right, now I can confirm
it, because I guessed it by myself. =)
It wasn't obvoius for me. After reading documentation I was sure that
Artifactory will try to find needed .jar on the local repository and then on
the cache and only then it will try to download. So I used only global
"repo" and it of course didn't work.
I think it will be helpful to add this explanation to documentation.

Thank for your time!


Yoav  Landman wrote:

>
> The "Artifactory requests can retrieve remote artifacts" flag is per
> virtual
> repository, so satellite Artifactories need to specify the URL of the
> virtual repository (http://server/artifactory/<virtual-repo-name>) for the
> remote Artifactory repository.
> If, however, you are using the global "repo" virtual repository in the
> URL,
> then it will not download remote artifacts automatically.
>
> HTH,
>
> Yoav
>
> On Wed, Jul 22, 2009 at 12:26 PM, Evgeny Morozov
> <[hidden email]
>> wrote:
>
>>
>> I have two Artefactory instances - on the Russia (satellite) and on the
>> USA
>> (server). And I want satellite to download jars which I need from server
>> instance and if server hasn't them, then I want server to download it
>> from
>> maven central or other public.
>>
>> So, as it mentioned on the other branches I set "Artifactory requests can
>> retrieve remote artifacts" flag to true, but I can't reach what I need.
>> It
>> works like this: if my satellite or my server instance has *.jars, then I
>> can receive it, but server can't ask to other public repositories if it
>> hasn't what I need.
>>
>> Artifactory version is 2.0.5 for both server and satellite.
>>
>> I've read some branches of these forum, tried some; used google, but
>> can't
>> find any helpful. I would appreciate for any ideas.
>> Thanks for your time!
>> --
>> View this message in context:
>> http://www.nabble.com/Unable-to-force-Artifactory-Server-to-download-libs-by-request-from-Artifactory-Satellite-tp24602843p24602843.html
>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Artifactory-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>

--
View this message in context: http://www.nabble.com/Unable-to-force-Artifactory-Server-to-download-libs-by-request-from-Artifactory-Satellite-tp24602843p24615051.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Loading...