Chore: add run configurations to improve the dev experience locally #724
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes did you make? (Give an overview)
Configures a set of default Run Configuration for IntelliJ IDEA to improve the development experience locally. Now, when a developer clones and runs the project, a set of default run configurations are included by default
--add-opens java.rmi/javax.rmi.ssl=ALL-UNNAMED
that are needed to launch the applicationkafka-ui/api/Dockerfile
Line 27 in a9bc82c
Lauch Dependencies
: Adds a Docker compose configuration to launch all the dependencies callingdocker compose up documentation/compose/e2e-tests.yaml
Adds a TestNG template for IntelliJ to ensure that integration test execution include
-Dheadless=false -Dselenoid=false
automatically. This configuration avoids running Selenoid and running a real Chrome instance following the definition inkafka-ui/e2e-tests/src/main/java/io/kafbat/ui/settings/BaseSource.java
Lines 9 to 10 in a9bc82c
Now, when we run any Smoke test in IntelliJ IDEA should add the
-Dheadless=false -Dselenoid=false
arguments automatically under VM OptionsIn an ideal world, running this step should launch
E2E Dependencies
as well but sadly that's blocking due to the following issues:https://youtrack.jetbrains.com/issue/IJPL-13136/Allow-Run-Debug-Configurations-to-not-wait-for-Before-launch-actions-to-complete
https://youtrack.jetbrains.com/issue/IJPL-12121/Allow-External-Tools-to-run-in-the-background
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)
Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)
A picture of a cute animal (not mandatory but encouraged)