Skip to content

Commit 10d52b0

Browse files
committed
Update keycloak reference for test cases
1 parent 0bf4330 commit 10d52b0

7 files changed

Lines changed: 2 additions & 289 deletions

File tree

basyx.submodelrepository/basyx.submodelrepository-feature-registry-integration/src/test/resources/application-authregistry.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ basyx.externalurl=http://localhost:8081
3636

3737
# Authorized registry integration
3838
basyx.submodelrepository.feature.registryintegration.authorization.enabled=true
39-
basyx.submodelrepository.feature.registryintegration.authorization.token-endpoint=http://localhost:9097/realms/BaSyx/protocol/openid-connect/token
39+
basyx.submodelrepository.feature.registryintegration.authorization.token-endpoint=http://localhost/realms/BaSyx/protocol/openid-connect/token
4040
basyx.submodelrepository.feature.registryintegration.authorization.grant-type = CLIENT_CREDENTIALS
4141
basyx.submodelrepository.feature.registryintegration.authorization.client-id=workstation-1
4242
basyx.submodelrepository.feature.registryintegration.authorization.client-secret=nY0mjyECF60DGzNmQUjL81XurSl8etom

ci/docker-compose.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ services:
141141
BASYX_FEATURE_AUTHORIZATION_ENABLED: true
142142
BASYX_FEATURE_AUTHORIZATION_TYPE: rbac
143143
BASYX_FEATURE_AUTHORIZATION_JWTBEARERTOKENPROVIDER: keycloak
144-
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI: http://keycloak.basyx.localhost:8080/realms/BaSyx
144+
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI: http://keycloak.basyx.localhost/realms/BaSyx
145145
BASYX_FEATURE_AUTHORIZATION_RBAC_FILE: file:/rbac/rbac_rules.json
146146
volumes:
147147
- ./keycloak/rules/rbac_rules-sm-registry.json:/rbac/rbac_rules.json:ro
@@ -232,25 +232,6 @@ services:
232232
networks:
233233
- basyx-java-server-sdk
234234

235-
# keycloak-fixed-uri:
236-
# image: eclipsebasyx/keycloak:0.0.1
237-
# build:
238-
# context: ./keycloak
239-
# dockerfile: Dockerfile.keycloak
240-
# container_name: keycloak-fixed
241-
# environment:
242-
# KC_HOSTNAME: localhost
243-
# KC_SPI_INITIALIZER_ISSUER_BASE_URI: http://keycloak-fixed:8080
244-
# KEYCLOAK_ADMIN: admin
245-
# KEYCLOAK_ADMIN_PASSWORD: keycloak-admin
246-
# command: ["start-dev", "--import-realm"]
247-
# ports:
248-
# - 9097:8080
249-
# volumes:
250-
# - ./keycloak/realm:/opt/keycloak/data/import:ro
251-
# networks:
252-
# - basyx-java-server-sdk
253-
254235
networks:
255236
basyx-java-server-sdk:
256237
name: basyx-java-server-sdk

ci/keycloak/initializer/pom.xml

Lines changed: 0 additions & 126 deletions
This file was deleted.

ci/keycloak/initializer/src/main/java/org/eclipse/digitaltwin/basyx/keycloak/initializer/InitializerProviderFactory.java

Lines changed: 0 additions & 22 deletions
This file was deleted.

ci/keycloak/initializer/src/main/java/org/eclipse/digitaltwin/basyx/keycloak/initializer/InitializerSpi.java

Lines changed: 0 additions & 29 deletions
This file was deleted.

ci/keycloak/initializer/src/main/java/org/eclipse/digitaltwin/basyx/keycloak/initializer/realm/IssuerInitializerProvider.java

Lines changed: 0 additions & 83 deletions
This file was deleted.

ci/keycloak/initializer/src/main/resources/log4j.properties

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)