Skip to content
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

Application update #5606

Open
DamnClin opened this issue Mar 12, 2023 · 7 comments
Open

Application update #5606

DamnClin opened this issue Mar 12, 2023 · 7 comments
Assignees
Labels
area: enhancement 🔧 $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ generator: internal $500 https://www.jhipster.tech/bug-bounties/

Comments

@DamnClin
Copy link
Collaborator

We should provide an application update feature to ease migration / updates for existing applications.

I think a good way to tackle that is to have a /update-modules endpoint. This endpoint will basically apply the modules but it will remove some elements.

The parts to remove from each module are to be defined in the final method of the JHipsterModuleResource builder, something like: .factories(dummy::buildModule, dummy::updateDelta) (with the current .factory(...) calling this new method with an empty delta).

The JHipsterModuleUpdateDelta should allow definitions of differences between a "normal" apply and an update, the first 2 things I see are:

With that, we'll then be able to make a new update screen. This screens starts by selecting an existing JHipster Lite project folder. Once done you have a list of applied modules that you can deselect if you want and a button to update the modules.

@pascalgrimaud
Copy link
Member

Clearly an interesting ticket

@pascalgrimaud pascalgrimaud added $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $500 https://www.jhipster.tech/bug-bounties/ labels Mar 12, 2023
@pascalgrimaud
Copy link
Member

@DamnClin : is it a duplicate of #2907 ?

@renanfranca
Copy link
Contributor

Hello @DamnClin,
I am interested in working on that issue. Can I try to implement the WebServices part?

@pascalgrimaud
Copy link
Member

@renanfranca : if you want help, it would be nice to review first the 1st PR. Could you, plz?

@DamnClin
Copy link
Collaborator Author

DamnClin commented Jun 5, 2023

Sorry I want to keep it :) (even if I don't know when I'll be able to work on it...)

@renanfranca
Copy link
Contributor

Sorry I want to keep it :) (even if I don't know when I'll be able to work on it...)

It's all right 😄 👍

@renanfranca
Copy link
Contributor

@renanfranca : if you want help, it would be nice to review first the 1st PR. Could you, plz?

Yes, I can 😃👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: enhancement 🔧 $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ generator: internal $500 https://www.jhipster.tech/bug-bounties/
Projects
None yet
Development

No branches or pull requests

5 participants
@renanfranca @pascalgrimaud @DamnClin and others