Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify shim output in the trigger descriptor #538

Open
fcastill opened this issue Jun 25, 2020 · 0 comments
Open

Specify shim output in the trigger descriptor #538

fcastill opened this issue Jun 25, 2020 · 0 comments

Comments

@fcastill
Copy link
Contributor

Current behavior:

The output of the shim builds of a trigger varies depending on the implementation of the trigger. Because of that the Web UI cannot provide proper support for it as it doesn't know where to look for the file to download.

For example the CLI trigger saves its output to bin/${app-name} but the AWS lambda trigger saves it output to bin/handler.zip (until recently it was src/handler.zip).

Expected behavior:

The trigger's descriptor.json can declare a field like:

{ 
 "shimOutput": "bin/handlers.zip"
}

Which the UI can use to find the output file.

What is the motivation / use case for changing the behavior?

Supporting shim builds in Flogo Web UI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant