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

Make cmislib.net.RESTService pluggable

Add voteWatch issue
    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

            Dates

              Created:
              Updated:

              Slack

                Issue deployment