rdhabalia opened a new pull request #2416: Fix: authorization while redirecting 
function admin call
URL: https://github.com/apache/incubator-pulsar/pull/2416
 
 
   ### Motivation
   
   Right now, some of the admin api requires redirection/calling another worker 
and also requires auth support on it. However, those api restart/stop function 
dont't support auth while redirecting/calling-other-worker.
   
   ### Modifications
   
   - use PulsarAdmin for function to support authorization on admin-api
   - redirect using request uri to avoid hard-coding of url
   - avoid creating HttpClient for each request and reuse PulsarAdmin
   
   ### Note
   
   I will rebase this PR once #2415 is merged and will also refactor other 
required api in separate PR.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to