Changeset 609


Ignore:
Timestamp:
Jun 25, 2010, 10:39:24 AM (7 years ago)
Author:
jahn
Message:

Adjusted communication for SAM on NBX5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/groovy/dbnp/rest/CommunicationManager.groovy

    r608 r609  
    3434     */
    3535
    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"
    3838    def static RestServerURL = ServerURL + "/rest"
    3939
     
    143143
    144144
     145
     146    /* Methods for accessing URLs in SAM */
     147
     148
    145149    /**
    146      * Get the URL for importing an assay within the GSCF.
     150     * Get the URL for importing an assay from SAM.
    147151     * This is not a REST method! It only creates a rest resource and returns it's url.
    148152     *
    149153     * @params assay
    150      * @return list of ClinicalFloatData
     154     * @return URL
    151155     */
    152156    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 )
    154158    }
    155159
    156160
    157 
    158 
    159     /* Methods for acessing URLs in SAM */
    160 
    161 
    162161    /**
    163      * Get the URL for importing an assay within the GSCF.
     162     * Get the URL for showing an assay in SAM.
    164163     * This is not a REST method! It only creates a rest resource and returns it's url.
    165164     *
     
    173172
    174173    /**
    175      * Get the URL for importing an assay within the GSCF.
     174     * Get the URL for editing an assay in SAM.
    176175     * This is not a REST method! It only creates a rest resource and returns it's url.
    177176     *
     
    185184
    186185    /**
    187      * Get the URL for importing an assay within the GSCF.
     186     * Get the URL for showing a measurement in SAM.
    188187     * This is not a REST method! It only creates a rest resource and returns it's url.
    189188     *
Note: See TracChangeset for help on using the changeset viewer.