Activities are the data resource manipulation, data transformation and delivery actions that a client wants an OGSA-DAI service to perform. Some activities are data resource-specific (e.g. relational or XML activities), others (e.g. delivery and data transformation) are generic.
Activities are the basic building block of Perform documents.
Activities are designed to inter-operate. For example, the output of an sqlQueryStatement can be directed to a deliverToURL activity thereby allowing data to be delivered to third parties. To support inter-operation an activity can have zero or more inputs and zero or more outputs. These outputs can be given specific names and are termed streams.
Inter-operating activities
OGSA-DAI provides the following activities:
| Activity | Description | OGSA-DAI Platform Compatibility |
|---|---|---|
| Relational Activities | ||
| sqlQueryStatement | Run an SQL query statement. | All |
| sqlUpdateStatement | Run an SQL update statement. | All |
| sqlStoredProcedure | Invoke an SQL stored procedure. Currently, this only works with DB2 and is not supported by MySQL or Oracle. | All |
| sqlBulkLoadRowSet | Bulk load data into a table. | All |
| relationalResourceManagement | Create or drop database tables. | All |
| XML Activities | ||
| xPathStatement | Run an XPath statement against an XML database. | All |
| xUpdateStatement | Run an XUpdate statement against an XML database. | All |
| xmlCollectionManagement | Create or remove collections within an XML database. | All |
| xmlResourceManagement | Create or remove resources within an XML database. | All |
| Delivery Activities | ||
| deliverFromURL | Retrieve data from a URL. | All |
| deliverToURL | Deliver data to a URL. | All |
| deliverToGDT | Push data to a service implementing OGSA-DAI DataTransport operations. | All |
| deliverFromGDT | Pull data from a service implementing OGSA-DAI DataTransport operations. | All |
| deliverToGFTP | Deliver data to a GridFTP server. | OGSI only |
| deliverFromGFTP | Retrieve data from a GridFTP server. | OGSI only |
| deliverFromFile | Retrieve data from a file on the container's local filesystem. | All |
| deliverToFile | Deliver data to a file on the container's local filesystem. | All |
| deliverToSMTP | Deliver data in an e-mail using SMTP. | All |
| inputStream | Receive data through this service's DataTransport operations. | All |
| outputStream | Deliver data through this service's DataTransport operations. | All |
| deliverToStream | Deliver results to a stream | |
| Transformation Activities | ||
| zipArchive | ZIP compress the results. | All |
| gzipCompression | GNU-ZIP compress the results. | All |
| gzipDecompression | GNU-ZIP decompress results. | All |
| dataStore | Cache parameters and results. | All |
| xslTransform | Transform data using an XSLT. | All |
| stringTokenizer | Break a single block into multiple blocks based on a set of separator characters. (Unsupported) | All |
| blockAggregator | Aggregate multiple blocks into a single block. (Unsupported) | All |
| BinX Activities | ||
| fileQuery | Query a BinX file. | All |
| File Activities | ||
| directoryAccessActivity | Access a directory. (Unsupported) | All |
| fileAccessActivity | Read data from a file. (Unsupported) | All |
| fileManipulationActivity | Manipulate files in a directory. (Unsupported) | All |
| fileWritingActivity | Write data into a file. (Unsupported) | All |
| Indexed File Activities | ||
| addIndexFile | Import a new text file and create an index on it. (Unsupported) | All |
| searchIndexedFile | Perform a full-text search across an indexed file. (Unsupported) | All |
| readFile | Read data from a file. (Unsupported) | All |
| Miscellaneous Activities | ||
| notification | Send or receive notifications as to the execution of other activities. (Unsupported) | All |
| Example Activities | ||
| helloWorldActivity | A simple test example. | All |
Note that activities marked Unsupported are activities that should work but have not been subjected to rigorous testing.
| Back: Interacting with Data Resources | Up: Interacting with Data Resources | Next: Perform Documents |
| © International Business Machines Corporation, 2004. | © The University of Edinburgh, 2004. |