Application Redeployment
After you change the contents of an application, you must redeploy it to apply the changes.
You can update an application by editing, adding, or deleting application objects.
When you deploy an updated application, you choose to retain or discard application state information. State information refers to mapping properties, mapping outputs, and the properties of run-time objects.
If you want to update a running target application, you must choose to stop the target application. If you do not want to abort running objects, you can rename the application or deploy the application to a different service.
When you update an application and export it to a network file system, you can replace the application archive file or cancel the deployment. If you replace the application archive file, the Developer tool replaces the objects in the application and resets the object properties.
Application State Information
When you redeploy an application, you can choose to retain the state information for a deployed application or to discard it.
State information refers to mapping properties and the properties of run-time objects such as mapping outputs or the Sequence Generator transformation. When you retain state information, you retain these settings and properties in the deployed application. When you discard state information, you discard the state of these settings and properties in the deployed application.
Example: Retaining or discarding configurable properties
An application includes a mapping with configurable run-time properties. You set the High Precision property to True. After you deploy the application, you edit the mapping and change the High Precision property to False. When you redeploy the application and check Retain state information, the Data Integration Service retains state information in the deployed application and does not recognize changes to the run-time properties. You must uncheck Retain state information for the change to the property to take effect.
Example: Retaining or discarding sequences
A mapping includes a Sequence Generator transformation that generates unique keys for rows in a target table. After you deploy the application that contains the mapping, the mapping runs and the Sequence Generator transformation generates keys for rows 1-2000. The next time the mapping runs, the Sequence Generator transformation would generate keys beginning with 2001, but you decide you want the sequence to start at 10000. Edit the Sequence Generator transformation to specify the new start value. When you redeploy the application and check Retain state information, the Data Integration Service retains state information in the deployed application and does not recognize changes to the setting. When the mapping runs again, the sequence resumes at 2001. You must uncheck Retain state information for the change to the setting to take effect.
Note: Your choice to retain or discard application state has no effect on the Reset property of a Sequence Generator transformation.