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.

Reply via email to