Ignore:
Timestamp:
Nov 9, 2010, 6:12:29 PM (6 years ago)
Author:
work@…
Message:
  • changed SAM url configuration
  • guys, bootstrap is a terrible mess... let's make a ticket for that to clean this shite up...
File:
1 edited

Legend:

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

    r1106 r1107  
     1import dbnp.rest.common.CommunicationManager
     2
    13/**
    24 * Application Configuration
     
    4951        development {
    5052                grails.serverURL = "http://localhost:8080/${appName}"
     53
     54                CommunicationManager.SAMServerURL = 'http://localhost:8182/sam'
     55                CommunicationManager.registerRestWrapperMethodsGSCFtoSAM()
    5156        }
    5257        ci {
    5358                // used by build script
    5459                grails.serverURL = "http://ci.gscf.nmcdsp.org"
     60
     61                CommunicationManager.SAMServerURL = 'http://ci.sam.nmcdsp.org'
     62                CommunicationManager.registerRestWrapperMethodsGSCFtoSAM()
    5563        }
    5664        test {
    5765                // used by build script
    5866                grails.serverURL = "http://test.gscf.nmcdsp.org"
     67
     68                CommunicationManager.SAMServerURL = 'http://test.sam.nmcdsp.org'
     69                CommunicationManager.registerRestWrapperMethodsGSCFtoSAM()
    5970        }
    6071        production {
    6172                grails.serverURL = "http://www.nmcdsp.org"
     73
     74                CommunicationManager.SAMServerURL = 'http://sam.nmcdsp.org'
     75                CommunicationManager.registerRestWrapperMethodsGSCFtoSAM()
    6276        }
    6377        www {
    6478                // used by build script
    6579                grails.serverURL = "http://www.nmcdsp.org"
     80
     81                CommunicationManager.SAMServerURL = 'http://sam.nmcdsp.org'
     82                CommunicationManager.registerRestWrapperMethodsGSCFtoSAM()
    6683        }
    6784}
Note: See TracChangeset for help on using the changeset viewer.