Merge pull request 'Add Makefile and Documentation for Building the Provider' (#2) from building_help into main

Reviewed-on: #2
Reviewed-by: kritzl <kritzl@noreply.git.hamburg.ccc.de>
This commit is contained in:
June 2026-03-31 22:26:03 +02:00
commit e315d0a2c7
2 changed files with 16 additions and 1 deletions

7
Makefile Normal file
View file

@ -0,0 +1,7 @@
verify:
mvn -f attribute-endpoints-provider verify
clean:
mvn -f attribute-endpoints-provider clean
.PHONY: verify clean

View file

@ -12,10 +12,18 @@ Every endpoint responds with a list of all attribute values, that:
Multivalue attributes are flattened in the response.
## Building
Maven is required for building the provider.
Once all dependencies are met, simply call `make` to build the provider, which should then produce a `attribute-endpoints-provider-1.0-SNAPSHOT.jar` in the `attribute-endpoints-provider/target/` directory.
There's also `make clean` available for removing the output directory.
## Example Setup
We assume an unconfigured, fresh Keycloak installation running under `http://localhost:8080`.
We assume an unconfigured, fresh Keycloak installation running under `http://localhost:8080`.
(This can be achieved by running the provided `compose.yaml` after building the provider as outlined in [Building](#building).)
1. Add a new realm
e.g. "TestRealm"