#492 closed task (fixed)
Web services
Reported by: | Jari Häkkinen | Owned by: | Martin Svensson |
---|---|---|---|
Priority: | major | Milestone: | BASE 2.5 |
Component: | webservices | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
The outline for the web services implementation:
- We are going to use Apache Axis 2 (http://ws.apache.org/axis2/) for the web services.
- No services that changes data in BASE will be supported in the web services to be release in milestone:"BASE 2.5"
- The below list of services will be exposed in milestone:"BASE 2.5"
- login
- refresh
- logout
- list projects
- select project
- list experiments
- select experiment with below contrinuation
- list raw data
- select raw data
- download raw data
- list array designs for selected raw data
- download array design
- select experiment with below contrinuation
- list bioassay sets
- select bioassay sets
- list export avaiable for selected bioassay sets
- download bioassays set in supported format.
- Create client
- Create tests (this item is closely related to the client item above.
- Write documentation
The listing features above will require a filtering facility to allow listing of a subset of items.
Change History (37)
comment:1 by , 18 years ago
Milestone: | BASE 2.4 → BASE 2.3 |
---|
comment:2 by , 18 years ago
Milestone: | BASE 2.4 → BASE 2.5 |
---|
comment:3 by , 17 years ago
Description: | modified (diff) |
---|
comment:4 by , 17 years ago
Description: | modified (diff) |
---|
comment:5 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:7 by , 17 years ago
comment:8 by , 17 years ago
(In [3813]) References #492 -Made it possible to send restrictions and expressions with the QueryOptions class and updated the service-, client- and test-classes. -Removed an obsolete axis jar-file. -Updated so all the new axis jar-files are included in the classpath.
comment:9 by , 17 years ago
(In [3816]) References #492 Start working on services for BioAssaySets and added a service to get bioassayset in an experiment.
comment:11 by , 17 years ago
comment:13 by , 17 years ago
(In [3836]) References #492 A BioAssaySet can now be downloaded in MeV-format through WebServices.
comment:21 by , 17 years ago
comment:22 by , 17 years ago
The development of web services is moved to the trunk and will no longer be done in it's own branch.
comment:23 by , 17 years ago
(In [3861]) References #492 Added Services for RawBioAssay and ArrayDesign. Each item from BASE has got it's own info-class in the web services.
comment:25 by , 17 years ago
comment:26 by , 17 years ago
comment:27 by , 17 years ago
Component: | core → webservices |
---|
Documentation is a separate ticket: see ticket#809
comment:28 by , 17 years ago
Implementation for downloading files has problems:
- It is not safe if multiple users try to download file with the same name at the same time because the name (without path information) is used to create a temporary file.
- Temporary files are never cleaned up
Since everything is stream-based I don't see any reason for creating the temporary files at all.
comment:29 by , 17 years ago
The BioAssaySetService has even bigger problems with the export functions. Here the temporary file names are hardcoded, and this will not work if two users are doing an export at the same time. In the worst case a user may end up with data from another user's experiment.
It might be harder to fix this problem with streams since we need an OutputStream in one end and an InputStream in the other. If temporary files are used they must be unique (use File.createTempFile) and if possible, make sure that they are deleted after they have been used.
comment:30 by , 17 years ago
comment:31 by , 17 years ago
(In [3920]) References #492 Creates a new OutputStream for each upload and always return a MIMEtype in BaseFileDataSource.
comment:32 by , 17 years ago
comment:33 by , 17 years ago
(In [3939]) References #492: Web services
- Try to delete temp files generated by BioAssaySetExporter instead of waiting until the JVM exits
- Changed order of webservices tests to make it quicker in case no webservices has been setup
comment:34 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The items in this ticket are done, further development in Base web services will be done in separate tickets.
comment:35 by , 17 years ago
comment:36 by , 17 years ago
comment:37 by , 17 years ago
(In [3972]) References #492: Web services
Added ServicesUtil.listToInfo() method for generic conversion of items to info objects
Milestone BASE 2.4 deleted