The <check-in/>
element allows configuration changes to be grouped together with an associated commit comment. The following elements can be nested inside the <check-in/>
element:
<import-webservice-users/>
<rename-locker/>
<rename-folder/>
<rename-communication-point/>
<rename-route/>
<reconfigure/>
Any of these elements can be used as direct children of the root <script/>
element. However, when used in this way, the changes that they make are committed immediately with an empty commit comment. They must be placed into the new <check-in/>
element if you want to use a non-empty commit comment.
The <check-in/>
element can take two attributes:
A commit using the <check-in/>
element only takes place if actual changes were made to the configuration. Refer to Modifications Resulting in No Changes for details.
Check-in Comment
checkInMessage
is an optional attribute. It can be set to a non-empty string that contains the commit comment to use for the configuration changes. If it is not provided, then an empty commit comment is used.
attribute='value' |
Description |
---|---|
checkInMessage='<commit_comment>' |
Add a commit comment to the RLC. |
Prompt
prompt
is an optional attribute. It determines whether the user is prompted for confirmation before changes are committed.
attribute="value" |
Description |
---|---|
|
The Check-in dialog is displayed to the user to commit the changes. |
|
The changes are committed automatically |
Example
<check-in checkInMessage='Make some changes'> <rename-locker old="Labs" new="Radiology"/> <rename-folder old="Locker/B/C" new="Test/Observations"/> <rename-communication-point folder="Test/Observations" old="Input 22" new="Observation Input"/> <rename-communication-point folder="Test/Observations" old="Output 22" new="Observation Output"/> <rename-route folder="Test/Observations" old="Route 22" new="Observation Test Route"/> <reconfigure> <communication-point folder="Validation" name="TCP Server"> <set property="LOCALPORT" value="23456"/> </communication-point> <filter name="Observation Mapper" folder="Test/Observations" route="Observation Test Route"> <set property="NumberInstances" value="1"/> </filter> </reconfigure> </check-in>