Merge pull request #656 from stianst/master
Fixes to event-store-mem example
This commit is contained in:
commit
52f86f2293
3 changed files with 4 additions and 4 deletions
|
@ -3,13 +3,13 @@ Example Event Store that stores events in memory
|
|||
|
||||
To deploy copy target/event-store-mem-example.jar to standalone/deployments/auth-server.war/WEB-INF/lib. Then edit standalone/configuration/keycloak-server.json, change:
|
||||
|
||||
"event-store": {
|
||||
"eventsStore": {
|
||||
"provider": "jpa"
|
||||
}
|
||||
|
||||
to:
|
||||
|
||||
"event-store": {
|
||||
"eventsStore": {
|
||||
"provider": "in-mem"
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public class MemEventStoreProvider implements EventStoreProvider {
|
|||
|
||||
@Override
|
||||
public void onEvent(Event event) {
|
||||
events.add(event);
|
||||
events.add(0, event);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1 +1 @@
|
|||
events.MemEventStoreProviderFactory
|
||||
org.keycloak.examples.providers.events.MemEventStoreProviderFactory
|
Loading…
Reference in a new issue