I don't see this in master yet. Are you still planning to merge it? Let me know when
you do. I'd like to use it.
On May 22, 2013, at 1:34 PM, Lukas Krejci <lkrejci(a)redhat.com> wrote:
Hi all,
on a tangent to my current work on the provisioning subsystem I created a fluent builder
for Configuration instances.
In my opinion, this will greatly simplify the task of creating the complex configuration
objects, mainly while writing the tests.
I placed the builder directly in the Configuration class so that it is more easily
discoverable, so this has an impact on our remote API, because we'll start exposing
this class.
I don't see anything wrong with it though, it should help people in the CLI, too.
The code along with tests (that cover the builder code by 100%) is in this commit:
https://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?h=lkrejci/configura...
If you have any ideas for improvements of the API, its usage or are opposed to this going
to master, please speak up.
I am going to merge this into master in a couple of days.
Thanks,
Lukas
_______________________________________________
rhq-devel mailing list
rhq-devel(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-devel