Consumption Analytics Documentation

Home > Documentation for older versions > Cloud Cruiser 3 > Batch XML Reference > HP collectors > HPIOMeterCollector


Table of contents
No headers

collects historical usage data from an HP Matrix Operating Environment using Matrix OE's infrastructure orchestration (IO) interface for chargeback. Collection content is based on a configuration provided by HPIOMeterFeedConfig .

NOTE: This collector does not provide many of the resource details available when collecting snapshot data using HPIOCollector .


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


<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 .

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

Sets a resource for writing out each document prior to processing to assist with data mapping and debugging. This should not be left active in a production environment.

The resulting file content may need some attention before it is compatible with an XML editor since there will be multiple root nodes. It is recommended to pull out documents of interest into a separate file for inspection using XML tools. Namespace definitions are not included.

Spring Batch XML Example

<batch:step id="collect" next="assemble">
    <bean class="com.cloudcruiser.batch.CCRecordCollectTasklet">
      <property name="active" value="true" />
      <property name="feedName" value="plano" />
      <property name="singleFeedPerDay" value="false" />
      <property name="collector">
        <bean class="com.cloudcruiser.batch.collect.hp.HPIOMeterCollector">
          <property name="dataSourceConfig">
            <bean class="com.cloudcruiser.batch.collect.hp.HPIODataSourceConfig">
              <property name="endpoint" value="" />
              <property name="username" value="{username}" />
              <property name="password" value="{password}" />
          <property name="feedConfig" ref="feedConfig" />
Last modified


This page has no custom tags.


This page has no classifications.

 (c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP