Closed Latrasis closed 5 years ago
Slight changes to the function execution command. The most significant is that the current example ACL model does not have a concept of "calling a procedure". The model of the ACL is that each user is forwarded to a procedure dedicated to their group which acts as a sandbox which defines everything they can do. There fore the <proc_id>
and <group_id>
parts are currently omitted.
Instead of exec
we have call
and query
to reflect that there are two different modes of execution and we are likely to want to take advantage of both.
Also the parameters are not in brackets as it is not necessary for disambiguation and is simpler to parse.
Execution now looks like this:
cap9 call <method> <params...>
or
cap9 query <method> <params...>
Based on #188, we need a basic deployment workflow via the CLI.
Compile a hello_world procedure
Assuming the project:
User should:
Deploy a new Procedure
Assuming the project:
.wasm
file for the new procedure - not pre-processedA cli command should:
.wasm
file.wasm
fileRegister a new Procedure
Assuming the project:
A cli command should:
Call a new Procedure
Assuming the project:
A cli command should: