<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 8 May 2018 at 11:43, Gordon Sim <span dir="ltr"><<a href="mailto:gsim@redhat.com" target="_blank">gsim@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08/05/18 10:20, Rob Godfrey wrote:<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On 8 May 2018 at 11:02, Gordon Sim <<a href="mailto:gsim@redhat.com" target="_blank">gsim@redhat.com</a> <mailto:<a href="mailto:gsim@redhat.com" target="_blank">gsim@redhat.com</a>>> wrote:<br>
<br>
    On 08/05/18 04:17, Ulf Lilleengen wrote:<br>
<br>
        For addresses, the REST API also changes in the same way, making<br>
        the addresses scoped by both namespace and address space. The<br>
        metadata.addressSpace field will be mandatory now that it cannot<br>
        be inferred from the URL path anymore.<br>
<br>
        Creating multiple addresses at once using AddressList is<br>
        removed, as this is handled client-side when using the kubectl<br>
        command line and not server-side. We could still keep it at<br>
        server side if we think it will be of value.<br>
<br>
<br>
    To create 10,000 addresses, I think one request with a large payload<br>
    might be simpler than 10,000 separate requests.<br>
<br>
<br>
Agreed - but I think this only makes sense in the context of creating multiple addresses within a single address space.<br>
</blockquote>
<br></span>
Indeed. Controlling the set of addresses that make up an address-space is in my view the primary function. By instinct I actually prefer a model that only operates on the address-space as a whole rather than focusing on individual addresses.<br>
</blockquote></div><br>I can see the validity in both - but for creating an address space I think it should be possible to post a single "document" which includes the address space definition and within it all the addresses.  (Always having to send the entire document is painful when you have 10,000 addresses and you only want to update one... and makes it easier to accidentally delete addresses accidentally due to races between updates).</div><div class="gmail_extra"><br></div><div class="gmail_extra">The address space is an entity which is also a container for other entities (addresses) you should be able to mutate this either by resending the entire document, or by modifying parts of the document using a hierarchical path selector of some kind (i.e. a URL which talks to a subsection of the larger document).</div><div class="gmail_extra"><br></div><div class="gmail_extra">At some point we also need to consider whether we can also in some way define security properties of the address space/addresses within this document too. </div><div class="gmail_extra"><br></div><div class="gmail_extra">-- Rob<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">______________________________</span><span style="color:rgb(136,136,136);font-size:12.8px">______________________________</span><span style="color:rgb(136,136,136);font-size:12.8px">_________________</span><br style="color:rgb(136,136,136);font-size:12.8px"><br style="color:rgb(136,136,136);font-size:12.8px"><span style="color:rgb(136,136,136);font-size:12.8px">Red Hat GmbH, </span><a href="http://www.de.redhat.com/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.de.redhat.com</a><span style="color:rgb(136,136,136);font-size:12.8px">,</span><br style="color:rgb(136,136,136);font-size:12.8px"><span style="color:rgb(136,136,136);font-size:12.8px">Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,</span><br style="color:rgb(136,136,136);font-size:12.8px"><span style="color:rgb(136,136,136);font-size:12.8px">Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill</span><br></div></div>
</div></div>