platform
platform copied to clipboard
Consumption of local keycloak development fixtures should be improved
Background
As a reference implementation of running the OpenTDF Platform and an identity provider, we have some Keycloak fixtures in use throughout the platform, and the implementation can be improved.
We deprecated the hardcoded keycloak provisioning from a CLI command in #1380 and now we should deprecate the logic underneath to lower maintenance burden.
Acceptance Criteria
- Remove the
SetUpKeycloak
function in favor of only theSetUpCustomKeycloak
function - Move example
keycloak_data.yaml
file to the fixtures module (possibly embedded) - Move service KC file loading logic into the
lib/fixtures
module - Deprecate duplicate logic in
SetUpKeycloak
likely to get out of sync withkeycloak_data.yaml
in the SDK Oauth tests - Ensure
lib/fixtures
is released with the changes in 1/2 so that the SDK and service modules are not broken, then consume the breaking fixtures change in theSDK
and release it independently, doing the same forservice
module once the file is available.