chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Gavlin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CMIS-843) Make cmislib.net.RESTService pluggable
Date Sat, 04 Oct 2014 11:13:33 GMT

     [ https://issues.apache.org/jira/browse/CMIS-843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ron Gavlin updated CMIS-843:
----------------------------
    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.


  was:
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.

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.



> Make cmislib.net.RESTService pluggable
> --------------------------------------
>
>                 Key: CMIS-843
>                 URL: https://issues.apache.org/jira/browse/CMIS-843
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: python-cmislib
>    Affects Versions: cmislib 0.5.1
>            Reporter: Ron Gavlin
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message