Вы находитесь на странице: 1из 14

Business Rules migration from DIS to DMP

Steps:
1. Getting the connection details for Business Rules repository.
a. Open the job in dfPower Studio, search for the node which uses the Business rules and right click it
and select Advanced

b. In the Data Monitoring Advanced Properties, under Property name List, select REPOSITORY and
get the REPOSITORY NAME under Property Value box.

c. Then goto the <dataflux instance folder>/etc and open profrepos.cfg file.

d. Search for the REPSOITORY name in the file and get its ODBC connection name.

e. Then open the ODBC.ini file get the connection details of the above ODBC connection name.
2. Create ODBC connection in dfPower Studio with the gathered details in previous step.
a. Right click Database connection and select Open ODBC Administrator

b. ODBC Data Source Administrator dialog will popup.

c. Hit Add and then select the driver respective for the database to which the connection need to
be created and click Finish

d. Then enter the connection details gather in step 1.e in the Configuration window as below.

e. Then click Apply. The odbc connection will be created.
f. Then in dfPower studio, Under Database Connection, right click the newly created connection and
select Save Connection

g. Then enter the username and password and Click ok. Then connection now will be saved.

3. Registering the connection to Repository in dfPower Studio
a. Open dfPower Studio, right click Repository and select Register Repository

b. Specify a Name in Name Field; check the Database radio button under Type. Then select the Data
source which you have created in step 2 and hit ok.

c. The new repository connection will be registered.
4. Importing the Business rules to a LOCAL file based repository.
a. Create a new Local repository by right clicking Repositories and select New Repository

b. Specify name for the repository; Select File as type and specify a file location as below.

c. Then Click ok. The repository will be created. Click Close to close the dialog.
d. Then right click the newly created repository and select Open in Business Rule Manager

e. The Business Rule Manager will open up. In that, goto tools->import->Items From Another
Repository as shown below.

f. Import Repository Items dialog will popup. In that, select the repository from which the Business
Rules needs to imported(select repository registered in step 3) and Hit Next >

g. In the next screen select all items and click next.

h. Then in the next screen, hit finish.

i. All the Business rules will be imported.

5. Upgrading the business rules in local repository to DMP2
a. Open Data Management Studio and add the local repository created in step 4.c in Data Management
Studio.
b. Once hitting OK button, the following alert will get displayed.

c. Click OK.
d. Then Right click the newly Registered Repository and select Upgrade

e. Once selecting that, the following alert will appear.

f. Hit Yes. The repository will be upgraded.
6. Importing the upgraded Business rules to the server repository (Dev, Tst, Prd).
a. Create ODBC connection to the server repository in Data Management Studio.
i. Open dataflux management studio, and select Data.

ii. Then Right click Data Connection, select New Data Connection -> ODBC Connection.

iii. ODBC Data Source Administrator dialog will popup.

iv. Hit Add and then select the driver respective for the database to which the connection
need to be created and click Finish

v. Then enter the connection details gather in step 1.e in the Configuration window as below.

vi. Then click Apply. The odbc connection will be created.
vii. Then Right newly created connection under DataConnections and Select Save User
Credentials

viii. Then enter the username and password and Click ok. Then connection now will be saved.


b. Registers the repository by right clicking Repository Definition and select New Repository
Definition

c. Specify name to the repository; select data storage as Database Connection. Select the ODBC
connection created in step 6.a as Database connection name as below and click ok.

d. Then Open Folders and open the local repository and server repository as below.

e. Select Shared Data under local repository and select all the item below that as below.

f. Then right click the selected item and select Copy to folder.

g. The following dialog will open. Select the server repository as Look in from drop down. Then open
Shared Data and then hit Open

h. The Business rules will be copied to the server repository.

Вам также может понравиться