Migration from 1.4.x to 1.5.x
This guide contains instructions for migration from PowerAuth Enrollment Server version 1.4.x
to version 1.5.0
.
Spring Boot 3
The PowerAuth Enrollment Sever was upgraded to Spring Boot 3, Spring Framework 6, and Hibernate 6. It requires Java 17 or newer.
Remove this property.
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false
Make sure that you use dialect without version.
# spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
# spring.jpa.database-platform=org.hibernate.dialect.OracleDialect
Database Changes
Drop MySQL Support
Since version 1.5.0
, MySQL database is not supported anymore.
Oracle
Operation Template
In the 1.5.0
version, the ES_OPERATION_TEMPLATE
table in the Oracle database had a change in the data type of the MESSAGE
and ATTRIBUTES
columns. They have been altered from BLOB
to CLOB
.
You need to execute the following commands to alter the columns:
ALTER TABLE ES_OPERATION_TEMPLATE MODIFY (MESSAGE CLOB);
ALTER TABLE ES_OPERATION_TEMPLATE MODIFY (ATTRIBUTES CLOB);
API Extensions
Since version 1.5.0
, the API supports new cell types in operation responses. These are:
IMAGE
- Cell with image.ALERT
- Cell with alert banner.AMOUNT_CONVERSION
- Cell with amount conversion between currencies.
See the documentation for attribute details:
Dependencies
PostgreSQL JDBC driver is already included in the WAR file. Oracle JDBC driver remains optional and must be added to your deployment if desired.