Difference between revisions of "Web Application Scheduler Portlet"
(→Source & Destination) |
Andrea.manzi (Talk | contribs) (→Assumptions and More ...) |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <!-- CATEGORIES --> | ||
+ | [[Category:Developer's Guide]] | ||
+ | <!-- END CATEGORIES --> | ||
= Scheduler Portlet = | = 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.<br> | 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.<br> | ||
Line 16: | Line 18: | ||
<br> | <br> | ||
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.<br> | 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.<br> | ||
− | Source types are the treeBased (tree collections stored in the IS), Workspace, MongoDB, DataSource, Agent's node and the URI's. <br> | + | Source types are the '''treeBased''' (tree collections stored in the IS), '''Workspace''', '''MongoDB''', '''DataSource''', '''Agent''''s node and the '''URI''''s. <br> |
− | Destination types are the treeBased (tree collections stored in the IS), | + | Destination types are the '''treeBased''' (tree collections stored in the IS), '''MongoDB''', '''DataStorage''' and the '''Agent''''s node. |
<br> | <br> | ||
[[File:SchedulerPortlet-toolbar.png|650px|thumb|center|Toolbar]]<br> | [[File:SchedulerPortlet-toolbar.png|650px|thumb|center|Toolbar]]<br> | ||
Line 25: | Line 27: | ||
There are four buttons here:<br> | There are four buttons here:<br> | ||
*hide main in order to see the right panel full width<br> | *hide main in order to see the right panel full width<br> | ||
− | *refresh | + | *refresh source so as to reload the source store<br> |
*reset target to clean the already selected files and<br> | *reset target to clean the already selected files and<br> | ||
*schedule for scheduling a transfer.<br> | *schedule for scheduling a transfer.<br> | ||
+ | Depending on the destination type there may be more buttons. <br> | ||
+ | In case we having mongoDB as a destination type there will be two more buttons: <br> | ||
+ | *create folder so as to create a new folder in mongoDB<br> | ||
+ | *delete target folder<br> | ||
+ | While when we have treeBased as a destination type there will be two more buttons: <br> | ||
+ | *create tree source<br> | ||
+ | *delete target tree source<br> | ||
<br> | <br> | ||
[[File:SchedulerPortlet-panels.png|650px|thumb|center|Source & Destination Panels]]<br> | [[File:SchedulerPortlet-panels.png|650px|thumb|center|Source & Destination Panels]]<br> | ||
Line 45: | Line 54: | ||
== Selecting the Source Type == | == Selecting the Source Type == | ||
<br> | <br> | ||
− | 1: Clicking on the source type | + | 1: Clicking on the source type button, a pop up windows appears in order to select one of the given option. <br> |
<br> | <br> | ||
[[File:SchedulerPortlet-sourceType.png|650px|thumb|center|Source Type PopUp Window]]<br> | [[File:SchedulerPortlet-sourceType.png|650px|thumb|center|Source Type PopUp Window]]<br> | ||
Line 60: | Line 69: | ||
== Selecting the Destination Type == | == Selecting the Destination Type == | ||
<br> | <br> | ||
− | 1: Clicking on the destination type | + | 1: Clicking on the destination type button, a pop up window appears in order to select one of the given options. <br> |
<br> | <br> | ||
[[File:SchedulerPortlet-destinationType.png|650px|thumb|center|Destination Type PopUp Window]]<br> | [[File:SchedulerPortlet-destinationType.png|650px|thumb|center|Destination Type PopUp Window]]<br> | ||
Line 72: | Line 81: | ||
[[File:SchedulerPortlet-agentStatistics.png|650px|thumb|center|Agent Statistics]]<br> | [[File:SchedulerPortlet-agentStatistics.png|650px|thumb|center|Agent Statistics]]<br> | ||
<br> | <br> | ||
− | In case of 'MongoDB', | + | In case of 'MongoDB', if you are an admin VO/VRE user you will be asked to fill the MongoDB details in a new pop up window and select the node which is going to make the operation(agent). Regarding the MongoDB details there is also the option for the admin to click the checkbox for the default values. If you are a simple user the MongoDB bucket is the one regarding the shared folder of the current VRE and you will be not asked to fill this type of information.<br> |
<br> | <br> | ||
[[File:SchedulerPortlet-mongoDB.png|650px|thumb|center|Selection:MongoDB]]<br> | [[File:SchedulerPortlet-mongoDB.png|650px|thumb|center|Selection:MongoDB]]<br> | ||
Line 82: | Line 91: | ||
<br> | <br> | ||
− | == | + | == Assumptions and Known Issues == |
<br> | <br> | ||
*If the source type is 'workspace' the user will be asked to give the password when submit a transfer. | *If the source type is 'workspace' the user will be asked to give the password when submit a transfer. | ||
+ | *If the source type is tree-based the destination type must be also tree-based and the other way around. | ||
+ | *The portlet takes into consideration only the DATASOURCES and DATASTORAGES whose name starts with "HTTP" or "FTP". | ||
*The portlet is flexible enough and it can be resized with min width 800 pixels. | *The portlet is flexible enough and it can be resized with min width 800 pixels. | ||
− | |||
*The source store/panel contains the directory tree starting from the root of datasource or workspace you selected. In case of URI's the source store/panel has the URI's you selected as files. | *The source store/panel contains the directory tree starting from the root of datasource or workspace you selected. In case of URI's the source store/panel has the URI's you selected as files. | ||
*Sometimes the 'back' folder of the source is not properly loaded. Such issue can be resolved by just double click on the 'back' element and you will load the parent source folder. Generally any issue about the source tree can be resolved by reloading again the current source folder. Just click on the refresh button of the source panel. | *Sometimes the 'back' folder of the source is not properly loaded. Such issue can be resolved by just double click on the 'back' element and you will load the parent source folder. Generally any issue about the source tree can be resolved by reloading again the current source folder. Just click on the refresh button of the source panel. | ||
+ | *The overwrite option is applied in case of transferring to Agent/DataStorage while the unzip option is applied only in case of transferring to Agent's node. |
Latest revision as of 17:40, 25 February 2014
Contents
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.
Main Form
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.
Source & Destination
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.
Source types are the treeBased (tree collections stored in the IS), Workspace, MongoDB, DataSource, Agent's node and the URI's.
Destination types are the treeBased (tree collections stored in the IS), MongoDB, DataStorage and the Agent's node.
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 source so as to reload the source store
- reset target to clean the already selected files and
- schedule for scheduling a transfer.
Depending on the destination type there may be more buttons.
In case we having mongoDB as a destination type there will be two more buttons:
- create folder so as to create a new folder in mongoDB
- delete target folder
While when we have treeBased as a destination type there will be two more buttons:
- create tree source
- delete target tree source
Schedule Details Panel
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
Selecting the Source Type
1: Clicking on the source type button, a pop up windows appears in order to select one of the given option.
2: In case of 'workspace' the files of the root folder are added in the source panel.
In case of 'datasource' a second pop up window appears for selecting one of the available datasources.
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.
Selecting the Destination Type
1: Clicking on the destination type button, a pop up window appears in order to select one of the given options.
2: In case of 'agent's node', the user has to select the agent node from the new pop up window.
In addition it is possible to see the agent statistics and make his choice from the statistic panel.
In case of 'MongoDB', if you are an admin VO/VRE user you will be asked to fill the MongoDB details in a new pop up window and select the node which is going to make the operation(agent). Regarding the MongoDB details there is also the option for the admin to click the checkbox for the default values. If you are a simple user the MongoDB bucket is the one regarding the shared folder of the current VRE and you will be not asked to fill this type of information.
In case of 'DataStorage', the user selects the remote node from the new pop up window and then the agent.
Assumptions and Known Issues
- If the source type is 'workspace' the user will be asked to give the password when submit a transfer.
- If the source type is tree-based the destination type must be also tree-based and the other way around.
- The portlet takes into consideration only the DATASOURCES and DATASTORAGES whose name starts with "HTTP" or "FTP".
- The portlet is flexible enough and it can be resized with min width 800 pixels.
- The source store/panel contains the directory tree starting from the root of datasource or workspace you selected. In case of URI's the source store/panel has the URI's you selected as files.
- Sometimes the 'back' folder of the source is not properly loaded. Such issue can be resolved by just double click on the 'back' element and you will load the parent source folder. Generally any issue about the source tree can be resolved by reloading again the current source folder. Just click on the refresh button of the source panel.
- The overwrite option is applied in case of transferring to Agent/DataStorage while the unzip option is applied only in case of transferring to Agent's node.