Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-843

Make cmislib.net.RESTService pluggable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • cmislib 0.5.1
    • None
    • python-cmislib
    • None

    Description

      Support alternate implementations of the cmislib.net.RESTService. For example, one might want to use PycURL instead of httplib2 to implement the features of this class.

      I suggest RESTService be defined as a Marker class, the existing RESTService be renamed DefaultRESTService, the Binding constructor modified to accept an optional RESTService with DefaultRESTService being used by default (much like how CmisClient supports the binding parameter in its constructor).

      I would like to contribute a cmislib.net.PycURLRESTService implementation that uses PycURL and supports all its configurable options including mutual (2-way) certificate authentication. This alternate implementation would continue to support the httplib2.Response object as part of the interface.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rgavlin Ron Gavlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: