PromucFlow_constructor/app
Manish Kumar 1d1f01389c
chore: Adding CRUD for Dsconfig (#23138)
## Description

> TL;DR: Separating the DatasourceConfiguration as a new collection to
accommodate for environments

This PR adds services and models for DatasourceConfigurationStorage,
which will now hold the datasourceConfiguration previously held in
Datasource. Additionally, DatasourceConfigurationStorage will also hold
invalids and messages from the datasource. It's indexed on datasourceId
and environmentId.

This PR doesn't change the way Datasource consumes and keeps
datasourceConfiguration. This will be followed by other PR which will
change consumption of datasourceConfiguration into a transitory field
### Changes Made:

- Created DatasourceConfigurationStorage model with datasourceId,
environmentId, datasourceConfiguration, invalids, and messages fields.
- Created DatasourceConfigurationStorageRepository interface and
implementation for managing DatasourceConfigurationStorage in the
database.
- Added DatasourceConfigurationStorageService for performing CRUD
operations on DatasourceConfigurationStorage.
- TODO : Update DatasourceService to use
DatasourceConfigurationStorageService for managing
DatasourceConfigurationStorage.



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

#### Type of change
- Chore (housekeeping or task changes that don't impact user perception)

## Testing

#### How Has This Been Tested?
- [x] Manual
- [ ] Jest
- [ ] Cypress


## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] 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/Test-plan-implementation#speedbreaker-features-to-consider-for-every-change)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans/_edit#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-05-11 21:13:02 +05:30
..
.yarn feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
client ci: Workflow to build client and server builds without running tests (#23234) 2023-05-11 19:51:43 +05:30
rts feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
server chore: Adding CRUD for Dsconfig (#23138) 2023-05-11 21:13:02 +05:30
shared feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
util
.eslintrc.base.json feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
.gitignore feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
.yarnrc.yml feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
package.json feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
yarn.lock feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30