Activity Configuration

Activity configuration involves specifying information about the activities that a service supports and a client can execute. The activity configuration dictates the activities that can be specified within a client's Perform document or Client Toolkit request. Configuration is achieved using an activity configuration document.

An activity configuration document includes information on the following:

Example

<?xml version="1.0" encoding="UTF-8"?>
<activityConfiguration
  xmlns="http://ogsadai.org.uk/namespaces/2005/03/config">

  <documentation>
    This is an example activity configuration document.
  </documentation>

  <basePerformDocumentSchema
    location="http://localhost:8080/ogsa/schema/ogsadai/types/general_types.xsd"/>

  <activityMap
    schemaBase="http://localhost:8080/ogsa/schema/ogsadai/xsd/activities/"
    configBase="http://localhost:8080/ogsa/config/">

    <activity name="sqlQueryStatement"
      implementation="uk.org.ogsadai.activity.sql.SQLQueryStatementActivity"
      schema="sql_query_statement.xsd"/>

    <activity name="specialDelivery"
      implementation="some.package.SpecialDeliveryActivity"
      schema="deliver_results.xsd">
      <property key="url" value="ftp://anon:anon@my.ftp.server"/>
      <property key="maxBytes" value="10000"/>
    </activity>

    <activity name="proteinToGeneTransformation"
      implementation="some.package.ProteinToGeneTransformation"
      schema="protein_to_gene.xsd"
      config="proteinToGene.xml"/>

  </activityMap>

</activityConfiguration>

Specification

Root element activityConfiguration contains:

XML Schema

OGSA-DAI/schema/ogsadai/xsd/activity_config.xsd