How can I export & import a local project in Decision Manager?

时光怂恿深爱的人放手 提交于 2019-12-08 07:07:15

问题


I'm using Red Hat Decision Manager,

I had my projects done and I wanted to deploy it to another pc.

All I can get is a jar file but when I import it Decision Manager responded Not project found.

Hoping for any help please.

Thanks!


回答1:


An additional way to export a project from Red Hat Decision Manager:

  1. Login to Decision Central
  2. Enter to the project that you want to export.
  3. Click on any of the assets available in the library (this will take you to the project explorer view)
  4. From the project explorer view, toggle the project navigation.

  1. From the project navigation gears icon, select the Download Project option.

Now you can unzip and use the project in any other git repository.




回答2:


To Export

I found a way to do it, perhaps not the best approach but I couldn't find anything better. Here is what I did:

  1. Find out the mountPath of the pvol from your Decision Manager - Deployment Config. /opt/eap/standalone/data/bpmsuite, you can find the .niogit directory here.
  2. Login to oc from your local and download the local repo from .niogit. You can use oc rsync my-pod:/opt/eap/standalone/data/bpmsuite/.niogit/myrepo.git ~/temp/. This will download the myrepo.git to a temp location on your machine.
  3. Create a new Git repo.
  4. From the temp myrepo.git directory on your local, add upstream origin to GIT: git remote add origin git@github.com:my-demo/test.git
  5. Push the code: git push -u origin master

This is not straight-forward but this should do. If you, or anybody found a better way to do it, please let me know.

To Import

  1. Login to your Decision Manager.
  2. Click on Design
  3. Click on three-dots on right-top corner, and select Import Project. Specify your GIT URL and authentication (if any).


来源:https://stackoverflow.com/questions/50938708/how-can-i-export-import-a-local-project-in-decision-manager

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!