Changeset 176


Ignore:
Timestamp:
Nov 9, 2010, 5:16:42 PM (6 years ago)
Author:
j.saito@…
Message:

debuggin with cont. integration.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • grails-app/controllers/importer/ImporterController.groovy

    r160 r176  
    920920    // </FUZZY MATCHING>
    921921
     922
     923
     924        test = {
     925                log.error params
     926                log.error session.sessionToken
     927                try {
     928                log.error CommunicationManager.getStudies( session.sessionToken )
     929                } catch (Exception e) { println e }
     930        }
     931
    922932}
  • src/groovy/dbnp/rest/common/CommunicationManager.groovy

    r175 r176  
    4444
    4545                def url = getRestURL( RestServerURL, resource, params )
    46             def authString = "${username}:${password}".getBytes().encodeBase64().toString()
     46            //def authString = "${username}:${password}".getBytes().encodeBase64().toString()
    4747            def conn = url.openConnection()
    48             conn.setRequestProperty("Authorization", "Basic ${authString}")
     48            //conn.setRequestProperty("Authorization", "Basic ${authString}")
    4949            return JSON.parse( conn.content.text )
    5050    }
Note: See TracChangeset for help on using the changeset viewer.