Skip to content
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

[CNFT1-3307] Adds event search feature flags #588

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

adamloup-enquizit
Copy link
Collaborator

Adds configurable feature flags for;

  • NBS6 Events search enabled by default
  • Modernized Investigation search disabled by default
  • Modernized Laboratory Report search disabled by default

All three flags have been enabled for the INT1 environment. These changes can be merged ahead of the modernization-api changes that use these values.

Copy link
Collaborator

@szamfir szamfir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment. Default values may be blank by using "| quote" notation

'--nbs.ui.features.patient.add.extended.enabled={{ (((((.Values).ui).patient).add).extended).enabled | default "false" }}',
'--nbs.ui.settings.smarty.key={{ .Values.ui.smarty.key }}',
'--nbs.ui.settings.analytics.key={{ .Values.ui.analytics.key }}'
'--nbs.ui.features.search.events.enabled={{ ((((.Values).ui).search).events).enabled }}',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be a default value for new and existing inputs that are required in values.yaml (the de facto release values file). Otherwise deployments may break in other environments.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made sure that boolean values have a default so that the service starts as expected. Will look into making blank values for boolean valid in the future

Copy link
Collaborator

@szamfir szamfir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. New optional inputs have defaults and older required values are as before.

@adamloup-enquizit adamloup-enquizit merged commit 68a5750 into main Oct 28, 2024
2 checks passed
@adamloup-enquizit adamloup-enquizit deleted the CNFT1-3307-nbs6-event-search-flag branch October 28, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants