Project

General

Profile

« Previous | Next » 

Revision 4aabd8f2

ID4aabd8f251a6ce656fafd0fa20b773fe84514751
Parent 44b9ad9d
Child cecd5768

Added by Roger Dahl over 11 years ago

  • Added transparent reconnect and retry on connecton errors and socket errors. This adds automatic reconnect and retry to the entire Python DataONE stack. Only the idempotent HTTP verbs are automatically retried. Number of automatic tries can be set with a new parameter and defaults to 3. Setting the value to 1 disables retries.
  • Added new methods, makeCNBaseURL() and makeMNBaseURL(). Given a URL with missing sections, like a URL that is only a server name, replace the missing sections with defaults to make a BaseURL.
  • Added tests for the new methods.
  • Reverted setup.py to the old find_packages() method.
  • Minor version increased by one because the automatic reconnect and retry is an important fundamental change.
  • Changed default MN host from the KNB to localhost.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

Add picture from clipboard (Maximum size: 14.8 MB)