Versions Compared

Key

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

To upgrade WSO2 Governance Registry, the user store database should be upgraded. Note that there are no registry schema changes between versions. This topic provides instructions on how you can upgrade (the data and configurations) from WSO2 GREG 5.0.0 to WSO2 GREG 5.0.1.

...

Info
If you want to migrate your Governance Registry configurations from one instance to another (such as when promoting your instance from test to production) using the same Governance Registry release, see Migrating the Governance Registry.

Prerequisites

To upgrade from a version older than WSO2 G-Reg 5.0.0, start from the doc that was released immediately after your current release and upgrade incrementally.

...

  1. Delete the <G-REG_HOME>/solr/ directory.
  2. Change the name (e.g. lastaccesstime to lastaccesstime_1of the file in the registry which tracks the last access time of indexing the resources, by changing the value of the <lastAccessTimeLocation> property in the <G-REG_HOME>/repositiry/conf/registry.xml file as follows.
    <lastAccessTimeLocation>/_system/local/repository/components/org.wso2.carbon.registry/indexing/lastaccesstime_1</lastAccessTimeLocation>
  3. Restart the G-Reg server and wait for around 30 minutes. This time duration depends on number of resources that are there in the registry.

Recommended checkpoints

The databases should contain the newly added tables, which are namely as follows:

  • UM_DOMAIN

  • UM_SYSTEM_USER

  • UM_SYSTEM_ROLE

  • UM_SYSTEM_USER_ROLE

...