I'll see if I can’t get it in JIRA. Just to clarify, the issue I noticed regarding empty arrays was on the 0.7.x branch of Node Sender, so it may not be an issue in the latest branch.
-Miles
From: Matthias Wessendorf <matzew@apache.org>
Reply-To: AeroGear Developer Mailing List <aerogear-dev@lists.jboss.org>
Date: Tuesday, July 14, 2015 at 4:51 AM
To: AeroGear Developer Mailing List <aerogear-dev@lists.jboss.org>
Subject: Re: [aerogear-dev] UPS Node Sender client categories issue?
Miles,Luke
mind filing a JIRA issue for this ?
On Thu, Jul 9, 2015 at 8:27 PM, Luke Holmquist <lholmqui@redhat.com> wrote:
On Thu, Jul 9, 2015 at 2:15 PM, Fink, Miles <mfink@email.unc.edu> wrote:
Thanks Luke. Using 0.7.0 version worked.
I will note a couple items:
0.8.x uses applicationId (note Id), .0.7.x uses applicationID
Also, I was sending empty arrays for the settings.criteria that I wasn’t using (deviceType, alias) which then still sent the notification to all installations regardless of the categories I was sending. After I removed all the empty arrays from criteria and just sent the categories array it worked!
thanks for that input. sounds like a Bug!
Anyway, thanks for the support! Much appreciated!
Cheers,Miles
From: Luke Holmquist <lholmqui@redhat.com>
Reply-To: AeroGear Developer Mailing List <aerogear-dev@lists.jboss.org>
Date: Thursday, July 9, 2015 at 1:32 PM
To: AeroGear Developer Mailing List <aerogear-dev@lists.jboss.org>
Subject: Re: [aerogear-dev] UPS Node Sender client categories issue?
So i see you are using the 1.0.3 version of the UPS, could you try the 0.7.0 version of the node-sender and see if that works.
The 0.8.x series is targeted for the 1.1.x UPS series which has had some message format changes
On Thu, Jul 9, 2015 at 1:28 PM, Luke Holmquist <lholmqui@redhat.com> wrote:
hey Miles,
Thanks for using the UPS!!
so i think what your seeing is probably similar to this issue, https://issues.jboss.org/browse/AGPUSH-1459
The Dashboard uses the Java Client Sender, so something is going on with the node one then
thanks for putting your versions you are using, that should help narrow down things
-Luke
On Thu, Jul 9, 2015 at 1:22 PM, Fink, Miles <mfink@email.unc.edu> wrote:
_______________________________________________Hi,
I’m just starting out with UPS (which is awesome btw!) and the Node.js sender client. One thing I’ve noticed is that a message sent from the dashboard with a particular category is sent to only those installations that have that category listed. This works great and is expected. I’m glad there is a way to target specific notification channels, etc.
Sending a notification via the Node Sender client however appears to be sending to everyone’s installation regardless of the categories sent with the message. Here’s a pastie of what my node client call looks like: http://pastie.org/10282358
I’m using:Unifiedpush Node Sender version 0.8.0-beta1
UPS is the setup via the openshift cartridge, from https://cartreflect-claytondev.rhcloud.com/reflect?github=aerogear/openshift-origin-cartridge-aerogear-push
Any pointers would be greatly appreciated. Very well could be me doing it wrong… ;-)
Thanks,Miles
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev@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
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev