Home > Cloud Cruiser 3 > Setting Up Collection > Native collectors > HP Cloud Service Automation > Identifiers

Identifiers

An identifier is anything in the file you can associate with the resource. Everything in the subscription XML name value pair are identifiers. For example, in this tree view of a snippet of XML that contains ServiceRequest elements, each one of these can be an identifier:

ServiceRequest elements

 

Fixed identifiers

The following are the fixed identifier names that are used in the CC Record files created when running CSA jobs:

Identifier

Description

orgUuid

User ID of the organization

orgName

Name of the organization

orgDisplayName

Organization display name. If the display name is not specified, orgName is also used for the display.

personUuid

Person user ID

personName

Person name

personDisplayName

Person display name. If the display name is not specified, personName is also used for the display.

Mapping identifiers from service instances

In the job file, there could be the following snippet of XML where the XPath expression is looking for a " values " node that is a child of a property node that contains an element " name " with a value of " IPADDRESS ".

<bean class="com.cloudcruiser.batch.collect.XPathOutputMapping">
  <property name="xpathExpression" value="ServiceInstance//componentChild/property[name='IPADDRESS']/values" />
  <property name="outputs">
    <list>
      <bean class="com.cloudcruiser.batch.collect.OutputField">
        <property name="cctype" value="IDENTIFIER" />
        <property name="input" value="value" />
        <property name="label" value="IPAddress" />
        <property name="required" value="true" />
      </bean>
    </list>
  </property>
</bean>

Next is a snippet of XML from the subscription document that contains the IPADDRESS. Here, the job XML finds " name " with a value of " IPADDRESSS " that is " 16.78.122.246 ."

<componentChild>
  <property>
    <id>90cec3a239988db60139b6b2829e026c</id>
    <objectId>90cec3a239988db60139b6b2829e026c</objectId>
    <createdOn>2012‐09‐11T12:58:35.806‐06:00</createdOn>
    <updatedOn>2012‐09‐11T12:58:35.806‐06:00</updatedOn>
    <createdBy>
      <id>6BC7CE65B5F74D08AA29C8FC40616451</id>
      <objectId>6BC7CE65B5F74D08AA29C8FC40616451</objectId>
      <isCriticalSystemObject>true</isCriticalSystemObject>
      <name>ooInboundUser</name>
      <displayName>OO User</displayName>
      <disabled>false</disabled>
    </createdBy>
    <updatedBy>
      <id>6BC7CE65B5F74D08AA29C8FC40616451</id>
      <objectId>6BC7CE65B5F74D08AA29C8FC40616451</objectId>
      <isCriticalSystemObject>true</isCriticalSystemObject>
      <name>ooInboundUser</name>
      <displayName>OO User</displayName>
      <disabled>false</disabled>
    </updatedBy>
    <isCriticalSystemObject>false</isCriticalSystemObject>
    <name>IPADDRESS</name>
    <displayName>IP Address</displayName>
    <valueType>
      <id>90d96588360da0c701360da0efb50054</id>
      <objectId>90d96588360da0c701360da0efb50054</objectId>
      <createdOn>2012‐09‐05T12:27:11.128‐06:00</createdOn>
      <isCriticalSystemObject>true</isCriticalSystemObject>
      <description>String</description>
      <iconUrl>/csa/images/categories/value_type/string.png</iconUrl>
      <name>STRING</name>
      <displayName>String</displayName>
      <disabled>false</disabled>
      <categoryType>
        <id>90d96588360da0c701360da0efa0004e</id>
        <objectId>90d96588360da0c701360da0efa0004e</objectId>
        <isCriticalSystemObject>true</isCriticalSystemObject>
        <name>VALUE_TYPE</name>
        <displayName>Value Type</displayName>
        <extensible>false</extensible>
      </categoryType>
    </valueType>
    <values>
      <id>90cec3a239988db60139b6b2829d026b</id>
      <createdOn>2012‐09‐11T12:58:35.806‐06:00</createdOn>
      <updatedOn>2012‐09‐11T12:58:35.806‐06:00</updatedOn>
      <createdBy>
        <id>6BC7CE65B5F74D08AA29C8FC40616451</id>
        <objectId>6BC7CE65B5F74D08AA29C8FC40616451</objectId>
        <isCriticalSystemObject>true</isCriticalSystemObject>
        <name>ooInboundUser</name>
        <displayName>OO User</displayName>
        <disabled>false</disabled>
      </createdBy>
      <updatedBy>
        <id>6BC7CE65B5F74D08AA29C8FC40616451</id>
        <objectId>6BC7CE65B5F74D08AA29C8FC40616451</objectId>
        <isCriticalSystemObject>true</isCriticalSystemObject>
        <name>ooInboundUser</name>
        <displayName>OO User</displayName>
        <disabled>false</disabled>
      </updatedBy>
      <value>16.78.122.246</value>
    </values>
    <maxOccurs>1</maxOccurs>
    <minOccurs>0</minOccurs>
    <orderIndex>‐1</orderIndex>
    <confidential>false</confidential>
    <encrypted>false</encrypted>
    <consumerReadOnly>false</consumerReadOnly>
    <consumerVisible>true</consumerVisible>
  </property>
</componentChild>
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP