Changeset 1687


Ignore:
Timestamp:
Apr 1, 2011, 7:03:18 PM (6 years ago)
Author:
business@…
Message:

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

File:
1 edited

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)
Note: See TracChangeset for help on using the changeset viewer.