[keycloak-dev] Running unit tests with different model implementations

Bill Burke bburke at redhat.com
Tue Feb 11 14:49:16 EST 2014



On 2/11/2014 2:13 PM, Marek Posolda wrote:
> I've sent PR https://github.com/keycloak/keycloak/pull/199 for mongo
> model and for changes in unit tests as mentioned previously (introducing
> model/tests module and moving unit tests from "services" module)
>

Merged.

> I would be happy if you can merge it just to avoid later conflicts
> during rebasing with master. Feel free to disable mongo model again if
> you need to add more features into model API and don't want to edit files.
>

I don't know Mongo.  That's the only reason I would disable it.

> It seems that from the changes/refactoring you mentioned below there
> will be changes in model just for UUID stuff. If you not already started
> on it, I can look at it and add support for it into both jpa and mongo
> models (from last mail on this, you want to use UUID generated from
> IdGenerator like "1-4564897" which should ensure that there won't never
> be any collision, right?)
>

I just wanted the models to use Strings for IDs and not UUID objects.



-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the keycloak-dev mailing list