Home > Cloud Cruiser 3 > Batch XML Reference > Cisco collectors > IACSnapshotFeedConfig

IACSnapshotFeedConfig

Table of contents
No headers

Data feed configuration for the IACSnapshotCollector .

For more information on subscription filters and supported syntax, see the Cisco Service Portal Integration Guide .

Class

<bean class=”com.cloudcruiser.batch.collect.cisco.IACSnapshotFeedConfig”>

Properties

<property name="subscriptionFilter " ref="subscriptionFilter
" />

Sets a filter to collect a subset of active subscriptions. The filter is based on subscription table column names and must conform to the following syntax:

[||] [||]

Up to three filters are supported using relational separators of |AND| or |OR|.

Spring Batch XML Example

<bean id="feedConfig" class="com.cloudcruiser.batch.collect.cisco.IACSnapshotFeedConfig">
  <property name="subscriptionFilter" value="ServiceItemTypeName=Virtual Machine (VM)|OR|ServiceItemTypeName=Virtual Server Snapshot" />
  <property name="outputs">
    <list>
      <bean class="com.cloudcruiser.batch.collect.OutputField">
        <property name="cctype" value="IDENTIFIER" />
        <property name="input" value="serviceItemClassificationName" />
      </bean>
      <bean class="com.cloudcruiser.batch.collect.OutputField">
        <property name="cctype" value="IDENTIFIER" />
        <property name="input" value="serviceItemTypeName" />
      </bean>
      <bean class="com.cloudcruiser.batch.collect.OutputField">
        <property name="cctype" value="IDENTIFIER" />
        <property name="input" value="requisitionID" />
      </bean>
      <bean class="com.cloudcruiser.batch.collect.OutputField">
        <property name="cctype" value="IDENTIFIER" />
        <property name="input" value="customerID" />
      </bean>
      <bean class="com.cloudcruiser.batch.collect.OutputField">
        <property name="cctype" value="IDENTIFIER" />
        <property name="input" value="organizationalUnitID" />
      </bean>
      <bean class="com.cloudcruiser.batch.collect.OutputField">
        <property name="cctype" value="IDENTIFIER" />
        <property name="input" value="customerName" />
      </bean>
      <bean class="com.cloudcruiser.batch.collect.OutputField">
        <property name="cctype" value="IDENTIFIER" />
        <property name="input" value="organizationalUnitName" />
      </bean>
      <bean class="com.cloudcruiser.batch.collect.OutputField">
        <property name="cctype" value="RESOURCE" />
        <property name="labelInput" value="serviceItemTypeName" />
        <property name="value" value="1.0" />
      </bean>
    </list>
  </property>
  <property name="xpathOutputs">
    <list>
      <bean class="com.cloudcruiser.batch.collect.XPathOutputMapping">
        <property name="xpathExpression" value="serviceitem/serviceItemData/serviceItemAttribute[text()]" />
        <property name="accumulateOnly" value="true" />
        <property name="outputs">
          <list>
            <bean class="com.cloudcruiser.batch.collect.OutputField">
              <property name="cctype" value="IDENTIFIER" />
              <property name="labelInput" value="@name" />
              <property name="input" value="/" />
            </bean>
          </list>
        </property>
      </bean>
    </list>
  </property>
</bean>
Last modified

Tags

This page has no custom tags.

Classifications

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