openwhisk-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodric Rabbah <rod...@gmail.com>
Subject remove API to lists all entities in a namespace?
Date Sat, 06 Jan 2018 15:45:06 GMT
Hello,

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? I opened https://github.com/apache/incubator-openwhisk/issues/3153
on github discussion also.

-r

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message