From lrossett at redhat.com Thu Feb 2 07:31:10 2017 From: lrossett at redhat.com (Leonardo Rossetti) Date: Thu, 2 Feb 2017 10:31:10 -0200 Subject: [aerogear-dev] ups admin ui Message-ID: Hello, Currently we have the UPS admin UI embedded into aerogear-unifiedpush-server project/repository. Could the admin-ui be a separated project (repository) with its own war file? While it may increase release process complexity (a new project dependency), I think it brings some benefits to the table, such as having a development cycle of this own, easier to write automated tests and easier to attract contributors from the javascript community (since we would be using common javascript tools to build it). WDYT? -- Leonardo Rossetti lrossett at redhat.com +55 11 99703 0621 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170202/17aeddb8/attachment.html From matzew at apache.org Thu Feb 2 08:01:05 2017 From: matzew at apache.org (Matthias Wessendorf) Date: Thu, 2 Feb 2017 14:01:05 +0100 Subject: [aerogear-dev] ups admin ui In-Reply-To: References: Message-ID: separate repo, not sure separate WAR file, I think at some point I want to have a bunch of different WAR files: * sender_API.war * registration_API.war * ui.war core.jar (EJB w/ the messaging, as core) but, that's a bit in the future... we have some Swarm related JIRAs for that On Thu, Feb 2, 2017 at 1:31 PM, Leonardo Rossetti wrote: > Hello, > > Currently we have the UPS admin UI embedded into > aerogear-unifiedpush-server project/repository. > > Could the admin-ui be a separated project (repository) with its own war > file? > > While it may increase release process complexity (a new project > dependency), I think it brings some benefits to the table, such as having a > development cycle of this own, easier to write automated tests and easier > to attract contributors from the javascript community (since we would be > using common javascript tools to build it). > > WDYT? > > -- > Leonardo Rossetti > lrossett at redhat.com > +55 11 99703 0621 <+55%2011%2099703-0621> > > _______________________________________________ > 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/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170202/a95f442f/attachment.html From lholmqui at redhat.com Thu Feb 2 08:50:48 2017 From: lholmqui at redhat.com (Luke Holmquist) Date: Thu, 2 Feb 2017 08:50:48 -0500 Subject: [aerogear-dev] ups admin ui In-Reply-To: References: Message-ID: I believe the UI was in its own repo during the first iteration(when it was ember :)) If we want to attract contributors from the JS community, then making it a WAR is not really a great idea, On Thu, Feb 2, 2017 at 8:01 AM, Matthias Wessendorf wrote: > separate repo, not sure > separate WAR file, I think at some point I want to have a bunch of > different WAR files: > * sender_API.war > * registration_API.war > * ui.war > core.jar (EJB w/ the messaging, as core) > > but, that's a bit in the future... we have some Swarm related JIRAs for > that > > On Thu, Feb 2, 2017 at 1:31 PM, Leonardo Rossetti > wrote: > >> Hello, >> >> Currently we have the UPS admin UI embedded into >> aerogear-unifiedpush-server project/repository. >> >> Could the admin-ui be a separated project (repository) with its own war >> file? >> >> While it may increase release process complexity (a new project >> dependency), I think it brings some benefits to the table, such as having a >> development cycle of this own, easier to write automated tests and easier >> to attract contributors from the javascript community (since we would be >> using common javascript tools to build it). >> >> WDYT? >> >> -- >> Leonardo Rossetti >> lrossett at redhat.com >> +55 11 99703 0621 <+55%2011%2099703-0621> >> >> _______________________________________________ >> 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/ > twitter: http://twitter.com/mwessendorf > > _______________________________________________ > aerogear-dev mailing list > aerogear-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170202/eee7541f/attachment-0001.html From matzew at apache.org Thu Feb 2 09:04:40 2017 From: matzew at apache.org (Matthias Wessendorf) Date: Thu, 2 Feb 2017 15:04:40 +0100 Subject: [aerogear-dev] ups admin ui In-Reply-To: References: Message-ID: On Thu, Feb 2, 2017 at 2:50 PM, Luke Holmquist wrote: > I believe the UI was in its own repo during the first iteration(when it > was ember :)) > > yep, and it was a PITA to integrate the pure JS files > > If we want to attract contributors from the JS community, then making it > a WAR is not really a great idea, > sure, but... how useful is the UI outside of the context of push? and, bundling w/ push... perhaps we release it as NPM, and include that, somehow, into a WAR? I see no other option for our deployment model > > > On Thu, Feb 2, 2017 at 8:01 AM, Matthias Wessendorf > wrote: > >> separate repo, not sure >> separate WAR file, I think at some point I want to have a bunch of >> different WAR files: >> * sender_API.war >> * registration_API.war >> * ui.war >> core.jar (EJB w/ the messaging, as core) >> >> but, that's a bit in the future... we have some Swarm related JIRAs for >> that >> >> On Thu, Feb 2, 2017 at 1:31 PM, Leonardo Rossetti >> wrote: >> >>> Hello, >>> >>> Currently we have the UPS admin UI embedded into >>> aerogear-unifiedpush-server project/repository. >>> >>> Could the admin-ui be a separated project (repository) with its own war >>> file? >>> >>> While it may increase release process complexity (a new project >>> dependency), I think it brings some benefits to the table, such as having a >>> development cycle of this own, easier to write automated tests and easier >>> to attract contributors from the javascript community (since we would be >>> using common javascript tools to build it). >>> >>> WDYT? >>> >>> -- >>> Leonardo Rossetti >>> lrossett at redhat.com >>> +55 11 99703 0621 <+55%2011%2099703-0621> >>> >>> _______________________________________________ >>> 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/ >> twitter: http://twitter.com/mwessendorf >> >> _______________________________________________ >> aerogear-dev mailing list >> aerogear-dev at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/aerogear-dev >> > > > _______________________________________________ > 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/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170202/55477ffc/attachment.html From scm.blanc at gmail.com Thu Feb 2 10:32:05 2017 From: scm.blanc at gmail.com (Sebastien Blanc) Date: Thu, 2 Feb 2017 16:32:05 +0100 Subject: [aerogear-dev] ups admin ui In-Reply-To: References: Message-ID: On Thu, Feb 2, 2017 at 3:04 PM, Matthias Wessendorf wrote: > > > On Thu, Feb 2, 2017 at 2:50 PM, Luke Holmquist > wrote: > >> I believe the UI was in its own repo during the first iteration(when it >> was ember :)) >> >> > yep, and it was a PITA to integrate the pure JS files > > >> >> If we want to attract contributors from the JS community, then making it >> a WAR is not really a great idea, >> > > sure, but... how useful is the UI outside of the context of push? and, > bundling w/ push... perhaps we release it as NPM, and include that, > somehow, into a WAR? > I think we already publish it as NPM module for the integration with RHMAP. > I see no other option for our deployment model > > >> >> >> On Thu, Feb 2, 2017 at 8:01 AM, Matthias Wessendorf >> wrote: >> >>> separate repo, not sure >>> separate WAR file, I think at some point I want to have a bunch of >>> different WAR files: >>> * sender_API.war >>> * registration_API.war >>> * ui.war >>> core.jar (EJB w/ the messaging, as core) >>> >>> but, that's a bit in the future... we have some Swarm related JIRAs for >>> that >>> >>> On Thu, Feb 2, 2017 at 1:31 PM, Leonardo Rossetti >>> wrote: >>> >>>> Hello, >>>> >>>> Currently we have the UPS admin UI embedded into >>>> aerogear-unifiedpush-server project/repository. >>>> >>>> Could the admin-ui be a separated project (repository) with its own war >>>> file? >>>> >>>> While it may increase release process complexity (a new project >>>> dependency), I think it brings some benefits to the table, such as having a >>>> development cycle of this own, easier to write automated tests and easier >>>> to attract contributors from the javascript community (since we would be >>>> using common javascript tools to build it). >>>> >>>> WDYT? >>>> >>>> -- >>>> Leonardo Rossetti >>>> lrossett at redhat.com >>>> +55 11 99703 0621 <+55%2011%2099703-0621> >>>> >>>> _______________________________________________ >>>> 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/ >>> twitter: http://twitter.com/mwessendorf >>> >>> _______________________________________________ >>> aerogear-dev mailing list >>> aerogear-dev at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/aerogear-dev >>> >> >> >> _______________________________________________ >> 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/ > twitter: http://twitter.com/mwessendorf > > _______________________________________________ > aerogear-dev mailing list > aerogear-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170202/6ad75c01/attachment.html From lrossett at redhat.com Thu Feb 2 10:58:34 2017 From: lrossett at redhat.com (Leonardo Rossetti) Date: Thu, 2 Feb 2017 13:58:34 -0200 Subject: [aerogear-dev] ups admin ui In-Reply-To: References: Message-ID: WAR/JAR file would be for UPS deployment/build only, the repository itself would only contain frontend related files (being published in NPM as well). Did a quick search on NPM and found this package[1], is this the one? [1] - https://www.npmjs.com/package/unifiedpush-admin-client On Thu, Feb 2, 2017 at 1:32 PM, Sebastien Blanc wrote: > > > On Thu, Feb 2, 2017 at 3:04 PM, Matthias Wessendorf > wrote: > >> >> >> On Thu, Feb 2, 2017 at 2:50 PM, Luke Holmquist >> wrote: >> >>> I believe the UI was in its own repo during the first iteration(when it >>> was ember :)) >>> >>> >> yep, and it was a PITA to integrate the pure JS files >> >> >>> >>> If we want to attract contributors from the JS community, then making >>> it a WAR is not really a great idea, >>> >> >> sure, but... how useful is the UI outside of the context of push? and, >> bundling w/ push... perhaps we release it as NPM, and include that, >> somehow, into a WAR? >> > I think we already publish it as NPM module for the integration with > RHMAP. > >> I see no other option for our deployment model >> >> >>> >>> >>> On Thu, Feb 2, 2017 at 8:01 AM, Matthias Wessendorf >>> wrote: >>> >>>> separate repo, not sure >>>> separate WAR file, I think at some point I want to have a bunch of >>>> different WAR files: >>>> * sender_API.war >>>> * registration_API.war >>>> * ui.war >>>> core.jar (EJB w/ the messaging, as core) >>>> >>>> but, that's a bit in the future... we have some Swarm related JIRAs for >>>> that >>>> >>>> On Thu, Feb 2, 2017 at 1:31 PM, Leonardo Rossetti >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> Currently we have the UPS admin UI embedded into >>>>> aerogear-unifiedpush-server project/repository. >>>>> >>>>> Could the admin-ui be a separated project (repository) with its own >>>>> war file? >>>>> >>>>> While it may increase release process complexity (a new project >>>>> dependency), I think it brings some benefits to the table, such as having a >>>>> development cycle of this own, easier to write automated tests and easier >>>>> to attract contributors from the javascript community (since we would be >>>>> using common javascript tools to build it). >>>>> >>>>> WDYT? >>>>> >>>>> -- >>>>> Leonardo Rossetti >>>>> lrossett at redhat.com >>>>> +55 11 99703 0621 <+55%2011%2099703-0621> >>>>> >>>>> _______________________________________________ >>>>> 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/ >>>> twitter: http://twitter.com/mwessendorf >>>> >>>> _______________________________________________ >>>> aerogear-dev mailing list >>>> aerogear-dev at lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev >>>> >>> >>> >>> _______________________________________________ >>> 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/ >> twitter: http://twitter.com/mwessendorf >> >> _______________________________________________ >> aerogear-dev mailing list >> aerogear-dev at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/aerogear-dev >> > > > _______________________________________________ > aerogear-dev mailing list > aerogear-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-dev > -- Leonardo Rossetti lrossett at redhat.com +55 11 99703 0621 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170202/ccdd40ac/attachment-0001.html From scm.blanc at gmail.com Thu Feb 2 11:06:14 2017 From: scm.blanc at gmail.com (Sebastien Blanc) Date: Thu, 2 Feb 2017 17:06:14 +0100 Subject: [aerogear-dev] ups admin ui In-Reply-To: References: Message-ID: On Thu, Feb 2, 2017 at 4:58 PM, Leonardo Rossetti wrote: > WAR/JAR file would be for UPS deployment/build only, the repository itself > would only contain frontend related files (being published in NPM as well). > > Did a quick search on NPM and found this package[1], is this the one? > > [1] - https://www.npmjs.com/package/unifiedpush-admin-client > No I think it's this one https://www.npmjs.com/package/ups-admin-ui > > On Thu, Feb 2, 2017 at 1:32 PM, Sebastien Blanc > wrote: > >> >> >> On Thu, Feb 2, 2017 at 3:04 PM, Matthias Wessendorf >> wrote: >> >>> >>> >>> On Thu, Feb 2, 2017 at 2:50 PM, Luke Holmquist >>> wrote: >>> >>>> I believe the UI was in its own repo during the first iteration(when it >>>> was ember :)) >>>> >>>> >>> yep, and it was a PITA to integrate the pure JS files >>> >>> >>>> >>>> If we want to attract contributors from the JS community, then making >>>> it a WAR is not really a great idea, >>>> >>> >>> sure, but... how useful is the UI outside of the context of push? and, >>> bundling w/ push... perhaps we release it as NPM, and include that, >>> somehow, into a WAR? >>> >> I think we already publish it as NPM module for the integration with >> RHMAP. >> >>> I see no other option for our deployment model >>> >>> >>>> >>>> >>>> On Thu, Feb 2, 2017 at 8:01 AM, Matthias Wessendorf >>>> wrote: >>>> >>>>> separate repo, not sure >>>>> separate WAR file, I think at some point I want to have a bunch of >>>>> different WAR files: >>>>> * sender_API.war >>>>> * registration_API.war >>>>> * ui.war >>>>> core.jar (EJB w/ the messaging, as core) >>>>> >>>>> but, that's a bit in the future... we have some Swarm related JIRAs >>>>> for that >>>>> >>>>> On Thu, Feb 2, 2017 at 1:31 PM, Leonardo Rossetti >>>> > wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> Currently we have the UPS admin UI embedded into >>>>>> aerogear-unifiedpush-server project/repository. >>>>>> >>>>>> Could the admin-ui be a separated project (repository) with its own >>>>>> war file? >>>>>> >>>>>> While it may increase release process complexity (a new project >>>>>> dependency), I think it brings some benefits to the table, such as having a >>>>>> development cycle of this own, easier to write automated tests and easier >>>>>> to attract contributors from the javascript community (since we would be >>>>>> using common javascript tools to build it). >>>>>> >>>>>> WDYT? >>>>>> >>>>>> -- >>>>>> Leonardo Rossetti >>>>>> lrossett at redhat.com >>>>>> +55 11 99703 0621 <+55%2011%2099703-0621> >>>>>> >>>>>> _______________________________________________ >>>>>> 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/ >>>>> twitter: http://twitter.com/mwessendorf >>>>> >>>>> _______________________________________________ >>>>> aerogear-dev mailing list >>>>> aerogear-dev at lists.jboss.org >>>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev >>>>> >>>> >>>> >>>> _______________________________________________ >>>> 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/ >>> twitter: http://twitter.com/mwessendorf >>> >>> _______________________________________________ >>> aerogear-dev mailing list >>> aerogear-dev at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/aerogear-dev >>> >> >> >> _______________________________________________ >> aerogear-dev mailing list >> aerogear-dev at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/aerogear-dev >> > > > > -- > Leonardo Rossetti > lrossett at redhat.com > +55 11 99703 0621 <+55%2011%2099703-0621> > > _______________________________________________ > aerogear-dev mailing list > aerogear-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170202/422e138c/attachment.html From lholmqui at redhat.com Thu Feb 2 11:11:29 2017 From: lholmqui at redhat.com (Luke Holmquist) Date: Thu, 2 Feb 2017 11:11:29 -0500 Subject: [aerogear-dev] ups admin ui In-Reply-To: References: Message-ID: On Thu, Feb 2, 2017 at 10:58 AM, Leonardo Rossetti wrote: > WAR/JAR file would be for UPS deployment/build only, the repository itself > would only contain frontend related files (being published in NPM as well). > > Did a quick search on NPM and found this package[1], is this the one? > > [1] - https://www.npmjs.com/package/unifiedpush-admin-client > that's not the one. i do believe that is being used though in your new node-test-suite thing > > On Thu, Feb 2, 2017 at 1:32 PM, Sebastien Blanc > wrote: > >> >> >> On Thu, Feb 2, 2017 at 3:04 PM, Matthias Wessendorf >> wrote: >> >>> >>> >>> On Thu, Feb 2, 2017 at 2:50 PM, Luke Holmquist >>> wrote: >>> >>>> I believe the UI was in its own repo during the first iteration(when it >>>> was ember :)) >>>> >>>> >>> yep, and it was a PITA to integrate the pure JS files >>> >>> >>>> >>>> If we want to attract contributors from the JS community, then making >>>> it a WAR is not really a great idea, >>>> >>> >>> sure, but... how useful is the UI outside of the context of push? and, >>> bundling w/ push... perhaps we release it as NPM, and include that, >>> somehow, into a WAR? >>> >> I think we already publish it as NPM module for the integration with >> RHMAP. >> >>> I see no other option for our deployment model >>> >>> >>>> >>>> >>>> On Thu, Feb 2, 2017 at 8:01 AM, Matthias Wessendorf >>>> wrote: >>>> >>>>> separate repo, not sure >>>>> separate WAR file, I think at some point I want to have a bunch of >>>>> different WAR files: >>>>> * sender_API.war >>>>> * registration_API.war >>>>> * ui.war >>>>> core.jar (EJB w/ the messaging, as core) >>>>> >>>>> but, that's a bit in the future... we have some Swarm related JIRAs >>>>> for that >>>>> >>>>> On Thu, Feb 2, 2017 at 1:31 PM, Leonardo Rossetti >>>> > wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> Currently we have the UPS admin UI embedded into >>>>>> aerogear-unifiedpush-server project/repository. >>>>>> >>>>>> Could the admin-ui be a separated project (repository) with its own >>>>>> war file? >>>>>> >>>>>> While it may increase release process complexity (a new project >>>>>> dependency), I think it brings some benefits to the table, such as having a >>>>>> development cycle of this own, easier to write automated tests and easier >>>>>> to attract contributors from the javascript community (since we would be >>>>>> using common javascript tools to build it). >>>>>> >>>>>> WDYT? >>>>>> >>>>>> -- >>>>>> Leonardo Rossetti >>>>>> lrossett at redhat.com >>>>>> +55 11 99703 0621 <+55%2011%2099703-0621> >>>>>> >>>>>> _______________________________________________ >>>>>> 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/ >>>>> twitter: http://twitter.com/mwessendorf >>>>> >>>>> _______________________________________________ >>>>> aerogear-dev mailing list >>>>> aerogear-dev at lists.jboss.org >>>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev >>>>> >>>> >>>> >>>> _______________________________________________ >>>> 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/ >>> twitter: http://twitter.com/mwessendorf >>> >>> _______________________________________________ >>> aerogear-dev mailing list >>> aerogear-dev at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/aerogear-dev >>> >> >> >> _______________________________________________ >> aerogear-dev mailing list >> aerogear-dev at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/aerogear-dev >> > > > > -- > Leonardo Rossetti > lrossett at redhat.com > +55 11 99703 0621 <+55%2011%2099703-0621> > > _______________________________________________ > aerogear-dev mailing list > aerogear-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170202/bf7587e1/attachment-0001.html From matzew at apache.org Sat Feb 18 09:09:44 2017 From: matzew at apache.org (Matthias Wessendorf) Date: Sat, 18 Feb 2017 15:09:44 +0100 Subject: [aerogear-dev] Push - Batch processing endpoint ? Message-ID: Hi, how do people feel about an batch processing endpoint: https://github.com/aerogear/aerogear-unifiedpush-server/pull/794 Use-case: If you have a list of different users (via different alias), and want to send them a personalized message (e.g. "Hello $alias, how are things?"), CURRENTLY you'd have to iterate through that list and send a push request for _each_ alias/message pair. Which results in lot's of overhead, and lot's of http requests; Now, using this new batch endpoint, allows you do iterate through the list, create the actual message, put it to a collection, and after the iteration, you send one HTTP request, containing the message collection. This results in ONE http request, which it may contain 100's of different messages, for the given Push-Application, instead of 100's of HTTP requests. Any thoughts ? -Matthias -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170218/9de5f9f7/attachment.html From matzew at apache.org Sat Feb 18 13:58:24 2017 From: matzew at apache.org (Matthias Wessendorf) Date: Sat, 18 Feb 2017 19:58:24 +0100 Subject: [aerogear-dev] Push - Batch processing endpoint ? In-Reply-To: References: Message-ID: the java client update looks like: https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/82 Was not hard, some java8 fu, and just appending, internally, the "batch" part of the URL -M On Sat, Feb 18, 2017 at 3:09 PM, Matthias Wessendorf wrote: > Hi, > > how do people feel about an batch processing endpoint: > https://github.com/aerogear/aerogear-unifiedpush-server/pull/794 > > Use-case: > If you have a list of different users (via different alias), and want to > send them a personalized message (e.g. "Hello $alias, how are things?"), > CURRENTLY you'd have to iterate through that list and send a push request > for _each_ alias/message pair. Which results in lot's of overhead, and > lot's of http requests; > > Now, using this new batch endpoint, allows you do iterate through the > list, create the actual message, put it to a collection, and after the > iteration, you send one HTTP request, containing the message collection. > > This results in ONE http request, which it may contain 100's of different > messages, for the given Push-Application, instead of 100's of HTTP requests. > > Any thoughts ? > > -Matthias > > -- > Matthias Wessendorf > > blog: http://matthiaswessendorf.wordpress.com/ > twitter: http://twitter.com/mwessendorf > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170218/379b9bfc/attachment.html From supittma at redhat.com Sun Feb 19 12:56:26 2017 From: supittma at redhat.com (Summers Pittman) Date: Sun, 19 Feb 2017 12:56:26 -0500 Subject: [aerogear-dev] Push - Batch processing endpoint ? In-Reply-To: References: Message-ID: Oooo That looks cool, I've starred it to take a closer look. On Sat, Feb 18, 2017 at 1:58 PM, Matthias Wessendorf wrote: > the java client update looks like: > https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/82 > > Was not hard, some java8 fu, and just appending, internally, the "batch" > part of the URL > > -M > > On Sat, Feb 18, 2017 at 3:09 PM, Matthias Wessendorf > wrote: > >> Hi, >> >> how do people feel about an batch processing endpoint: >> https://github.com/aerogear/aerogear-unifiedpush-server/pull/794 >> >> Use-case: >> If you have a list of different users (via different alias), and want to >> send them a personalized message (e.g. "Hello $alias, how are things?"), >> CURRENTLY you'd have to iterate through that list and send a push request >> for _each_ alias/message pair. Which results in lot's of overhead, and >> lot's of http requests; >> >> Now, using this new batch endpoint, allows you do iterate through the >> list, create the actual message, put it to a collection, and after the >> iteration, you send one HTTP request, containing the message collection. >> >> This results in ONE http request, which it may contain 100's of different >> messages, for the given Push-Application, instead of 100's of HTTP requests. >> >> Any thoughts ? >> >> -Matthias >> >> -- >> Matthias Wessendorf >> >> blog: http://matthiaswessendorf.wordpress.com/ >> twitter: http://twitter.com/mwessendorf >> > > > > -- > Matthias Wessendorf > > blog: http://matthiaswessendorf.wordpress.com/ > twitter: http://twitter.com/mwessendorf > > _______________________________________________ > aerogear-dev mailing list > aerogear-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170219/39f12e0a/attachment.html From jgallaso at redhat.com Mon Feb 20 03:02:09 2017 From: jgallaso at redhat.com (Jose Miguel Gallas Olmedo) Date: Mon, 20 Feb 2017 09:02:09 +0100 Subject: [aerogear-dev] Push - Batch processing endpoint ? In-Reply-To: References: Message-ID: ?Looks like a very nice feature. I wonder if it will cause very large HTTP request payloads and how problematic this could be? My browser is sometimes slow when loading some heavy website so sending a huge batch might not be so much productive after all. What do you thing? Disclaimer: this is not a criticism but a innocent question. Cheers, On 19 February 2017 at 18:56, Summers Pittman wrote: > Oooo That looks cool, I've starred it to take a closer look. > > On Sat, Feb 18, 2017 at 1:58 PM, Matthias Wessendorf > wrote: > >> the java client update looks like: >> https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/82 >> >> Was not hard, some java8 fu, and just appending, internally, the "batch" >> part of the URL >> >> -M >> >> On Sat, Feb 18, 2017 at 3:09 PM, Matthias Wessendorf >> wrote: >> >>> Hi, >>> >>> how do people feel about an batch processing endpoint: >>> https://github.com/aerogear/aerogear-unifiedpush-server/pull/794 >>> >>> Use-case: >>> If you have a list of different users (via different alias), and want to >>> send them a personalized message (e.g. "Hello $alias, how are things?"), >>> CURRENTLY you'd have to iterate through that list and send a push request >>> for _each_ alias/message pair. Which results in lot's of overhead, and >>> lot's of http requests; >>> >>> Now, using this new batch endpoint, allows you do iterate through the >>> list, create the actual message, put it to a collection, and after the >>> iteration, you send one HTTP request, containing the message collection. >>> >>> This results in ONE http request, which it may contain 100's of >>> different messages, for the given Push-Application, instead of 100's of >>> HTTP requests. >>> >>> Any thoughts ? >>> >>> -Matthias >>> >>> -- >>> Matthias Wessendorf >>> >>> blog: http://matthiaswessendorf.wordpress.com/ >>> twitter: http://twitter.com/mwessendorf >>> >> >> >> >> -- >> Matthias Wessendorf >> >> blog: http://matthiaswessendorf.wordpress.com/ >> twitter: http://twitter.com/mwessendorf >> >> _______________________________________________ >> aerogear-dev mailing list >> aerogear-dev at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/aerogear-dev >> > > > _______________________________________________ > aerogear-dev mailing list > aerogear-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-dev > -- *Jose Miguel Gallas Olmedo* Associate QE at Mobile Team, *Red Hat* +34 618 488 633 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170220/8272e1fa/attachment-0001.html From matzew at apache.org Mon Feb 20 04:33:11 2017 From: matzew at apache.org (Matthias Wessendorf) Date: Mon, 20 Feb 2017 10:33:11 +0100 Subject: [aerogear-dev] Push - Batch processing endpoint ? In-Reply-To: References: Message-ID: Submitting is fully handled asyn. e.g. it took me 350ms to submit 5k of push messages. than client returns; The messaging sub-system of WildFly/EAP than processes those, in batches (e.g. per push network etc) So, if one sends 100k messages in one batch, the same would be very likely sent via individual requests. but here we have 1 request, instead of 100k, which also has lot's of problems in terms of costs/overhead Mainly the internal message broker is decoupled from the web-workers, hence, once uploaded, the processing on the messaging component. That said, I also think that our Google Summer of Code project (Kafka/HBase) will greatly contribute to a much faster system, being able to handle crazy loads, which is currently already not really possible PS: I've added a comment to the server PR, On Mon, Feb 20, 2017 at 9:02 AM, Jose Miguel Gallas Olmedo < jgallaso at redhat.com> wrote: > ?Looks like a very nice feature. I wonder if it will cause very large HTTP > request payloads and how problematic this could be? My browser is sometimes > slow when loading some heavy website so sending a huge batch might not be > so much productive after all. What do you thing? > > Disclaimer: this is not a criticism but a innocent question. > > Cheers, > > On 19 February 2017 at 18:56, Summers Pittman wrote: > >> Oooo That looks cool, I've starred it to take a closer look. >> >> On Sat, Feb 18, 2017 at 1:58 PM, Matthias Wessendorf >> wrote: >> >>> the java client update looks like: >>> https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/82 >>> >>> Was not hard, some java8 fu, and just appending, internally, the "batch" >>> part of the URL >>> >>> -M >>> >>> On Sat, Feb 18, 2017 at 3:09 PM, Matthias Wessendorf >>> wrote: >>> >>>> Hi, >>>> >>>> how do people feel about an batch processing endpoint: >>>> https://github.com/aerogear/aerogear-unifiedpush-server/pull/794 >>>> >>>> Use-case: >>>> If you have a list of different users (via different alias), and want >>>> to send them a personalized message (e.g. "Hello $alias, how are things?"), >>>> CURRENTLY you'd have to iterate through that list and send a push request >>>> for _each_ alias/message pair. Which results in lot's of overhead, and >>>> lot's of http requests; >>>> >>>> Now, using this new batch endpoint, allows you do iterate through the >>>> list, create the actual message, put it to a collection, and after the >>>> iteration, you send one HTTP request, containing the message collection. >>>> >>>> This results in ONE http request, which it may contain 100's of >>>> different messages, for the given Push-Application, instead of 100's of >>>> HTTP requests. >>>> >>>> Any thoughts ? >>>> >>>> -Matthias >>>> >>>> -- >>>> Matthias Wessendorf >>>> >>>> blog: http://matthiaswessendorf.wordpress.com/ >>>> twitter: http://twitter.com/mwessendorf >>>> >>> >>> >>> >>> -- >>> Matthias Wessendorf >>> >>> blog: http://matthiaswessendorf.wordpress.com/ >>> twitter: http://twitter.com/mwessendorf >>> >>> _______________________________________________ >>> aerogear-dev mailing list >>> aerogear-dev at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/aerogear-dev >>> >> >> >> _______________________________________________ >> aerogear-dev mailing list >> aerogear-dev at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/aerogear-dev >> > > > > -- > *Jose Miguel Gallas Olmedo* > Associate QE at Mobile Team, *Red Hat* > > +34 618 488 633 <+34%20618%2048%2086%2033> > > _______________________________________________ > 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/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170220/665cff4d/attachment.html