Closed sughics closed 1 year ago
DONE - Grails5, Gradle 7 update completed. DONE - Upgraded auth plugins and config to support cognito usage. Implemented in feature/grails5. Deployed to test instance 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
Upgrade based in official Grails documentation: https://docs.grails.org/latest/guide/upgrading.html and existing exmaples 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 e.g. https://github.com/AtlasOfLivingAustralia/ala-install/blob/94952fa7262eca7250bb65bd188b1160abaa72ec/ansible/roles/species-list/tasks/main.yml#L50
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