<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 3, 2014 at 5:24 PM, Bruno Oliveira <span dir="ltr"><<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you Lukáš, that displayed the admin-ui properly here. Now I think<br>
I'm almost there.<br>
<br>
The "Sign out" event was supposed to trigger an event[1], but nothing<br>
happens. The unziped war file has the changes included by Sebastien[2] and<br>
I can see the grunt server reloading when something change.<br></blockquote><div><br></div><div>And still nothing in the JS console ? It's just like the situation before my fix ? </div><div>Let me try your branch again. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
[1] -<br>
<a href="https://github.com/abstractj/aerogear-unifiedpush-server/blob/angular-auth/admin-ui/app/index.html#L64" target="_blank">https://github.com/abstractj/aerogear-unifiedpush-server/blob/angular-auth/admin-ui/app/index.html#L64</a><br>
[2] -<br>
<a href="https://github.com/abstractj/aerogear-unifiedpush-server/commit/2dd1b60048d85f62b734aa1050c71b0a89f7ee81" target="_blank">https://github.com/abstractj/aerogear-unifiedpush-server/commit/2dd1b60048d85f62b734aa1050c71b0a89f7ee81</a><br>
<br>
Thanks in advance.<br>
<div class="HOEnZb"><div class="h5"><br>
On 2014-06-03, Lukáš Fryč wrote:<br>
> Yeah, step (3) is correct,<br>
><br>
> I assume you are missing<br>
><br>
> $ bower install (npm install you probably did since you can run grunt)<br>
><br>
> just after step (4). (I've just run into this issue now)<br>
><br>
><br>
> On Tue, Jun 3, 2014 at 12:31 PM, Bruno Oliveira <<a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>> wrote:<br>
><br>
> > On 2014-06-03, Matthias Wessendorf wrote:<br>
> > > On Mon, Jun 2, 2014 at 10:08 PM, Bruno Oliveira <<a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>><br>
> > wrote:<br>
> > ><br>
> > > > Ahoy,<br>
> > > ><br>
> > > > I might be doing something dead wrong, these are the steps followed<br>
> > > > here:<br>
> > > ><br>
> > > > 1. rm -rf jboss-as-7.1.1.Final && tar xzvf jboss-as-7.1.1.Final.tar.gz<br>
> > > > && cd jboss-current && bin/standalone.sh<br>
> > > > 2. cp databases/unifiedpush-h2-ds.xml<br>
> > > > ~/servers/jboss-current/standalone/deployments && cp<br>
> > > > auth-server/target/auth-server.war<br>
> > > > ~/servers/jboss-current/standalone/deployments && cp<br>
> > > > server/target/ag-push.war<br>
> > > > ~/servers/jboss-current/standalone/deployments/ag-push.war.dodeploy<br>
> > > ><br>
> > > > 3. cp -Rv server/target/ag-push/<br>
> > > > ~/servers/jboss-current/standalone/deployments/ag-push.war/<br>
> > > > 4. At unified push server project *cd admin-ui*<br>
> > > > 5. Run grunt initLocalConfig and edit local-config.json<br>
> > > > (<a href="https://gist.github.com/abstractj/c355676a649611aa89d7" target="_blank">https://gist.github.com/abstractj/c355676a649611aa89d7</a>)<br>
> > > > 6. Now at<br>
> > > > /aerogear/agpush/unifiedpush/aerogear-unifiedpush-server/admin-ui run<br>
> > > > *grunt server*<br>
> > > > 7. localhost:9000 shows<br>
> > > ><br>
> > > ><br>
> > <a href="http://photon.abstractj.org/localhost9000_20140602_170702_20140602_170705.jpg" target="_blank">http://photon.abstractj.org/localhost9000_20140602_170702_20140602_170705.jpg</a><br>
> > > > 8. localhost:8080/ag-push doesn't trigger Sign out event<br>
> > > ><br>
> > ><br>
> > > might be unrelated, but perhaps not. After their Beta1 release Bill<br>
> > fixed a<br>
> > > bug on the AS7 adapter:<br>
> > > <a href="https://github.com/keycloak/keycloak/pull/446" target="_blank">https://github.com/keycloak/keycloak/pull/446</a><br>
> ><br>
> > I think it's unrelated because I don't even make use of Keycloak.js.<br>
> > It's just plain Angular.js for testing purposes.<br>
> ><br>
> > ><br>
> > ><br>
> > > -Matthias<br>
> > ><br>
> > ><br>
> > > ><br>
> > > > If you want to try<br>
> > > ><br>
> > <a href="https://github.com/abstractj/aerogear-unifiedpush-server/tree/angular-auth" target="_blank">https://github.com/abstractj/aerogear-unifiedpush-server/tree/angular-auth</a><br>
> > > > .<br>
> > > > Certainly is some missing detail during deployment, but that doesn't<br>
> > > > work here, any idea about what's wrong is welcome.<br>
> > > ><br>
> > > > On 2014-06-02, Sebastien Blanc wrote:<br>
> > > > > Yes,<br>
> > > > ><br>
> > > > > We are a bit in a transition phase with the complete overhaul of the<br>
> > > > > console. The old readme is not enterily up to date and could be<br>
> > > > confusing.<br>
> > > > > This JIRA has been created to track this :<br>
> > > > > <a href="https://issues.jboss.org/browse/AGPUSH-679" target="_blank">https://issues.jboss.org/browse/AGPUSH-679</a><br>
> > > > ><br>
> > > > > @abstractj: in the mean time, you can follow the instructions that<br>
> > Lukas<br>
> > > > > pointed out.<br>
> > > > ><br>
> > > > > Sebi<br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > On Mon, Jun 2, 2014 at 9:11 AM, Matthias Wessendorf <<br>
> > <a href="mailto:matzew@apache.org">matzew@apache.org</a>><br>
> > > > > wrote:<br>
> > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > On Fri, May 30, 2014 at 6:44 PM, Lukáš Fryč <<a href="mailto:lukas.fryc@gmail.com">lukas.fryc@gmail.com</a>><br>
> > > > wrote:<br>
> > > > > ><br>
> > > > > >> Hey man,<br>
> > > > > >><br>
> > > > > >> I can't find the instructions myself atm.<br>
> > > > > >> (they could have been lost during merge (?))<br>
> > > > > >><br>
> > > > > ><br>
> > > > > > hrm, yeah - surprised to see the README is no longer around<br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > >><br>
> > > > > >> I found this copy, which is almost up to date:<br>
> > > > > >><br>
> > > > > >><br>
> > > ><br>
> > <a href="https://github.com/lfryc/aerogear-unifiedpush-server/tree/master/admin-ui#using-with-jboss-eapwildfly" target="_blank">https://github.com/lfryc/aerogear-unifiedpush-server/tree/master/admin-ui#using-with-jboss-eapwildfly</a><br>
> > > > > >><br>
> > > > > >> Basically, run<br>
> > > > > >><br>
> > > > > >> upload exploded ag-push.war/ to JBoss AS 7.1.<br>
> > > > > >> $ cd admin-ui/<br>
> > > > > >> $ grunt server<br>
> > > > > >> modify generated local-config.json to point to that exploded war<br>
> > > > > >> $ grunt server<br>
> > > > > >><br>
> > > > > >> Hope it helps.<br>
> > > > > >><br>
> > > > > >> Meanwhile, I will update the instructions in the master.<br>
> > > > > >><br>
> > > > > >> Cheers,<br>
> > > > > >><br>
> > > > > >> ~ Lukas<br>
> > > > > >><br>
> > > > > >><br>
> > > > > >> On Fri, May 30, 2014 at 6:03 PM, Bruno Oliveira <<br>
> > <a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>><br>
> > > > > >> wrote:<br>
> > > > > >><br>
> > > > > >>> Good morning,<br>
> > > > > >>><br>
> > > > > >>> I'm looking for instructions of how to build admin-ui correctly.<br>
> > > > Where<br>
> > > > > >>> could I find it?<br>
> > > > > >>><br>
> > > > > >>> Currently I tried<br>
> > > > > >>><br>
> > > > > >>><br>
> > > ><br>
> > <a href="https://github.com/aerogear/aerogear-unifiedpush-server-admin-ui/blob/master/README.md" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server-admin-ui/blob/master/README.md</a><br>
> > > > > >>> and also<br>
> > > > > >>><br>
> > > > <a href="https://github.com/aerogear/collateral/wiki/UPS-Admin-Console-Process" target="_blank">https://github.com/aerogear/collateral/wiki/UPS-Admin-Console-Process</a>.<br>
> > > > > >>> The reason why I want this is because Sebastien managed to get it<br>
> > > > > >>> working<br>
> > > > > >>><br>
> > > > > >>><br>
> > > ><br>
> > <a href="https://github.com/abstractj/aerogear-unifiedpush-server/tree/angular-auth" target="_blank">https://github.com/abstractj/aerogear-unifiedpush-server/tree/angular-auth</a><br>
> > > > > >>> and something very dirty might be happening with my environment.<br>
> > > > > >>><br>
> > > > > >>> What I want to do is very simple. Trigger the following event:<br>
> > > > > >>><br>
> > > > > >>><br>
> > > ><br>
> > <a href="https://github.com/abstractj/aerogear-unifiedpush-server/commit/aeed989288ae0c42a8f163b303fb1d89a029b635#diff-bd44ccad477ae267b4939a7797ddc9eeR90" target="_blank">https://github.com/abstractj/aerogear-unifiedpush-server/commit/aeed989288ae0c42a8f163b303fb1d89a029b635#diff-bd44ccad477ae267b4939a7797ddc9eeR90</a><br>
> > > > > >>> .<br>
> > > > > >>><br>
> > > > > >>> I also tried to copy these files to server/src/main/webapp/ but<br>
> > it<br>
> > > > > >>> didnt'work.<br>
> > > > > >>><br>
> > > > > >>> Thanks in advance.<br>
> > > > > >>><br>
> > > > > >>> --<br>
> > > > > >>><br>
> > > > > >>> abstractj<br>
> > > > > >>> _______________________________________________<br>
> > > > > >>> aerogear-dev mailing list<br>
> > > > > >>> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> > > > > >>> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
> > > > > >>><br>
> > > > > >><br>
> > > > > >><br>
> > > > > >> _______________________________________________<br>
> > > > > >> aerogear-dev mailing list<br>
> > > > > >> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> > > > > >> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
> > > > > >><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > --<br>
> > > > > > Matthias Wessendorf<br>
> > > > > ><br>
> > > > > > blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
> > > > > > sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
> > > > > > twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
> > > > > ><br>
> > > > > > _______________________________________________<br>
> > > > > > aerogear-dev mailing list<br>
> > > > > > <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> > > > > > <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
> > > > > ><br>
> > > ><br>
> > > > > _______________________________________________<br>
> > > > > aerogear-dev mailing list<br>
> > > > > <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> > > > > <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
> > > ><br>
> > > ><br>
> > > > --<br>
> > > ><br>
> > > > abstractj<br>
> > > > _______________________________________________<br>
> > > > aerogear-dev mailing list<br>
> > > > <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> > > > <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
> > > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > Matthias Wessendorf<br>
> > ><br>
> > > blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
> > > sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
> > > twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
> ><br>
> > > _______________________________________________<br>
> > > aerogear-dev mailing list<br>
> > > <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> > > <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
> ><br>
> ><br>
> > --<br>
> ><br>
> > abstractj<br>
> > _______________________________________________<br>
> > aerogear-dev mailing list<br>
> > <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> > <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
> ><br>
<br>
> _______________________________________________<br>
> aerogear-dev mailing list<br>
> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
--<br>
<br>
abstractj<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></div></div></blockquote></div><br></div></div>