Consumption Analytics Documentation

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


Table of contents
No headers

Converts a series of identifier and/or resource names. This processor may encounter a conflict when renaming members. If this occurs, a new record is created containing all identifiers from the original record that do not belong to the series along with the renamed resource(s) and identifier(s). When strict processing is enabled, a transform exception occurs if a record does not have a resource or identifier matching the given name pattern.

The pattern property takes a regular expression. The expression must contain a single capture group to specify what portion of the original name is the series key. This portion is used to correlate resources and identifiers that belong together and will be removed from the matching names.


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


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

Sets a regular expression for the resource name pattern to be normalized.

<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.CCRecordTransformTasklet">
      <property name="processors">
          <bean class="com.cloudcruiser.batch.transform.NormalizeSeriesNames">
            <property name="active" value="true" />
            <property name="seriesPattern" value="Volume(?:Name|Unit|Size)(_[0-9])" />
Last modified


This page has no custom tags.


This page has no classifications.

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