Open
Description
In this task I have to migrate our existing code for Bulk Expression Atlas to our new SpringBoot based project and fix all the broken code that might happen because of Java and Spring Framework version changes.
Steps:
- Copy the necessary source code to our new SpringBoot project
- Fix the dependency issues
- Fix the broken code that might be caused by various version changes of dependencies
- Need to check the correct use of annotations:
- @Inject ----> @Autowired
- @nAmed ----> @controller
- javax package ---> jakarta package, because of Java EE -> Jakarta EE
- Execute all the test of the app
- As we are using Tiles in our current app, it looks like we need an even bigger refactor, unfortunately.
We have to change the view technology and drop JSP and Tiles and replace them with a current view technology, like: ThymeLeaf.- uk.ac.ebi.atlas.configuration.WebConfig
- webapp/WEB-INF ~ 36 files (JSPs and XMLs)
- webapp/resources/html ???
- Copy the relevant source for our docker env creation and execution
- Copy the shell scipts to be able to execute tests and debug the app
- check why
HttpOnlyCookieConfigurator
is never used according to IntelliJ.
Consider to remove the org.jetbrains:annotations library as a dependency if we are only using the https://github.com/NotNull annotation
At the end of this task we should be able to execute successfully all the tests based on this library.