Re: Connecting OpenCMIS to an ElasticSearch index on an object storage.

2017-10-06 Thread Florian Müller
Hi Tycho, This simplest code sample is propably this one: https://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-fileshare/ It's a smaller and newer version of the Server Development Guide code. FileBridgeCmisServiceFactory.java and

Re: Copy document with version history

2017-10-06 Thread Florian Müller
Yes, yes, and yes. See here how to create a session with the browser binding: https://chemistry.apache.org/docs/cmis-samples/samples/create-session/index.html#browser-binding - Florian I have only one client (backend service). Are you saying i can make REST calls to Alfresco DMS using

Re: Copy document with version history

2017-10-06 Thread krzysztoffzielin...@gmail.com
I have only one client (backend service). Are you saying i can make REST calls to Alfresco DMS using browser binding? Can i use it from Java? Has browser binding more features implemented than atompub? Krzysztof On 2017/10/06 12:06:39, Florian Müller wrote: > You make all

Re: Copy document with version history

2017-10-06 Thread Florian Müller
You make all three bindings available on the server side. Just add all OpenCMIS server servlets to your web.xml. (See https://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings-war/src/main/webapp/WEB-INF/web.xml?view=markup#l199) You

Re: Copy document with version history

2017-10-06 Thread krzysztoffzielin...@gmail.com
Hello I use Open CMiS on server side, so can use browser binding unfortunately. AtomPub is my only option, correct me if i am wrong, please. Krzysztof On 2017-10-06 11:42, Florian Müller wrote: > Hi, > > you are right and wrong. ;-) > The AtomPub binding does not support

RE: CMIS Swagger REST API - PogeyanOSS

2017-10-06 Thread Suhaib Fahad
Hi Florian, Thanks for the clarity, I understand this can't be a CMIS specification in itself, its more a standalone component. What I was actually meaning is to include in this link, https://chemistry.apache.org/java/download.html Very similar to the OpenCMIS Bridge. For other things, I'll

Re: Copy document with version history

2017-10-06 Thread Florian Müller
Hi, you are right and wrong. ;-) The AtomPub binding does not support createDocumentFromSource. But the OpenCMIS high-level API handles that for you. You should only see an exception if you are using the low-level API. Apart from this, use the Browser binding whenever you can. It's faster.

Re: Connecting OpenCMIS to an ElasticSearch index on an object storage.

2017-10-06 Thread Florian Müller
Hi Tycho, The OpenCMIS server framework has been used by several companies to build CMIS servers. (Alfresco, Nuxeo, SAP, IBM, OpenText, to name a few.) They all have different back-ends with different structures or no structure at all. It's absolutely feasible to implement a CMIS server with

Re: CMIS Swagger REST API - PogeyanOSS

2017-10-06 Thread Florian Müller
Hi Fahad, You are basically defining a new (fourth) CMIS binding. To be honest, I don't believe it will be successful. It's not part of the CMIS specification and therefore no major ECM vendor will adopt it. Although, the browser binding doesn't follow all REST principals (for historical

Re: Copy document with version history

2017-10-06 Thread krzysztoffzielin...@gmail.com
Many Thanks, Florian. I can see that below mentioned method throws exception with the message: "createDocumentFromSource is not supported by the AtomPub binding!" It seems like i need to read and write document to copy it. Thanks Krzysztof On 2017-10-04 14:41, Florian Müller