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

History count fix #739

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

sabukar-fn
Copy link

@sabukar-fn sabukar-fn commented Sep 19, 2024

Reopening this old PR after addressing changes #500

Resolves this issue #433

During integration testing, it is useful to make rapid search history queries, but unless this flag can be configured we are forced to use the default of waiting 1 minute for the history cache to clear. Instead, during integration test we should always be getting the actual data from the db.

@sabukar-fn sabukar-fn marked this pull request as draft September 19, 2024 21:45
@sabukar-fn sabukar-fn marked this pull request as ready for review September 20, 2024 16:45
@@ -71,6 +71,7 @@ public class AppProperties {
private List<String> supported_resource_types = new ArrayList<>();
private List<Bundle.BundleType> allowed_bundle_types = null;
private Boolean narrative_enabled = true;
private String history_count_mode = "CACHED_ONLY_WITHOUT_OFFSET";
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be bound to HistoryCountModeEnum like in

private EncodingEnum default_encoding = EncodingEnum.JSON;
making it more strongly typed

Copy link
Collaborator

@jkiddo jkiddo left a comment

Choose a reason for hiding this comment

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

The binding to the enum should be strongly typed which would influence this entire PR

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.

3 participants