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.

Chapter 7: Updating a Revised <strong>Deployment</strong><br />

Changing a Root Element<br />

You can also make changes to the configuration used as a root element before rebuilding.<br />

In the example process, the ErrorEndpoint is removed as a step. It is replaced by an<br />

invocation step to an ErrorService. This is an <strong>ESB</strong> service called using<br />

sonicfs://Resources/ErrorService.<strong>esb</strong>ws.<br />

When the archive is rebuilt it will have the following changes:<br />

● Addition of sonicfs://Resources/ErrorService.<strong>esb</strong>ws.<br />

● The endpoint, ErrorEndpoint, is no longer included in the archive.<br />

Note Reimporting the rebuilt archive overwrites the ExampleProcess. However, it does not<br />

remove the ErrorEndpoint from the target domain. You must do this manually,<br />

Rebuilding the Export Package with the <strong>ESB</strong> Admin Tool<br />

When you have identified the XAR and, if necessary, edited the ExportProperties.xml<br />

file, you can recreate the package by either:<br />

● “Using the Export Archive Command” on page 52<br />

● “Using the Export FS Command” on page 53<br />

Modifying the Import Rules for the Target Domain<br />

In the target domain, you want to control importing a revised <strong>deploy</strong>ment so that it<br />

concentrates on the areas of change. The developer preparing the archive should generate<br />

a corresponding import properties template for the changes that includes:<br />

● Overwritten Elements — When you are importing changes that you want to definitely<br />

replace a matching file at the same location, choose to overwrite in the import<br />

properties to ensure that the changes are accepted.<br />

● Ignored Elements — Setting the ignore flag on branches and files that are<br />

dependencies and supporting files but are known to have not changed, minimizes the<br />

rebinding in the target domains.<br />

● Leftover Elements — Elements that are no longer meaningful should be removed<br />

from the target domain. For example, if the original archive had services A, B, C, and<br />

D and the revised package uses only A and D, the developer should include an update<br />

note in the project folder that recommends deletion of services B and C in the updated<br />

domain.<br />

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

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

Saved successfully!

Ooh no, something went wrong!