| Artifact rule - Create individual artifact rules for
each file, folder, or archive. Create as many artifact rules as needed
to achieve the specificity you want to define for your asset. You
can also define a URL artifact.
|
- In the Rule type section, select Artifact and
click Next.
- Set the value for the rule by using one of these options:
- Option 1: Click Create artifacts using all files and
folders to create artifacts from all of the files and
folders in the asset.
- Option 2: Click Create artifacts using files and folders
matching this filter, and type a value to filter on. This
value can include the following special characters: '*' represents
zero or more character, '?' represents one character, and '**' represents
everything in a directory tree. A file or folder that contains this
value in the name becomes an artifact.
- Option 3: Click Specify a URL artifact that will be
added to all of the assets to add a URL artifact. Type
a name for the URL, and type the URL you want to add as an artifact.
The artifact takes the name that you define.
- Click Finish.
|
| Asset type rule - You can provide one asset type for each
asset that you define in the directory.
|
- In the Rule type section, select Asset type and
click Next.
- Set the value for the rule by using one of these options:
- Option 1: Click Set the asset type using a file matching
a filter, and type a value to filter on. The contents
of a text file with a name that contains this value becomes the asset
type for the asset. This value can include the following special characters:
'*' represents zero or more character, '?' represents one character,
and '**' represents everything in a directory tree. A file or folder
that contains this value in the name becomes an asset type..
- Option 2: Click Specify an asset type that will be
applied to all assets, and type a name for the asset type
that you want to apply to the assets in the directory that you are
defining rules for.
- Click Finish.
|
| Attribute rule - The attributes specify the kind of information
that users can include when they submit an asset.
|
- In the Rule type section, select Attribute and
click Next.
- Set the value by clicking Add attributes using a file
matching a filter, and type a value to filter on. This
value can include the following special characters: '*' represents
zero or more character, '?' represents one character, and '**' represents
everything in a directory tree. A file or folder that contains this
value in the name becomes an attribute..
The contents of a text
file with a name that contains this value becomes the attributes for
the asset. This text file must contain the following data with this
syntax: Keyword1 =Keyword2 where keyword1 is
the attribute name and keyword2 is the attribute
value.
- Click Finish.
|
| Category rule - Category schemas help you organize assets
in the repository so that users can find and reuse them.
If
you want to classify the asset by using more than one category, you
must create more than one category rule for that asset.
|
- In the Rule type section, select Category and
click Next.
- Set the value for the rule by using one of these options:
- Option 1: Click Add categories using a file matching
a filter, and type a value to filter on. This value can
include the following special characters: '*' represents zero or more
character, '?' represents one character, and '**' represents everything
in a directory tree.
A file or folder that contains this value
in the name becomes a category.. The contents of a text file with
a name that contains this value becomes the category for the asset.
This
text file must contains the following data with this syntax: Category1/Category2/Category3.
For
example, where Category1 is
Automobile, Category 2 is
Model, and Category3 is
Foreign, the categorization of this asset is Automobile/Model/Foreign.
- Option 2: Click Specify a category that will be applied
to all assets, and type values in these fields:
- Schema: The highest level category
- Category: The a child of schema
- Subcategories: The children of category
For example: - Schema: Automobile
- Category: Model
- Subcategories: Foreign/Honda
- Click Finish.
|
| Community rule- If you are adding a community rule to
the root directory, then all of the children folders or archives are
added to this community.
|
- In the Rule type section, select Community and
click Next.
- Set the value for the rule by using one of these options:
- Option 1: Click Create communities using all of the
archives and folders to define communities by all of the
folders and archives in this directory. The communities take the name
of the folders or archives in the directory.
- Option 2: Click Create communities using archives
and folders matching this filter, and type a value to
filter on. This value can include the following special characters:
'*' represents zero or more character, '?' represents one character,
and '**' represents everything in a directory tree. A file or folder
that contains this value in the name becomes a community.. The contents
of a text file with a name that contains this value becomes the community
for the asset.
- Option 3: Click Specify a community where all assets
will be placed, and type the community name that you want
all of the assets in the directory to belong to.
- Click Finish.
|
| Description rule - This rule defines the description
of the asset.
|
- In the Rule type section, select Description and
click Next.
- Set the value for the rule by using one of these options:
- Option 1: Select Set the description using a file
matching a filter and type a value to filter on. The contents
of a file with this filter becomes the description of the asset.
- Option 2: Select Specify a description that will be
applied to all assets and type description for that asset.
- Click Finish.
|
| Name rule - This rule defines the name of the asset.
|
- In the Rule type section, select Name and
click Next.
- Set the value for the rule by using one of these options:
- Option 1: Click Set the name using a file matching
a filter, and type a value to filter on. This value can
include the following special characters: '*' represents zero or more
character, '?' represents one character, and '**' represents everything
in a directory tree. The contents of a text file with a name that
contains this value becomes a name for the asset.
- Option 2: Click Specify a name that will be applied
to all assets, and type a name for the asset.
- Click Finish.
|
| Owner rule- This rule defines the names of the asset owners.
If you specify owners of an asset who do not exist in the repository,
these owners will be created as users of the repository.
|
- In the Rule type section, select Owner and
click Next.
- Set the value for the rule by using one of these options:
- Option 1: Click Set the owners using a file matching
a filter, and type a value to filter on. This value can
include the following special characters: '*' represents zero or more
character, '?' represents one character, and '**' represents everything
in a directory tree. A file or folder that contains this value in
the name becomes an owner.. The contents of a file that meets this
filter criterion defines the owners of the asset. You must define
the owners by using their unique identifier that is defined either
on a file system user directory or in an LDAP directory. This file
must contain only one unique identifier per line.
- Option 2: Click Specify a user that will become the
owner of all assets, and type a unique identifier that
is defined either on a file system user directory or in an LDAP directory.
- Click Finish.
|
| Related asset rule - This rule defines all of the related
assets.
|
- In the Rule type section, select Related asset and
click Next.
- Set the value for the rule by using one of these options:
- Option 1: Click Add related assets using a file matching
a filter, and type a value to filter on. This value can
include the following special characters: '*' represents zero or more
character, '?' represents one character, and '**' represents everything
in a directory tree.
The contents of a text file with a name that
contains this value becomes the related asset for the asset. This
text file must contains the following data with this syntax: RelationshipType:{GUID}/Version.
For example, where RelationshipType is dependent, GUID is
000–111–222, and Version is 1.0, the related assets
depend on the asset that you are defining rules for in the source
section of the editor. The related assets have the unique identifier
previously assigned by Rational Asset Manager as 000–111–222 and are
version 1.0 of that asset.
- Option 2: Click Specify a relationship type and assets
to relate to all assets, and type values in each of the
following fields.
- Relationship type is the relationship type
of the assets you are relating to the asset that you are working with
in the source section of the batch update editor.
- Unique ID is the GUID, or the unique identifier
of the related asset.
- Version is the version of the related assets.
For example: - Relationship type: Dependant
- Unique ID: 000–111–222
- Version: 1.0
- Click Finish.
|
| Short description rule- This rule defines the short description
of the asset.
|
- In the Rule type section, select Short Description and
click Next.
- Set the value for the rule by using one of these options:
- Option 1: Click Set the short description using a
file matching a filter, and type a value to filter on.
This value can include the following special characters: '*' represents
zero or more character, '?' represents one character, and '**' represents
everything in a directory tree. A file or folder that contains this
value in the name becomes a short description. The contents of a file
that contains this value becomes the short description of the asset.
- Option 2: Click Specify a short description that will
be applied to all assets, and type a short description
for the asset.
- Click Finish.
|
| Version rule- This rule defines the version of the asset.
|
- In the Rule type section, select Version and
click Next.
- Set the value for the rule by using one of these options:
- Option 1: Click Set the version using a file matching
a filter, and type a value to filter on. This value can
include the following special characters: '*' represents zero or more
character, '?' represents one character, and '**' represents everything
in a directory tree. A file or folder that contains this value in
the name becomes the version. The contents of a file that contains
this value becomes the version of the asset.
- Option 2: Click Specify a version that will be applied
to all assets, and type a version for the asset.
- Click Finish.
|