added changes to fix the client run search #7076
Merged
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.
Signed-off-by: Vinay Sharma vsharma@chef.io
π© Description: What code changed, and why?
As an Automate user when I type a node name to search for in the infra runs tab or compliance, it will return only an exact match. In the compliance tab, it's working fine but in the case of client run, it's showing a list of all the nodes.
βοΈ Related Resources
https://chefio.atlassian.net/browse/STALWART-123
https://github.com/chef/customer-bugs/issues/675
π Definition of Done
I have added some changes to the elastic search query to make this search consistent.
π How to Build and Test the Change
to test these changes, you need to add the sample data first
β Checklist
All PRs must tick these:
With occasional exceptions, all PRs from Progress employees must tick these:
make spell
in any component directory)All PRs from Progress employees should tick these if appropriate:
Please add a note next to any checkbox above if you are NOT ticking it.
π· Screenshots, if applicable
Client run search
Compliance search