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/controller/CodeTransformChatController.kt
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,11 @@ class CodeTransformChatController(
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/model/JobHistoryItem.kt
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/state/CodeModernizerState.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ fun buildState(context: CodeModernizerSessionContext, isJobOngoing: Boolean, job
28
28
lastJobContext.putAll(
29
29
setOf(
30
30
JobDetails.LAST_JOB_ID to jobId.id,
31
-
JobDetails.CONFIGURATION_FILE_PATH to if(context.configurationFile!=null) context.configurationFile!!.path else"",
31
+
JobDetails.CONFIGURATION_FILE_PATH to (context.configurationFile?.path ?: error("No configuration file store in the state")),
32
32
JobDetails.TARGET_JAVA_VERSION to context.targetJavaVersion.description,
33
33
JobDetails.SOURCE_JAVA_VERSION to context.sourceJavaVersion.description,
34
34
JobDetails.CUSTOM_BUILD_COMMAND to context.customBuildCommand
codemodernizer.builderrordialog.description.title=Error occurred when building your project
565
565
codemodernizer.chat.form.user_selection.item.choose_module=Choose a module to transform
566
566
codemodernizer.chat.form.user_selection.item.choose_skip_tests_option=Choose to skip unit tests
567
-
codemodernizer.chat.form.user_selection.item.choose_sql_metadata_file=Okay, I can convert the embedded SQL code for your Oracle to PostgreSQL migration. To get started, upload the zipped metadata file from your schema conversion in AWS DMS. To retrieve the metadata file:\n1. Open your database migration project in the AWS DMS console.\n2. Open the schema conversion and choose **Convert the embedded SQL in your application**.\n3. Choose the link to Amazon S3 console. You can download the metadata file from the {schema-conversion-project}/ directory.
567
+
codemodernizer.chat.form.user_selection.item.choose_sql_metadata_file=Okay, I can convert the embedded SQL code for your Oracle to PostgreSQL transformation. To get started, upload the zipped metadata file from your schema conversion in AWS Data Migration Service (DMS). To retrieve the metadata file:\n1. Open your database migration project in the AWS DMS console.\n2. Open the schema conversion and choose **Convert the embedded SQL in your application**.\n3. Choose the link to Amazon S3 console.\n\nYou can download the metadata file from the {schema-conversion-project}/ directory. For more info, refer to the [documentation](https://docs.aws.amazon.com/dms/latest/userguide/schema-conversion-save-apply.html#schema-conversion-save).
568
568
codemodernizer.chat.form.user_selection.item.choose_target_version=Choose the target code version
codemodernizer.chat.message.absolute_path_detected=I detected {0} potential absolute file path(s) in your {1} file: **{2}**. Absolute file paths might cause issues when I build your code. Any errors will show up in the build log.
@@ -622,7 +622,7 @@ codemodernizer.chat.message.skip_tests=I will build your module using `mvn test`
622
622
codemodernizer.chat.message.skip_tests_form.response=Okay, I will {0} when building your module.
623
623
codemodernizer.chat.message.skip_tests_form.run_tests=Run unit tests
624
624
codemodernizer.chat.message.skip_tests_form.skip=Skip unit tests
625
-
codemodernizer.chat.message.sql_metadata_success=I retrieved the following information from the schema conversion metadata you provided:
625
+
codemodernizer.chat.message.sql_metadata_success=I found the following source database, target database, and host based on the schema conversion metadata you provided:
626
626
codemodernizer.chat.message.sql_module_schema_prompt=To continue, choose the module and schema for this transformation.
627
627
codemodernizer.chat.message.transform_begin=I'm starting to transform your code. It can take 10 to 30 minutes to upgrade your code, depending on the size of your module. To monitor progress, go to the Transformation Hub.
628
628
codemodernizer.chat.message.transform_cancelled_by_user=I cancelled your transformation. If you want to start another transformation, choose **Start a new transformation**.
0 commit comments