Skip to content

Conversation

douglasmuraoka
Copy link
Contributor

Adds the Java runtime, which allows users to execute .java and .jar functions.
Adds the args attribute on functions definition from the configuration file. With it, users can defined a fixed set of arguments to be used when running the function. It is useful for defining the Main class when running a function inside a JAR file, for instance.

Added support for runtimes with multiple versions.
Now runtimes must have the `version` attribute defined in order to be supported by the framework.
The `runtime add`, `runtime remove` CLI commands now requires the `version` argument, in order to manipulate the correct runtime instance.
The `function add` command can now receive the `runtimeVersion` argument, which allows users to specify the version of the runtime that will execute the created function.
The `runtime ls` CLI command shows the runtime version and which runtimes are the defaults.
The `RuntimeController` API has changed as well. The `getRuntime` function can now receive the `version` parameter, which when defined, tries to retrieve the runtime with this specific version. If not defined, returns the default version of the given runtime `name`.
Adds the `args` attribute on function definition, which allows users to defined fixed arguments to the function when executed.
It is useful for defining the main class, for instance, when executing Java functions inside JAR files.
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.

1 participant