#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 Changed 16 years ago by
Milestone: | BASE 2.4 → BASE 2.3 |
---|
comment:2 Changed 16 years ago by
Milestone: | BASE 2.4 → BASE 2.5 |
---|
comment:3 Changed 16 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 16 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 16 years ago by
Owner: | changed from Nicklas Nordborg to Martin Svensson |
---|---|
Status: | new → assigned |
comment:7 Changed 16 years ago by
comment:8 Changed 16 years ago by
(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 Changed 16 years ago by
(In [3816]) References #492 Start working on services for BioAssaySets? and added a service to get bioassayset in an experiment.
comment:11 Changed 16 years ago by
comment:13 Changed 16 years ago by
(In [3836]) References #492 A BioAssaySet? can now be downloaded in MeV-format through WebServices?.
comment:21 Changed 16 years ago by
comment:22 Changed 16 years ago by
The development of web services is moved to the trunk and will no longer be done in it's own branch.
comment:23 Changed 16 years ago by
(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 Changed 16 years ago by
comment:26 Changed 16 years ago by
comment:27 Changed 16 years ago by
Component: | core → webservices |
---|
Documentation is a separate ticket: see ticket#809
comment:28 Changed 16 years ago by
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 Changed 16 years ago by
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 Changed 16 years ago by
comment:31 Changed 16 years ago by
(In [3920]) References #492 Creates a new OutputStream? for each upload and always return a MIMEtype in BaseFileDataSource?.
comment:32 Changed 16 years ago by
comment:33 Changed 16 years ago by
(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 Changed 16 years ago by
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 Changed 16 years ago by
comment:36 Changed 16 years ago by
comment:37 Changed 16 years ago by
(In [3972]) References #492: Web services
Added ServicesUtil?.listToInfo() method for generic conversion of items to info objects
Milestone BASE 2.4 deleted