Show profiles data in compliance report #7215
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: Sunanda-Boorla sboorla@progress.com
π© Description: What code changed, and why?
Removed this.isEmpty(data.items) as this was showing profiles data empty and replaced with this.isZero(data.total) to show profiles data in compliance report. Code is modified in order to show complete profiles.
βοΈ Related Resources
https://chefio.atlassian.net/jira/software/c/projects/MADROX/boards/363?modal=detail&selectedIssue=MADROX-227
π Definition of Done
π How to Build and Test the Change
start_all_services
rebuild components/report-manager-service/
rebuild components/compliance-service/
rebuild components/automate-gateway/
rebuild components/automate-cli/
rebuild components/automate-deployment/
rebuild components/automate-ui/
Run scan job and try to see data under nodes and profiles
β 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
Screen.Recording.2022-06-29.at.8.37.58.PM.mov