Skip to content

Conversation

@bragaigor
Copy link
Contributor

The introduced tutorial uses Docker and a transfers data tool (e.g. curl, wget or Postman). A summary of the tutorial
steps are:

  1. Create docker container based on core/python3ActionLoop
    Dockerfile
  2. Deploy/run the container locally
  3. Create function that resides in a json file
  4. Initialize the function against the deployed container
    using either curl, wget or Postman
  5. Call/trigger function using either curl, wget or Postman

I thought this would be a great addition to the Python Runtime and to help new comers to the project

Signed-off-by: Igor Braga higorb1@gmail.com

@bragaigor
Copy link
Contributor Author

cc: @mrutkows

Copy link
Member

@rabbah rabbah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this tutorial!

FYI https://github.com/apache/openwhisk/tree/master/tools/actionProxy you can use invoke.py to automate almost all these steps. You might want to mention that as well.

@bragaigor
Copy link
Contributor Author

bragaigor commented Feb 26, 2021

Thanks @rabbah! I'll add a comment about invoke.py and I'll fix the whitespace issues detected from Travis

The introduced tutorial uses Docker and a tranfers data
tool (e.g. curl, wget or Postman). A summary of the tutorial
steps are:

1. Create docker container based on core/python3ActionLoop
   Dockerfile
2. Deploy/run the container locally
3. Create function that resides in a json file
4. Initialize the function against the deployed container
   using either curl, wget or Postman
5. Call/trigger function using either curl, wget or Postman

Signed-off-by: Igor Braga <higorb1@gmail.com>
@rabbah rabbah merged commit 039629e into apache:master Feb 27, 2021
@rabbah
Copy link
Member

rabbah commented Feb 27, 2021

Thanks for the contribution @bragaigor 🎉

@bragaigor
Copy link
Contributor Author

It is my pleasure @rabbah! For many more to come!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants