You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.
I have been playing this integration for a while, and then I have found some points to be improved.
I have written those here 😄
How does it sound to you?
All commands work with spawn method
Right now, all commands in this integration execute external commands like faas-cli and docker with child_process package. imo, this implementation might introduce instability to this plugin since the behavior depends on library versions which a user Individually installs.
library versions should be managed by package manager of nodejs, so would be good to use sdk, or if there aren't sdk, request API provided by OpenFaaS cluster instead of commands.
sls init command would be unnecessity
The framework is just for function deployment tool, however, this command is for setting up OpenFaaS cluster, so would be unnecessity in this integration.
This one should contain some stuff for functions like package, deploy, invoke, logs and remove functions
Need unit testing
Would be good to add unit testing to maintain it for a long time.
The text was updated successfully, but these errors were encountered:
We might add an afterInstall script which goes and fetches (based on the platform) an fixed version of the faas-cli. The docker part should be pretty stable
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have been playing this integration for a while, and then I have found some points to be improved.
I have written those here 😄
How does it sound to you?
All commands work with spawn method
Right now, all commands in this integration execute external commands like
faas-cli
anddocker
withchild_process
package. imo, this implementation might introduce instability to this plugin since the behavior depends on library versions which a user Individually installs.library versions should be managed by package manager of nodejs, so would be good to use sdk, or if there aren't sdk, request API provided by OpenFaaS cluster instead of commands.
sls init command would be unnecessity
The framework is just for function deployment tool, however, this command is for setting up OpenFaaS cluster, so would be unnecessity in this integration.
This one should contain some stuff for functions like package, deploy, invoke, logs and remove functions
Need unit testing
Would be good to add unit testing to maintain it for a long time.
The text was updated successfully, but these errors were encountered: