AtlasOfLivingAustralia / data-quality-filter-service

0 stars 2 forks source link

Data Quality Filter - Upgrade to Grails 5 and Gradle 7 #11

Closed sughics closed 1 year ago

sughics commented 1 year ago

Upgrade based in official Grails documentation: https://docs.grails.org/latest/guide/upgrading.html and existing examples other Grails 5 applications in the ALA e.g.BioCollect.

For application logs, logback.groovy file is no longer supported by grails > 5.1.2 and needs to be replaced with logback.xml . The new logback file to be used on a deployed instance also needs to be added to the appropriate location on the ala-install repo.

The location of the logback.xml file also needs to be added to java options - this can be specified in the appropriate file in ansible-inventory. Example from alerts grails 5 upgrade: https://github.com/AtlasOfLivingAustralia/ansible-inventories/blob/5667924725e74707aadd7f0c1dea39cf0fd9048c/alerts/alerts-test#L89

ala-install branch: https://github.com/AtlasOfLivingAustralia/ala-install/compare/master...feature/grails5-updates ansible-inventories branch: https://github.com/AtlasOfLivingAustralia/ansible-inventories/tree/feature/grails5-updates

sughics commented 1 year ago

Implemented in #12
Deployed to data-quality-filter-test using using configs as defined in https://github.com/AtlasOfLivingAustralia/ala-install/tree/feature/cognito-updates and https://github.com/AtlasOfLivingAustralia/ansible-inventories/tree/feature/cognito-updates

Full upgrade documentation for Grails5, Gradle7, Cogntio, and API Gateway usage here.