Skip to content

Upgrade to release 3.0.0

Prerequisites

  1. Set all your active generic data access deliveries to PERSISTED.
  2. Stop the i-refactory server.

Upgrading i-refactory metadata model

Follow the generic instructions for upgrading the metadata repository as described in Upgrading the i-refactory repository model in SQLServer.

Warning

New metadata tables which are created during this upgrade will be created in the default filegroup. Make sure the default filegroup is correctly set in your SQLServer session.

This upgrade script will:

  1. Create additional schema's in the i-refactory repository database.
  2. Will add 2 additional properties for each anchor table in the i-refactory repository database:
  3. [acm_physically_removed_ind].
  4. [acm_physically_removed_by].
  5. Will add 2 additional properties for each anchor table in your central facts database:
  6. [acm_physically_removed_ind].
  7. [acm_physically_removed_by].
  8. Will add new tables for the new concepts task_run and task_run_dependency.
  9. Creates an additional index on l_delivery.
  10. Changes the table s_application_properties:
  11. Add column [schema_version].
  12. Add column [supports_schema_version].
  13. Rename column [backend_version] to [application_version].
  14. Changes the table s_base_entity_properties:
  15. Add column [logical_validation_entity_trusted].
  16. Add column [logical_validation_entity_trusted_conclusion].
  17. Changes the table s_delivery_properties:
  18. Add column [logical_validation_delivery_delete_type].
  19. Add column [generic_data_access_delivery_physical_delete_allowed].
  20. Add column [log_cleanup_info].
  21. Changes the table [s_interface_properties]:
  22. Add column [requires_irefactory_application_version].
  23. Add column [created_with_irefactory_modeller_version].
  24. Add column [logical_validation_interface_trusted].
  25. Rename column [metadata_export_version] to [exported_for_irefactory_schema_version].
  26. Alters procedure [acm_uam_datacon].[application#update].
  27. Removes obsolete metadata from the i-refactory repository:
    1. Constraint data for technical staging models.
    2. Constraint data for central facts models.
    3. Constraint data for generic data access models.

The upgrade is executed within a transaction. An error will result in a rollback. Contact i-Refact support in case of unexpected failures.

Upgrade the i-refactory server

  1. Only upgrade if the metadata update in the previous section has been executed succesfully.
  2. Copy the complete folder i-refactory-engine to the appropriate location.
  3. Create a valid certificate for the OAuth2 server. Previously we provided the public and private key. From now on you have the ability to create your own and use it as such.
  4. Change you configuration files as described in Release Notes..
  5. Start the nodeJs server and enter yes when you are requested to update.

Changes applied during startup

During the startup of the i-refactory server the following changes will be applied automatically:

  1. The relevant metadata for the new properties [acm_physically_removed_ind] and [acm_physically_removed_by] is added to the i-refactory metadata repository.
  2. The tables for constraint validation for each logical validation model are re-created. See Release Notes.
  3. The relevant metadata for generic data access models is added to the i-refactory metadata repository.
  4. The views, stored procedures, table valued functions and schema's are regenerated for each of the generic data access models.
  5. The version properties for each of your interface models is updated.