Changeset 702

Show
Ignore:
Timestamp:
23-07-10 15:14:11 (4 years ago)
Author:
keesvb
Message:

updated SAM urls

Files:
1 modified

Legend:

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

    r662 r702  
    5252 
    5353                // register methods for accessing SAM's Rest services  
    54                 CommunicationManager.SAMServerURL = 'nbx5.nugo.org/sam' 
     54                if (grails.util.GrailsUtil.environment == GrailsApplication.ENV_PRODUCTION) { 
     55                        CommunicationManager.SAMServerURL = 'http://sam.dbnp.org' 
     56                } 
     57                else { 
     58                        CommunicationManager.SAMServerURL = 'http://localhost:8182/sam' 
     59                } 
    5560                CommunicationManager.registerRestWrapperMethodsSAMtoGSCF() 
    5661        }