Difference between revisions of "2008 Summer Project Week:XNATandXCEDE"

From NAMIC Wiki
Jump to: navigation, search
Line 47: Line 47:
  
 
===Detailed Project Goals===
 
===Detailed Project Goals===
 +
* The XCEDE REST service shall implement the full XCEDE capabilities as a stand-alone application
 +
** When connected to a data service such as XNAT, it's functionality will replace the stand-alone app's, e.g. XCEDE will pass data query requests through to XNAT or perhaps to a DICOM QR provider.
 +
* Users, Roles and Permissions will be incorporated through the [http://www.jsecurity.org/ JSecurity] library.  While user authentication will not be added in the first release, the scaffolding will be in place and authentication may be added where required.
 +
* Interaction with the REST interface will not require a sophisticated client.
 +
** "curl" or "wget" will be sufficient.
 +
** Most languages have some form of HTTP libraries, making them suitable client platforms.
  
 +
 +
=== REST interface ===
  
 
===References===
 
===References===

Revision as of 13:33, 24 June 2008

Home < 2008 Summer Project Week:XNATandXCEDE



Key Investigators

  • Dan M.
  • Dan B.
  • Julien
  • Steve
  • Wendy


Objectives

Improve Slicer's informatics support and its integration with XNAT Tools; Design XCEDE Web Services using several Slicer3 use scenarios as drivers.

Approach, Plan

  • Work with existing Grails-based REST interface to XCEDE
  • Evaluate use cases for Slicer3
  • Work on design of XCEDE web services API to support these.

Progress

A straw man REST interface to XCEDE has been implemented using Grails (Groovy on Rails). Grails is a rapid application development environment patterned after Rails (Ruby on Rails). Grails, however, is completely Java-based utilizing industry standard components (Spring, Hibernate, Groovy). In addition, Grails supports many of the common AJAX frameworks and can be compiled and deployed as a .war file.

A server has been set up on slicerl using code in the NAMICSandbox. Two interfaces are available, a human-friendly web site and a machine-friendly REST interface. The command line program curl can interact with the REST interface, and is useful for learning and debugging.


Detailed Project Goals

  • The XCEDE REST service shall implement the full XCEDE capabilities as a stand-alone application
    • When connected to a data service such as XNAT, it's functionality will replace the stand-alone app's, e.g. XCEDE will pass data query requests through to XNAT or perhaps to a DICOM QR provider.
  • Users, Roles and Permissions will be incorporated through the JSecurity library. While user authentication will not be added in the first release, the scaffolding will be in place and authentication may be added where required.
  • Interaction with the REST interface will not require a sophisticated client.
    • "curl" or "wget" will be sufficient.
    • Most languages have some form of HTTP libraries, making them suitable client platforms.


REST interface

References