Consumption Analytics Documentation

Home > Documentation for older versions > Cloud Cruiser 3 > Batch XML Reference > Transform processors > RenameResources


Table of contents
No headers

Converts resourceId values based on a simple lookup table. Resources that do not match a table entry are not affected.


<bean class="com.cloudcruiser.batch.transform.RenameResources">


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


Sets a map of old resourceId to new resourceId used for conversion of certain resourceId values.

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


Sets flag for strict processing mode. When active, a record with no matching resource results in a processing exception. Otherwise, no such checks are performed. The default is false .

Spring Batch XML Example

<batch:step id="transform" next="charge">
  <bean class="com.cloudcruiser.batch.transform.RenameResources">
      <property name="strict" value="false" />
      <property name="nameTable">
          <entry key="5 Mbps" value="port_5Mbps" />
          <entry key="10 Mbps" value="port_10Mbps" />
          <entry key="20 Mbps" value="port_20Mbps" />
          <entry key="40 Mbps" value="port_40Mbps" />
          <entry key="80 Mbps" value="port_80Mbps" />
Last modified


This page has no custom tags.


This page has no classifications.

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