goeh / grails-sequence-generator

Sequence Number Generator for Grails applications
11 stars 9 forks source link

Grails 3 #6

Open luizcantoni opened 8 years ago

luizcantoni commented 8 years ago

Hello @goeh!

Is there any plan to migrate this plugin to Grails 3?

Thanks!

goeh commented 8 years ago

No current plan but I can give it a try after my current project (August 2016 timeframe).

luizcantoni commented 8 years ago

Thanks @goeh.

goeh commented 8 years ago

Status update: I started to migrate the plugin today (August 15). I plan to refactor a little bit but expect to be finished this week.

luizcantoni commented 8 years ago

Good news @goeh! The sequence-generator is a must-have in my projects. Thank you for your effort!

goeh commented 8 years ago

Status update: I made progress but I'm not finished yet. :( I increased the scope and I'm doing multiple sequence-generator plugins at the same time.

The two Grails 3 plugins are just thin wrappers around the Spring Boot versions. This way I can support both plain Spring Boot and Grails 3 plugins. I'm also trying to have only one Grails 3 plugin. It should sense what versions of the Spring Boot starter are on the classpath and use that. Actually, we may not need a Grails plugin at all for the core functionality. Just a Spring Boot starter jar. The Grails 3 plugin just adds UI (.gsp) for managing sequences and number formats.

Both Spring Boot versions are done and works really well. I will work more on this during the weekend. I hope I can release something next week.

mamunsrdr commented 7 years ago

@goeh - any update? I was waiting for this for quite a time.

goeh commented 7 years ago

Future versions of the sequence generator are developed at https://github.com/gr8crm/grails-sequence-generator The basic features are working in the Grails 3 version but I'm not finished with the AST transformations yet. Therefore I have not released it. If you just want to call the sequenceGeneratorService.nextNumber() from code then you can test the current version and see if it works for you. Clone the repository and compile the plugin locally. Thanks for your interest in this plugin. I will try to finish the AST transformations and release it.

mamunsrdr commented 7 years ago

Thanks. For now I'll complie and publish to our dev server repo. Looking forward to your grails 3 plugin release.

bdbogjoe commented 7 years ago

good to see that this nice plugin is still alive, i'm migrating my app to grails3, waiting for this release