diff --git a/.forgejo/workflows/verify.yaml b/.forgejo/workflows/test.yaml similarity index 53% rename from .forgejo/workflows/verify.yaml rename to .forgejo/workflows/test.yaml index 9f88d22..eaba13b 100644 --- a/.forgejo/workflows/verify.yaml +++ b/.forgejo/workflows/test.yaml @@ -1,12 +1,10 @@ on: pull_request: push: - branches: - - main jobs: - ansible-lint: - name: Verify + test: + name: Test runs-on: docker steps: - uses: actions/checkout@v7 @@ -14,6 +12,6 @@ jobs: run: | apt update apt install -y maven - - name: Run maven verify + - name: Run maven verify test run: | - mvn -f attribute-endpoints-provider --batch-mode --no-transfer-progress verify + mvn -f attribute-endpoints-provider verify test diff --git a/README.md b/README.md index 88347db..3c9986e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Attribute Endpoints Provider - Export User Attributes This is a Keycloak Provider that exports user profile attribute values. -The selection of attributes and authorization is managed through an endpoint configuration in the Keycloak admin website. +The selection of attributes and authorization is manage through an endpoint configuration. ## Usage @@ -43,7 +43,7 @@ Once all dependencies are met, simply call `make` to build the provider, which s There's also `make clean` available for removing the output directory. -To add the provider to your Keycloak install, copy `attribute-endpoints-provider/target/attribute-endpoints-provider-1.0-SNAPSHOT.jar` to the Keycloak Provider directory (`/opt/keycloak/providers/`). +To add the provider to your Keycloak install, copy `attribute-endpoints-provider/target/attribute-endpoints-provider-1.0-SNAPSHOT.jar` to the Keycloak Provider directory (`/opt/keycloak/providers/). ## Testing Setup diff --git a/attribute-endpoints-provider/src/main/java/de/ccc/hamburg/keycloak/attribute_endpoints/AdminUiPage.java b/attribute-endpoints-provider/src/main/java/de/ccc/hamburg/keycloak/attribute_endpoints/AdminUiPage.java index 81ebcaa..eec6aa1 100644 --- a/attribute-endpoints-provider/src/main/java/de/ccc/hamburg/keycloak/attribute_endpoints/AdminUiPage.java +++ b/attribute-endpoints-provider/src/main/java/de/ccc/hamburg/keycloak/attribute_endpoints/AdminUiPage.java @@ -128,7 +128,6 @@ public class AdminUiPage implements UiPageProvider, UiPageProviderFactory