 
 class DolanDB
   constructor: (@options={}) ->
-    ## will not be needed soon...
-    @client = restify.createJsonClient
-      url: 'http://anka.testgyver.com'
-    @client.basicAuth Login.currentAccessToken(), 'X'
-
     @dolandbCredentialApi = restify.createJsonClient
-      url: 'http://datastorage-api.devgyver.com'
+      url: dolan_db_base_url
     @dolandbCredentialApi.basicAuth Login.currentAccessToken(), 'X'
 
   test: (params) =>


data_definition_path = "config/dolandb.yaml"

dolan_db_url = 'http://datastorage-api.devgyver.com/v1/datastorage'
#dolan_db_url = "http://datastorage-api.local.devgyver.com:3000/v1/datastorage"
#db_browser_url = 'http://localhost:2999'
#db_browser_url = 'http://appgyver-dolandb-browser.herokuapp.com/'
db_browser_url = 'http://dolandb-browser.devgyver.com'

###

      )
    return deferred.promise

module.exports = DolanDB

