[jboss-as7-dev] Consolidation of properties
Kabir Khan
kabir.khan at jboss.com
Wed May 18 07:24:39 EDT 2011
[domain at localhost:9999 /] :read-resource(recursive=1)
{
"outcome" => "success",
"result" => {
"namespaces" => [("xsi" => "http://www.w3.org/2001/XMLSchema-instance")],
<SNIP>
"system-property" => {
"foo" => {"value" => "bar"},
"key" => {"value" => "value"}
},
<SNIP>
Or you can query for a particular property now, i.e.:
domain at localhost:9999 /] /system-property= <TAB>
system-property=foo system-property=key
[domain at localhost:9999 /] /system-property=foo:read-resource
{
"outcome" => "success",
"result" => {"value" => "bar"},
"compensating-operation" => undefined
}
On 18 May 2011, at 12:20, Heiko Braun wrote:
>
> I didn't look at it yet, how does the addressable portion look like?
> Can you give me an example?
>
>
> Ike
>
>
> On May 18, 2011, at 1:17 PM, Kabir Khan wrote:
>
>> +1
>> Related to this - they should probably be addressable in the same way as system properties are in Brian's commit for AS7-701?
>> http://github.com/jbossas/jboss-as/compare/45fe0a6...8c986cd
>>
>> On 18 May 2011, at 12:13, Heiko Braun wrote:
>>
>>>
>>> I would suggest we use the existing property format that we have for system properties:
>>>
>>>
>>> <foo-bar-properties>
>>> <property name="DEBUG" value="true"/>
>>> </foo-bar-properties>
>>>
>>>
>>> On May 18, 2011, at 1:10 PM, Heiko Braun wrote:
>>>
>>>>
>>>>
>>>>
>>>> On May 18, 2011, at 1:07 PM, Kabir Khan wrote:
>>>>
>>>>> Is it worth consolidating all these into one xml format?
>>>>
>>>>
>>>> definitely.
>>>>
>>>>
>>>> Ike
>>>> _______________________________________________
>>>> jboss-as7-dev mailing list
>>>> jboss-as7-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>
>>
>
More information about the jboss-as7-dev
mailing list