2021-02-23 03:15:07 UTC - kingledion: If that is deprecated, how does one generally use actions to push and pull data to a couchdb database? It seemed that you had to use that cloudant package… https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1614050107010400?thread_ts=1614000536.008800&cid=C3TPCAQG1 ---- 2021-02-23 03:57:08 UTC - kingledion: I guess I’m a bit confused. Do openwhisk developers generally use separate actions like that cloudant package to connect to a database? Or do you access the database through a db driver that you setup in your application code? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1614052628011500?thread_ts=1614000536.008800&cid=C3TPCAQG1 ---- 2021-02-23 07:12:49 UTC - Jiang PengCheng: the openwhisk developers means developers who develop the openwhisk project? or who develop other projects using openwhisk? For the former one, they don't need a cloudant package to connect database https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1614064369011700?thread_ts=1614000536.008800&cid=C3TPCAQG1 ---- 2021-02-23 13:38:35 UTC - kingledion: For developing other projects, I mean https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1614087515012200?thread_ts=1614000536.008800&cid=C3TPCAQG1 ---- 2021-02-23 15:18:14 UTC - Rodric Rabbah: i mispoke - we didn’t archive the repo, we haven’t created new releases for it https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1614093494012400?thread_ts=1614000536.008800&cid=C3TPCAQG1 ---- 2021-02-23 15:21:34 UTC - Rodric Rabbah: if you want to install the package, <https://github.com/apache/openwhisk-package-cloudant/blob/master/installCatalog.sh> this might work with some update
Are you self hosting openwhisk? There are two parts to the cloudant package: 1. a trigger feed which is a microservice to create cloudant change feeds that invoke openwhisk actions 2. actions which wrap the cloudant sdk as actions so that it’s more convenient to use the cloudant apis particularly in sequences and compositions Which of these two uses (there are distinct purposes) are you looking for? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1614093694012600?thread_ts=1614000536.008800&cid=C3TPCAQG1 ---- 2021-02-23 16:50:49 UTC - kingledion: I’m looking for #2. I’m building an e-commerce platform essentially, so user actions (placing orders, fulfilling orders, sent from a webapp) will be the triggers and cause db reads and writes. I wrote a demo on IBM cloud functions and used the Cloudant actions there. So I’m trying to rebuild that and flesh it out with a build pipeline and all on a self-hosted openwhisk. But when I go to reproduce the cloudant actions it seems pretty difficult. So I wasn’t sure if I should use the cloudant actions in my local environment, or if I should just use a couchdb driver within my action code to talk to the database. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1614099049012800?thread_ts=1614000536.008800&cid=C3TPCAQG1 ---- 2021-02-23 17:41:00 UTC - Rodric Rabbah: @Dave Grove do you know if there’s an ibm fork or equivalent of the cloudant repo that might be more up to date? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1614102060015200?thread_ts=1614000536.008800&cid=C3TPCAQG1 ---- 2021-02-23 17:58:58 UTC - Dave Grove: hi. There is an IBM fork, but it also looks like there were some recent (2021) updates in the Apache repo to get it onto NodeJS 10 actions. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1614103138015400?thread_ts=1614000536.008800&cid=C3TPCAQG1 ---- 2021-02-23 18:00:28 UTC - Dave Grove: its not obvious to me that we couldn’t revive the apache version with minimal effort. mostly what is lacking is automated testing, I seem to remember that was the main issue with being us confident that we could update it from NodeJS 6 and keep it active. The documentation needs major rework to excise the IBM specific bits from the Apache repo, but that’s not a functional problem in the same way as the Node6 was https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1614103228015600?thread_ts=1614000536.008800&cid=C3TPCAQG1 ---- 2021-02-23 18:06:29 UTC - Dave Grove: I think the IBM fork is mainly about IAM enablement. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1614103589015900?thread_ts=1614000536.008800&cid=C3TPCAQG1 ----