rabbah opened a new issue #3153: remove API to lists all entities in a 
namespace?
URL: https://github.com/apache/incubator-openwhisk/issues/3153
 
 
   The API currently supports a `GET` on `/namespaces/_` which returns all the 
entities in a namespace. This is used in `wsk list` for example to show 
actions, triggers, rules, and packages.
   
   The view supporting this API call is redundant with other views and takes up 
space in the database for the convenience of replacing 4 calls with 1. This 
view is also reduced in the controller which makes it harder to stream the 
response directly from the db to the client. Clients on the other can make 4 
calls if needed, and this would provide a more consistent experience for using 
skip, limit per entity type (and count once that's added).
   
   Thoughts?
   
   

----------------------------------------------------------------
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