uk.ac.soton.itinnovation.grid.coverage.ogsadai
Class OgsaDaiClientResourceCoverage

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.coverage.ogsadai.OgsaDaiMetaCoverage
      extended by uk.ac.soton.itinnovation.grid.coverage.ogsadai.OgsaDaiClientInitCoverage
          extended by uk.ac.soton.itinnovation.grid.coverage.ogsadai.OgsaDaiClientResourceCoverage

public class OgsaDaiClientResourceCoverage
extends OgsaDaiClientInitCoverage


Field Summary
 
Fields inherited from class uk.ac.soton.itinnovation.grid.coverage.ogsadai.OgsaDaiMetaCoverage
classLoader, ogsaDaiServiceEndpoint, oldSLAService, remoteOgsaDaiService, remoteSLAService, repos, serviceLocation, slaConv, slaEndpoint, usingPostgres
 
Constructor Summary
OgsaDaiClientResourceCoverage()
           
 
Method Summary
 void checkPolicyRule()
          This test shows that the policy check fails without the required SAML token and passes with it.
 void getSupportedActivities()
          This test tests both the getSupportedActivities and the existence of an activity that has to be expressly uncommented by RDBMSDataResourceManager for mysql backends
 void perform()
           
 void permissionsCheck()
           
 void processingSQLQueryLargeResults()
          Tests getNBlocks() This example shows how to return and process the results of an SQL query that returns a la, OgsaDaiDataResourcesCoverage.class, OgsaDaiClientServiceCoverage.classrge number of rows.
 void putBlocks()
          tests putBlocks, getStatus
 
Methods inherited from class uk.ac.soton.itinnovation.grid.coverage.ogsadai.OgsaDaiClientInitCoverage
createResourceWithSAML, ogsaInitTearDown
 
Methods inherited from class uk.ac.soton.itinnovation.grid.coverage.ogsadai.OgsaDaiMetaCoverage
destroy, prepare, testRODS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OgsaDaiClientResourceCoverage

public OgsaDaiClientResourceCoverage()
Method Detail

perform

public void perform()
             throws Exception
Throws:
Exception

permissionsCheck

public void permissionsCheck()
                      throws ServiceCommsException,
                             ServerException,
                             RequestException,
                             ResourceUnknownException,
                             ResourceBusyException,
                             AuthorisationException,
                             NoActivityOutputException,
                             DataFormatException,
                             SQLException
Throws:
ServiceCommsException
ServerException
RequestException
ResourceUnknownException
ResourceBusyException
AuthorisationException
NoActivityOutputException
DataFormatException
SQLException

getSupportedActivities

public void getSupportedActivities()
                            throws UnknownPropertyException,
                                   ServiceCommsException,
                                   ResourceUnknownException,
                                   ServerException,
                                   AuthorisationException
This test tests both the getSupportedActivities and the existence of an activity that has to be expressly uncommented by RDBMSDataResourceManager for mysql backends

Throws:
UnknownPropertyException
ServiceCommsException
ResourceUnknownException
ServerException
AuthorisationException

checkPolicyRule

public void checkPolicyRule()
                     throws Exception
This test shows that the policy check fails without the required SAML token and passes with it.

Throws:
Exception

processingSQLQueryLargeResults

public void processingSQLQueryLargeResults()
                                    throws Exception
Tests getNBlocks() This example shows how to return and process the results of an SQL query that returns a la, OgsaDaiDataResourcesCoverage.class, OgsaDaiClientServiceCoverage.classrge number of rows. The rows are returned asynchronously from the server using an DTOutputStream, so that the entire results do not have to be collated on the server to be returned in a single response.

Throws:
Exception

putBlocks

public void putBlocks()
               throws Exception
tests putBlocks, getStatus

Throws:
Exception


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.