IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > Create monitor models > Sharing assets
Adding assets to the asset repository
To make an asset available for others to use and to make sure that the most recent version is being distributed, you can put the asset into the asset repository.
Adding an asset to the asset repository automatically includes its dependencies and their associated content.
For example, if you add a monitor model that uses an event definition, that event definition is put into the asset repository as well.
You can add one or more business monitoring projects, monitor models, Scalable Vector Graphics (SVG) diagrams, or event definitions (XSD or Common Base Event), from one or more projects.
If you add a monitor model that refers to a user-defined XPath function JAR file in the same project as the monitor model, all the user-defined JAR files in the project are also added.
To add assets to the asset repository:
Procedure
- In the Project Explorer view, right-click one or more projects, monitor models, SVG diagrams, or event definitions, and click Add to Asset Repository to open the Add Asset to Repository wizard.
- Select an asset repository from the Repository Connection list, or click New to add a new repository connection if you have not yet connected to an asset repository in this session. The wizard takes a few seconds to connect.
Once you have connected to a repository and clicked Next, you cannot change that selection until you cancel the wizard and open it again.
- Click the Community field and select the community for the asset that you are adding. To enable this field, as well as the Name and Short Description fields, wait until the wizard has finished loading the project and then click the top-level node in the Assets tree. You can then select the correct community from the list and edit the name and short description. If you are adding a project asset, you are setting the default community for all assets in that project. The information in these fields is displayed when users hover over the asset in the asset repository. Use the short description to explain the use and purpose of the asset to other users. Your enterprise might have rules for what type of information belongs in each of these fields.
The Version field is controlled by the asset repository, which detects whether a version of the asset exists and assigns a version number. To create a new version of an asset, import the asset from the asset repository, make your changes, and then add the asset back to the asset repository.
If you add an asset that you did not import from the asset repository, even if the version is identical to an existing asset, a new asset is created. If you import an asset and add it back to the asset repository without making changes, the version number does not change.
- To see all the assets that depend on this asset, and all the assets that this asset depends on, click the Related Assets tab. This tab shows only direct relationships.
For example, a monitor model shows that it requires an event definition, but if that event definition depends on another event definition, the other event definition is not shown. In addition, some relationships, such as Depends On/Is Used By, are only created from one side. If a monitor model depends on a project, you will see a Depends On relationship in the Related Assets tab for the monitor model, but not an Is Used By relationship in the Related Assets tab of the project.
- To add keywords for an asset, click the Tags tab and enter the tags. Your enterprise can come up with their own keywords or tags to use however they like.
- Confirm the assets that you want to add to the asset repository. All of the assets that are referenced by the asset to be added are shown in the tree. You can expand the tree and decide whether to add each of them. If you want the asset to be added to a different community from the project, select the Community field and select a different community. Edit the Name and Short Description fields.
- To categorize the assets, click Next. On the Select Categories page, select the appropriate categories. Repository administrators define these company-wide categories that constitute the primary structure for the assets in the asset repository. To narrow your searches, you can select categories and apply them as search filters.
- To assign the assets to a solution, click Next. On the Solution page, you can create a new solution, or you can update an existing solution with a new version. Combining assets into a solution enables you to relate a collection of project assets.
For example, you might have a WebSphere Business Modeler project that is related to Integration Designer and Business Monitor projects, and choose to keep them together as a solution.
- To review the Summary page, click Next.
- After reviewing the summary, click Finish to add the assets to the asset repository.
Results
You receive a confirmation message that the assets were added successfully, and you are asked whether you want to refresh the Asset Repositories view. The asset repository contains a Business Monitor project that contains the new assets.