<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Using KeycloakServer for development.
It's using embedded undertow under the hood. Server restarted
usually in few seconds and it sees the latest changes in your IDE
if you run it directly from the IDE. See
<a class="moz-txt-link-freetext" href="https://github.com/keycloak/keycloak/blob/master/misc/Testsuite.md#keycloak-server">https://github.com/keycloak/keycloak/blob/master/misc/Testsuite.md#keycloak-server</a><br>
<br>
Marek<br>
<br>
On 17/06/16 16:41, Mitya wrote:<br>
</div>
<blockquote cite="mid:1466174517.10212.10.camel@cargosoft.ru"
type="cite">
<div>Hi,</div>
<div><br>
</div>
<div>I'm developing a KeyCloak extension which is packaged as two
JBoss modules:</div>
<div>- the extension proper (custom authenticator + custom realm
resource + custom admin theme);</div>
<div>- modified org.keycloak.keycloak-model-jpa (since Entity SPI
is not yet available).</div>
<div><br>
</div>
<div>Each time I make changes, I have to go through a roundabout
of stopping KeyCloak, deploying modules and starting KeyCloak
again. This can happen as many as several dozen times a day; as
soon as I roll a CI infrastructure, the build server will have
to do the same. Needless to say, the process is pretty
time-consuming; additionally, I'll have to grant permissions to
the build server to restart a system service (KeyCloak is
deployed as systemd unit). I've tried the following in
jboss-cli:</div>
<div><br>
</div>
<div>[disconnected /] connect</div>
<div>[<a moz-do-not-send="true" href="mailto:standalone@localhost">standalone@localhost</a>:9990
/] module remove --name=foo.bar.main</div>
<div>[<a moz-do-not-send="true" href="mailto:standalone@localhost">standalone@localhost</a>:9990
/] module add --name=foo.bar.main
--resources=... --dependencies=...</div>
<div>[<a moz-do-not-send="true" href="mailto:standalone@localhost">standalone@localhost</a>:9990
/] reload</div>
<div><br>
</div>
<div>This doesn't help, despite WildFly reports to have redeployed
and restarted KeyCloak. The updated modules are simply not
picked up.</div>
<div><br>
</div>
<div>Am I missing something? KeyCloak developers, what would you
recommend to speed-up the workflow?</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Mitya</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
</blockquote>
<br>
</body>
</html>