 
 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/'
+#dolan_db_base_url = "http://datastorage-api.local.devgyver.com:3000/"
+dolan_db_base_url = 'http://datastorage-api.devgyver.com'
+dolan_db_url = "#{dolan_db_base_url}/v1/datastorage"
+
 db_browser_url = 'http://dolandb-browser.devgyver.com'
 
 ###


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'
    @dolandbCredentialApi.basicAuth Login.currentAccessToken(), 'X'

  test: (params) =>

      )
    return deferred.promise

module.exports = DolanDB

