Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpeciesLists- Upgrade to Grails 5 and Gradle 7 #234

Closed
sughics opened this issue Jan 10, 2023 · 5 comments
Closed

SpeciesLists- Upgrade to Grails 5 and Gradle 7 #234

sughics opened this issue Jan 10, 2023 · 5 comments
Assignees
Milestone

Comments

@sughics
Copy link
Contributor

sughics commented Jan 10, 2023

Upgrade based on 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 isno 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 in the ansible repo ala-install and the ansible task to copy it to the server needs to added accordingly.

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: AtlasOfLivingAustralia/ala-install@master...feature/grails5-updates
ansible-inventories branch: https://github.com/AtlasOfLivingAustralia/ansible-inventories/tree/feature/grails5-updates

@sughics sughics self-assigned this Jan 10, 2023
@sughics
Copy link
Contributor Author

sughics commented Jan 10, 2023

Currently being implemented on this branch feature/grails5

@sughics
Copy link
Contributor Author

sughics commented Feb 9, 2023

  • Grails5, Gradle 7 updats completed.
  • Upgraded auth plugins and config to support cognito usage.
  • Pending fixes to namematching plugin (ala-namematching-client-1.7) used throughout the app.

@sughics
Copy link
Contributor Author

sughics commented Mar 15, 2023

TODO - Also investigate Lists timeout and outage issue on currently being reported.

@sughics
Copy link
Contributor Author

sughics commented Apr 11, 2023

  • 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 #244
Deployed to lists-dev 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.

@sat01a sat01a changed the title Upgrade to Grails 5 and Gradle 7 SpeciesLists- Upgrade to Grails 5 and Gradle 7 Apr 11, 2023
@sughics sughics added this to the 4.0.6 milestone Apr 20, 2023
@sughics
Copy link
Contributor Author

sughics commented Jul 7, 2023

Included in release 4.1.0

@sughics sughics closed this as completed Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant