You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/06/04 13:10:12 UTC

[GitHub] [pulsar] bbonnin opened a new issue #4467: Lists all Functions deployed in a given namespace using API does not work

bbonnin opened a new issue #4467: Lists all Functions deployed in a given namespace using API does not work
URL: https://github.com/apache/pulsar/issues/4467
 
 
   **Describe the bug**
   Context: the function workers are not in the brokers.
   When invoking the service URL of a function worker to get the list of deployed functions in a given namespace, the response is 404 Not Found (while there are functions deployed). 
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Run a function worker
   2. Deploy a function using the admin url of the broker
   3. Get the list of currently deployed functions in a namespace (`pulsar-admin --admin-url http://my-host:6750 functions list --namespace my-namespace --tenant my-tenant`)
   4. The response is `HTTP 404 Not Found`
   
   Also test with curl, same result. 
   If the worker run in a broker, the response is correct.
   The other pulsar-admin commands such as `functions create` are working.
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Screenshots**
   -
   
   **Desktop (please complete the following information):**
    - OS: MacOS
   
   **Additional context**
   -

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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