Skip to content

orchestrator: add endpoint for calling mutation ExecuteAfter#425

Closed
ydayagi wants to merge 1 commit into
redhat-developer:mainfrom
ydayagi:flpath2027
Closed

orchestrator: add endpoint for calling mutation ExecuteAfter#425
ydayagi wants to merge 1 commit into
redhat-developer:mainfrom
ydayagi:flpath2027

Conversation

@ydayagi

@ydayagi ydayagi commented Feb 17, 2025

Copy link
Copy Markdown
Contributor

DO NOT MERGE BEFORE #306. This one depends on it.

@sonarqubecloud

Copy link
Copy Markdown

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the as string here? I guess not thanks to the check on line 151

@ydayagi ydayagi Feb 18, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mareklibra line 151 helps for the case that it is undefined not for the type. because it is of type unknown (the field orchestratorAssessmentInstanceId) I get compile error. so, yes, it is needed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part looks suspicious, can you please confirm it is as expected?

When looking at changes around https://github.com/redhat-developer/rhdh-plugins/pull/425/files#diff-dfd9240b67dcd5abbff3560a8d0f341802d928a817c13e2350a999bb2751d5fdR588 , there seems to be just an addition of fields but the change here puts executeWorkflowRequestDTO.inputData into a sub-property.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed this change is required. this is the new implementation in sonataflow. if you have workflowdata field then it is treated as the input to the workflow execution and all the rest is stored without using it. If you do not have workflowdata then the whole variables object is treated as the input to the workflow execution. putting the input in the workflowdata field enables us to pass orchestratorAssessmentInstanceId into variables and having it stored and read when querying the workflow instance/execution/run.

@christoph-jerolimov christoph-jerolimov changed the title add endpoint for calling mutation ExecuteAfter orchestrator: add endpoint for calling mutation ExecuteAfter Mar 21, 2025
@github-actions

Copy link
Copy Markdown
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions Bot added the stale label Apr 14, 2025
@github-actions github-actions Bot closed this Apr 21, 2025
@ydayagi ydayagi reopened this Apr 22, 2025
@github-actions github-actions Bot removed the stale label Apr 22, 2025
@github-actions

github-actions Bot commented May 6, 2025

Copy link
Copy Markdown
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@rhdh-gh-app

rhdh-gh-app Bot commented May 28, 2025

Copy link
Copy Markdown

Important

This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior.

Missing Changesets

The following package(s) are changed by this PR but do not have a changeset:

  • @red-hat-developer-hub/backstage-plugin-application-provider-test
  • @red-hat-developer-hub/backstage-plugin-global-floating-action-button
  • @red-hat-developer-hub/backstage-plugin-global-header-test
  • @red-hat-developer-hub/backstage-plugin-global-header
  • @red-hat-developer-hub/backstage-plugin-dynamic-home-page
  • @red-hat-developer-hub/backstage-plugin-marketplace-backend
  • @red-hat-developer-hub/backstage-plugin-marketplace-common
  • @red-hat-developer-hub/backstage-plugin-marketplace
  • @red-hat-developer-hub/backstage-plugin-orchestrator-form-widgets

See CONTRIBUTING.md for more information about how to add changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
backend workspaces/adoption-insights/packages/backend none v0.0.0
@red-hat-developer-hub/backstage-plugin-adoption-insights-backend workspaces/adoption-insights/plugins/adoption-insights-backend minor v0.0.4
@red-hat-developer-hub/backstage-plugin-adoption-insights-common workspaces/adoption-insights/plugins/adoption-insights-common minor v0.1.1
@red-hat-developer-hub/backstage-plugin-adoption-insights workspaces/adoption-insights/plugins/adoption-insights minor v0.0.4
@red-hat-developer-hub/backstage-plugin-analytics-module-adoption-insights workspaces/adoption-insights/plugins/analytics-module-adoption-insights minor v0.0.2
app workspaces/global-floating-action-button/packages/app none v0.0.1
@red-hat-developer-hub/backstage-plugin-application-provider-test workspaces/global-floating-action-button/plugins/application-provider-test none v0.1.1
@red-hat-developer-hub/backstage-plugin-global-floating-action-button workspaces/global-floating-action-button/plugins/global-floating-action-button none v1.1.5
@red-hat-developer-hub/backstage-plugin-global-header-test workspaces/global-header/plugins/global-header-test none v0.1.0
@red-hat-developer-hub/backstage-plugin-global-header workspaces/global-header/plugins/global-header none v1.7.2
@red-hat-developer-hub/backstage-plugin-dynamic-home-page workspaces/homepage/plugins/dynamic-home-page none v1.4.1
@red-hat-developer-hub/backstage-plugin-lightspeed-backend workspaces/lightspeed/plugins/lightspeed-backend patch v0.5.1
@red-hat-developer-hub/backstage-plugin-lightspeed-common workspaces/lightspeed/plugins/lightspeed-common patch v0.3.0
@red-hat-developer-hub/backstage-plugin-lightspeed workspaces/lightspeed/plugins/lightspeed patch v0.5.1
@red-hat-developer-hub/backstage-plugin-marketplace-backend workspaces/marketplace/plugins/marketplace-backend none v0.3.1
@red-hat-developer-hub/backstage-plugin-marketplace-common workspaces/marketplace/plugins/marketplace-common none v0.3.0
@red-hat-developer-hub/backstage-plugin-marketplace workspaces/marketplace/plugins/marketplace none v0.5.8
@red-hat-developer-hub/backstage-plugin-orchestrator-backend workspaces/orchestrator/plugins/orchestrator-backend patch v6.0.2
@red-hat-developer-hub/backstage-plugin-orchestrator-common workspaces/orchestrator/plugins/orchestrator-common patch v1.27.2
@red-hat-developer-hub/backstage-plugin-orchestrator-form-widgets workspaces/orchestrator/plugins/orchestrator-form-widgets none v0.2.0
@red-hat-developer-hub/backstage-plugin-orchestrator workspaces/orchestrator/plugins/orchestrator patch v3.0.2
@red-hat-developer-hub/backstage-plugin-sandbox workspaces/sandbox/plugins/sandbox none v0.1.0

FLPATH-2027
https://issues.redhat.com/browse/FLPATH-2027

Signed-off-by: Yaron Dayagi <ydayagi@redhat.com>
@sonarqubecloud

sonarqubecloud Bot commented Jun 3, 2025

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions Bot added the stale label Jun 17, 2025
@github-actions github-actions Bot closed this Jun 24, 2025
@ydayagi ydayagi reopened this Jul 9, 2025
@ydayagi ydayagi marked this pull request as ready for review July 9, 2025 07:22
@sonarqubecloud

sonarqubecloud Bot commented Jul 9, 2025

Copy link
Copy Markdown

@ydayagi ydayagi marked this pull request as draft July 9, 2025 07:37
@github-actions

Copy link
Copy Markdown
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions Bot added the stale label Jul 23, 2025
@github-actions github-actions Bot closed this Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants