Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Conversation

@neerajmandal
Copy link
Contributor

Invoke Plugin added
NOTE: Use the dev branch for deployment of functions. This branch has older version of deploy.
Example of how to invoke a function by passing data from command line.

sls invoke -f {functionName} --data '{"name": "test"}'

Example of how to invoke a function by passing the file path from command line.
Note: The file containing the data should be present in the project directory (./project/data.json)

sls invoke -f {functionName} --path data.json

Resolves [AB#309]

@neerajmandal neerajmandal changed the title T nemand/invoke function Feat: Invoke Plugin Jul 3, 2019
@neerajmandal neerajmandal force-pushed the t-nemand/invoke-function branch from c6a5d50 to 3a6894a Compare July 3, 2019 18:03
Copy link
Contributor

@wbreza wbreza left a comment

Choose a reason for hiding this comment

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

This is a great start! Left some feedback. Let me know if you have any questions.

Copy link
Contributor

@tbarlow12 tbarlow12 left a comment

Choose a reason for hiding this comment

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

Wallace left some great feedback :) Added a couple comments, but agreed - great start!

Copy link
Contributor

@tbarlow12 tbarlow12 left a comment

Choose a reason for hiding this comment

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

Almost there :) Just one file to remove and some whitespace changes, and you should be good to go

@tbarlow12
Copy link
Contributor

tbarlow12 commented Jul 8, 2019

@njm3754 it looks like you have some unsigned commits and some conflicts

@neerajmandal neerajmandal force-pushed the t-nemand/invoke-function branch from 0e3c0b1 to d11ed80 Compare July 8, 2019 19:44
@neerajmandal neerajmandal force-pushed the t-nemand/invoke-function branch from 5fb52e2 to dcdf2ae Compare July 8, 2019 22:01
Copy link
Contributor

@wbreza wbreza left a comment

Choose a reason for hiding this comment

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

Added a few more comments - but otherwise looks good.

@neerajmandal neerajmandal merged commit 7049a7d into dev Jul 9, 2019
@tbarlow12 tbarlow12 deleted the t-nemand/invoke-function branch July 12, 2019 16:56
tbarlow12 pushed a commit that referenced this pull request Sep 13, 2019
* feat: Invoke Plugin

* feat: Invoke Plugin

* Resolved conflicts

* url encoder added & conflicts resoloved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants