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

V3 Conformance + zos-node-accessor update #155

Merged
merged 18 commits into from
Mar 19, 2024
Merged

V3 Conformance + zos-node-accessor update #155

merged 18 commits into from
Mar 19, 2024

Conversation

zFernand0
Copy link
Member

@zFernand0 zFernand0 commented Mar 4, 2024

What It Does

  • Address most/all breaking changes from imperative and other SDKs
  • Update zos-node-accessor to v2

How to Test

Build and run the plug-in 😋

Review Checklist
I certify that I have:

Additional Comments

More changes to come 😋

Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
@zFernand0 zFernand0 self-assigned this Mar 4, 2024
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
}
if (tempOptions.printAttributes) {
delete tempOptions.printAttributes;
response = TextUtils.prettyJson(tempOptions);

Check warning

Code scanning / CodeQL

Useless assignment to local variable Warning

The value assigned to response here is unused.
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
@codecov-commenter
Copy link

codecov-commenter commented Mar 5, 2024

Codecov Report

Attention: Patch coverage is 83.43558% with 27 lines in your changes are missing coverage. Please review.

❗ No coverage uploaded for pull request base (next@3bc2e29). Click here to learn what that means.

Files Patch % Lines
src/api/CreateDataset.ts 0.00% 10 Missing ⚠️
src/api/UssUtils.ts 81.25% 6 Missing ⚠️
src/api/DataSetUtils.ts 84.61% 4 Missing ⚠️
src/api/CoreUtils.ts 71.42% 2 Missing ⚠️
src/api/FTPConfig.ts 77.77% 2 Missing ⚠️
src/api/JobUtils.ts 94.59% 2 Missing ⚠️
src/api/AbstractTemplatedJCL.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             next     #155   +/-   ##
=======================================
  Coverage        ?   73.36%           
=======================================
  Files           ?       77           
  Lines           ?      976           
  Branches        ?      125           
=======================================
  Hits            ?      716           
  Misses          ?      260           
  Partials        ?        0           

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

@zFernand0 zFernand0 changed the title First round of V3 compatibility changes V3 Conformance + zos-node-accessor update Mar 6, 2024
@zFernand0 zFernand0 requested a review from t1m0thyj March 6, 2024 20:41
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
@zFernand0 zFernand0 marked this pull request as ready for review March 7, 2024 14:09
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
@zFernand0 zFernand0 requested review from tiantn and std4lqi March 7, 2024 20:46
Copy link

@anaxceron anaxceron left a comment

Choose a reason for hiding this comment

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

Your particular changes look pretty good. The rest of the ReadMe should be edited. I left comments.

README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
@zFernand0 zFernand0 marked this pull request as draft March 7, 2024 21:32
Copy link
Member

@gejohnston gejohnston left a comment

Choose a reason for hiding this comment

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

I left one comment that you could investigate. Worst case, leaving function getProfileMeta in the code is probably harmless.

src/api/CoreUtils.ts Outdated Show resolved Hide resolved
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
Copy link

@anaxceron anaxceron left a comment

Choose a reason for hiding this comment

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

great!

Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
traeok
traeok previously requested changes Mar 14, 2024
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.

Thanks for all of your work on this!
I noticed that a couple of the unit tests are failing on Windows - the failures seem related to path formatting. Will approve once addressed.

Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
Copy link

sonarcloud bot commented Mar 16, 2024

Quality Gate Passed Quality Gate passed

Issues
4 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
1.2% Duplication on New Code

See analysis details on SonarCloud

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.

Sorry for the delayed follow-up review 😅
Changes look good, tests are now passing, LGTM 👍

Thanks @zFernand0!

@zFernand0 zFernand0 merged commit 1f5419d into next Mar 19, 2024
18 checks passed
@zFernand0 zFernand0 deleted the prep/next branch March 19, 2024 13:50
Copy link

Release succeeded for the next branch. 🎉

The following packages have been published:

  • npm: @zowe/zos-ftp-for-zowe-cli@3.0.0-next.202403191358

Powered by Octorelease 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Closed
5 participants