pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] rdhabalia opened a new pull request #2416: Fix: authorization while redirecting function admin call
Date Tue, 21 Aug 2018 02:07:16 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message