-
Notifications
You must be signed in to change notification settings - Fork 87
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
Deprecate old getDataSet in v2 LTS, move to zosfiles SDK #1977
Conversation
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
* @deprecated - use @zowe/zos-files-for-zowe-sdk's ZosFilesUtils.getDataSetFromName instead | ||
* Converts the name of a data set to an IDataSet | ||
* @param {string} name - the name in the form USER.DATA.SET | USER.DATA.SET(mem1) | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alongside the deprecation message, should we call the getDataSetFromName
method here?
That way, if there is ever a bug in the method, we can fix in in one place? 😋
I don't think doing this will cause a circular dependency since the CLI package already imports the files sdk 😋
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1977 +/- ##
==========================================
- Coverage 91.04% 91.03% -0.02%
==========================================
Files 636 636
Lines 18712 18713 +1
Branches 3898 3898
==========================================
- Hits 17037 17035 -2
- Misses 1674 1677 +3
Partials 1 1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve after Fernando's comment is addressed.
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
Kudos, SonarCloud Quality Gate passed! |
Release succeeded for the The following packages have been published:
Powered by Octorelease 🚀 |
What It Does
Copies getDataSet to the zosFiles SDK under the new name, and deprecates the original function
How to Test
Review Checklist
I certify that I have:
Additional Comments