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 remaining references to V1 profiles pt 2 #2249

Merged
merged 7 commits into from
Aug 30, 2024
Merged

Conversation

t1m0thyj
Copy link
Member

What It Does

For the most part this PR just removes stuff that was deprecated in #2239 or previously.

It also updates unit tests for CliUtils module to call getOptValuesForConfig, and makes a few changes to that method which were required for full backwards compatibility.

How to Test

Review Checklist
I certify that I have:

Additional Comments

@t1m0thyj t1m0thyj requested review from janan07 and adam-wolfe August 29, 2024 18:57
Copy link

codecov bot commented Aug 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.26%. Comparing base (dc945c7) to head (937889e).
Report is 10 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #2249      +/-   ##
==========================================
- Coverage   91.30%   91.26%   -0.05%     
==========================================
  Files         632      628       -4     
  Lines       18147    17821     -326     
  Branches     3849     3820      -29     
==========================================
- Hits        16570    16264     -306     
+ Misses       1576     1556      -20     
  Partials        1        1              

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

Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
48.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@awharn
Copy link
Member

awharn commented Aug 29, 2024

The uncovered lines are in TestConstants, which is only used for tests. Not sure why a test file is being marked as not covered by tests.

Copy link
Member

@traeok traeok left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Timothy!

Copy link
Member

@zFernand0 zFernand0 left a comment

Choose a reason for hiding this comment

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

LGTM! 😋

Since we removed the CliProfileManager, we also removed the profileManagerByType from the Zowe Explorer API.

@t1m0thyj t1m0thyj force-pushed the fix/remove-v1-profiles branch from b06f7c5 to 937889e Compare August 30, 2024 17:09
@t1m0thyj t1m0thyj merged commit c97f026 into next Aug 30, 2024
16 of 17 checks passed
@t1m0thyj t1m0thyj deleted the fix/remove-v1-profiles branch August 30, 2024 17:34
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.

4 participants