PromucFlow_constructor/app/server/appsmith-server
Abhijeet 87ca206930
feat: Update feature flag after syncing the plan (#26988)
## Description
As a part of 1-click upgrade, some features needs the migrations before
users can start consuming it. As of today this is valid for SSO where
the user sessions should be disabled when the license plan downgrades
where custom SSO is not supported. This PR introduces the required
structure which covers:
- Adding the migration status to be consumed by the client
- Adding a list of feature flags which needs the migration
- A separate class to execute the migrations    

#### PR fixes following issue(s)
Fixes https://github.com/appsmithorg/appsmith-ee/issues/2229

Corresponding EE PR:
https://github.com/appsmithorg/appsmith-ee/pull/2141

#### Type of change
- New feature (non-breaking change which adds functionality)

## Testing
>
#### How Has This Been Tested?
- [x] Manual
- [x] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-09-12 15:37:02 +05:30
..
src feat: Update feature flag after syncing the plan (#26988) 2023-09-12 15:37:02 +05:30
auth-notes Convert the project into a multi-module structure 2019-09-16 11:21:57 +00:00
pom.xml chore: Remove irrelevant exclusion introduced in #27044 (#27051) 2023-09-07 11:39:08 +05:30