Skip to content

What's New in Release 3.2.0

New features summary

Feature Summary
Skipped Row Option With this option the user can choose to use existing data in the set validation for rows that are rejected on basic constraint checks.

Application Changes

Skipped Row Option

In the situation that rows of a delivery are rejected for basic constraints, by default the i-refactory tries to fetch the known data of these rejected rows from previous deliveries. This data is then used to perform set validations on rows in the current delivery that did not get rejected.

With the option includeExistingDataForSkippedRowsInSetValidation this default behavior can be changed for delivies on this interface in the Logical Validation Layer (HSTGIN). If this flag is set to 'NO' the i-refactory will not fetch the data of skipped rows for set validation.

This option can be manipulated on Interface, Delivery Agreement and Delivery. On Interface level this option can be set to 'YES' or 'NO', by default the option is set to 'YES'. This setting will be inherited from Interface to Delivery Agreement and from Delivery Agreement to Delivery. However, on both levels the setting can be overridden.

Delivery Agreements and Delivery's have a computed option, includeExistingDataForSkippedRowsInSetValidationConclusion, that by default will be the same as includeExistingDataForSkippedRowsInSetValidation's value of the corresponding Interface. This option can be overridden per Delivery Agreement by setting includeExistingDataForSkippedRowsInSetValidation on a Delivery Agreement to 'YES' or 'NO' (see table below). For Delivery's it works the same, includeExistingDataForSkippedRowsInSetValidation on the Delivery overrides the Delivery Agreement's setting for that particular Delivery.

The table below shows how includeExistingDataForSkippedRowsInSetValidationConclusion is computed for a Delivery Agreement.

Delivery Agreement value Interface value Delivery Agreement Conclusion
DEFAULT YES YES
DEFAULT NO NO
YES NO YES
NO YES NO

The table below shows how includeExistingDataForSkippedRowsInSetValidationConclusion is computed for a Delivery.

Delivery value Delivery Agreement value Delivery Conclusion
DEFAULT YES YES
DEFAULT NO NO
YES NO YES
NO YES NO

CRUD merge statement support

The transactional write interface on a Generic Data Access Model assumed only simple set based insert, update and delete (throug updates) statements were executed on the writable views. Some unit tests however failed because a SQLServer merge statement in some cases was executed on this API with mixed updates and deletes. Due to the complexity of the generated trigger code we prevented mixed updates and deletes.

In this release we fixed this limitation. You now have the ability to issue updates and (logical/physical) deletes in a single statement.

Rest API

POST Changed

  1. /acmDatadel/deliveryAgreement and /acmDatadel/Delivery

    New properties:

    • includeExistingDataForSkippedRowsInSetValidation: Determines if existing rows (from previous deliveries) should be merged into the dataset for set validation in case a row delivered in the current delivery is skipped due to basic constraint violation. Only relevant for logical implementation models. The value by default will be set to YES if no specific value is provided.

PATCH Changed

  1. /acmDatadef/interface, /acmDatadel/deliveryAgreement and /acmDatadel/Delivery

    New properties:

    • includeExistingDataForSkippedRowsInSetValidation: Determines if existing rows (from previous deliveries) should be merged into the dataset for set validation in case a row delivered in the current delivery is skipped due to basic constraint violation. Only relevant for logical implementation models. The value by default will be set to YES if no specific value is provided.

GET Changed

  1. /acmDatadef/interface and /acmDatadef/deliverableInterface

    New properties:

    • includeExistingDataForSkippedRowsInSetValidation with default value YES. Can be set to YES or NO.
  2. /acmDatadel/deliveryAgreement

    New properties:

    • includeExistingDataForSkippedRowsInSetValidation with default value DEFAULT.
    • includeExistingDataForSkippedRowsInSetValidationConclusion: the final calculated conclusion based on the setting on interface and agreement.
  3. /acmDatadel/Delivery

    New properties:

    • includeExistingDataForSkippedRowsInSetValidation with default value DEFAULT.
    • includeExistingDataForSkippedRowsInSetValidationConclusion: the final calculated conclusion based on the setting on agreement and delivery.

NodeJS

The i-refactory runtime engine runs on NodeJS LTS version 10, 12 and 14.

Upgrade

Upgrade Notes

Bug Fixes

None.