Ошибка при импорте проекта в jBpm Business Central из gitlab - PullRequest
0 голосов
/ 24 марта 2020

Я использую Business Central из jBPM 7.29.0 для создания файлов drl. Я хочу импортировать свой проект из gitlab в b c. B C имеет следующую конечную точку REST (https://docs.jboss.org/jbpm/release/7.31.0.Final/jbpm-docs/html_single/#_introduction_3):

POST {}:{}/business-central/rest/spaces/{space}/git/clone
{
  "name": "BusinessRules",
  "description": "Some desc",
  "userName": "my-user",
  "password": "1243",
  "gitURL": "git@gitlab.com:project/apps/business-rules.git"
}

Я использую правильное имя пользователя, пароль, URL, но b c выдает такие ошибки, как

13:00:05,800 ERROR [org.guvnor.rest.backend.cmd.AbstractJobCommand] (Thread-197) CloneProjectJobRequest [1585054803428-13] failed because of thrown GenericPortableException: java.lang.RuntimeException: org.uberfire.java.nio.fs.jgit.util.commands.Clone$CloneException: Error cloning origin <git@gitlab.com:project/apps/business-rules.git>.: org.guvnor.common.services.shared.exceptions.GenericPortableException: java.lang.RuntimeException: org.uberfire.java.nio.fs.jgit.util.commands.Clone$CloneException: Error cloning origin <git@gitlab.com:project/apps/business-rules.git>.

...

Caused by: java.lang.RuntimeException: org.eclipse.jgit.api.errors.TransportException: git@gitlab.com:project/apps/business-rules.git: Auth fail
        at org.uberfire.java.nio.fs.jgit.util.commands.Fetch.execute(Fetch.java:68)
        at org.uberfire.java.nio.fs.jgit.util.GitImpl.fetch(GitImpl.java:280)
        at org.uberfire.java.nio.fs.jgit.util.commands.Clone.execute(Clone.java:115)
        ... 33 more

С использованием пользовательского интерфейса у меня та же проблема.

Как я могу решить эту проблему?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...