Web Application Scheduler Portlet

From Gcube Wiki
Revision as of 13:11, 27 November 2012 by Nikolaos.drakopoulos (Talk | contribs) (Scheduler Portlet)

Jump to: navigation, search

Scheduler Portlet


The scheduler portlet is an interface implemented for the client with the general purpose of scheduling transfers. The client has also the option of monitoring and canceling a transfer. The Scheduler Portlet also provides statistics about the agent nodes so that the user can choose the most beneficial agent.

On the left side, there is the main form where the user can choose between several ways of scheduling such as 'direct', 'manually' by giving the specific time instance and 'periodically' by giving the frequency and the start time instance.

Main Form


On the right side, there are two panels. The one contains the toolbar for selecting source and destination type and the other contains the source and destination stores. Available source types are the workspace, the datasources and the URI's.

Toolbar


When the user chooses the source, several files from the source are shown in the source panel. The user can select the files he wants to transfer via dragging and dropping them in the target panel on the right. Notice that the destination/target panel can contain only files and not folders.

There are four buttons here:
-hide main in order to see the right panel full width
-refresh tree so as to reload the source store
-clear target to clean the already selected files and
-schedule for scheduling a transfer.

Source & Destination Panels


On the bottom, there is a form which shows information about the user's scheduled transfers. Information provided is: id,status type and submitted date. The user is able by double-clicking on one of them to submit a command for this specific transfer. Available commands are: monitor, get outcomes, and cancel.

Two tool-buttons here
-refresh for reloading the transfers and
-view agent statistics

Schedule Details


= Selecting the Source Type =

1: Clicking on the source type ComboBox, a pop up windows appears in order to select one of the given option.

Source Type PopUp Window


2: In case of 'workspace' the files of the root folder are added in the source panel. In case of the 'datasource' a second pop up window appears for selecting one of the available datasources.

Selection:Datasource


Selecting the third option of URI, the new pop up window gives user the possibility to add his own URI's and transfer files from public links.

Selection:URI


Selecting the Destination Type:

1: Clicking on the destination type ComboBox, a pop up window appears in order to select one of the given options.

Destination Type PopUp Window


2: In case of 'agent's node', the user has to select the agent node from the new pop up window.

Selection:Agent's node


In addition it is possible to see the agent statistics and make his choice from the statistic panel.



In case of 'MongoDB', there is a need for filling the MongoDB details in a new pop up window and select the node which is going to make the operation(agent).

Selection:MongoDB