[aerogear-dev] Push Admin UI - Updating

Matthias Wessendorf matzew at apache.org
Tue Jul 16 02:40:42 EDT 2013


On Mon, Jul 15, 2013 at 9:25 PM, Hylke Bons <hbons at redhat.com> wrote:

>  On Mon, Jul 15, 2013 at 8:34 PM, Lucas Holmquist <lholmqui at redhat.com>wrote:
>
>       here's a scenario.
>>>
>>> A user creates an "Application" then adds a new "iOS Variant" to it.
>>>
>>> they decide they need to rename this Variant since they didn't name it
>>> very well.
>>>
>>> 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
>>>
>>
>>  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.
>>
>>
>>  i have all the info,  was hoping to avoid having to resend the
>> certificate/other stuff again.
>>
>
>  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.
>
>
> I think the same goes for renaming the Application construct?
> Though it just contains an extra "description" field, so it may not be
> worth it...
>

yeah, should be possible to update the desc or name (and only one of those)


>
> Would like to hear Matthew ideas on this as well from an API design point
> of view. :)
>
> Hylke
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130716/2608dcf9/attachment.html 


More information about the aerogear-dev mailing list