-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
chore: Move Maps API Key to database #20771
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
…controllers/ce/TenantControllerCE.java
…into chore/maps-key-without-restart
/ok-to-test sha=4dd2da0 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4267650663. |
The following are new failures, please fix them before merging the PRcypress/integration/Regression_TestSuite/ClientSideTests/EmbedSettings/EmbedSettings_spec.js cypress/integration/Regression_TestSuite/ClientSideTests/FormLogin/EnableFormLogin_spec.js cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/RegenerateSSHKey_spec.js cypress/integration/Regression_TestSuite/ClientSideTests/Github/EnableGithub_spec.js cypress/integration/Regression_TestSuite/ClientSideTests/Google/EnableGoogle_spec.js cypress/integration/Regression_TestSuite/ClientSideTests/VisualTests/DatasourcePageLayout_spec.js cypress/integration/Regression_TestSuite/ClientSideTests/VisualTests/WidgetsLayout_spec.js cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_BasicServerSideData_spec.js cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_PropertyPane_spec.js cypress/integration/Regression_TestSuite/UpgradeAppsmith/UpgradeAppsimth_spec.js |
/ok-to-test sha=ddb544c |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4268225450. |
The following are new failures, please fix them before merging the PR
|
/ok-to-test sha=94fc749 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4274357703. |
…o chore/maps-key-without-restart
/ok-to-test |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/5587891428. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5587891428.
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5587891428. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FE changes looks good to me
/build-deploy-preview |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/5594103452. |
Deploy-Preview-URL: https://ce-20771.dp.appsmith.com |
Changing the Maps key crashes frontend. 😭 shot-2023-07-19-04-22-22.mp4 |
/ok-to-test |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/5619645138. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5619645138.
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5619645138. |
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./tenant/current
response, and not/admin/env
.APPSMITH_GOOGLE_MAPS_API_KEY
from/admin/env
response.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 thedocker.env
file. Then we can stop updating thedocker.env
file as well.New
Old