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

Feature/add crc to files #394

Merged
merged 3 commits into from
Mar 5, 2021
Merged

Feature/add crc to files #394

merged 3 commits into from
Mar 5, 2021

Conversation

crokita
Copy link
Contributor

@crokita crokita commented Mar 4, 2021

Fixes #392

Risk

This PR makes no API changes.

Testing Plan

  • I have verified that I have not introduced new warnings in this PR (or explain why below)
  • I have verified that this PR passes lint validation
  • I have run the unit tests with this PR
  • I have tested this PR against Core and verified behavior (if applicable, if not applicable, explain why below).

Unit Tests

Add checks for setting the crc parameter for the file manager PutFile RPCs

Summary

The file manager will now set the CRC parameter automatically of SdlFile data structures when attempting to upload files, generating a checksum for bulk file data. Updated the SdlFile descriptions for file data to use Uint8Array instead of String.

Check the tests added for how to test the new functionality.

Copy link
Contributor

@renonick87 renonick87 left a comment

Choose a reason for hiding this comment

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

See feedback for requested changes.

@crokita crokita merged commit 0899941 into develop Mar 5, 2021
@crokita crokita deleted the feature/add-crc-to-files branch March 26, 2021 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CRC checksums not used in File Manager
2 participants