Use Case: *Submit Analysis Job using a GSI-enabled Environment*

+---------------+------------------------------------------------------+
| # Identifier  | ## UC \# SAJ-GSI                                     |
+---------------+------------------------------------------------------+
| # Goa         | ## Submit an analysis job (job descri                |
| ls in Context | ption, executable, configuration files, dataset defi |
|               | nition) to be executed in a GSI-enabled environment  |
|               | (enhanced sam client/servers, globus submission mech |
|               | anisms (condor-g/GRAM) , GridFTP for file transport) |
|               |                                                      |
|               | ##                                                   |
+---------------+------------------------------------------------------+
| # Actors      | ## Physicist                                         |
+---------------+------------------------------------------------------+
| # Triggers    | ## Conference deadline, angry supervisor.            |
+---------------+------------------------------------------------------+
| **Included    | *Input and Output File Tranfers.*                    |
| Use Cases**   |                                                      |
+---------------+------------------------------------------------------+
| **Extended    | ## Submit Analysis Job                               |
| Use Cases**   |                                                      |
+---------------+------------------------------------------------------+
| # P           | ## User has a valid GSI proxy.                       |
| re-conditions |                                                      |
|               | ## Dataset                                           |
|               | definition. Job description. Output File Definition. |
+---------------+------------------------------------------------------+
| # Po          | ## Job terminate                                     |
| st-conditions | s after processing the dataset, given the job descri |
|               | ption file, sending back the indicated output files. |
+---------------+------------------------------------------------------+
| # Basic Flow  | *User grid-proxy-init and sam submit; user proxy is  |
|               | sent by the GSI-enabled sam-client to the            |
|               | GSI-enabled sam-station; sam station contact an      |
|               | Authorization Service to authorize the authenticated |
|               | subject to use DZero resources; sam station receives |
|               | a sam service proxy from the Authorization Service;  |
|               | sam station asks the client to submit job using user |
|               | proxy; sam station send the service proxy to         |
|               | stager/e-worker/transport mechanism (GridFTP); input |
|               | files are delivered and analysis runs.*              |
|               |                                                      |
|               | *.*                                                  |
+---------------+------------------------------------------------------+
| **Devious     | ## Errors in                                         |
| Flow(s)**     | Authentication and Authorisation mechanisms. Errors  |
|               | in job submission due to expired user proxy. Errors  |
|               | in transport mechanism due to expired service proxy. |
+---------------+------------------------------------------------------+
| **Importance  | ## Enab                                              |
| and           | les GSI authentication mechanisms for data analysis. |
| Frequency**   |                                                      |
|               | ## Introduces the G                                  |
|               | SI subject as a way to identify univocally sam users |
+---------------+------------------------------------------------------+
| **Additional  | ## All the si                                        |
| R             | tes runs GSI; users start requesting GSI certificate |
| equirements** | s; Authorization Service is deployed and maintained. |
+---------------+------------------------------------------------------+