-
Notifications
You must be signed in to change notification settings - Fork 86
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
Port etag to master #646
Port etag to master #646
Conversation
- added headers - fix current unit tests for download - update intdex.ts to export new interfaces and types - new interfaces created - update download to use new imperative rest method and return etag if needed - update upload to use new imperative rest method - pass and retreive etag if needed Signed-off-by: Alexandru-Paul Dumitru <alexandru.dumitru@broadcom.com>
fix small bugs in upload Signed-off-by: Alexandru-Paul Dumitru <alexandru.dumitru@broadcom.com>
Signed-off-by: Alexandru-Paul Dumitru <alexandru.dumitru@broadcom.com>
Signed-off-by: Alexandru-Paul Dumitru <alexandru.dumitru@broadcom.com>
Signed-off-by: Alexandru-Paul Dumitru <alexandru.dumitru@broadcom.com>
Signed-off-by: Alexandru-Paul Dumitru <alexandru.dumitru@broadcom.com>
will look at this tomorrow |
Referencing a really cool comment on how someone may test this functionality. |
Signed-off-by: Alexandru-Paul Dumitru <alexandru.dumitru@broadcom.com>
- adding function that generates headers based on options passed and context (buffer, stream, default) Signed-off-by: Alexandru-Paul Dumitru <alexandru.dumitru@broadcom.com>
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.
Outstanding job! 👍
Thanks a lot for deprecating the functions (preventing a breaking change). ✔️
Let a few comments, but no overall impact on the functionality, hence why I'm approving as it is. 😄
packages/zosfiles/__tests__/api/methods/upload/Upload.unit.test.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: zFernand0 <fernando.rijocedeno@broadcom.com>
680aa0b
to
7fb7199
Compare
- split optional params into unit tests - create group of tests for deprecated function Signed-off-by: Alexandru-Paul Dumitru <alexandru.dumitru@broadcom.com>
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
Addressing issue: #596
Taking advantage of: zowe/imperative#348