-
Notifications
You must be signed in to change notification settings - Fork 176
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
Conversation
@fantonangeli please assign me this issue. |
There was a problem hiding this 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?
packages/sonataflow-deployment-webapp/src/pages/Workflows/Workflows.tsx
Outdated
Show resolved
Hide resolved
packages/sonataflow-deployment-webapp/src/navigation/RoutesSwitch.tsx
Outdated
Show resolved
Hide resolved
packages/sonataflow-deployment-webapp/src/navigation/RoutesSwitch.tsx
Outdated
Show resolved
Hide resolved
...ages/sonataflow-deployment-webapp/src/runtimeTools/pages/RuntimeToolsWorkflowDefinitions.tsx
Outdated
Show resolved
Hide resolved
...ages/sonataflow-deployment-webapp/src/runtimeTools/pages/RuntimeToolsWorkflowDefinitions.tsx
Outdated
Show resolved
Hide resolved
packages/sonataflow-deployment-webapp/src/pages/Workflows/Workflows.tsx
Outdated
Show resolved
Hide resolved
packages/sonataflow-deployment-webapp/src/pages/Workflows/Workflows.tsx
Outdated
Show resolved
Hide resolved
...ages/sonataflow-deployment-webapp/src/runtimeTools/pages/RuntimeToolsWorkflowDefinitions.tsx
Outdated
Show resolved
Hide resolved
"@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" |
There was a problem hiding this comment.
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! 👍
@tiagobento can we consider your comment an approval? |
There was a problem hiding this 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!
@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 :
pnpm start
needs to be executed from sonataflow-deployment-webapp.sonataflow-deployment-webapp-consumer
needs to be running in the background. Link of this repo - https://github.com/fantonangeli/sonataflow-deployment-webapp-consumerPreview :
Screen.Recording.2024-08-19.at.1.51.06.PM.1.1.mov