Support http proxy in replicator (RTFACT-16396)

[RTFACT-16418] Add proxy configuration for Replicator Created: 15/Apr/18  Updated: 07/May/18  Resolved: 07/May/18

Status: Resolved
Project: Artifactory Binary Repository
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0

Type: Sub-task Priority: Critical
Reporter: Shlomi Kriheli Assignee: Yoaz Menda (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by RTFACT-16396 Support http proxy in replicator Resolved

 Description   

In order for Replicators in different data centers to be able to communicate, the Replicator should be able to communicate with another Replicator through a proxy. 
For the Enterprise+ GA, both Artifactory and Replicator will use the configured default proxy in Artifactory for their part of the Distribution flows.

Requirements:

  1. Each replicator should use the default proxy configured in Artifactory. (params will be passed during replicator registration)
  2. If there is no default proxy configured, a proxy will not be used for the communication with the other replicator. 
  3. If there is more than 1 default proxy configured, <TBD> 
  4. Support Basic Authentication scheme by using Proxy http authentication/authrozation headers
  5. support ssl proxy
  6. communication between replicator and artifactory shouldn't be via proxy (different http client)


 Comments   
Comment by Uriah Levy [ 07/May/18 ]

Scenarios validated:

 

Artifactory does not have "system default" proxy config -

Expected:

replicator<>peer-replicator does not use Proxy  

 

Artifactory has a "system default" proxy config -

Expected:

replicator<>peer-replicator uses Proxy  

 

Artifactory has a "system default" proxy config w/ Auth 

Expected:

replicator<>peer-replicator uses Proxy w/ Proxy-Authentication  

 

Artifactory has a "system default" proxy config w/ Auth  + Peer replicator is behind SSL (Reversee with SSL offloading enabled) 

Expected:

replicator<>peer-replicator uses Proxy w/ Proxy-Authentication. SSL proxying works as expected.   

Generated at Fri Jun 05 10:29:49 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.