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#833: Move all UI packages from kogito-apps to kie-tools #2180

Merged
merged 24 commits into from
Mar 28, 2024

Conversation

thiagoelg
Copy link
Member

@thiagoelg thiagoelg commented Feb 23, 2024

Reference: apache/incubator-kie-issues#833

Summary of the migration

Migrated packages from kogito-apps:

  • management-console-webapp -> runtime-tools-management-console-webapp
  • runtime-tools-dev-ui-webapp -> runtime-tools-process-dev-ui-webapp
  • task-console-webapp -> runtime-tools-task-console-webapp

All dependencies of those packages that weren't previously migrated were migrated as well and were distributed across the new or renamed packages:

  • runtime-tools-components
  • runtime-tools-cypress-ouia
  • runtime-tools-process-enveloped-components
  • runtime-tools-process-gateway-api
  • runtime-tools-process-webapp-components
  • runtime-tools-shared-enveloped-components
  • runtime-tools-shared-gateway-api
  • runtime-tools-shared-webapp-components
  • runtime-tools-swf-enveloped-components
  • runtime-tools-swf-gateway-api
  • runtime-tools-swf-webapp-components

Unit and end-to-end tests

Most unit tests were stripped out of those packages since they weren't really testing anything.
End-to-end tests were also stripped out but may come back at a later stage, they were not considered right now due to the time it would take to set it up.

Testing and validating this PR locally

Follow the steps below:

To fetch the branch from my fork without adding my fork as a remote, use this command:

git fetch https://github.com/thiagoelg/kie-tools.git kogito-apps-migration:kogito-apps-migration

then checkout the kogito-apps-migration branch.

Build the new packages with:

pnpm -F runtime-tools-management-console-webapp... -F runtime-tools-process-dev-ui-webapp... -F runtime-tools-task-console-webapp... build:dev

Then run them individually:

RUNTIME_TOOLS_MANAGEMENT_CONSOLE_WEBAPP__kogitoDataIndexUrl=<data_index_url> pnpm -F runtime-tools-management-console-webapp start
RUNTIME_TOOLS_PROCESS_DEV_UI_WEBAPP__kogitoDataIndexUrl=<data_index_url> pnpm -F runtime-tools-process-dev-ui-webapp start
RUNTIME_TOOLS_TASK_CONSOLE_WEBAPP__kogitoDataIndexUrl=<data_index_url> pnpm -F runtime-tools-task-console-webapp start

You may also run the dev command instead of start to use the mock server (in this case, setting the environment variable is not necessary).

@tiagobento tiagobento merged commit 17e7f1e into apache:main Mar 28, 2024
8 checks passed
fantonangeli pushed a commit to fantonangeli/kie-tools that referenced this pull request Apr 23, 2024
apache#2180)

Co-authored-by: Pere Fernández <pefernan@users.noreply.github.com>
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.

None yet

4 participants