Skip to content

Commit

Permalink
Merged changes from main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolf-castelino committed Jan 29, 2025
1 parent 882ac5d commit 1900695
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
20 changes: 20 additions & 0 deletions source/common/config/rush/browser-approved-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@
"name": "@aws-sdk/util-stream-node",
"allowedCategories": [ "production" ]
},
{
"name": "@aws-sdk/xhr-http-handler",
"allowedCategories": [ "production" ]
},
{
"name": "@aws/dea-app",
"allowedCategories": [ "production" ]
Expand Down Expand Up @@ -302,6 +306,14 @@
"name": "@rushstack/ts-command-line",
"allowedCategories": [ "production" ]
},
{
"name": "@smithy/fetch-http-handler",
"allowedCategories": [ "production" ]
},
{
"name": "@smithy/node-http-handler",
"allowedCategories": [ "production" ]
},
{
"name": "@smithy/types",
"allowedCategories": [ "production" ]
Expand Down Expand Up @@ -490,6 +502,10 @@
"name": "generate-password",
"allowedCategories": [ "production" ]
},
{
"name": "http2",
"allowedCategories": [ "production" ]
},
{
"name": "i18next",
"allowedCategories": [ "production" ]
Expand Down Expand Up @@ -558,6 +574,10 @@
"name": "minimist",
"allowedCategories": [ "production" ]
},
{
"name": "net",
"allowedCategories": [ "production" ]
},
{
"name": "next",
"allowedCategories": [ "production", "prototypes" ]
Expand Down
2 changes: 1 addition & 1 deletion source/dea-app/src/storage/datasets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const createCaseFileUpload = async (
ServerSideEncryption: 'aws:kms',
ContentType: caseFile.contentType,
StorageClass: 'INTELLIGENT_TIERING',
ChecksumAlgorithm: ChecksumAlgorithm.SHA256,
// ChecksumAlgorithm: ChecksumAlgorithm.SHA256,
})
);
} catch (error) {
Expand Down
8 changes: 7 additions & 1 deletion source/dea-ui/ui/src/components/upload-files/MBTPUploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,13 @@ export class MyUploader {
const endByte = Math.min(startByte + this.chunkSize, file.size);

const partBlob = file.slice(startByte, endByte);
xhr.send(partBlob);
try {
console.log(' XHR Data :', xhr);

xhr.send(partBlob);
} catch (error) {
this.onErrorFn(error);
}
});
}

Expand Down

0 comments on commit 1900695

Please sign in to comment.