This section describes how to load a Rhapsody Local Configuration (RLC) file:
If you are using a command line script or XML to overwrite a current configuration and you do not have permissions to overwrite a configuration, you are not presented with an error message indicating you have insufficient privileges to overwrite a configuration. The new configuration, however, does not overwrite the current configuration; it is added to the current configuration. Refer to Loading a Configuration for details.
RLC Load
The following top-level element is used to load an RLC file:
Element |
Description |
---|---|
rlc-load |
Loads the RLC file specified by the |
Its attributes are:
Attribute | Description |
---|---|
|
A string that specifies the filename of the RLC file to load. |
|
A string that specifies the name for a new or existing locker to load the RLC configuration into (an optional attribute). If the RLC file was created before Rhapsody 6.1, the configuration will not be in a locker. On load, a locker will be created if required and the configuration migrated into it. If a locker with the specified name already exists then the configuration is merged into the existing locker. To create a new locker, the 'Create locker' access right is required. To load the RLC into an existing locker, the 'Edit locker' access right is required for the relevant locker. <!-- Load a pre-locker RLC --> <rlc-load file="pre-6.1.rlc" defaultLocker="My Locker"/> |
passwordImportMode |
Determines how encrypted passwords contained in an RLC file should be handled when the RLC is imported:
|
|
Specifies a passphrase to use to decrypt passwords associated with Rhapsody objects in the RLC file to be loaded. |
starting |
Configures the state of communication points and routes upon RLC load:
|
checkInMessage |
A non-empty string that specifies the commit comment to use for the configuration changes (an optional attribute). If the attribute is not provided, then an empty commit comment is used. |
Lockers
The following elements relating to lockers can be nested inside the rlc-load
element:
Element | Description |
---|---|
locker |
Specifies what action to take when importing a specified locker from an RLC. |
locker-default |
The same as locker , except the action applies to all lockers in an RLC. |
The attributes are:
Attribute | Description |
|
---|---|---|
name |
Specifies a particular locker in the RLC (only applicable to locker ). |
|
action |
Specifies the action to take when encountering locker conflicts when loading the RLC:
If the |
Lookup Tables
The following elements relating to lookup tables can be nested inside the rlc-load
element:
Element | Description |
---|---|
lookup-table |
Specifies what action to take when importing a specified lookup table from an RLC. |
lookup-table-default |
The same as lookup-table , except the action applies to all lookup tables in an RLC. |
The attributes are:
Attribute |
Description |
---|---|
|
Specifies a particular lookup table in the RLC (only applicable to lookup-table ). |
action |
Specifies the action to take when encountering lookup table conflicts when loading the RLC:
If the |
Other Rhapsody Objects
The following elements relating to Rhapsody objects can be nested inside the rlc-load
element:
Element | Description |
---|---|
rest-client |
Specifies what action to take when importing a specified REST client from an RLC. |
rest-client-default |
The same as rest-client , except the action applies to all REST clients in an RLC. |
javascript-library |
Specifies what action to take when importing a specified shared JavaScript library from an RLC. |
javascript-library-default |
The same as |
intelligent-mapper-project |
Specifies what action to take when importing a specified mapping project from an RLC. |
intelligent-mapper-project-default |
The same as intelligent-mapper , except the action applies to all mapping projects, not a specific one,. |
x12-project |
Specifies what action to take when importing a specified X12 project from an RLC. |
x12-project-default |
The same as x12-project , except the action applies to all X12 projects, not a specific one on the engine. |
route-template |
Specifies what action to take when importing a specified route template from an RLC. |
route-template-default |
The same as route-template , except the action applies to all route templates in an RLC. |
filter-template |
Specifies what action to take when importing a specified filter template from an RLC. |
filter-template-default |
The same as filter-template , except the action applies to all filter templates in an RLC. |
communication-point-template |
Specifies what action to take when importing a specified communication point template from an RLC. |
communication-point-template-default |
The same as communication-point-template , except the action applies to all communication point templates in an RLC. |
The attributes are:
Attribute |
Description |
---|---|
|
Specifies a single instance of a particular Rhapsody object in the RLC. |
|
Specifies the action to take when encountering Rhapsody object conflicts when loading the RLC :
If the |
Example
<!-- Load an RLC --> <rlc-load file="MyConfig.rlc" passwordImportMode="decrypt-passwords" passphrase="5ecrets" starting="start all" checkInMessage='Loading an RLC'/> <!-- Load with locker collision actions --> <locker-default action="skip"/> <locker name="My Locker" action="merge"/> <locker name="Labs" action="skip"/> <!-- Load with lookup table collision actions --> <lookup-table-default action="auto"/> <lookup-table name="Table" action="overwrite"/> <!-- Load with REST client collision actions --> <rest-client-default action="auto"/> <rest-client name="String Library" action="overwrite"/> <!-- Load with shared JavaScript library collision actions --> <javascript-library-default action="auto"/> <javascript-library name="JSLib" action="overwrite"/> <!-- Load with Intelligent Mapper mapping project collision actions --> <intelligent-mapper-project-default action="auto"/> <intelligent-mapper-project name="Mapping Proj 1" action="overwrite"/> <!-- Load with X12 project collision actions --> <x12-project-default action="auto"/> <x12-project name="X12 Proj 1" action="overwrite"/> <!-- Load with route template collision actions --> <route-template-default action="auto"/> <route-template name="Route Template 1" action="overwrite"/> <!-- Load with filter template collision actions --> <filter-template-default action="auto"/> <filter-template name="Filter Template 1" action="overwrite"/> <!-- Load with communication point template collision actions --> <communication-point-template-default action="auto"/> <communication-point-template name="Comm Pt Template 1" action="overwrite"/> </rlc-load>