Before you can publish UML modeling items, such as UML
models, UML fragments, UML profiles, deployment architecture items,
such as topologies, or provisionable items such us patterns, transformations,
profile toolings, as reusable assets, you must configure Rational® Asset Manager to
recognize UML modeling items types, deployment architecture items
and provisionable items. To make this recognition possible, you import
into Rational Asset Manager a
schema that defines a library of these types. Rational UML modeling products have three
schemas: one that defines types for UML modeling items, one that defines
types for deployment architecture items and another one that defines
type for provisionable items. The administrator for Rational Asset Manager must
import and enable these schemas before you can publish UML modeling
items, topologies and provisionable items in the repository.
Before you begin
Note: Before you configure Rational Asset Manager you
must download the schema file or files to your system. Right-click
the link below, then select Save Target As or Save
Link As and save the schema file to a temporary directory
such as C:\tmp.
About this task
You cannot import both the schema files for UML modeling
items and deployment architecture items at the same time because these
two schemas contain some of the same attributes. You must import one
schema, enable it, and disassociate it. Then, you can import and enable
the other schema without any conflicts. You do not need to disassociate
the second schema. For more information on importing, enabling, and
disassociating schemas, see Importing, enabling, and disassociating repository
libraries in the Rational Asset Manager help.
To
configure
Rational Asset Manager to
recognize UML modeling items, topologies and provisionable items:
Procedure
- Open the Rational Asset Manager
Web client and log in to the repository using an account that has
administrator privileges.
- Click the Administration tab.
- In the Repository Administration section,
click Libraries.
- Under Import Libraries, click Browse and
select one of the following files:
- To create types for UML items, select umlassets.xmi
- To create types for topologies, select topology.xmi
- To create types for provisionable items, select provisionableAssets.xmi
- Click Import.
- In the popup window, enter a name and version number for
the new library and then click OK. The information page for the new library appears.
- Under Library Actions, click Enable. Rational Asset Manager checks
for conflicts between the elements in the library and the elements
that are already in the repository and in other libraries. If the
library for UML modeling items or the library for deployment architecture
items has already been imported and enabled and you are importing
the other library, you see conflicts between some of the attributes
in the libraries, such as the Primary Artifact attribute in the following
example:

- If you see conflicts between the currently enabled library
and the library that you are trying to enable, disassociate the enabled
library before enabling the new library.
Disassociating
the currently enabled library moves the asset and attribute types
from that library to the repository. Then, when you enable the new
library, the asset and attribute types in the new library overwrite
the conflicting types in the repository.
Follow these steps
to disassociate the enabled library and continue to enable the new
library:
- Click Cancel to cancel the process
of enabling the new library.
- On the Libraries page, click
the version number of the currently enabled library to open it.
- Under Library Actions, click Disassociate.
- Click Disassociate to confirm
that you want to disassociate the library.
- On the Libraries page, click
the version number of the library you are trying to enable.
- Under Library Actions, click Enable. Rational Asset Manager reports
conflicts between the disassociated types in the repository and the
types in the new library that you are trying to enable.
- Click Next twice to review any
other conflicts between the new library and the repository or other
libraries.
- Click Enable.
Results
Rational Asset Manager now
recognizes the types of assets in the library you imported.
What to do next
For
more information, see
Importing, enabling, and disassociating repository
libraries in the
Rational Asset Manager help.