Skip to content

orchestrator: replace businessKey #306

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ydayagi
Copy link
Contributor

@ydayagi ydayagi commented Jan 21, 2025

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

Hey, I just made a Pull Request!

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

@rhdh-gh-app
Copy link

rhdh-gh-app bot commented Jan 21, 2025

Missing Changesets

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

  • @red-hat-developer-hub/backstage-plugin-scaffolder-backend-module-orchestrator

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

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-orchestrator-backend workspaces/orchestrator/plugins/orchestrator-backend patch v6.0.1
@red-hat-developer-hub/backstage-plugin-orchestrator-common workspaces/orchestrator/plugins/orchestrator-common patch v1.27.1
@red-hat-developer-hub/backstage-plugin-orchestrator workspaces/orchestrator/plugins/orchestrator patch v3.0.1
@red-hat-developer-hub/backstage-plugin-scaffolder-backend-module-orchestrator workspaces/orchestrator/plugins/scaffolder-backend-module-orchestrator none v0.3.1

Copy link

@ydayagi
Copy link
Contributor Author

ydayagi commented Jan 21, 2025

this is to be merged after we have an official OSL with the required changes (apache/incubator-kie-kogito-runtimes#3810.)

@@ -56,7 +57,6 @@ export const mapProcessInstanceToDetails = (
category: instance.category,
state: instance.state,
description: instance.description,
businessKey: instance.businessKey,
Copy link

@gabriel-farache gabriel-farache Mar 12, 2025

Choose a reason for hiding this comment

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

Why isn't there assessmentInstanceId defined here? like for https://github.com/redhat-developer/rhdh-plugins/pull/306/files#diff-863d661b58ddfc134554cea4bf31465f4720f1c56accfc594368331bf13c52ccR145

Is it because the returned object was only used to send the request and as of know the buisnessKey is not given anymore but fetched directly from the DI so we do not need it?

@@ -142,6 +142,7 @@ export function mapToProcessInstanceDTO(
duration: duration,
// @ts-ignore
workflowdata: variables?.workflowdata,
assessmentInstanceId: variables?.orchestratorAssessmentInstanceId as string,

Choose a reason for hiding this comment

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

where is assessmentInstanceId used in the front-end? I am asking as now the request will return this new variable instead of businessKey but I do not see any changes on the FE plugin

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is why it is a draft PR. we need to wait for sonata to support it in official release and then someone will have to change the FE

@christoph-jerolimov christoph-jerolimov changed the title replace businessKey orchestrator: replace businessKey Mar 21, 2025
Copy link
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
Copy link
Contributor

github-actions bot commented May 6, 2025

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 May 6, 2025
@github-actions github-actions bot closed this May 13, 2025
@ydayagi ydayagi reopened this May 22, 2025
@github-actions github-actions bot removed the stale label May 22, 2025
@ydayagi ydayagi closed this May 26, 2025
@ydayagi ydayagi reopened this May 26, 2025
Copy link

Copy link
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 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants