From 67fff6ac73aede0415aad3c37f7000c694209346 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Mon, 7 Oct 2024 18:26:53 +0200 Subject: [PATCH 01/10] Allow using TRS ids as workflow id in workflow landing requst --- client/src/api/schema/schema.ts | 4 +- .../components/Landing/WorkflowLanding.vue | 21 +++--- .../components/Workflow/Run/WorkflowRun.vue | 4 +- .../src/components/Workflow/Run/services.js | 4 +- lib/galaxy/managers/landing.py | 64 +++++++++++++++---- lib/galaxy/managers/workflows.py | 38 +++++++++++ lib/galaxy/model/__init__.py | 2 + lib/galaxy/schema/schema.py | 4 +- lib/galaxy/tool_util/client/landing.py | 5 +- lib/galaxy/webapps/galaxy/api/workflows.py | 12 +--- lib/galaxy/workflow/trs_proxy.py | 16 ++++- test/unit/app/managers/test_landing.py | 13 +++- test/unit/workflows/test_trs_proxy.py | 13 ++-- 13 files changed, 152 insertions(+), 48 deletions(-) diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index 51148bebc8d7..6074b50362b5 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -7111,7 +7111,7 @@ export interface components { * Workflow Target Type * @enum {string} */ - workflow_target_type: "stored_workflow" | "workflow"; + workflow_target_type: "stored_workflow" | "workflow" | "trs_url"; }; /** CreatedEntryResponse */ CreatedEntryResponse: { @@ -18137,7 +18137,7 @@ export interface components { * Workflow Target Type * @enum {string} */ - workflow_target_type: "stored_workflow" | "workflow"; + workflow_target_type: "stored_workflow" | "workflow" | "trs_url"; }; /** WriteInvocationStoreToPayload */ WriteInvocationStoreToPayload: { diff --git a/client/src/components/Landing/WorkflowLanding.vue b/client/src/components/Landing/WorkflowLanding.vue index b5f7e2126809..d26cc2ea061a 100644 --- a/client/src/components/Landing/WorkflowLanding.vue +++ b/client/src/components/Landing/WorkflowLanding.vue @@ -1,9 +1,8 @@