Opened 14 years ago

Last modified 14 years ago

#229 assigned task

Implement API for additional GenePattern web services

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: critical Milestone: ZZ GenePattern integration v1.0
Component: net.sf.basedb.genepattern Keywords:
Cc:

Description

The GenePattern? API includes an API for accessing some parts of the web services on a GenePattern? server. But it turns out that there are a lot more web services that we might want to use. For example, we might want to abort a job.

A list with all web services including the wsdl can be found at: http://genepattern.broad.mit.edu/gp/services

Change History (8)

comment:1 Changed 14 years ago by Nicklas Nordborg

It seems like this doesn't need to be very complicated at all. There are several (undocumented) classes in the org.genepattern.webservice that seems to have the desired functionality. For example:

  • AdminProxy which can get information about installed modules and suites.
  • AnalysisWebServiceProxy which manages jobs

A simple solution would be to wrap a GPClient, AdminProxy, AnalysisWebServiceProxy, etc. in our own class and just expose the functionality that we need. This also has the benefit that all GenePattern?-dependent code is located in a single place. We may just as well create wrappers for ParameterInfo, TaskInfo as well...

comment:2 Changed 14 years ago by Nicklas Nordborg

Status: newassigned

comment:3 Changed 14 years ago by Nicklas Nordborg

(In [1115]) References #229: Implement API for additional GenePattern? web services

Added wrapper classes.

comment:4 Changed 14 years ago by Nicklas Nordborg

(In [1116]) References #222 and #229. File transfer gateway now uses the new wrappers.

comment:5 Changed 14 years ago by Nicklas Nordborg

Priority: majorcritical

comment:6 Changed 14 years ago by Nicklas Nordborg

(In [1118]) References #229: Implement API for additional GenePattern? web services

The test servlet now use the wrapper classes when possible.

comment:7 Changed 14 years ago by Nicklas Nordborg

(In [1128]) References #222, #218, #229. Several changes just to make things work.

comment:8 Changed 14 years ago by Nicklas Nordborg

(In [1130]) References #229: Implement API for additional GenePattern? web services

Added convenience method that waits (interruptable) for a GP job to complete.

Note: See TracTickets for help on using tickets.