Skip to content

Commit

Permalink
feat: Update Keycloak to v25.0.1 and OpenFGA platform to v1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
embesozzi committed Jun 29, 2024
1 parent a6bfa5b commit ccf8265
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
ports:
- 5433:5432
keycloak:
image: quay.io/keycloak/keycloak:19.0.2
image: quay.io/keycloak/keycloak:25.0.1
container_name: keycloak
command:
- start-dev
Expand Down Expand Up @@ -78,7 +78,7 @@ services:
depends_on:
postgres:
condition: service_healthy
image: openfga/openfga:v1.3.1
image: openfga/openfga:v1.5.5
container_name: migrate
environment:
- OPENFGA_DATASTORE_ENGINE=postgres
Expand All @@ -91,7 +91,7 @@ services:
depends_on:
migrate:
condition: service_completed_successfully
image: openfga/openfga:v1.3.1
image: openfga/openfga:v1.5.5
container_name: openfga
command: run
environment:
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<version>1.0.1</version>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<keycloak.version>19.0.0</keycloak.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<keycloak.version>25.0.1</keycloak.version>
<jackson.version>2.15.2</jackson.version>
<jackson.databind.version>2.15.2</jackson.databind.version>
<junit.version>5.8.1</junit.version>
Expand Down Expand Up @@ -59,7 +59,7 @@
<dependency>
<groupId>dev.openfga</groupId>
<artifactId>openfga-sdk</artifactId>
<version>0.1.0</version>
<version>0.5.0</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.twogenidentity.keycloak.service;

import com.twogenidentity.keycloak.utils.OpenFgaHelper;
import dev.openfga.sdk.api.client.ClientWriteRequest;
import dev.openfga.sdk.api.client.OpenFgaClient;
import dev.openfga.sdk.api.client.model.ClientWriteRequest;
import dev.openfga.sdk.api.configuration.ClientConfiguration;
import dev.openfga.sdk.api.configuration.ClientWriteOptions;
import dev.openfga.sdk.api.model.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.twogenidentity.keycloak.utils;

import com.twogenidentity.keycloak.event.EventParser;
import dev.openfga.sdk.api.client.ClientTupleKey;
import dev.openfga.sdk.api.client.ClientWriteRequest;
import dev.openfga.sdk.api.client.model.ClientTupleKey;
import dev.openfga.sdk.api.client.model.ClientWriteRequest;
import dev.openfga.sdk.api.model.AuthorizationModel;
import dev.openfga.sdk.api.model.RelationReference;
import dev.openfga.sdk.api.model.TypeDefinition;
Expand Down

0 comments on commit ccf8265

Please sign in to comment.