Skip to main content

Service management GUI dialog

2 replies [Last post]
sergey_borodin
Offline
Joined: 2006-10-20

Hi all,
I'd like to discuss new GUI component, which will allow user to see all available services, start, stop them and see their status.

I plan to implement services dialog in next manner.

Respected menu item will be in the same place as Log Viewer.

Content of window - JTable with 5 columns:
1. Service's ID
2. Service's description
3. JComboBox with start/stop items
4. IsAvailable - true/false value.

#1,2,4 - simple text fields.

All Existing services will be listed. We may divide those required for test run by background color,
or we can simply disable (make uneditable) rows with not-required services at all.

Rows will be updated by Notifications from watch dog - if service was running, #3 will be set to "start" and #4 will be "Alive".
Once service exited, it's #3 changes to "stop" and #4 - to "Not Alive".

Playing with #3 starts/stops service.

What do you think?

Thanks,
Sergey

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bkurotsu
Offline
Joined: 2004-12-13

> Hi all,
> I'd like to discuss new GUI component, which will
> allow user to see all available services, start, stop
> them and see their status.
>
> I plan to implement services dialog in next manner.
>
> Respected menu item will be in the same place as Log
> Viewer.

Ok. What will you call it? "Service Monitor"?

> Content of window - JTable with 5 columns:
> 1. Service's ID
> 2. Service's description
> 3. JComboBox with start/stop items
> 4. IsAvailable - true/false value.
>
> #1,2,4 - simple text fields.
>
> All Existing services will be listed. We may divide
> those required for test run by background color,
> or we can simply disable (make uneditable) rows with
> not-required services at all.

Clearly "restart' is a combination of stop then start. Perhaps a "Restart" selection in combo box?

OR - I don't really like combo boxes, since we know there are only 2-3 choices. Why not just use Start/Stop buttons. The could stay on the screen all the time and just enable/disable at the right time. It's so easy to simply press stop/start, that maybe restart isn't even needed.

Otherwise, sounds good.

Don't know about the color coding - we can't pass 508 if it's only coloring, there would need to be another indication. Let's skip that for now - we can add something later if it seems really useful. Would it be expensive to calculate what is required? Perhaps not if we only display that info during a test run (not other times).

Brian

> Rows will be updated by Notifications from watch dog
> - if service was running, #3 will be set to "start"
> and #4 will be "Alive".
> Once service exited, it's #3 changes to "stop" and #4
> - to "Not Alive".
>
> Playing with #3 starts/stops service.
>
> What do you think?
>
> Thanks,
> Sergey

sergey_borodin
Offline
Joined: 2006-10-20

> > Hi all,
> > I'd like to discuss new GUI component, which will
> > allow user to see all available services, start,
> stop
> > them and see their status.
> >
> > I plan to implement services dialog in next
> manner.
> >
> > Respected menu item will be in the same place as
> Log
> > Viewer.
>
> Ok. What will you call it? "Service Monitor"?

"Service Monitor" or "Service Viewer"

>
> > Content of window - JTable with 5 columns:
> > 1. Service's ID
> > 2. Service's description
> > 3. JComboBox with start/stop items
> > 4. IsAvailable - true/false value.
> >
> > #1,2,4 - simple text fields.
> >
> > All Existing services will be listed. We may
> divide
> > those required for test run by background color,
> > or we can simply disable (make uneditable) rows
> with
> > not-required services at all.
>
> Clearly "restart' is a combination of stop then
> start. Perhaps a "Restart" selection in combo box?
>
> OR - I don't really like combo boxes, since we know
> there are only 2-3 choices. Why not just use
> Start/Stop buttons. The could stay on the screen all
> the time and just enable/disable at the right time.
> It's so easy to simply press stop/start, that maybe
> restart isn't even needed.
>
> Otherwise, sounds good.

Ok, I think start and stop buttons is enougth. And no any combo boxes.

>
> Don't know about the color coding - we can't pass 508
> if it's only coloring, there would need to be another
> indication. Let's skip that for now - we can add
> something later if it seems really useful. Would it
> be expensive to calculate what is required?

if you about time cost, then no - its in progress and will be ready soon.

> Perhaps
> not if we only display that info during a test run
> (not other times).

For now I plan all possible services to be displayed all the time when it is possible - not only during test run.
And so they will be able to be started manually before/during/after test run.

--Sergey