...
- Check out Apache Shindig.
- Apply CMIS patch to Shindig.
- Build Apache Shindig.
- Deploy Shindig to your favorite application server.
- Check out Apache Chemistry.
- Build Apache Chemistry using Maven.
- Via command line, navigate to the checked out Chemistry project.
- Run: mvn clean install -Dmaven.test.skip=true
- Deploy Apache Chemistry's in-memory repository to your favorite application server.
- The WAR file is located under chemistry-opencmis-server > chemistry-opencmis-server-inmemory > target.
- The patch is currently hardcoded to look for a CMIS repository at http://localhost:8081/repository, so the deploy the WAR to port 8081 with context root "repository".
- For more information, refer to Chemistry's documentation for building and deploying the in-memory repository.
- Deploy Apache Chemistry's browser tool.
- The WAR file is located under chemistry-opencmis-test > chemistry-opencmis-test-browser-app > target.
- E.g. http://localhost:8081/repository/browser/
- Restart servers.
- Confirm environment setup.
- Point your browser to the CMIS browser tool (e.g. http://localhost:8081/repository/browser/browse)
- Enter *http://localhost:8081/repository/atom* into the browser tool.
- Verify you can browse the CMIS repository using the tool.
- Point your browser to the OpenSocial documents service (e.g. http://localhost:8080/social/rest/documents/john.doe/@self/1/)
- Verify that john's documents are returned (John may not have any documents, but shouldn't thrown an error).
APIs
Notes
- I used Apache Chemistry's InMemory Repository to build this patch. The repository that
- The CMIS repository is currently hardcoded to point to http://localhost:8081/repository/atom in JsonDbOpensocialService.java.
...