chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] Commented: (CMIS-120) SessionParameter Set not easy to use
Date Fri, 19 Feb 2010 16:20:27 GMT

    [ https://issues.apache.org/jira/browse/CMIS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835799#action_12835799
] 

Florian Müller commented on CMIS-120:
-------------------------------------

On the provider level there is exactly one parameter that determines the binding: BINDING_SPI_CLASS.
Also, all WEBSERVICES_*_SERVICE parameters must be set for the Web Services binding.

We certainly can (and should) simplify that on the Client API layer.

> SessionParameter Set not easy to use
> ------------------------------------
>
>                 Key: CMIS-120
>                 URL: https://issues.apache.org/jira/browse/CMIS-120
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-commons
>            Reporter: Stephan Klevenz
>
> The parameters defined in class SessionParameter should get some improvements:
> minor:
> * interface instead of class
> major:
> * Atom Pub and Web Service binding are implicit determind by various set of URL parameters.
If a Atom Pub and a Web Service URL is specified then the binding is ambiguous in runtime.
Error handling is difficult becaus of various parameter configurations are illegal.
> Proposal: Introduce a explicite parameter for the binding type to use. Example: *.binding
= {AtomPub|SOAP|...}. In dependency of a binding different sets of URL parameter need to be
set: Atom Pub binding => Atom Pub URL.
> * WebService URL can also be used in various combinations (prefix, non prefix, single
service URLs ...). This should be made explicite while one parameter has only one purpose
(URL, Prefix URL, Single Service URLs).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message