openwhisk-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Rutkowski" <mrutk...@us.ibm.com>
Subject Re: remove API to lists all entities in a namespace?
Date Mon, 08 Jan 2018 18:06:23 GMT
IMO, REST API efficiency around the primary entities of the programming 
model should be a key goal; higher order tooling can aggregate around 
namespaces to produce similar results.

Kind regards,
Matt




From:   Carlos Santana <csantana23@gmail.com>
To:     dev@openwhisk.apache.org
Date:   01/08/2018 11:54 AM
Subject:        Re: remove API to lists all entities in a namespace?



+1

On Sat, Jan 6, 2018 at 10:45 AM Rodric Rabbah <rodric@gmail.com> wrote:

> 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://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk_issues_3153&d=DwIBaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=6zQLM7Gc0Sv1iwayKOKa4_SFxRIxS478q2gZlAJj4Zw&m=J_thN83omGwv_5Ispg0PVS62x_BGUovRjplcyInV3Dc&s=_Vxs5Ik_a28vhiaIe7awtTp2Ox4Jtogsj2LvTqbdt5o&e=

> on github discussion also.
>
> -r
>





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