Changeset 1199 for trunk/grails-app/conf


Ignore:
Timestamp:
Nov 25, 2010, 10:56:40 AM (10 years ago)
Author:
j.saito@…
Message:

Further streamlined CommunicationManager?. It now builds fetches its URL from config.modules and is further minimized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BootStrap.groovy

    r1196 r1199  
    4646                        // register SAM REST methods
    4747                        "Registering SAM REST methods".grom()
    48                         CommunicationManager.GSCFServerURL = config.grails.serverURL
    49                         CommunicationManager.SAMServerURL = config.modules.sam.url
    50                         CommunicationManager.DSPServerURL = config.modules.metabolomics.url
    51                         CommunicationManager.ServerURL = config.grails.serverURL
     48                        CommunicationManager.registerModule('gscf', config.grails.serverURL, config.modules)
    5249                        CommunicationManager.registerRestWrapperMethodsFromSAM()
    5350                }
Note: See TracChangeset for help on using the changeset viewer.