Versions Compared

Key

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

...

An example of such changes is reported for MySQL and PostgreSQL (this file is also included in resources of core-upgrader module of the project): the set of SQL statements you need to run vary depending on the DBMS used for internal storage.

 

Change content.xml leaving only new Entitlements

This procedure is high recommended if using PostgreSQL database, but it's good practice to use it for all DBMS.

Change new 1.2.X project content file, located under core/src/main/resources/content.xml, leaving only new Entitlements introduced with 1.2.X version, you can delete (or comment) all other Entitlements, already stored on database.

Below there is the list of Entitlements introduced with 1.2.X version:

  • SCHEMA_LIST
  • ROLE_LIST
  • RESOURCE_LIST
  • CONFIGURATION_EXPORT
  • CONFIGURATION_SET


Enable ContentUpgrader

  • In core/src/main/resources/persistenceContext.xml add (at the end of file) before </beans>:

    Code Block
    languagexml
    <import resource="classpath*:upgradeContext.xml"/>

...