问题
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:
- Login to Decision Central
- Enter to the project that you want to export.
- Click on any of the assets available in the library (this will take you to the project explorer view)
- From the project explorer view, toggle the project navigation.
- 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:
- 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. - Login to oc from your local and download the local repo from
.niogit
. You can useoc rsync my-pod:/opt/eap/standalone/data/bpmsuite/.niogit/myrepo.git ~/temp/
. This will download themyrepo.git
to a temp location on your machine. - Create a new Git repo.
- 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
- 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
- Login to your Decision Manager.
- Click on
Design
- Click on
three-dots
on right-top corner, and selectImport 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