Skip to content

Conversation

@BobdenOs
Copy link
Contributor

This PR uses the default cds.env.profiles behavior to detect whether the application is an java application. If this is the case it trigger the default mvn command to start the application on a random port. Once the server is responsive the db service and the axios url are adjusted accordingly to have the test communicate to the java application instead of an internal node server.

When the tests want to run the java application inside node it is possible to provide the node profile and the java profile will be ignored (e.g. CDS_ENV=node npm t).

@chgeo chgeo marked this pull request as draft March 14, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant