Posts

Showing posts with the label cloudant

Hyperledger Composer Rest Server connection with Cloudant

Hyperledger Composer Rest Server connection with Cloudant I'm trying to use Cloudant NoSQL DB as a persistent data source for my blockchain identities in my composer rest server. I have the composer-rest server setup in multiuser mode and is using google OAuth for authentication. I have looked at this question (Hyperledger Composer Rest Server connection with Cloudant NoSQL DB) but I'm still experiencing problems. If I do a composer card list in my terminal I can see the cards in my cloudant database. However, if I do a http get method from my rest server it returns an empty array. I have the COMPOSER_DATSOURCES variable set to {"db": { "name": "db", "connector": "cloudant", "username": "83bcdcfc-327b-xxxxxxxxxxxxx4e0ba4a9-bluemix", "password": "01e6d7xxxxxxxxxxxxxxxxb29adcc85ab35ce9ba", "database": "wallet" } } In cloudant, I have one database called wallet ...