From df6dda8768a1f3da9499d3a03db95c49d9189512 Mon Sep 17 00:00:00 2001 From: Florian Hussonnois Date: Wed, 22 Jan 2025 19:22:01 +0100 Subject: [PATCH] feat(apps): add blueprint for simple execution app --- apps/simple-execution-app.yaml | 61 ++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 apps/simple-execution-app.yaml diff --git a/apps/simple-execution-app.yaml b/apps/simple-execution-app.yaml new file mode 100644 index 0000000..e06f9ee --- /dev/null +++ b/apps/simple-execution-app.yaml @@ -0,0 +1,61 @@ +id: simple_execution_app +type: io.kestra.plugin.ee.apps.Execution +displayName: Create Execution for myflow +description: This app allows you to execute a simple flow and display execution logs. +namespace: company.team +flowId: myflow +access: PUBLIC +tags: + - Getting Started +layout: + - on: OPEN + blocks: + - type: io.kestra.plugin.ee.apps.core.blocks.Markdown + content: | + ## Create a new execution + Pass custom input value and execute the flow + + - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm + - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton + text: Execute + style: DEFAULT + + - on: RUNNING + blocks: + - type: io.kestra.plugin.ee.apps.core.blocks.Markdown + content: | + ## Execution is running + + - type: io.kestra.plugin.ee.apps.core.blocks.Loading + + - type: io.kestra.plugin.ee.apps.execution.blocks.Logs + + - type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton + text: Cancel + style: WARNING + + - on: SUCCESS + blocks: + - type: io.kestra.plugin.ee.apps.core.blocks.Markdown + content: | + ## Execution finished + + - type: io.kestra.plugin.ee.apps.core.blocks.Markdown + content: | + Full execution logs: + + - type: io.kestra.plugin.ee.apps.execution.blocks.Logs + + - type: io.kestra.plugin.ee.apps.core.blocks.Button + text: More examples + url: https://github.com/kestra-io/enterprise-edition-examples + style: INFO +extend: + title: Getting Started with Apps - Create Execution from a flow + description: >- + This app allows you to execute a simple flow and display execution logs. + tags: + - Getting Started + ee: true + demo: false + meta_description: Execute a simple flow and display execution logs. \ No newline at end of file