Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleTable of Contents
Table of Contents
maxLevel3
stylenone
typelist

The Pricefx Stream is a Maven plugin, that allows you to

  • fetch/deploy/delete configurations (metadata) and also data between

file systems and remote partitions with Maven. When the Pricefx Maven plugin has been added to your project/module pom.xml file, you will be able to run goals to fetch, deploy, and delete data.
  • your file system and pricefx partition

  • run processes - like e.g. start a DL, calculate a PL, etc.

Use Case

  • Quick way to set up the partition into certain state (meta + data), which could be used as an initial state for

    • experiments

    • testing of certain scenarios - again and again with the same initial conditions

    • training - create a partition in certain state for students

  • Reset the partition - in case you’re re-using the partition for a use-case, you can quickly reset it to initial state.

    • e.g. for testing of Accelerator deployment

Warning
Do not use the Pricefx Stream Plugin for production environments. Instead, use the pricefx packaging tool.
Note
The Pricefx Maven Plugin should only be used on partitions that you are prepared to completely discard. The plugin includes goals wipes all data from your partition — including tables, quotes, price lists and other documents. Use with caution, and always use version control.

Comparison to other tools

You may find it similar to Studio (or PackagingTool), yet this tool has additional features:

  • can handle most of table types for data upload

  • can also help you to wipe your metadata from the partition, so you can get the partition almost in the state as if it’s a new one.

  • can run processes during deployment

Capabilities

The Pricefx Maven Plugin extends the functionality of the Pricefx Packaging Tool. While the packaging tool is limited to metadata configurations, the maven plugin can fetch/deploy/delete any kind of data. This includes (but is not limited to)

  • Master data

    • Product

    • Customer

    • Product Extensions

    • Customer Extensions

    • Product Competition

    • Bill of Material

    • Pricing Parameters

  • Data Sources

  • Documents

    • Price Lists

    • Quotes

    • Contracts

    • Rebate Agreements

When uploading to a pricefx partition, it is also possible to

  • Run data loads

  • Calculate price lists

Info
The fetch/deploy/delete operations have not been implemented for all types, due to limited demand of these features.
Warning
Do not use the Pricefx Stream Plugin for production environments. Instead, use the pricefx packaging tool.
Note
The Pricefx Maven Plugin should only be used on partitions that you are prepared to completely discard. The plugin includes goals wipes all data from your partition — including tables, quotes, price lists and other documents. Use with caution, and always use version control.

...

Contribute

The source code is available on Pricefx private

...

Setup

To use the maven plugin, you must add the plugin to your maven pom.xml file. The plugin is hosted from the public Pricefx Nexus repository. The plugin requires some properties. Some of these properties can be specified directly within the pom.xml files. See this setup guide for detailed instructions.

But the properties that connects the plugin to your remote Pricefx partition should rather be via a maven build profile. See this setup guide for detailed instructionsGit repository. Pricefx internals can contribute to this project code base.