[keycloak-dev] Keycloak builders
sthorger at redhat.com
Fri Mar 31 03:49:39 EDT 2017
An example of things that would need to be refactored:
On 31 March 2017 at 09:48, Stian Thorgersen <sthorger at redhat.com> wrote:
> Could even have a static method on ClientRepresentation#build/create or
> something so it's easier to find.
> On 31 March 2017 at 09:48, Stian Thorgersen <sthorger at redhat.com> wrote:
>> Ideal would probably be keycloak-core, but that would require some
>> refactoring, adding new missing things and also I'm not sure all builders
>> should be included.
>> On 30 March 2017 at 21:04, Bruno Oliveira <bruno at abstractj.org> wrote:
>>> While writing tests for the quickstarts, we started to create some code
>>> which I believe overlaps with the same thing ClientBuilder,
>>> RealmBuilder...and other do today. I would like to expose these
>>> to make people's life easy.
>>> There are some options:
>>> 1. Move the builders available here to keycloak-core.
>>> 2. Move it to keycloak-test-helper
>>> 3. Do nothing and duplicate code that matters into keycloak-test-helper
>>> I know that doing 1 or 2, is just silly if you think about quickstarts.
>>> at the same time, others can benefit from a more fluent API, to
>>> programatically create users, realms...
>>>  -
>>>  -
>>> keycloak-dev mailing list
>>> keycloak-dev at lists.jboss.org
More information about the keycloak-dev