PromucFlow_constructor/deploy/docker/scripts
Shrikant Sharat Kandula 3129e88e95
chore: Move Maps API Key to database (#20771)
1. Changing the Maps API Key doesn't need restart anymore.
2. The `isRestartRequired` field in the response of updating env
settings, was being ignored. The client owns the decision of when to
restart (which is correct), so removed this from the server.
3. Write Maps API Key to the database, in the tenant configuration.
4. The Settings page for Maps Ke gets the current value from
`/tenant/current` response, and not `/admin/env`.
5. Removed `APPSMITH_GOOGLE_MAPS_API_KEY` from `/admin/env` response.
6. Tests.

DO NOT MERGE. Please only review/approve. This is expected to break EE
once it goes there, which I intend to solve alongside merging this.

Changing the Maps API Key will update it both in the tenant config in
the database, as well as in the `docker.env` file. This is predominantly
for backwards compatibility, and phased rollout. As part of a separate
PR, we'll have a migration that proactively copies the env variable
value to the database, and comment out the value in the `docker.env`
file. Then we can stop updating the `docker.env` file as well.


## New
![Screenshot 2023-02-25 at 7 30 14
AM](https://user-images.githubusercontent.com/120119/221330216-03800c5b-c775-4584-a39f-cd6374ba049b.png)



## Old
![Screenshot 2023-02-25 at 7 23 05
AM](https://user-images.githubusercontent.com/120119/221329747-5431d668-736d-4b08-b504-f64e4edd436b.png)

---------

Co-authored-by: Ankita Kinger <ankita@appsmith.com>
2023-07-24 13:33:53 +05:30
..
healthcheck.sh Added healthcheck for editor with https (#13947) 2022-05-27 17:05:21 +05:30
init_ssl_cert.sh Work with copied cert files after fat migration (#12182) 2022-03-24 06:04:38 +05:30
install_docker.sh Add appsmithctl command to migrate instance to new server (#9508) 2021-12-17 10:39:20 +05:30
pull_resource.sh Add appsmithctl command to migrate instance to new server (#9508) 2021-12-17 10:39:20 +05:30
renew-certificate.sh Add Helm configMap to update application configuration (#10157) 2022-01-31 13:27:01 +05:30
run-java.sh fix: improve starting page removal script with error handling (#23392) 2023-06-06 18:32:40 +05:30
run-nginx.sh perf: prioritize the main bundle over preloads (v2) (#24374) 2023-06-22 10:58:10 +05:30
run-starting-page-init.sh fix: improve starting page removal script with error handling (#23392) 2023-06-06 18:32:40 +05:30
run-with-env.sh chore: Move Maps API Key to database (#20771) 2023-07-24 13:33:53 +05:30
start_app.sh Add appsmithctl command to migrate instance to new server (#9508) 2021-12-17 10:39:20 +05:30
starting-page-init.py fix: improve starting page removal script with error handling (#23392) 2023-06-06 18:32:40 +05:30
update-and-restart-supervisor.sh Add script to stop/start MongoDB and Redis if changed (#11894) 2022-03-17 17:58:48 +05:30