Skip to content

codefilarete/Stalactite_example.keycloak

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29,391 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Stalactite example for Keycloak.

The goal is to demonstrate how to use Stalactite with a concrete example. Keycloak is a huge project which is a perfect candidate for this: it contains a lot of entities and relations, as well as JPA repositories and named queries.

This will also be a good compliance test between JPA (Hibernate here) and Stalactite, and eventually reveal some usage differences.

There are several goals here:

  1. generating the same database schema with Stalactite
  2. mapping the same (named) queries with Stalactite
  3. having some equivalent Stalactite Spring Data repositories than the existing ones

Maybe not all the entities will be mapped. Don't expect a fully operational Keycloak with Stalactite here. No performance benchmark will be done here.

Work will take place in the JPA Model module and in particular in its test directory.

Stalactite 3, still under development, will be used. Keycloak 26.4 is used as a reference because, at that time, the official branch doesn't change so much.

Note that a full project build (simple clean install, skipping tests) is required to generate some Keycloak classes. Then, newly added test classes can be run.

About

Stalactite version of Keycloak

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 91.5%
  • TypeScript 7.4%
  • FreeMarker 0.7%
  • JavaScript 0.1%
  • Shell 0.1%
  • CSS 0.1%
  • Other 0.1%