<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Hmm, looks like I emailed to soon. It appears I have a version mix match and that my openshift UPS is on the 1.0.x branch and the Node sender release for that branch doesn’t include an options object for including categories? </div>
<div>
<div><br>
</div>
</div>
</div>
<div>-Miles</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span><Fink>, mfink <<a href="mailto:mfink@email.unc.edu">mfink@email.unc.edu</a>><br>
<span style="font-weight:bold">Reply-To: </span>AeroGear Developer Mailing List <<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, July 9, 2015 at 1:22 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>" <<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>><br>
<span style="font-weight:bold">Subject: </span>[aerogear-dev] UPS Node Sender client categories issue?<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi,</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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: <a href="http://pastie.org/10282358">http://pastie.org/10282358</a></div>
<div><br>
</div>
<div>I’m using: </div>
<div>Unifiedpush Node Sender version 0.8.0-beta1</div>
<div><br>
</div>
<div>UPS is the setup via the openshift cartridge, from <a href="https://cartreflect-claytondev.rhcloud.com/reflect?github=aerogear/openshift-origin-cartridge-aerogear-push">https://cartreflect-claytondev.rhcloud.com/reflect?github=aerogear/openshift-origin-cartridge-aerogear-push</a> </div>
<div><br>
</div>
<div>Any pointers would be greatly appreciated. Very well could be me doing it wrong… ;-)</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Miles</div>
</div>
</div>
</span>
</body>
</html>