-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support local CouchDB in place of Cloudant #1
Comments
Just a quick note that I've been working on this and got all the tests in |
Also, one point we should discuss is whether we want to make a CouchDB container an (optional) part of the deployment, or whether we "just" want to support connections to databases that users set up themselves. |
@psuter can you pls document all changes you had to make for supporting couchdb? to your 2nd point....how much effort would that be? i guess no code changes? |
just looked at the branch, seems like there were no real changes needed? |
@psuter is head of my changes, I am working off his fork. |
Here are two patches required to get the CLI tests to pass on the couchdb-in-a-box branch.
The reduce_limit is set false to suppress couch's heuristic for map/reduce on views (which detect if a view is not reducing to a scalar). As this scripts will require further refactoring to restructure the build and deployment, I'm providing a patch for @psuter to merge as part of the ongoing work. |
The branch at psuter/openwhisk@5226d62 passes all tests using either Cloudant or a generic CouchDB installation as the database backend. The database code is shared to the extent possible, considering the Java APIs for Cloudant and CouchDB are type-incompatible. We still need to make a pass on all comments and documentation elements that are Cloudant-specific. We also need to consider how the refactoring (in particular of environment variables in shell scripts) affects our various builds. |
The code has made it to master, and Travis continuous integration testing is now done on the full test suite, using CouchDB as store. Keeping this issue open to remind me to document the setup for interested CouchDB users. |
Docs checked in -- closing as fixed |
This PR empowers the project with the following features: * Add the support to define the list of repos to be released and the hash value to be picked for each repo in a config file of JSON format define the hash value * Download the repos based on the definitions in the config file. * Install openwhisk based on the dowloaded source code, build the binaries for CLI and wskdeploy.
Capture more metrics and add more tags to monitor cold starts etc
Add an option to deploy openwhisk pointing to a CouchDB installation rather than requiring a Cloudant account.
The text was updated successfully, but these errors were encountered: