2020-06-18 00:05:38 UTC - Rodric Rabbah: This should be configurable to your deployment. +1 : Brendan Doyle https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592438738457100?thread_ts=1592437161.455700&cid=C3TPCAQG1 ---- 2020-06-18 00:06:32 UTC - Brendan Doyle: thanks https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592438792457400?thread_ts=1592437161.455700&cid=C3TPCAQG1 ---- 2020-06-18 03:43:33 UTC - Himavanth Rachamsetty: thx @Cosmin Stanciu https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592451813457600?thread_ts=1592377240.431500&cid=C3TPCAQG1 ---- 2020-06-18 08:07:11 UTC - Nikolai Starodubtcev: Me and my ream faced the same problem. I've read a comment that @Dave Grove drop on issue submitted by @Wouter, which is mentioned earlier in this thread and submitted two PRs addressing the problem: • <https://github.com/apache/openwhisk-package-kafka/pull/370> • <https://github.com/apache/openwhisk-package-alarms/pull/219> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592467631457800?thread_ts=1591799442.406100&cid=C3TPCAQG1 ---- 2020-06-18 08:18:15 UTC - Nikolai Starodubtcev: FYI: you can specify 3 valued for your deployment • minimum • maximum • standart which is default amout of memory if user doesn't provide some speicific https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592468295458000?thread_ts=1592437161.455700&cid=C3TPCAQG1 ---- 2020-06-18 09:45:27 UTC - Surya Kumar Govindan: Hello everyone! Am very new to OpenWhisk and I am doing an academic project on OpenWhisk! To start with, - I installed OpenWhisk in the docker-compose style and I want to access the admin console of CouchDB. How do I get the default password of the installation? I tried changing the password manually in the /opt/couchdb/etc/default.d/local.ini and restarted CouchDB service. But does not seem to help. Any suggestions here? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592473527461400 ---- 2020-06-18 15:37:17 UTC - Surya Kumar Govindan: Hi @Rodric Rabbah & @Bilal I have installed OpenWhisk using docker-compose model and by default two javascript prewarmed containers are running. May I know how to start two python based stem cells using the runtime.json file mentioned in the link above? Thanks! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592494637461500?thread_ts=1578693418.057200&cid=C3TPCAQG1 ---- 2020-06-18 15:38:17 UTC - Rodric Rabbah: you can copy the stem cell stanza from node and replicate it for python https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592494697461700?thread_ts=1578693418.057200&cid=C3TPCAQG1 ---- 2020-06-18 15:43:58 UTC - Surya Kumar Govindan: Ok, thanks a lot for the response! This means I have to change the code and run "make quick-start" again? Meaning will the OpenWhisk components be redeployed? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592495038461900?thread_ts=1578693418.057200&cid=C3TPCAQG1 ---- 2020-06-18 16:03:44 UTC - Rodric Rabbah: i think so - i dont use compose often but iirc that is correct i’ve shifted to use the standalone openwhisk mode for local development https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592496224462100?thread_ts=1578693418.057200&cid=C3TPCAQG1 ---- 2020-06-18 16:06:03 UTC - Surya Kumar Govindan: Ok, let me try. thank u so much! Will try https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592496363462300?thread_ts=1578693418.057200&cid=C3TPCAQG1 ---- 2020-06-18 16:07:53 UTC - Rodric Rabbah: the password used by openwhisk is ```db_username=whisk_admin db_password=some_passw0rd```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592496473462700 ---- 2020-06-18 16:08:05 UTC - Rodric Rabbah: it’s in db_local.ini that is local to your deployment https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592496485463200 ---- 2020-06-18 16:12:52 UTC - David D: :wave: . Is there a channel where I could ask some stuff about the OW java runtime? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592496772464400 ---- 2020-06-18 16:14:09 UTC - Rodric Rabbah: welcome David - ask here this is the main channel for all questions https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592496849464800 ---- 2020-06-18 16:29:13 UTC - David D: Great! I work on an Open Source Kotlin web library called http4k and we're looking to provide official OpenWhisk support in the library. Essentially this is by providing a wrapper converting between the OW API and the http4k one. Thing is that it doesn't look like the Java Runtime currently supports Web Actions in which you have access to the HTTP request (all the docs show the JS version where your function receives a JSON object with fields names like `__ow_path` and `_ow__body` . Am I missing something here, and if not is there a plan to support this type of action or would that involve creating/using another runtime? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592497753470400 ---- 2020-06-18 16:39:40 UTC - Rodric Rabbah: all actions in openwhisk can be used as web actions - it functions are not any different but it’s the way they are used web actions are invoked from /api/v1/web/namespace/package/action and under that invocation the web request context is defined which includes path and body parameters https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592498380472200 ---- 2020-06-18 16:40:40 UTC - Rodric Rabbah: <https://github.com/apache/openwhisk/blob/master/docs/webactions.md#http-context> explains when ___ow__body is available (for convenience, in the common case a json even is available as direct parameters to a function) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592498440473100 ---- 2020-06-18 16:43:31 UTC - Rodric Rabbah: here’s an example Java webaction <https://apigcp.nimbella.io/api/v1/web/playground/user472471/sampleJava?name=someone> with the source available <https://apigcp.nimbella.io/api/v1/web/playground/default/showCode/user472471/sampleJava> you can play with it on the nimbella playground <https://apigcp.nimbella.io/playground> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592498611475500 ---- 2020-06-18 16:44:39 UTC - David D: thanks - maybe it's just the way that I'm invoking it then. I've currently got a JAR which I'm using the wsk CLI to create: ```wsk -i action create test build/libs/function-SNAPSHOT.jar --main org.http4k.example.MyFunction --web true``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592498679476200 ---- 2020-06-18 16:45:00 UTC - David D: I'm then invoking it with ```wsk -i action invoke test --result``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592498700476600 ---- 2020-06-18 16:45:18 UTC - Rodric Rabbah: aha, right that doesn’t have a “invoke as web action” mode… perhaps it should https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592498718477400 ---- 2020-06-18 16:45:29 UTC - David D: Is there a way to invoke an action from the CLI? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592498729477800 ---- 2020-06-18 16:45:32 UTC - Rodric Rabbah: you should do `wsk action get test --url` and use that with curl or postman https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592498732478000 ---- 2020-06-18 16:45:40 UTC - David D: aha - ok thanks. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592498740478400 ---- 2020-06-18 16:48:03 UTC - Rodric Rabbah: this came up before - I think it’s be a good addition to the cli <https://github.com/apache/openwhisk-cli/issues/465#issuecomment-562453533> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592498883479200?thread_ts=1592498883.479200&cid=C3TPCAQG1 ---- 2020-06-18 16:49:44 UTC - David D: that would be really handy - to avoid messing around with passing the basic auth etc.. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592498984479300?thread_ts=1592498883.479200&cid=C3TPCAQG1 ---- 2020-06-18 16:52:04 UTC - Rodric Rabbah: if it’s a web action with no added security don’t need to pass auth +1 : David D https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592499124479500?thread_ts=1592498883.479200&cid=C3TPCAQG1 ---- 2020-06-18 17:22:22 UTC - Brendan Doyle: Yea I was really dumb and just forgot where we were setting this in our deployment. We set our max to 1024m which is where I was getting that number from. Thanks! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592500942479700?thread_ts=1592437161.455700&cid=C3TPCAQG1 ---- 2020-06-18 18:53:11 UTC - David D: @Rodric Rabbah thanks vm for your help :slightly_smiling_face: . Got it all working and we've now released a new version of http4k with the OpenWhisk support (we already had GCF and AWS modules). Essentially, you can now turn any http4k function into an OW compatible function with a single line of code: ```object FunctionsExampleEntryClass { @JvmStatic fun main(request: JsonObject) = OpenWhiskFunction(myHttp4kApp())(request) }``` In case anyone is interested, a more complete example can be found here: <https://www.http4k.org/guide/modules/serverless/> whisking : Rodric Rabbah https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592506391486600?thread_ts=1592506391.486600&cid=C3TPCAQG1 ---- 2020-06-18 19:11:44 UTC - Rodric Rabbah: you could replace the last step with https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592507504487300?thread_ts=1592506391.486600&cid=C3TPCAQG1 ---- 2020-06-18 19:11:57 UTC - Rodric Rabbah: ```curl `wsk action get myFunctionName --url | tail -1```` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592507517487500?thread_ts=1592506391.486600&cid=C3TPCAQG1 ---- 2020-06-18 19:16:38 UTC - David D: :thumbsup: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1592507798487800?thread_ts=1592506391.486600&cid=C3TPCAQG1 ----
