spring-data-mybatis icon indicating copy to clipboard operation
spring-data-mybatis copied to clipboard

Help to migrate project from v1 to v2

Open kopax opened this issue 4 years ago • 3 comments

Hi @easybest , in https://github.com/easybest/spring-data-mybatis/issues/189#issuecomment-687632026 you offered to help migrate an existing app from v1 to v2

To solve your problems more efficiently, you can share your project (part but able to function properly) to me, and I can migrate it from v1 to v2 directly.

If that still work, I am willing to share it privately, how can I send you a tar.gz of my v1 project? Do you have an email?

Thanks a lot for helping me understand how I can achieve the v1 to v2 migration.

kopax avatar Sep 15 '20 13:09 kopax

Hi @kopax , you can share me a private repository in github and I am glad to help you try to migrate your project.

easybest avatar Sep 16 '20 08:09 easybest

Hi @easybest , I just created the sample project I am using on GitHub, I've send you the invitation so you can join the project.

You need to have docker installed for running the databases and running the unit tests. For testing you need to set the test hosts with echo "127.0.0.1 pgsql-test openldap-test api-test.com" | sudo tee -a /etc/hosts

Application module is just for starting up the application, Core and User Management modules are site services, Core Country is a site function of the Core site service. (1 Site Service>N Site Function, N>Site Content). Core and Core Country are just necessary so you can get the User Management service running (they are dependencies).

User Management is having all the logics available in Spring Data My Batis v1 I use accross all my site services. (repository, service, crud controller, before mappers queries and xml mappings)

If you can show me how to migrate this module, this will help me understand how to migrate all the site service to v2. If you think you can migrate this and make it run or if you think you can just migrate without making it run (for example due to other dependency...) let me know how I can help.

kopax avatar Sep 16 '20 13:09 kopax

Hello, I can see some improvement here but no real documentation nor migration guide. Do you think this issue will be added to an Epik one day? How long do need to finalize the module? Thanks!

kopax-polyconseil avatar Aug 22 '21 08:08 kopax-polyconseil