Nice, thanks Kabir!
I'll play around with that soon!
David
On 21/07/2011 15:37, Kabir Khan wrote:
My
https://github.com/kabir/jboss-as/commits/parsing-harness contains
some adjustements.
https://github.com/kabir/jboss-as/commit/8f6538850604e0633c34c27d6fa70bb8...
shows how to invoke the ops without doing the RUNTIME part of the operation handlers,
i.e. services will not get installed.
https://github.com/kabir/jboss-as/commit/8f6538850604e0633c34c27d6fa70bb8...
shows how to just marshall a raw model to xml.
On 20 Jul 2011, at 16:40, David Bosschaert wrote:
> On 20/07/2011 15:34, Kabir Khan wrote:
>> You need to start up MSC to get reference to the model controller since that is
the only real way to get hold of the model controller. I guess you are saying you want the
model changes and associated persistence of the xml to happen when invoking your ops, but
not the installation of services?
> Yes, from a unit testing point of view that would be nice :)
>
> Currently I can test the reading part as a unit without causing any side effects in
the system, i.e. XML -> ModelNodes
> It would be great to be able to test the writing part as a unit too: ModelNodes ->
XML
>
> Cheers,
>
> David