Changeset 702


Ignore:
Timestamp:
Jul 23, 2010, 3:14:11 PM (6 years ago)
Author:
keesvb
Message:

updated SAM urls

File:
1 edited

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