Changeset 609 for trunk/src/groovy/dbnp/rest/CommunicationManager.groovy
- Timestamp:
- Jun 25, 2010, 10:39:24 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/groovy/dbnp/rest/CommunicationManager.groovy
r608 r609 34 34 */ 35 35 36 def static ServerURL = "http://localhost:8182/ClinicalChemistry"37 //def static ServerURL = "http://nbx5.nugo.org:8182/ClinicalChemistry"36 //def static ServerURL = "http://localhost:8182/ClinicalChemistry" 37 def static ServerURL = "http://nbx5.nugo.org/sam" 38 38 def static RestServerURL = ServerURL + "/rest" 39 39 … … 143 143 144 144 145 146 /* Methods for accessing URLs in SAM */ 147 148 145 149 /** 146 * Get the URL for importing an assay within the GSCF.150 * Get the URL for importing an assay from SAM. 147 151 * This is not a REST method! It only creates a rest resource and returns it's url. 148 152 * 149 153 * @params assay 150 * @return list of ClinicalFloatData154 * @return URL 151 155 */ 152 156 public Object getAssayImportURL( assay ) { 153 return new URL( ServerURL + '/importer/ test?externalAssayID=' + assay.externalAssayID )157 return new URL( ServerURL + '/importer/pages/assay?externalAssayID=' + assay.externalAssayID ) 154 158 } 155 159 156 160 157 158 159 /* Methods for acessing URLs in SAM */160 161 162 161 /** 163 * Get the URL for importing an assay within the GSCF.162 * Get the URL for showing an assay in SAM. 164 163 * This is not a REST method! It only creates a rest resource and returns it's url. 165 164 * … … 173 172 174 173 /** 175 * Get the URL for importing an assay within the GSCF.174 * Get the URL for editing an assay in SAM. 176 175 * This is not a REST method! It only creates a rest resource and returns it's url. 177 176 * … … 185 184 186 185 /** 187 * Get the URL for importing an assay within the GSCF.186 * Get the URL for showing a measurement in SAM. 188 187 * This is not a REST method! It only creates a rest resource and returns it's url. 189 188 *
Note: See TracChangeset
for help on using the changeset viewer.