The Sample connector implements the following policy files in the SOI_HOME\resources\Core\Catalogpolicy directory:
Transforms outbound data from the source format defined in the Sample connector mock domain manager to the USM format. This is the outbound policy file that transforms all objects from the connector as outputs from the get(), create(), and update() methods. The Sample connector outbound policy leverages global policy, which eliminates the need for the connector to handle actions common to all connectors. For more information about global policy and how to use it in outbound policy, see Global Policy.
Transforms inbound data from the USM format to the source format defined in the Sample connector mock domain manager. This is the inbound policy file that transforms all objects stored in CA SOI as inputs to the create(), update(), and delete() methods.
The Sample connector supports both USM and non-USM formats and has a mixture of both entity types in the sample data files. Therefore, the provided connector policy handles entities that require transformation and entities that are already in the USM format and pass through the policy with no further processing required. The test data sets the eventtype property to USM-Entity to indicate that the entity is already in the USM format and does not need transformation.
The Sample connector sample data includes examples of several CI types. These types are covered in the connector policy. The mappings from the Sample connector types to USM types in the Sample connector policy are as follows:
|
Sample Connector Type |
USM Type |
|---|---|
|
System |
ComputerSystem |
|
Windows Server |
BackgroundProcess |
|
Database |
DatabaseInstance |
|
Disk Partition |
File |
|
LAN Interface |
InterfaceCard |
|
Processor |
Processor |
|
Router |
Router |
|
Service |
Service |
The Sample connector supports the native CI types listed in the Sample Connector Type column. However, it supports any USM CI type if the data is in USM format for outbound and inbound operations.
You can use the provided Sample connector policy as a point of reference or the framework from which you create a policy for your custom connector.
|
Copyright © 2013 CA.
All rights reserved.
|
|