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

kie-issues#1276: Reuse components and retrieve workflow definitions from data index instead of openapi.json in sonataflow-deployment-webapp #2537

Merged
merged 9 commits into from
Sep 6, 2024

Conversation

kumaradityaraj
Copy link
Contributor

@kumaradityaraj kumaradityaraj commented Aug 19, 2024

@fantonangeli

Closes - apache/incubator-kie-issues-1276

Description :
Sonataflow-deployment-webapp used to render the list of workflow definitions using the openapi.json api. In the latest commit the workflow definition is now being rendered through the data-index using graphql service.

How to test :

Preview :

Screen.Recording.2024-08-19.at.1.51.06.PM.1.1.mov

@fantonangeli fantonangeli added pr: wip PR is still under development area:sonataflow labels Aug 19, 2024
@fantonangeli fantonangeli self-requested a review August 19, 2024 07:57
@kumaradityaraj kumaradityaraj changed the title Reuse components and retrieve workflow definitions from data index instead of openapi.json in sonataflow-deployment-webapp kie-issues#1276: Reuse components and retrieve workflow definitions from data index instead of openapi.json in sonataflow-deployment-webapp Aug 19, 2024
@kumaradityaraj
Copy link
Contributor Author

@fantonangeli please assign me this issue.

Copy link
Contributor

@fantonangeli fantonangeli left a comment

Choose a reason for hiding this comment

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

Thanks a lot @kumaradityaraj

Besides the changes in this PR, I can see there are a few unused dependencies from the past:

  • apollo-cache-inmemory
  • apollo-client
  • apollo-link-http
  • util
  • URL

Can you please check if they are really needed and in case remove them?

@fantonangeli fantonangeli added pr: waiting-for-review Waiting for peer reviews and removed pr: wip PR is still under development labels Aug 21, 2024
Comment on lines -44 to -56
"@patternfly/react-table": "^4.112.39",
"apollo-cache-inmemory": "1.6.6",
"apollo-client": "2.6.10",
"apollo-link-http": "1.5.17",
"openapi-types": "^7.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router": "^5.3.4",
"react-router-dom": "^5.3.4",
"typescript": "^5.5.3",
"util": "^0.12.5"
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for cleaning this up! 👍

@fantonangeli fantonangeli removed the pr: waiting-for-review Waiting for peer reviews label Aug 28, 2024
@fantonangeli
Copy link
Contributor

@tiagobento can we consider your comment an approval?
@domhanak can you please review this PR?

Copy link
Contributor

@tiagobento tiagobento left a comment

Choose a reason for hiding this comment

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

Good to go when conflicts are solved. @kumaradityaraj Please accept pnpm-lock.json from main then re-bootstrap the repo:

  • git fetch origin
  • git merge origin/main --> Conflict will happen here.
  • git checkout origin/main -- pnpm-lock.json
  • pnpm bootstrap
  • git merge --continue

That's how I'm used to solving it. Thanks!

@tiagobento tiagobento merged commit 76cfcfe into apache:main Sep 6, 2024
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants