AtlasOfLivingAustralia / dashboard

Atlas Dashboard
https://dashboard.ala.org.au
3 stars 13 forks source link

Dashboard - Upgrade to Grails 5 and Gradle 7 #119

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 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.

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

DONE - Grails5, Gradle 7 update completed. DONE - Upgraded auth plugins and config to support cognito usage. DONE - Added cogntio config ansible repos (Linked below) DONE - Upgrade to API Gateway usage where applicable.

Implemented in #120 Deployed to dashboard-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 Grails7, Gradle7, Cogntio, and API Gateway usage here.

sughics commented 1 year ago

Released 2.5.0 to production