简体   繁体   English

jBPM 业务中心的远程 git 存储库

[英]Remote git repository for jBPM Business Central

I use Business Central from jBPM 7.31 to create assets (BPMN and DMN).我使用 jBPM 7.31 中的 Business Central 创建资产(BPMN 和 DMN)。 In my application (Spring Boot) I attached the KJAR with assets created by Business Central and use KIE as library.在我的应用程序 (Spring Boot) 中,我将 KJAR 与 Business Central 创建的资产连接在一起,并使用 KIE 作为库。 In other words, I use BC only as a diagram editor running on localhost.换句话说,我仅将 BC 用作在本地主机上运行的图表编辑器。

When I created project in Business Central a new bare git repository was created in $WORKING_DIRECTORY/.niogit directory.当我在 Business Central 中创建项目时,在 $WORKING_DIRECTORY/.niogit 目录中创建了一个新的裸 git 存储库。 However, my team already has a git repository set up.但是,我的团队已经设置了一个 git 存储库。 Is it possible to configure Business Central to use a remote git repository instead of the one created on my local machine?是否可以将 Business Central 配置为使用远程 git 存储库而不是在我的本地机器上创建的存储库?

We also use business central and briefly looked at doing this.我们还使用了业务中心并简要地研究了这样做。 Instead however, we decided it was best to just add an additional remote to the repository because of the lack of support in Business Central and we didn't want to rock the boat.然而,由于 Business Central 缺乏支持,我们决定最好只向存储库添加一个额外的遥控器,而且我们不想大惊小怪。

In the latest version of jBPM Business Central you can import projects from external git repositories.在最新版本的 jBPM Business Central 中,您可以从外部 git 存储库导入项目。 在此处输入图片说明

Please note that you can't push local changes back to the repository with the Business Central.请注意,您无法使用 Business Central 将本地更改推送回存储库。 You can just do local modifications and deploy them.您可以只进行本地修改并部署它们。

If you really need to, you can add a custom "post-commit hook" on Business Central to execute custom commands eg push git changes back to your origin.如果您确实需要,您可以在 Business Central 上添加一个自定义的“post-commit hook”来执行自定义命令,例如将 git 更改推送回您的源。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM