-
Notifications
You must be signed in to change notification settings - Fork 25
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
Avni-server Java upgrade #813
Comments
For upgradation of Hateoas to new version, which would be needed once we upgrade the springboot version, do refer to following docs: |
Things to sanity test
To Do
Specific code changes to complete
major changes
others
notes
|
…nged date time from joda to javax in User entity. First IT passed - FormElementRepositoryTest
…dundant @transactional from prod code.
Tasks to do:
DoneKeycloak, minio, metadata-connector, PendingGlific-rest-client, External APIs, Query API, etl, integration, media-server/webapp, int-admin-app and rules-server |
…e deploying app_server
…p for first-time
Avni-server JDK upgradation steps to be used for Prerelease and Prod Avni serversSteps to clean up old JDK-To uninstall OpenJDK (if installed). First check which OpenJDK packages are installed.
Steps to install JDK 21In Avni-infra repo, modify the Make command corresponding to the Env, in configure/Makefile as follows:
Trigger Deploy of Avni-server 11.0 branch jar to targeted environment server |
…s only when vars is set
Steps to setup Postgres client 16 on Ubuntu (Reference)Remove old postgres clientsudo apt-get remove -y postgresql-client First, update the package index and install required packages:sudo apt update Add the PostgreSQL 16 repository:sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' Import the repository signing key:curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg Update the package list:sudo apt update Install postgres-16 clientsudo apt-get install -y postgresql-client-16 |
Update avni-server Opts to use jdk21 property namesRefer to commit and do similar change to env-vars file in avni-infra |
|
Need:
OpenJDK 8 is maintained by RedHat. They will support Java 8 until 2026: https://access.redhat.com/articles/1299013
For Java 8, Oracle has announced it is offering ‘Extended Support’ up until December 2030. Extend Support is Oracle’s way of extending the shelf life of Premier beyond its deadline.
For this service, organizations using Oracle Java pay an additional fee: an extra 10% on the existing support fee in year one, an extra 20% in year two, and another 20% in year three, etc.
Analysis:
11, 17, 21 are the 3 Java LTS versions.
AC:
Upgrade server to Java 21 (if this is not possible, developer can decide to upgrade it to a different version) which is the latest LTS version and make sure all features(esp., sync) works as expected.
Out of scope:
ETL and integration-server are in Java 17. Hence they need not be upgraded now.
Sheet to note down issues encountered during Dev/ Review / Testing of Avni-server Java upgrade to version21
https://docs.google.com/spreadsheets/d/1IJMxsy-unLrtBbhqUC9y2YQgQ51YieDCmG_iZHaDqds/edit?usp=sharing
The text was updated successfully, but these errors were encountered: