Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the Java runtime, which allows users to execute
.javaand.jarfunctions.Adds the
argsattribute 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.