----- Original Message -----
From: "Brian Stansberry"
<brian.stansberry(a)redhat.com>
To: "David Bosschaert" <david(a)redhat.com>
Cc: jboss-as7-dev(a)lists.jboss.org
Sent: Tuesday, 31 May, 2011 10:10:04 PM
Subject: Re: [jboss-as7-dev] Request for review: AS7 management additions
On 5/31/11 2:11 PM, David Bosschaert wrote:
The descriptions are accessible via the read-resource-description
operation, which is available by default on every resource.
http://fpaste.org/HOPF/ shows executing that against the deployment
scanner, both in its base form and with a couple params set.
Ok - that works :) and I see from the other thread that the plan is to use these
descriptions to validate at some point in the future which would be really good.
Unfortunately, there's no tooling to generate this stuff from the
xsd
at this point.
It shouldn't be too hard to at least create a one-way generator that produces these
ModelDescriptions from an .xsd source. AFAICS xsd can express pretty much all that's
needed here (and if it doesn't you can always use custom xsd annotations).
I guess I always get a little nervous when the same info is expressed in multiple places
without a clear link between then...
Cheers,
David