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

Remove duplicate plex names if multiple CMASs are present #226

Closed
wants to merge 1 commit into from

Conversation

AndrewTwydell
Copy link
Contributor

@AndrewTwydell AndrewTwydell commented Feb 6, 2025

What It Does
Current behaviour lists all CICSplexes returned from CMCI. If you have a multi-CMAS system, you can get multiple records with the same plex name with different cmas names. This results in duplicate plex entries.

This PR removes duplicates from the plex tree if multiple are returned.

Resolves #227

How to Test
Connect to a system with multiple cmas's and list the plexes, and don't see duplicates.

Review Checklist
I certify that I have:

Additional Comments

@codecov-commenter
Copy link

codecov-commenter commented Feb 6, 2025

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 39.89%. Comparing base (f930e66) to head (6f5530b).

Files with missing lines Patch % Lines
packages/vsce/src/utils/profileManagement.ts 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #226      +/-   ##
==========================================
- Coverage   39.91%   39.89%   -0.03%     
==========================================
  Files         147      147              
  Lines        5003     5006       +3     
  Branches      873      872       -1     
==========================================
  Hits         1997     1997              
- Misses       3006     3009       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Andrew Twydell <[email protected]>
@AndrewTwydell AndrewTwydell force-pushed the plex-resource-primary-key branch from edfad75 to 6f5530b Compare February 6, 2025 10:06
@AndrewTwydell AndrewTwydell deleted the plex-resource-primary-key branch February 7, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

Duplicate plexes exist when connecting to a multi-cmas system
2 participants