From bd9e5a6f3e20f311ced94b3cf50c11defc12f58c Mon Sep 17 00:00:00 2001 From: June Date: Tue, 24 Mar 2026 18:43:16 +0100 Subject: [PATCH 1/2] add Makefile and docs on how to build the provider --- Makefile | 7 +++++++ README.md | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..767aa28 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +verify: + mvn -f attribute-endpoints-provider verify + +clean: + mvn -f attribute-endpoints-provider clean + +.PHONY: verify clean diff --git a/README.md b/README.md index 4697503..53607f1 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,13 @@ 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 From 324fe35f5acf5624e0a0cdff15170ed646fa1066 Mon Sep 17 00:00:00 2001 From: June Date: Tue, 24 Mar 2026 18:44:55 +0100 Subject: [PATCH 2/2] add note on how to get an example keycloak setup for the example setup --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 53607f1..10e40e7 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,8 @@ 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"