Cloudant and CouchDB 2.* compatibility
See original GitHub issueIn theory, the current version of hoodie should be compatible with Cloudant.
However Cloudant - a shared service - doesn’t allow access to the /_config
endpoint. So it seems three functions are affected by this:
- https://github.com/hoodiehq/hoodie-server/blob/master/lib/config/db/couchdb-set-config.js
- https://github.com/hoodiehq/hoodie-server/blob/master/lib/config/db/couchdb-get-config.js
- https://github.com/hoodiehq/hoodie-server/blob/master/lib/config/db/couchdb-get-admins.js
It is possible that there is more than this, however this is a good starting point.
After briefly discussing with @gr2m, our best option may be to check the CouchDB vendor before setting/checking the config here: https://github.com/hoodiehq/hoodie-server/blob/master/lib/config/db/couchdb.js
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Comparing Apache CouchDB and IBM Cloudant
Apache CouchDB and IBM Cloudant are nearly fully API compatible, which means they can serve as drop-in replacements for each other in your...
Read more >Cloudant and CouchDB Replication with couchreplicate
If you like using command-line tools, then there more CouchDB- and Cloudant-compatible tools from the same stable: couchimport — import your CSV ...
Read more >CouchDB vs IBM Cloudant | TrustRadius
For us, performance and scalability is the key, and Cloudant DB backed by CouchDB is scalable and performant. IBM Cloudant dB is very...
Read more >IBM Cloudant Reviews, Ratings & Features 2022 - Gartner
The API and replication protocols of IBM Cloudant are compatible with Apache CouchDB for hybrid and multi-cloud systems, and it elastically scales our ......
Read more >Cloudant/CouchDB Spring Boot Starter - GitHub
Since Cloudant API is compatible with Apache CouchDB's API, this client can be used with a regular CouchDB instance. This is useful for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hoodie/server
is compatible with CouchDB 2.0 and Cloudant via https://github.com/hoodiehq/hoodie-server/releases/tag/v22.0.0.hoodie
itself is compatible via https://github.com/hoodiehq/hoodie/releases/tag/v26.0.0 🎉 thanks all!I was trying to run hoodie with CouchDB 2.0.0 - and the server fails to connect to couchdb, apparently due to a change in the API for setting/retrieving couchdb configuration
The
/_config
endpoint has moved to/_node/<NODENAME>/_config
due to the addition of clustering capability, so a prior request to/_membership
would be required to find the appropriate node to update.As @gr2m’s changes would seem to be be removing the necessity of visiting the
_config
endpoint at all, this will restore compatibility with CouchDB 2.*. The issue name has been updated to include this.