Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 5 Repository Palette : Managing Repository Content

Managing Repository Content
You can change the content of a repository in several ways, discussed in this section.
Exporting and Importing Repository Instances
TIBCO Designer functionality is in most cases sufficient and appropriate for making changes to a repository instance. In some cases, however, you may decide to export the repository to XML, make your changes, and import the file.
Exporting a repository instance means writing its contents to a TIBCO Repository XML file. Importing a repository means importing a file that was previously exported from TIBCO Repository into an existing repository.
During the import process, you have some control over rejecting or accepting import of duplicate repository directories or duplicate repository objects. You cannot control, however, whether a directory or object is imported that does not exist in the current repository instance. The RepoExport and RepoImport command line tools, available in TIBCO_HOME/tra/<version>/bin allow for more fine grained operations.
Exporting and importing are useful:
You can use the RepoImport and RepoExport command line tools instead of TIBCO Designer. These tools allow you to use schema validation as part of your export process if desired.
Exporting an Instance
To export a repository instance, follow these steps:
1.
2.
From the right-button menu, choose Export Repository Instance.
3.
TIBCO Designer saves your repository to the specified location using TIBCO Repository XML format (generic format).
Importing an Instance
To import a repository instance, follow these steps:
1.
2.
Right-click the repository and choose Import Repository Instance.
You are prompted for a file.
3.
The system prompts you with the following dialog:
Figure 118 Confirm Directory Replacement Dialog Box
4.
Click Yes to replace the contents. In that case, TIBCO Designer first completely empties the existing repository instance and then imports all information from the file.
5.
Click No if you want to partially replace the existing repository. In that case, TIBCO Designer prompts you whether duplicates should be replaced:
Adding TIBCO Repository Directories and Objects
In almost all cases, you do not modify a repository directly. Instead, you modify a project, then save the project as a repository. In some situations, however, modifying the repository directly might be appropriate. You do so using the Repository palette.
To add a directory and an object to a repository, follow these steps:
1.
2.
3.
4.
You are adding an object to the newly created directory.
5.
6.
Advanced Repository Management
The Advanced tab specifies information for both local and remote repositories.
You can specify a user and password, and turn on advanced browsing and editing to access and change attribute values. Follow these steps:
1.
2.
With the Repository Finder selected, click the Advanced tab in the configuration panel.
Figure 119 Advanced Tab in Configuration Panel
 
Table 94 Advanced Tab
Viewing Attributes of Repository Objects
You can use repository finder to view the contents of repository objects. Follow these steps:
1.
2.
3.
Click the Advanced tab in the configuration panel.
Figure 120 Advanced Tab
TIBCO Designer displays the object and its attributes. Attributes usually have names, attribute types, and other properties. The value of each attribute is either a string or a global name. In the example above, the attribute with the name statusMsg has an attributeType that is a global name.
Modifying Attributes Inside Repository Objects
This section explains how to modify attributes of repository objects.
Terminology
Keep in mind the following terminology used to describe repository content.
The name:value pairs inside the association lists are called properties of the attribute. For example, name, attributeType, and isKey are properties of the attribute. Custom properties are also allowed.
Steps
To modify an attribute, follow these steps:
1.
2.
3.
4.
5.
Figure 121 Change Value of a Property
6.
Figure 122 Icons in Exteneded Prperties Editor
You must click Commit to save changes before selecting another resource or your changes are lost.
You can click Rollback to undo changes since the last commit.
You can also move properties by clicking the up/down icon, and delete them by clicking the delete icon.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved