Changeset 1687

Show
Ignore:
Timestamp:
01-04-11 19:03:18 (3 years ago)
Author:
business@…
Message:

added /query to assayService module REST call URLs to be more compliant with the dbNP specification

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/dbnp/studycapturing/AssayService.groovy

    r1583 r1687  
    191191        def moduleUrl = assay.module.url 
    192192 
    193         def path = moduleUrl + "/rest/getMeasurementMetaData?assayToken=$assay.assayUUID" 
     193        def path = moduleUrl + "/rest/getMeasurementMetaData/query?assayToken=$assay.assayUUID" 
    194194 
    195195        moduleCommunicationService.callModuleRestMethodJSON(moduleUrl, path) 
     
    212212        fields.each{tokenString+="&measurementToken=${it.name.encodeAsURL()}"} 
    213213 
    214         def path = moduleUrl + "/rest/getMeasurementData?assayToken=$assay.assayUUID" + tokenString 
     214        def path = moduleUrl + "/rest/getMeasurementData/query?assayToken=$assay.assayUUID" + tokenString 
    215215         
    216216        def (sampleTokens, measurementTokens, moduleData) = moduleCommunicationService.callModuleRestMethodJSON(moduleUrl, path)