AeroGear Crypto Java 0.1.2 released
by Bruno Oliveira
Good morning, just to let you know we released today the bits for digital signatures and some bug fixes.
Have a happy new year sweet hearts.
--
abstractj
2 years, 6 months
Question about metricsEndpoint
by Jose Miguel Gallas Olmedo
Hi all,
I am trying to solve some bugish behaviour that makes the status label to
be "Pending..." permanently, even when the notifications have been sent.
The label is "Pending..." when "*servedVariants*" is less than "
*totalVariants*" ->
https://github.com/aerogear/aerogear-unifiedpush-server/blob/1.1.x-dev/ad...
Well, in the *metricsEndpoint.js*, it iterates over all variants and flag
an error or increase the "*servedVariants*" property ->
https://github.com/aerogear/aerogear-unifiedpush-server/blob/1.1.x-dev/ad...
I don't fully understand what's happening in this iteration and why
there's no "else" clause. The problem is caused by this I think. During
some iteration the counter is not being increased hence the *servedVariants*
never equals *totalVariants* and hence (again) the label does not change.
So the current flow would be:
1. If *deliveryStatus* is falsy, flag an error.
2. If servedBatches = totalBatches then increase servedVariants
Can both conditions pass? I think they can although this is not expected.
Can deliveryStatus be always truthy but the servedBatches != totalBatches?
I think that what's happening and as a result, it is hiding some error that
the user may want to see.
I also think that, in case of deliveryStatus, the iteration should stop.
WDYT?
Cheers,
--
JOSE MIGUEL GALLAS OLMEDO
ASSOCIATE QE, mobile
Red Hat
<https://www.redhat.com/>
M: +34618488633 <http://redhatemailsignature-marketing.itos.redhat.com/>
<https://red.ht/sig>
7 years, 7 months
UPS Openshift Template
by Dimitra Zuccarelli
Hi,
I'm looking into getting started on an Openshift template for UPS. Is
anyone already looking at this? Do you have any pointers?
Thanks!
7 years, 8 months
Error WFLYCTL0212: Duplicate resource
by Jose Miguel Gallas Olmedo
Hi all,
I am trying to deploy UPS in Wildfly. In the step *Configure JMS
destinations for the UnifiedPush* of the server installation instructions
[1], I am getting this weird error:
$ wildfly/bin/jboss-cli.sh
> --file="~/projects/aerogear-unifiedpush-server/configuration/jms-setup-wildfly.cli"
> The batch failed with the following error (you are remaining in the batch
> editing mode to have a chance to correct the error): {"WFLYCTL0062:
> Composite operation failed and was rolled back. Steps that failed:" =>
> {"Operation step-1" => "WFLYCTL0212: Duplicate resource [
> (\"subsystem\" => \"messaging-activemq\"),
> (\"server\" => \"default\"),
> (\"jms-queue\" => \"AdmPushMessageQueue\")
> ]"}}
Any clue what this is about?
[1] -
https://aerogear.org/docs/unifiedpush/ups_userguide/index/#server-install...
Cheers,
--
JOSE MIGUEL GALLAS OLMEDO
ASSOCIATE QE, mobile
Red Hat
<https://www.redhat.com/>
M: +34618488633 <http://redhatemailsignature-marketing.itos.redhat.com/>
<https://red.ht/sig>
7 years, 8 months