Ignore:
Timestamp:
Mar 30, 2012, 12:43:56 PM (10 years ago)
Author:
work@…
Message:
  • added getAssayData api call
  • disable validation on development and ci
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/api/ApiController.groovy

    r2196 r2198  
    223223            response.sendError(401, 'Unauthorized')
    224224        } else {
    225 //            def serviceURL = "${assay.module.url}/rest/getMeasurements"
    226 //            def serviceArguments = "assayToken=${assayToken}"
    227 //            def measurements = moduleCommunicationService.callModuleMethod(
    228 //                    assay.module.url,
    229 //                    serviceURL,
    230 //                    serviceArguments,
    231 //                    "POST",
    232 //                    user
    233 //            );
    234 
    235225            // define result
    236226            def result = [
    237                     'measurements'  : apiService.getMeasurements(assay, user),
    238 //                'measurements'  : ApiService.getMeasurements(assay, user),
     227                'measurements'  : apiService.getMeasurements(assay, user),
    239228                'data'          : apiService.getMeasurementData(assay, user),
    240229                'metaData'      : apiService.getMeasurementMetaData(assay, user)
Note: See TracChangeset for help on using the changeset viewer.