-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
7.40.0.Final
-
None
-
NEW
-
NEW
The REST API doesn't support cloning a git repo project that is located inside a subdirectory. Source code must be in the root directory.
This behaviour is not consistent with Business Central / Workbench user interface, which allows a user to select the project after the git URL details are entered.
For the record, this feature is also supported by the OpenShift immutable kieserver container images, which allows you to specify a "contextDir" together with the "uri" in the "gitSource" yaml field.
As a recommendation, implementation could start by adding the gitContextDir field to: https://github.com/kiegroup/appformer/blob/ae323c023e1fab4a45fba3bf2e7f7c5f20987b8e/uberfire-rest/uberfire-rest-client/src/main/java/org/guvnor/rest/client/CloneProjectRequest.java#L22