Thanks Matthias,
Currently, I have gone ahead with a database trigger on installation table. It records
tokens of deleted installations in a separate table. I periodically query this table from
my application and update the data as required.
Thanks,
Vivek
From: aerogear-dev-bounces(a)lists.jboss.org [mailto:aerogear-dev-bounces@lists.jboss.org]
On Behalf Of Matthias Wessendorf
Sent: Tuesday, January 06, 2015 1:11 PM
To: AeroGear Developer Mailing List
Subject: Re: [aerogear-dev] UPS : How to get notified when an installation is
deleted/updated
Hi Vivek,
sorry for the late reply, but all of us went on a longer break :-)
On Fri, Dec 26, 2014 at 7:00 AM, Vivek Pandey <vivek.pandey(a)pinelabs.com> wrote:
Hello UPS team,
Hope you had a wonderful Christmas!!
I am using UPS 1.0.2 (on postgres/wildfly 8.1) and wanted to understand the best strategy
to sync deletions of installation in UPS to my own db.
My current implementation stores the push token in my own db and registers them to UPS
periodically. However, currently I do not have any strategy to sync deletions to my own
db.
Does UPS publish deletion events?
Nope, we don't have that
Or there is any bulk query mechanism to fetch a paginated list of active installations?
yes, that's the request we submit behind the installations details page:
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/jaxrs...
Thanks,
Vivek
_____
This message may contain privileged and confidential information and is solely for the use
of intended recipient. The views expressed in this email are those of the sender and not
of Pine Labs. The recipient should check this email and attachments for the presence of
viruses / malwares etc. Pine Labs accepts no liability for any damage caused by any virus
transmitted by this email. Pine Labs may monitor and record all emails.
_____
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)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
This message may contain privileged and confidential information and is solely for the use
of intended recipient. The views expressed in this email are those of the sender and not
of Pine Labs. The recipient should check this email and attachments for the presence of
viruses / malwares etc. Pine Labs accepts no liability for any damage caused by any virus
transmitted by this email. Pine Labs may monitor and record all emails.