PromucFlow_constructor/deploy/docker/fs/opt/appsmith
Anagh Hegde c764d4471b
chore: remove the redirection for mockdb to localhost (#28998)
## Description
This PR fixes the experience of Templates forking in self hosted
instances. And also for to Set up a process to keep the embedded DB up
to date with template db schemas.
We have removed the redirection of mockdb end point used in templates
App when forked in self hosted instance from localhost/internal postgres
db.
This also has a migration which is to make sure that none of existing
apps using the internal postgres does not break due to the removal of
redirection. The migration will make sure that existing self hosted
instances using the posgress db and has a datasource with mockdb end
point will be replaces with localhost.


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

#### Type of change
- Bug fix (non-breaking change which fixes an issue)

## Testing

#### How Has This Been Tested?
- [ ] Manual

#### 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
- [ ] 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/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

---------

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2023-11-24 17:32:09 +05:30
..
templates chore: Fix content-type header on /info 2023-11-24 15:58:03 +05:30
utils chore(deps-dev): bump @babel/traverse from 7.19.4 to 7.23.2 in /deploy/docker/fs/opt/appsmith/utils (#28168) 2023-11-06 16:32:16 +05:30
entrypoint.sh chore: remove the redirection for mockdb to localhost (#28998) 2023-11-24 17:32:09 +05:30
healthcheck.sh chore: Remove RTS Health check in Docker container 2023-10-21 09:58:40 +05:30
init_ssl_cert.sh chore: Run NGINX with readonly root FS support (#27453) 2023-09-27 13:38:47 +05:30
install_docker.sh chore: replaced decommisioned urls with new ones (#27786) 2023-10-05 12:07:18 +05:30
mongodb-fixer.sh chore: Update embedded MongoDB Schema version (#27985) 2023-10-17 06:28:45 +05:30
prepare-image.mjs chore: Run NGINX with readonly root FS support (#27453) 2023-09-27 13:38:47 +05:30
pull_resource.sh chore: Use single COPY command in Dockerfile for constant/static files (#27127) 2023-09-11 08:43:09 +05:30
renew-certificate.sh feat: Support running as a non-root user (#28290) 2023-11-15 11:28:25 +05:30
run-java.sh fix: Get Java from GitHub release artifacts directly (#27862) 2023-10-06 19:38:19 +05:30
run-nginx.sh chore: Run NGINX with readonly root FS support (#27453) 2023-09-27 13:38:47 +05:30
run-postgres.sh fix: Remove explicit stats directory for embedded Postgres 2023-10-17 15:00:12 +05:30
run-starting-page-init.sh chore: Run NGINX with readonly root FS support (#27453) 2023-09-27 13:38:47 +05:30
run-with-env.sh feat: Support running as a non-root user (#28290) 2023-11-15 11:28:25 +05:30
start_app.sh chore: Use single COPY command in Dockerfile for constant/static files (#27127) 2023-09-11 08:43:09 +05:30
starting-page-init.py chore: Run NGINX with readonly root FS support (#27453) 2023-09-27 13:38:47 +05:30
update-and-restart-supervisor.sh chore: Use single COPY command in Dockerfile for constant/static files (#27127) 2023-09-11 08:43:09 +05:30