@colabo-tool/c-service
v0.10.1
Published
Colabo tool command puzzle - managing ColaboFlow services
Downloads
8
Readme
Colabo Tool - Support for creating services from puzzles
Requirements
Currently, we scan for services implemented as functions, classes, and classes methods.
However,
- we are currently deploying ONLY pure functions
- all functions have to be exported in the top (main)
index.ts
(index.js
) file with the same function name
Services
Python
Best if they are available as python eggs, but during development that is unlikely. Therefore:
- we will have all external dependencies in
requirements.txt
and it will be copied to the service folder from the puzzle folder - we assume that the scanning entry point encapsulates all other required code, and therefore:
Procedure
Scan
We use colabo service-scan
command to scan for services declared (decorated) in the colabo puzzles
Generate
We use colabo service-generate
command to generate the services that were identified with the colabo service-scan
command
Build
We use colabo service-build
command to build the services that are generated with the colabo service-generate
command
Push
We call internally OpenFaaS command for building TBD