Instead of having several endpoints hard-coded the well known endpoints are used.
What was done
All the hard-coded endpoints replaced with endpoints from uma_well_known
Client ID and secret got differently so that rego_policy fixture is not dependent on keycloak fixture directly
The rego_policy and authorization fixtures moved a bit down after owner_uma fixture since these two now defends on owner_uma.
Removal of # pylint: disable=line-too-long
Overview
This is a further improvement of https://github.com/Kuadrant/testsuite/pull/412
Instead of having several endpoints hard-coded the well known endpoints are used.
What was done
All the hard-coded endpoints replaced with endpoints from
uma_well_known
Client ID and secret got differently so thatrego_policy
fixture is not dependent onkeycloak
fixture directly Therego_policy
andauthorization
fixtures moved a bit down afterowner_uma
fixture since these two now defends onowner_uma
. Removal of# pylint: disable=line-too-long
Verification Steps
Eye review, run the test to see that it passes