Uploaded image for project: 'Portal'
  1. Portal
  2. PORTAL-516

Review the challenges in software stack upgrade

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • Portal/SDK
    • None
    • Portal Sprint 13, Portal Sprint 14, Portal Sprint 15, Portal Sprint 16

      Upgrade on Portal-SDK app with Angular 7 and Spring-Boot 2.1 (S-B).  

      Review the next challenges to bring the SDK features. Below are some know challenges:

      • Configuration - in SDK this is messily spread across 5 different files that all have to be present.  In S-B 2.1 the best practice seems to be a single application.properties file, and values can be set from a docker-compose file which nicely eliminates the need to unpack and jam in property files from the filesystem.
      • Annotations - I suspect the current annotations for entities, servlets, request listeners etc. are incompatible with the latest S-B.  This includes the annotations for configuration (#1)
      • Hibernate - use a modern version
      • Entities (domain models) - would be nice to use modern annotations
      • Data Access Objects - use Spring-Data generated repositories instead of writing code, getting Session objects, etc
      • String catenation for SQL - absolutely completely leave behind horrid risky stuff like this     
        • List list = session.createQuery("from " + className + Utilities.nvl(filterClause, "")
                                          + ((orderBy != null) ? " order by " + orderBy : "")).list();
          
      • Fusion legacy - much is inherited from this very old skeleton, can it be discarded entirely?  

            Unassigned Unassigned
            talasila talasila
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: