Pricefx Studio v3 Release Notes
This document summarizes major improvements and changes introduced in Pricefx Studio.Â
Pricefx Studio 3.2 (build 173.1783)
Major Change
- IDEA version 2017.3 or higher is required!
Pricefx Studio 3.1 (build 1631)
Major Change
- IDEA version 2017.2 or higher is required.Â
New Features
- The element duration time is shown in results for each element. Moving mouse over will display a tooltip with detailed information from the "__TRACE__" element. This helps you find potential performance issues already during the development phase.
Two Factor Authentication is now supported. The token needs to be saved in config.groovy by the 'Create new Pricefx logic' dialog.
The 'Create new formula' dialog now supports workflow formulas too.Â
It is now possible to open an element source code by double clicking or by pressing the SPACE key in the element list.
Elements can be copied now.
The element property 'Hide warnings' is now shown and can be edited.
Support of configurators in the formula test has been improved.
The target date parameter has been added to the formula test.
Bug fixes
Element editing always failed (since the last release).
Meta data toolbox didn't get loaded in some cases. Improved error handling (e.g. "No access to command" or no network connection). Errors when loading data from PFX do not cause a complete stop, but display only information that is available.Â
Couldn't edit element's properties if there's only one logic element.
Logic element was deleted even Cancel was chosen.
Valid result of type Map was not parsed and displayed in the Result viewer tree.
Other Improvements
Added various fields validation (element name, date fields).
The Save button moved to the left not to be hidden by the Tool windows.
Pricefx Studio 3.0 (build 1492)
Major Change
The format of logic.json has been slightly changed. It does not include the JSON properties with the value 'null' anymore. This change is backward compatible, so you do not have to do anything. Only after fetching a logic which was stored in GIT you will get a diff which you should commit in order not to get it again.
The attribute ResultGroups for an element is now supported in fetch/deploy and in the editor. If you are using ResultGroups in your logics, you should upgrade to this version straight away.
New Features
- Deploying logic does not perform a dry run anymore, so the deployment should be faster and you do not need api.isSyntacCheck() anymore.
- Metadata inspector will help you list or search the attributes of PFX objects that you use in api.find.
To be prepared for usage of the new pfxpackage tool in the future, the default fetch logic directory has been changed to <project_root>/CalculationLogic for the newly created projects. The existing ones can stay as they are, however it is recommended to migrate them manually – by moving all logics to the CalculationLogic subfolder.
- Added auto-completion for the 'cProcessor' variable (Contract builder).
- You can write automated logic tests that will perform a test run and compare the elements' result values with the ones saved manually after running a test run manually (use the button Save results). You can define the elements whose result values should be used in the comparison. The template of a unit test can generated by typing
pfxtest<enter>
. You will need to add Maven support in your project and add the Maven dependency in the Spock framework in pom.xml. The documentation of the Spock framework is here.
Other Improvements
- The element edit button was removed. Element properties are now displayed in the write mode by default.
- It is possible to add more environments and partitions using the Create Pfx(x) configuration dialog.
- The logic name can be refactored in IDEA. Rename the logic using 'Refactor rename' (SHIFT+F6) and that will adjust uniqueName in logic.json. "Search for references" must be ticked in the dialog though.
- Since the Mojito 3.2.50 release, the test run error will navigate you to the occurrences also for the Groovy library elements. Just click the red icon next to the element name.
- Bug fixes:
- Pricefx Studio crashed when the config file did not exist.
- Font style in the result matrix grid was not applied.
Found an issue in documentation? Write to us.
Â