10.02.2013 Views

esb_deploy - Progress Sonic ESB Deployment Guide 8.5 - Product ...

esb_deploy - Progress Sonic ESB Deployment Guide 8.5 - Product ...

esb_deploy - Progress Sonic ESB Deployment Guide 8.5 - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tailoring Rules<br />

Applying Tailoring Rules and Creating a Map File for an Archive<br />

Once the tailoring rules are complete, you can generate a map file from an archive. The<br />

tailoring rules will specify what is included in the map. Then you edit the map for the<br />

settings you want to adjust in the target domain. Then the edited map will ruin against the<br />

original archive to create a mapped archive.<br />

Creation of a map for an export archive is achieved by running an <strong>ESB</strong>Admin command with<br />

the source archive and the output map file as parameters. The default tailoring rules are<br />

applied unless you specify a custom rules file. Note that file path names are fully<br />

enunciated.<br />

For this example, the export file RIA.xar created in the “Exporting <strong>ESB</strong> Artifacts for<br />

<strong>Deployment</strong>” chapter is used in the ongoing example.<br />

◆ To create a map file from a source archive and use default tailoring rules:<br />

1. Start the <strong>ESB</strong> Admin Tool.<br />

2. Enter: <strong>ESB</strong>Admin> createMap source_archive map_file<br />

For this example: <strong>ESB</strong>Admin> createMap c:\RIA.xar c:\RIA_map.xml<br />

You can now edit the map you created to specify its parameters for the target domain.<br />

◆ To create a map file from a source archive and apply modified tailoring rules:<br />

If you created custom tailoring rules, as described in “Adjusting Tailoring Rules to Apply<br />

When Creating Map Files” on page 67, reference the file you saved, as follows:<br />

1. Start the <strong>ESB</strong> Admin Tool.<br />

2. Enter: <strong>ESB</strong>Admin> createMap source_archive map_file [rules_file]<br />

For this example: <strong>ESB</strong>Admin> createMap c:\RIA.xar c:\RIA_map.xml<br />

c:\myTailorRules.xml<br />

You can now edit the map you created to specify its parameters for the target domain.<br />

<strong>Progress</strong> <strong>Sonic</strong> <strong>ESB</strong> <strong>Deployment</strong> <strong>Guide</strong> <strong>8.5</strong> 73

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!