[keycloak-user] Deploy Keycloak from within IntelliJ IDEA

Rodrigo Sasaki rodrigopsasaki at gmail.com
Thu Jul 23 10:56:55 EDT 2015


Hm, is there a way for me to define a datasource on the
keycloak-server.json?

I know I can specify the JNDI of the datasource I want to use, but can I
configure one there too?

Em qui, 23 de jul de 2015 às 11:52, Stian Thorgersen <stian at redhat.com>
escreveu:

>
>
> ----- Original Message -----
> > From: "Rodrigo Sasaki" <rodrigopsasaki at gmail.com>
> > To: "Stian Thorgersen" <stian at redhat.com>
> > Cc: keycloak-user at lists.jboss.org
> > Sent: Thursday, 23 July, 2015 4:50:06 PM
> > Subject: Re: [keycloak-user] Deploy Keycloak from within IntelliJ IDEA
> >
> > Oh, I see.
> >
> > I am modifying the Keycloak code, the class works but it lacks a bit of
> >  the flexibility I had when I could maintain my own standalone.xml
> >
> > I saw there is a way for me to run tests using a specific database, but
> is
> > there a way for me to deploy it using a different database than the
> default
> > H2? I couldn't see an option for it on the properties file you use to
> > configure the server on startup.
>
> You can either pass system properties for it, that's what our tests do. Or
> edit the keycloak-server.json it uses directly.
>
> >
> > I realize this is a very specific case, but maybe there's a solution.
>
> Not really, we do it all the time ;)
>
> >
> > Thanks again,
> > Rodrigo Sasaki
> >
> > Em qui, 23 de jul de 2015 às 04:55, Stian Thorgersen <stian at redhat.com>
> > escreveu:
> >
> > > Keycloak is not deployed as a WAR anymore, so there's no concept of
> > > deploying Keycloak to a WildFly server.
> > >
> > > Are you forking/modifying Keycloak code? If so have a look at
> > >
> https://github.com/keycloak/keycloak/blob/master/misc/Testsuite.md#keycloak-server
> .
> > > There's KeycloakServer which contains a main method and can be ran
> directly
> > > from the IDE.
> > >
> > > If you're not modifying Keycloak code and just developing your own
> apps I
> > > recommend either spinning up a standalone KC server, or to use the
> > > server-overlay download and add it to the WildFly server you deploy
> your
> > > apps to (this is only recommended for development btw).
> > >
> > > ----- Original Message -----
> > > > From: "Rodrigo Sasaki" <rodrigopsasaki at gmail.com>
> > > > To: keycloak-user at lists.jboss.org
> > > > Sent: Wednesday, 22 July, 2015 7:24:42 PM
> > > > Subject: [keycloak-user] Deploy Keycloak from within IntelliJ IDEA
> > > >
> > > > Hello everyone,
> > > >
> > > > I haven't used Keycloak since version 1.0.2, which we have now in
> > > production.
> > > > But now Keycloak has so many new features that we decided to migrate
> to
> > > the
> > > > 1.3.1.Final
> > > >
> > > > This is a very specific issue, maybe this has already been discussed
> > > before,
> > > > and if it has I'd like to ask you to direct me to that thread.
> > > >
> > > > Anyways, I want to deploy Keycloak from within IntelliJ IDEA, on
> version
> > > > 1.0.2 all I had to do was add an artifact of keycloak-server on the
> > > > deployment and it was done, but that no longer exists and I don't
> seem to
> > > > find a replacement for it.
> > > >
> > > > What I do now is add a step to execute a maven goal to package the
> war
> > > and I
> > > > created an artifact based on that war to deploy it, it works fine
> but I
> > > > believe there must be a simpler solution, and doing it like this I
> can't
> > > use
> > > > JRebel to hot deploy my alterations as well.
> > > >
> > > > Is there a way to do what I'm trying to do? I'll be happy to provide
> you
> > > more
> > > > information if necessary.
> > > >
> > > > Cheers,
> > > > Rodrigo Sasaki
> > > >
> > > > _______________________________________________
> > > > keycloak-user mailing list
> > > > keycloak-user at lists.jboss.org
> > > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150723/5ecafc76/attachment.html 


More information about the keycloak-user mailing list