2020-10-13 06:34:16 UTC - Himavanth Rachamsetty: Hi, Is there a way to `list` 
all the `api`s created from (or pointing to actions) within the user's 
namespace ? I see that `wsk api list` does not return anything unless a 
`basepath` is given even though `basepath` is an optional parameter. Is this 
expected ?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602570856060800?thread_ts=1602570856.060800&cid=C3TPCAQG1
----
2020-10-13 08:07:59 UTC - Dominic Kim: Standalone OpenWhisk itself is runnable 
via Jar.
Do you have any specific reason to run it in docker-compose?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602576479060900?thread_ts=1602352603.057900&cid=C3TPCAQG1
----
2020-10-13 08:08:32 UTC - Dominic Kim: The standalond OW also creates 
containers, so if you run it inside a container, it would introduce a 
docker-in-docker issue.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602576512061200?thread_ts=1602352603.057900&cid=C3TPCAQG1
----
2020-10-13 08:08:52 UTC - Dominic Kim: and I suppose the container is not 
properly created and the activation is failed.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602576532061400?thread_ts=1602352603.057900&cid=C3TPCAQG1
----
2020-10-13 08:10:16 UTC - Dominic Kim: Currently the only way to invoke an 
action is executing them using REST APIs.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602576616061600?thread_ts=1602348990.055900&cid=C3TPCAQG1
----
2020-10-13 08:11:10 UTC - Dominic Kim: If you want to invoke an action in 
response to some event, you need to create a event provider for the given event 
I think.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602576670061800?thread_ts=1602348990.055900&cid=C3TPCAQG1
----
2020-10-13 08:11:39 UTC - Dominic Kim: One example can be alarm provider that 
calls the REST API according to the given cron expression.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602576699062000?thread_ts=1602348990.055900&cid=C3TPCAQG1
----
2020-10-13 08:14:14 UTC - Dominic Kim: But I am suspicious this is what you 
want.
The provider will receive packets and invoke the action by sending another 
packet to OW whenever a packet arrives. I am not sure this flow meet your 
non-functional requirement.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602576854062200?thread_ts=1602348990.055900&cid=C3TPCAQG1
----
2020-10-13 09:43:57 UTC - Pavel Kravchenko: Hello, is it possible to create 
Openwhisk action from inside another action?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602582237064000?thread_ts=1602582237.064000&cid=C3TPCAQG1
----
2020-10-13 11:17:30 UTC - Rodric Rabbah: Yes. You would make the api calls to 
create or update an action using the rest api. If you’re using node there is 
npm openwhisk. You will need your api key which is provided to your action if 
you set the annotation provide-api-key when creating the action. 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602587850066400?thread_ts=1602582237.064000&cid=C3TPCAQG1
----
2020-10-13 11:17:44 UTC - Rodric Rabbah: I don’t know. @mhamann ?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602587864066900?thread_ts=1602570856.060800&cid=C3TPCAQG1
----
2020-10-13 11:19:11 UTC - Rodric Rabbah: Does the action take more than 60s 
because that’s what’s coded in the action? If so the system turns those into 
async requests after 60s and returns an activation id. You can use wsk 
activation get to fetch the result later. 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602587951069100?thread_ts=1602352603.057900&cid=C3TPCAQG1
----
2020-10-13 11:20:07 UTC - Dominic Kim: oh ok I got confused, the action is a 
long-running action.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602588007069300?thread_ts=1602352603.057900&cid=C3TPCAQG1
----
2020-10-13 11:22:27 UTC - Rodric Rabbah: He says hello world. I don’t know 
:man-shrugging:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602588147071000?thread_ts=1602352603.057900&cid=C3TPCAQG1
----
2020-10-13 12:22:40 UTC - Anas: The problem was a docker-in-docker networking 
issue as @Dominic Kim said. It wasn’t able to pull runtime images. Running it 
in docker-compose didn’t work so I wrote a bash script that runs the JAR and 
any other docker images.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602591760075500?thread_ts=1602352603.057900&cid=C3TPCAQG1
----
2020-10-13 12:25:18 UTC - Anas: @Dominic Kim I was trying to run it in 
docker-compose just to package it with a piece of software that I’m writing, 
but that didn’t work so I went with a bash script
+1 : Dominic Kim
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602591918077800?thread_ts=1602352603.057900&cid=C3TPCAQG1
----
2020-10-13 13:56:02 UTC - Pavel Kravchenko: @Rodric Rabbah Thanks Rodric. Do 
you know if it is a common practice? I couldn't find any examples anywhere and 
considered it sort of a hack.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602597362078100?thread_ts=1602582237.064000&cid=C3TPCAQG1
----
2020-10-13 14:52:03 UTC - Rodric Rabbah: some uses cases require it - it’s fine
+1 : Pavel Kravchenko
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602600723078300?thread_ts=1602582237.064000&cid=C3TPCAQG1
----
2020-10-13 14:56:57 UTC - Pavel Kravchenko: Do you know if this approach 
possible in web actions as well?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602601017078500?thread_ts=1602582237.064000&cid=C3TPCAQG1
----
2020-10-13 15:07:53 UTC - Rodric Rabbah: yes - any action, you’d be making 
outbound REST API calls
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1602601673078800?thread_ts=1602582237.064000&cid=C3TPCAQG1
----

Reply via email to