Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9245

Clone git repository project with a context directory via the REST API

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.40.0.Final
    • Remote Services
    • 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

              marco.rietveld Marco Rietveld (Inactive)
              jbmohr Juliano Mohr
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: