jbossas/jboss-as — pull request #2130 by kabir (2012-04-24 17:53:31+00:00)
Title: [AS7-4468] Put affected servers in reload-required state following socke...

...t-binding-group removal,

and make the server socket-binding-group add only perform the installation of the service if
booting. Otherwise put it in reload-required.

THis replaces https://github.com/jbossas/jboss-as/pull/2092 and updates it with what Brian and I talked about earlier.

The output of the operations are now:
[domain@localhost:9999 /] /socket-binding-group=full-sockets:remove
{
"outcome" => "success",
"result" => undefined,
"server-groups" => {"main-server-group" => {"host" => {"master" => {
"server-one" => {"response" => {
"outcome" => "success",
"response-headers" => {
"operation-requires-restart" => true,
"process-state" => "restart-required"
}
}},
"server-two" => {"response" => {
"outcome" => "success",
"response-headers" => {
"operation-requires-restart" => true,
"process-state" => "restart-required"
}
}}
}}}}
}
[domain@localhost:9999 /] /socket-binding-group=full-sockets:add(default-interface=public)
{
"outcome" => "success",
"result" => undefined,
"server-groups" => {"main-server-group" => {"host" => {"master" => {
"server-one" => {"response" => {
"outcome" => "success",
"response-headers" => {
"operation-requires-restart" => true,
"process-state" => "restart-required"
}
}},
"server-two" => {"response" => {
"outcome" => "success",
"response-headers" => {
"operation-requires-restart" => true,
"process-state" => "restart-required"
}
}}
}}}}
}