Home > Cloud Cruiser 3 > Batch XML Reference > HP collectors > HPIOMeterFeedConfig

HPIOMeterFeedConfig

Table of contents
No headers

Data feed configuration for the HPIOMeterCollector .

Class

<bean class=”com.cloudcruiser.batch.collect.hp.HPIOMeterFeedConfig”>

Properties

<property name="dataSourceConfig" value="dataSourceConfig
" />

Sets the connection information necessary to access the API of an HP IO server via HTTP or HTTPS.

<property name="dumpMessages" value="false" />

Sets a flag to enable or disable printing HTTP request and response contents. This is used for debugging.

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

Sets the feed configuration for this collector. The feed configuration defines the IO entity to collect and maps results into CC-Record content.

<property name="printEntityXML" value="false" />

Sets a flag to enable or disable printing API results in XML format. The default is false .

Spring Batch XML Example

<bean class="com.cloudcruiser.batch.CCRecordCollectTasklet">
  <property name="active" value="true" />
  <property name="collector">
    <bean id="vCenterReader" class="com.cloudcruiser.batch.collect.VCenterCollector">     
      <property name="feedName" value="{feedName}" />
      <property name="feedConfig" ref="feedConfig" />
      <property name="dataSourceConfig">
        <bean class="com.cloudcruiser.batch.collect.VCenterDataSourceConfig">
          <property name="endpoint" value="{endpoint}" />
          <property name="user" value="{user}" />
          <property name="password" value="{password}" />
          <property name="keystoreAlias" value="{keystoreAlias}" />
          <property name="keystorePassword" value="{keystorePassword}" />
          <property name="keystoreFile" value="{keystoreFile}" />   
          <property name="cnCheckDisabled" value="false" />                                 
        </bean>
      </property>
    </bean>
  </property>
</bean>
Last modified

Tags

This page has no custom tags.

Classifications

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