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
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,7 @@ class ArtifactHandler(private val project: Project, private val clientAdaptor: G
69
69
when (val result = downloadArtifact(job, TransformationDownloadArtifactType.CLIENT_INSTRUCTIONS)) {
70
70
isDownloadArtifactResult.Success-> {
71
71
if (result.artifact !isCodeModernizerArtifact) return notifyUnableToApplyPatch("")
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/CodeModernizerManager.kt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -264,7 +264,7 @@ class CodeModernizerManager(private val project: Project) : PersistentStateCompo
264
264
265
265
suspendfunresumePollingFromHil() {
266
266
val transformationType =
267
-
if (codeTransformationSession?.sessionContext?.schema!=null) CodeTransformType.SQL_CONVERSIONelseCodeTransformType.LANGUAGE_UPGRADE
267
+
if (codeTransformationSession?.sessionContext?.sqlMetadataZip!=null) CodeTransformType.SQL_CONVERSIONelseCodeTransformType.LANGUAGE_UPGRADE
268
268
val result = handleJobResumedFromHil(managerState.getLatestJobId(), codeTransformationSession asCodeModernizerSession, transformationType)
269
269
postModernizationJob(result)
270
270
}
@@ -348,7 +348,7 @@ class CodeModernizerManager(private val project: Project) : PersistentStateCompo
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/CodeModernizerSession.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -458,8 +458,8 @@ class CodeModernizerSession(
458
458
}
459
459
}
460
460
461
-
// Open the transformation plan detail panel once transformation plan is available
462
-
if (state.transformationPlan !=null&&!isTransformationPlanEditorOpened) {
461
+
// Open the transformation plan detail panel once transformation plan is available (no plan for SQL conversions)
462
+
if (sessionContext.sqlMetadataZip ==null&&state.transformationPlan !=null&&!isTransformationPlanEditorOpened) {
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/panels/managers/BuildProgressSplitterPanelManager.kt
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -43,12 +43,9 @@ class BuildProgressSplitterPanelManager(private val project: Project) :
43
43
val userObject = selectedNode.userObject
44
44
if (userObject isBuildProgressStepTreeItem) {
45
45
if (isValidStepClick(userObject.id) && userObject.transformationStepId !=null) {
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/panels/managers/CodeModernizerBottomWindowPanelManager.kt
+1-10Lines changed: 1 addition & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -217,15 +217,6 @@ class CodeModernizerBottomWindowPanelManager(private val project: Project) : JPa
0 commit comments