Chapter 2. Migrating projects in Decision Central
If you have created projects in the Business Central workbench in BRMS 6.4, you can migrate them to Red Hat Decision Manager 7.0 by importing the asset repository into Decision Central.
Prerequisites
-
In BRMS 6.4 Business Central, look up the names of the repositories that contain your project. The default repository name is
repository1. - Stop BRMS 6.4 Business Central.
-
Locate the
.niogitdirectory. In the default installation, its location is$EAP_home/bin/.niogit. This location can be changed with theorg.uberfire.nio.git.dirsystem property in the$EAP_home/standalone/configuration/standalone.xmlfile. The system property can also be set with a-Doption in the command that starts Business Central. - Install the Red Hat Decision Manager, including Decision Central, on the same host as BRMS 6.4 Business Central, using a separate JBoss EAP installation. For instructions, see Installing Red Hat Decision Manager on premise.
Procedure
- Log in to Red Hat Decision Manager 7.0 Decision Central.
- In the main menu, select Projects.
-
Click the
icon and select Import Project.
In the Repository URL field, type the URL:
file://<path>/.niogit/<repository>.git
For example, if the location of the
.niogitdirectory is/opt/eap7.0/bin/.niogitand you want to import projects from therepository1repository:file:///opt/eap7.0/bin/.niogit/repository1.git
- Click Import.
- Select the projects to import and click Import.
A
NoRemoteRepositoryExceptionexception might be displayed. In this case complete the following steps:-
In a shell terminal, change to the repository subdirectory (under the
.niogit) directory you are importing -
List the remotes:
git remote -v Remove all listed remotes:
git remote remove <remote-name>For example:
$ /opt/eap7.0/bin/.niogit/repository1.git $ git remote -v origin https://github.com/guvnorngtestuser1/guvnorng-playground (fetch) origin https://github.com/guvnorngtestuser1/guvnorng-playground (push) $ git remote remove origin
Then import the projects again. (You can add the remotes in the new repository later if necessary).
-
In a shell terminal, change to the repository subdirectory (under the
- Wait for the importing and indexing to complete.
- Repeat the process for any other repositories that you wish to import.
Result
The projects are imported into Decision Central. You can build and deploy them as normal, using the Build & Deploy button.
If you have developed the project in Java and then imported it into the Business Central workbench, you might need to migrate the project as a Java project. For instructions, see Chapter 3, Migrating Java projects.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.