EDSC-3971: Update feature toggles to be string for bamboo vars #1710
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
What is the feature?
The existing feature toggle needs to be a string otherwise it is getting parsed as truthy. We must update the feature toggles to be strings
What is the Solution?
Update those feature toggles to be string values instead of booleans so that the value that bamboo passes can get parsed with the correct logic
What areas of the application does this impact?
ordering for the order feature toggle and all database interactions as this disabled the secondary toolbar
Testing
Set the toggles for the database toggle and set the toggle for cmr-ordering and the database related rendered components in your
override.static.config.json
fileEnsure your database is either deleted or otherwise turned off I did so using:
pg_ctl -D /usr/local/var/postgresql@14 stop
To test colormaps toggle against prod locally use:
C1996881146-POCLOUD
To test cmr-ordering toggle against prod locally use:
C1299783631-LPDAAC_ECS
Attachments
Please include relevant screenshots or files that would be helpful in reviewing and verifying this change.
Checklist