<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 15, 2013 at 9:25 PM, Hylke Bons <span dir="ltr">&lt;<a href="mailto:hbons@redhat.com" target="_blank">hbons@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    On Mon, Jul 15, 2013 at 8:34 PM, Lucas Holmquist <span dir="ltr">&lt;<a href="mailto:lholmqui@redhat.com" target="_blank">lholmqui@redhat.com</a>&gt;</span> wrote:<br>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div style="word-wrap:break-word">
                <div>
                  <div>
                    <blockquote type="cite">
                      <div dir="ltr">
                        <div class="gmail_extra">
                          <div class="gmail_quote">
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">here&#39;s a
                              scenario.<br>
                              <br>
                              A user creates an &quot;Application&quot; then adds
                              a new &quot;iOS Variant&quot; to it.<br>
                              <br>
                              they decide they need to rename this
                              Variant since they didn&#39;t name it very
                              well.<br>
                              <br>
                              There is currently no way of renaming/
                              updating the description of this variant
                              without re-sending the Certificate/pass
                              phrase.  this would be the same for
                              Android and Simple Push,  just substitute
                              google key and channels<br>
                            </blockquote>
                            <div><br>
                            </div>
                            <div>Is this really a problem ? Since before
                              an update I assume you do a GET which will
                              contain the Certificate/pass phrase, and
                              then just doing an update passing the
                              whole object again ... I might be missing
                              sometyhing obvious here. </div>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                    <div><br>
                    </div>
                  </div>
                  <div>i have all the info,  was hoping to avoid having
                    to resend the certificate/other stuff again.</div>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>Ok I see, with the current model that is not
              really possible (saying trivially) . We could extract all
              this info (cert/pass whatever) into a different
               model/class and just having a 1-1 relation making the
              update on the variant more simple. But I would like to
              have Matzew feedback on this.<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br></div>
    I think the same goes for renaming the Application construct?<br>
    Though it just contains an extra &quot;description&quot; field, so it may not
    be worth it...<br></div></blockquote><div><br></div><div>yeah, should be possible to update the desc or name (and only one of those)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
    <br>
    Would like to hear Matthew ideas on this as well from an API design
    point of view. :)<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Hylke<br>
    <br>
  </font></span></div>

<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>