2020-06-12 04:48:02 UTC - Roberto Diaz: Hi!! I have a quick question, does  
exist any JS library to interact with the Openwhisk rest API?
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937282033200
----
2020-06-12 04:48:23 UTC - Carlos Santana: yes `openwhisk`
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937303033400
----
2020-06-12 04:49:20 UTC - Roberto Diaz: wonderful!!! you save my day 
:stuck_out_tongue:
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937360033800
----
2020-06-12 04:49:30 UTC - Carlos Santana: 
<https://www.npmjs.com/package/openwhisk>
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937370034000
----
2020-06-12 04:50:11 UTC - Carlos Santana: npm is great source to find JS 
libraries
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937411034500
----
2020-06-12 04:52:19 UTC - Carlos Santana: the lib is very small, you can give 
it a read and see all the CRUD patterns against the resouces like actions, 
triggers, rules, namespaces, etc..
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937539035800
----
2020-06-12 04:54:52 UTC - Roberto Diaz: it is just what I need, I need to 
create some actions from a js project
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937692036300
----
2020-06-12 04:56:52 UTC - Carlos Santana: yep 
<https://www.npmjs.com/package/openwhisk#create-action-from-source-file>
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937812037200
----
2020-06-12 04:57:04 UTC - Carlos Santana: or it can be a zip
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937824037500
----
2020-06-12 04:57:16 UTC - Carlos Santana: 
<https://www.npmjs.com/package/openwhisk#create-action-from-zip-package>
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937836037900
----
2020-06-12 04:57:27 UTC - Roberto Diaz: yes, in my case I will probably use the 
second method
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937847038200
----
2020-06-12 04:58:22 UTC - Carlos Santana: if it works on the cli, then it 
should work from REST API, the cli uses the REST API
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937902039000
----
2020-06-12 04:58:49 UTC - Carlos Santana: if you want to see the REST under the 
hood when you execute a cli command you can run with debug `-d`
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591937929039600
----
2020-06-12 05:00:03 UTC - Roberto Diaz: yep, in fact in the past I have 
implemented some cli request directly using naked request
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938003040400
----
2020-06-12 05:00:15 UTC - Carlos Santana: yep `curl` is your friend
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938015040700
----
2020-06-12 05:00:42 UTC - Carlos Santana: who needs to write a program when you 
have `bash` and `curl`
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938042041400
----
2020-06-12 05:01:22 UTC - Roberto Diaz: awesome! to be honest I didn’t check 
npm because I thought that I want to implement crazy stuff and there weren’t a 
npm package for that
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938082042000
----
2020-06-12 05:02:02 UTC - Roberto Diaz: :joy:
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938122042900
----
2020-06-12 05:02:21 UTC - Carlos Santana: oh the npm library is there since day 
1, we use it from inside the action to do compositions
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938141043300
----
2020-06-12 05:03:02 UTC - Carlos Santana: if you want to be crazy you can use 
it store state or update itself :slightly_smiling_face:
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938182043900
----
2020-06-12 05:05:24 UTC - Roberto Diaz: nicee! but for my usecase just creating 
an action is enough :stuck_out_tongue:
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938324044500
----
2020-06-12 05:05:58 UTC - Roberto Diaz: thanks a lot!!
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938358044700
----
2020-06-12 05:06:17 UTC - Carlos Santana: happy unit testing and TDD using 
node.js :wave:
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938377045100
----
2020-06-12 05:07:25 UTC - Roberto Diaz: sinon to the rescue
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938445045500
----
2020-06-12 05:07:29 UTC - Carlos Santana: we also have an action that deploys 
and action
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938449045600
----
2020-06-12 05:07:47 UTC - Carlos Santana: serverless devops
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938467045900
----
2020-06-12 05:08:31 UTC - Roberto Diaz: wow nice!
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938511046100
----
2020-06-12 05:08:51 UTC - Roberto Diaz: metaprogramming
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938531046600
----
2020-06-12 05:08:56 UTC - Carlos Santana: yeah where you think you are going to 
run the node.js that creates the action
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938536046800
----
2020-06-12 05:09:01 UTC - Carlos Santana: needs to be in openwhisk
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938541047000
----
2020-06-12 05:09:57 UTC - Carlos Santana: 
<https://github.com/apache/openwhisk-package-deploy>
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938597047600
----
2020-06-12 05:11:23 UTC - Carlos Santana: This one is newer I think 
<https://github.com/ibm-functions/package-deploy>
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938683048400
----
2020-06-12 05:11:25 UTC - Roberto Diaz: ahhh so in that way is how `wskdeploy` 
works
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938685048600
----
2020-06-12 05:11:34 UTC - Roberto Diaz: an action that deploy an action
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938694048900
----
2020-06-12 05:11:47 UTC - Roberto Diaz: mindblow
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938707049300
----
2020-06-12 05:12:19 UTC - Roberto Diaz: very smart approach
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938739050000
----
2020-06-12 05:12:22 UTC - Carlos Santana: Yes a lot of brain power was spent 
inventing cool and fun stuff :slightly_smiling_face:
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938742050200
----
2020-06-12 05:12:38 UTC - Carlos Santana: Good old days with @Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938758050500
----
2020-06-12 05:13:24 UTC - Roberto Diaz: all the metaprogramming stuff is mind 
blowing
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938804051000
----
2020-06-12 05:13:56 UTC - Carlos Santana: yeah the idea was that you check code 
to git, git webhook calls action, action takes the url to git and package your 
function and deploys it
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938836051700
----
2020-06-12 05:15:23 UTC - Carlos Santana: This what we use in IBM Functions Web 
Console to deploy the templates when you select one when getting started and 
deploy it into your namespace
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938923052600
----
2020-06-12 05:15:44 UTC - Carlos Santana: So is real code 
:slightly_smiling_face:
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938944053000
----
2020-06-12 05:15:54 UTC - Roberto Diaz: nice!!
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938954053300
----
2020-06-12 05:16:37 UTC - Roberto Diaz: I love the project
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591938997053600
----
2020-06-12 05:16:56 UTC - Carlos Santana: so you can deploy wskdeploy projects 
from cli but also from api/action
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591939016054200
----
2020-06-12 05:17:05 UTC - Carlos Santana: Thanks :heart:
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591939025054500
----
2020-06-12 05:17:50 UTC - Roberto Diaz: tbh the openwhisk ecosystem is really 
good
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591939070055100
----
2020-06-12 05:18:12 UTC - Carlos Santana: Here is an example of a wskdeploy git 
and manifest that is deployable via action deploy 
<https://github.com/ibm-functions/package-cloud-object-storage/tree/master/runtimes/nodejs>
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591939092055600
----
2020-06-12 05:22:05 UTC - Roberto Diaz: I will think about it twice, because I 
need to deploy some actions from my node project and if I pack them in one 
package I can do all the deploys in one step
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591939325057000
----
2020-06-12 05:22:14 UTC - Carlos Santana: The net is deploying can be 
declarative and composed.
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591939334057300
----
2020-06-12 05:23:59 UTC - Carlos Santana: My goal is that developer spend their 
time on the meat of the action code, and not worrying about the infra or devops 
that much.
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591939439058500
----
2020-06-12 05:24:48 UTC - Roberto Diaz: that’s the key
+1 : Carlos Santana
https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1591939488059000
----

Reply via email to