[jboss-as7-dev] Finding out what version of the Detyped API a client is dealing with
Thomas Diesler
thomas.diesler at jboss.com
Thu Oct 27 04:53:41 EDT 2011
By convention, the version of the subsystem model could follow the
current version of the subsystem schema.
It's unlikely that the XML changes without a change in the model or vice
versa.
-thomas
On 10/25/2011 12:59 PM, David Bosschaert wrote:
> Thanks Brian that clarifies things a little.
> Thomas also filed https://issues.jboss.org/browse/AS7-2234 in relation
> to this.
>
> What I meant with 'detyped model version' is the version of a management
> API exposed through the detyped model.
> One thing that may need a little more discussion is whether a single
> global version is sufficient for the entire exposed model (e.g. an AS7
> version), or whether individual subsystems and other components need
> individual versions.
>
> Cheers,
>
> David
>
> On 24/10/2011 15:05, Brian Stansberry wrote:
>> https://issues.jboss.org/browse/AS7-364 is for exposing the AS version.
>>
>> It's a simple thing to do, just a matter of writing a simple handler and
>> adding it to the root resource for the server and to the /host=xxx
>> resource on the domain.
>>
>> I'm not sure about the meaning of the "detyped model" version. A similar
>> handler could emit the default namespace for the given running version
>> (org.jboss.as.controller.Namespace.CURRENT) but that's only for the core
>> model. What models the subsystems support depends on what extensions are
>> integrated.
>>
>> On 10/20/11 8:53 AM, David Bosschaert wrote:
>>> Hi all,
>>>
>>> Maybe I missed this but I'm wondering is there a declaration of what
>>> version of the Detyped Model is supported by the currently running AS7
>>> instance?
>>> E.g. I can imagine someone writing a CLI-script or a standalone client
>>> to the Detyped API and needing to know what version is supported by the
>>> running server. Do we expose this somewhere? And on what level?
>>>
>>> Cheers,
>>>
>>> Davdi
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
More information about the jboss-as7-dev
mailing list