dev@glassfish.java.net

Re: admin console in DAS only?

From: Ludovic Champenois <ludovic.champenois_at_oracle.com>
Date: Thu, 27 May 2010 14:22:10 -0700

On May 27, 2010, at 2:07 PM, Anissa Lam <anissa.lam_at_oracle.com> wrote:

>
>
> Bill Shannon wrote:
>> Alexis Moussine-Pouchkine wrote on 05/27/2010 01:39 AM:
>>> but at the same time we do want to allow RESTful monitoring/management, so should
>>> http://hostname:adminport/ simply redirect to http://hostname:adminport/management/domain ?
>>
>> Using REST to change the configuration of an instance is just going to
>> lead to trouble. I'm inclined to prevent it, or at least make it
>> difficult.
>>
> I don't quite get this. Admin Console supports multiple configurations which means any cluster or stand alone instances can change the configuration through the console. Console will be using the REST API to accomplish this. And you are saying to prevent or make it difficult to use REST to change the configuration ?

No, but detect if the rest client is DAS as opposed to standalone non DAS and act differently (filter, do nothing, redirect etc...)

Ludo
> What will you expect the GUI to depend on then ?
>
> thanks
> Anissa.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>