1. 12 8月, 2019 1 次提交
    • A
      Add option to disable authentication for proxy /metrics (#4921) · be7b24f9
      Addison Higham 提交于
      This commit adds a new option optionally disable authentication for the
      `/metrics` endpoint in the pulsar-proxy.
      
      Currently, authentication is required for the metrics endpoint when
      authentication is enabled, which makes monitoring more difficult.
      However, rather than just disable it completely and allow for metrics to
      be exposed to any unknown user, this makes it opt in.
      
      It could be argued that it should default to false, but as it is likely
      that the proxy is the only component potentially exposed to the public internet, we
      default to not exposing data.
      
      Fixes #4920
      be7b24f9
  2. 21 7月, 2019 1 次提交
  3. 29 5月, 2019 1 次提交
  4. 21 5月, 2019 1 次提交
  5. 08 5月, 2019 1 次提交
  6. 09 4月, 2019 1 次提交
    • J
      Issue 3655: Kerberos authentication for proxy (#3997) · 66a1b1b6
      Jia Zhai 提交于
      Fixes #3655
      
      Master Issue: #3491
      
      ### Motivation
      add support of Kerberos authentication for proxy
      
      ### Modifications
      add support of Kerberos authentication for proxy ;
      add unit test.
      
      ### Verifying this change
      Ut passed
      66a1b1b6
  7. 05 3月, 2019 1 次提交
  8. 23 2月, 2019 1 次提交
  9. 19 2月, 2019 1 次提交
  10. 21 12月, 2018 1 次提交
    • M
      Configure limited number of threads in Jetty executor (#3207) · 06d37556
      Matteo Merli 提交于
      * Configure limited number of threads in Jetty executor
      
      * Fixed parenthesis position
      
      * Fixed usage of ExecutorThreadPool
      
      * join() -> stop()
      
      * Another fix for ExecutorThreadPool
      
      * Increased default number of threads since these are also shared with proxy client
      06d37556
  11. 16 12月, 2018 1 次提交
    • J
      Start Pulsar in TLS Only mode and deprecate tlsEnabled flag. (#2988) · 18b2a20d
      Jai Asher 提交于
      ### Motivation
      Start Pulsar services (broker, proxy, websocket, discovery) in TLS only mode, so that they only listen on TLS ports.
      
      Once TlsPort is set tlsEnabled flag becomes redundant information - hence getting rid of the flag in relevant components.
      
      ### Modifications
      
      a. Changed the Ports to Option<Integer> in the configuration file.
      b. In Websocket Service there was a bug where we used 'tlsEnabled' flag to start listening on a TLS port and to talk to broker in on serviceUrlTls - separated the flag into two (tlsEnabled and brokerClientTlsEnabled) and deprecated tlsEnabled.
      c. Fixed a lot of tests which relied on tlsEnabled flag.
      
      ### Result
      Brokers can now listen to TLS only port.
      18b2a20d
  12. 04 12月, 2018 1 次提交
    • S
      [conf] Add annotations for documenting proxy configuration settings (#3106) · 8ea5c142
      Sijie Guo 提交于
      * [conf] Add annotations for documenting proxy configuration settings
      
      *Motivation*
      
      It is non-trivial to keep configuration in-sync between code and configuration file.
      The change is introducing documentation related annotations. So the annotations can be used
      for generating proxy configuration file.
      8ea5c142
  13. 01 12月, 2018 1 次提交
  14. 23 10月, 2018 1 次提交
  15. 18 10月, 2018 1 次提交
    • I
      Allow user to configure proxy as reverse HTTP proxy (#2801) · 052c3b0d
      Ivan Kelly 提交于
      * Allow user to configure proxy as reverse HTTP proxy
      
      Users normally want to expose as few endpoints as possible. This patch
      enables configuring the pulsar proxy as a review http proxy, so that
      it can be used as a single endpoint for all pulsar and even non-pulsar
      HTTP services.
      
      The reverse proxy uses jetty's builtin implementation.
      
      It is configured in proxy.conf, in the form
      
      httpReverseProxy.NAME.path = '/path-on-pulsar-proxy-endpoint'
      httpReverseProxy.NAME.proxyTo = 'http://internal-server/some-app'
      
      where NAME is any user defined string. Multiple paths can be
      configured this way.
      
      * Add jetty logging at info level for tests
      052c3b0d
  16. 14 9月, 2018 1 次提交
    • S
      [proxy][functions] Issue #2154: proxy should be able to forward rest requests... · 07d42261
      Sijie Guo 提交于
      [proxy][functions] Issue #2154: proxy should be able to forward rest requests to function workers cluster (#2560)
      
      *Motivation*
      
      Function workers can be deployed as a separate cluster. If so, proxy is not able to forward the functions
      related rest calls to the correct server.
      
      *Changes*
      
      Add two settings in proxy configuration to allow proxy configuring forwarding functions related rest calls
      to function worker cluster.
      
      *Tests*
      
      Verified with changes in integration tests (manually). It is hard to add the integration tests based on
      current integration tests. will add them in a separate PR.
      07d42261
  17. 29 8月, 2018 1 次提交
  18. 01 6月, 2018 1 次提交
    • M
      Fix REST APIs provided by Pulsar proxy (#1862) · 13ad7a60
      massakam 提交于
      * Fix REST APIs provided by Pulsar proxy
      
      * Rename status file for test
      
      * Exclude status file from license check
      
      * Add license header to status file
      
      * Proxying HTTP request in the same way as Pulsar wire protocol
      13ad7a60
  19. 02 5月, 2018 1 次提交
    • J
      Issue 1014: Rename "global zookeeper" to "configuration-store"(change in code,... · c62b5c01
      Jia Zhai 提交于
      Issue 1014: Rename "global zookeeper" to "configuration-store"(change in code, conf and cli) (#1059)
      
      * global-zookeeper => configuration-store: change in code, conf and cli
      
      * change following @sijie's comments
      
      * remove un-used imports
      
      * change following @ivan's comments
      
      * change following comments
      
      * fix rebase error
      
      * change for PR #1572 and #1223, fix integration fail
      
      * Fix cube definitions after global zookeeper is renamed to configuration-store
      
      * Hide deprecated options and few more adjustments
      
      * Fixed required status of global-zk argument in cluster init tool
      
      * Limit the memory usage for processes
      
      * Fix the aliases and limit the memory usage
      
      * remove environment settings
      
      * Fix time.sleep at watch-znode.py
      
      * revert unstarted to use started yml
      
      * Fix invalid `""`
      c62b5c01
  20. 30 3月, 2018 1 次提交
  21. 28 3月, 2018 1 次提交
    • J
      Add Configuration to set tlsClientAuth (#1297) · ffd6f211
      Jai Asher 提交于
      * Add Configuration to set tlsClientAuth
      
      * Fixed ProxyPublishConsumeTlsTest
      
      * Handled Matteos PR review comments
      
      * Negative Tests
      
      * Changed the Client Auth to ENUM
      
      * Addressed Matteo's PR review Comments
      
      * Removed unused imports
      
      * Added client Cert to HTTPS
      
      * Split the test case
      
      * Replace tlsReqTrustedClientCertOnConnect with tlsRequireTrustedClientCertOnConnect
      ffd6f211
  22. 24 2月, 2018 1 次提交
  23. 20 2月, 2018 1 次提交
  24. 13 2月, 2018 2 次提交
  25. 12 2月, 2018 1 次提交
  26. 08 2月, 2018 1 次提交
  27. 31 1月, 2018 1 次提交
  28. 08 10月, 2017 1 次提交
  29. 12 7月, 2017 1 次提交
  30. 07 7月, 2017 1 次提交
  31. 01 7月, 2017 1 次提交
  32. 24 6月, 2017 1 次提交
  33. 23 6月, 2017 1 次提交
  34. 16 2月, 2017 1 次提交
  35. 22 1月, 2017 1 次提交
  36. 04 12月, 2016 1 次提交
  37. 10 11月, 2016 1 次提交
  38. 21 9月, 2016 2 次提交