You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/ArtifactHandler.kt
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/CodeModernizerSession.kt
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -328,12 +328,12 @@ class CodeModernizerSession(
328
328
val createUploadUrlResponse = clientAdaptor.createHilUploadUrl(sha256checksum, jobId = jobId)
329
329
330
330
LOG.info {
331
-
"Uploading zip with checksum $sha256checksum using uploadId: ${
331
+
"Uploading hil artifact with checksum $sha256checksum using uploadId: ${
332
332
createUploadUrlResponse.uploadId()
333
333
} and size ${(payload.length() /1000).toInt()}kB"
334
334
}
335
335
if (isDisposed.get()) {
336
-
throwAlreadyDisposedException("Disposed when about to upload zip to s3")
336
+
throwAlreadyDisposedException("Disposed when about to upload hil artifact to s3")
337
337
}
338
338
val uploadStartTime =Instant.now()
339
339
try {
@@ -373,12 +373,12 @@ class CodeModernizerSession(
373
373
val createUploadUrlResponse = clientAdaptor.createGumbyUploadUrl(sha256checksum)
374
374
375
375
LOG.info {
376
-
"Uploading zip at ${payload.path} with checksum $sha256checksum using uploadId: ${
376
+
"Uploading project artifact at ${payload.path} with checksum $sha256checksum using uploadId: ${
377
377
createUploadUrlResponse.uploadId()
378
378
} and size ${(payload.length() /1000).toInt()}kB"
379
379
}
380
380
if (isDisposed.get()) {
381
-
throwAlreadyDisposedException("Disposed when about to upload zip to s3")
381
+
throwAlreadyDisposedException("Disposed when about to upload project artifact to s3")
382
382
}
383
383
val uploadStartTime =Instant.now()
384
384
try {
@@ -389,7 +389,7 @@ class CodeModernizerSession(
389
389
createUploadUrlResponse.kmsKeyArn().orEmpty(),
390
390
) { shouldStop.get() }
391
391
} catch (e:Exception) {
392
-
val errorMessage ="Unexpected error when uploading artifact to S3: $e"
392
+
val errorMessage ="Unexpected error when uploading project artifact to S3: $e"
393
393
LOG.error { errorMessage }
394
394
// emit this metric here manually since we don't use callApi(), which emits its own metric
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/constants/CodeTransformChatItems.kt
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/Constants.kt
+23-7Lines changed: 23 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,30 @@ const val SERVER_SIDE_ENCRYPTION = "x-amz-server-side-encryption"
0 commit comments