Skip to content

Commit 6644486

Browse files
author
David Hasani
committed
text update
1 parent cbd8ad6 commit 6644486

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/constants/CodeTransformChatItems.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ fun buildUserInputSQLConversionMetadataChatContent() = CodeTransformChatMessageC
348348
)
349349

350350
fun buildUserInputCustomDependencyVersionsChatContent() = CodeTransformChatMessageContent(
351-
message = message("codemodernizer.chat.message.custom_dependency_upgrades_prompt"),
351+
message = message("codemodernizer.chat.message.custom_dependency_upgrades_prompt"),
352352
buttons = listOf(
353353
confirmCustomDependencyVersionsButton,
354354
continueTransformationButton,

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/controller/CodeTransformChatController.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ import software.aws.toolkits.jetbrains.services.codemodernizer.model.DownloadArt
103103
import software.aws.toolkits.jetbrains.services.codemodernizer.model.DownloadFailureReason
104104
import software.aws.toolkits.jetbrains.services.codemodernizer.model.EXPLAINABILITY_V1
105105
import software.aws.toolkits.jetbrains.services.codemodernizer.model.IDE
106-
import software.aws.toolkits.jetbrains.services.codemodernizer.model.SELECTIVE_TRANSFORMATION_V2
107106
import software.aws.toolkits.jetbrains.services.codemodernizer.model.InvalidTelemetryReason
108107
import software.aws.toolkits.jetbrains.services.codemodernizer.model.JobId
109108
import software.aws.toolkits.jetbrains.services.codemodernizer.model.MAVEN_BUILD_RUN_UNIT_TESTS
110109
import software.aws.toolkits.jetbrains.services.codemodernizer.model.MAVEN_BUILD_SKIP_UNIT_TESTS
111110
import software.aws.toolkits.jetbrains.services.codemodernizer.model.MavenCopyCommandsResult
112111
import software.aws.toolkits.jetbrains.services.codemodernizer.model.MavenDependencyReportCommandsResult
112+
import software.aws.toolkits.jetbrains.services.codemodernizer.model.SELECTIVE_TRANSFORMATION_V2
113113
import software.aws.toolkits.jetbrains.services.codemodernizer.model.UploadFailureReason
114114
import software.aws.toolkits.jetbrains.services.codemodernizer.model.ValidationResult
115115
import software.aws.toolkits.jetbrains.services.codemodernizer.panels.managers.CodeModernizerBottomWindowPanelManager

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/model/ZipManifest.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ data class ZipManifest(
1212
val customBuildCommand: String = MAVEN_BUILD_RUN_UNIT_TESTS,
1313
val requestedConversions: RequestedConversions? = null, // only used for SQL conversions for now
1414
var dependencyUpgradeConfigFile: String? = null,
15-
// TODO: make sure the below 2 keys don't mess up SQL conversions when present
1615
val noInteractiveMode: Boolean = true,
17-
val compilationsJsonFile: String = COMPILATIONS_JSON_FILE
16+
val compilationsJsonFile: String = COMPILATIONS_JSON_FILE,
1817
)
1918

2019
data class RequestedConversions(

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/utils/CodeTransformApiUtils.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ suspend fun JobId.pollTransformationStatusAndPlan(
123123
delay(sleepDurationMillis)
124124
newPlan = clientAdaptor.getCodeModernizationPlan(this).transformationPlan()
125125
}
126+
// TODO: handle case where PlannerAgent may request mvn dependency:tree; not needed for now
126127
if (hasSeenTransforming && newPlan != null) {
127128
attemptLocalBuild(newPlan, this, project)
128129
}

plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ codemodernizer.chat.message.upload_failed_other=Sorry, I was unable to upload yo
706706
codemodernizer.chat.message.upload_failed_ssl_error=Sorry, I was unable to upload your project. This might have been caused by your IDE not trusting the certificate of your HTTP proxy. Ensure all certificates for your proxy client have been configured in your IDE, and then retry transformation.
707707
codemodernizer.chat.message.upload_failed_url_expired=Sorry, I couldn't upload your project to begin the transformation. The Amazon S3 pre-signed URL used to upload your code expired after 30 minutes. This might have been caused by delays introduced by intermediate services in your network infrastructure.\n\nCheck your network configuration for services that might be causing delays. If the issue persists, you might need to allow list the following Amazon S3 bucket: 'amazonq-code-transformation-us-east-1-c6160f047e0.s3.amazonaws.com'.
708708
codemodernizer.chat.message.validation.check_eligible_modules=Checking for eligible modules...
709-
codemodernizer.chat.message.validation.check_passed=I can upgrade your Java module. To start the transformation, I need some information from you. Choose the module you want to upgrade and the target code version to upgrade to. Then, choose **Confirm**.\n\nIf you do not see the module you want to transform, you might need to configure your project so that I can find it. Go to File and choose Project Structure. In the Projects tab, set the correct project JDK and language level. In the Modules tab, set the correct module JDK and language level.\n\nAfter successfully transforming to Java 17 or 21, an additional transformation is required to upgrade your libraries and dependencies. Choose the same source code version and target code version (for example, 17 to 17) to do this.
709+
codemodernizer.chat.message.validation.check_passed=I can upgrade your Java module. To start the transformation, I need some information from you. Choose the module you want to upgrade and the target code version to upgrade to. Then, choose **Confirm**.\n\nIf you do not see the module you want to transform, you might need to configure your project so that I can find it. Go to File and choose Project Structure. In the Projects tab, set the correct project JDK and language level. In the Modules tab, set the correct module JDK and language level.\n\nAfter successfully transforming to Java 17 or 21, an additional transformation is required to upgrade your libraries and dependencies. Choose the same source code version and target code version (for example, 17 to 17) to do this.\n\nI will perform the transformation based on your project's requests, descriptions, and content. To maintain security, avoid including external, unvetted artifacts in your project repository prior to starting the transformation and always validate transformed code for both functionality and security. By pressing Confirm, you agree to these terms.
710710
codemodernizer.chat.message.validation.error.downgrade_attempt=I can't transform a project from Java 21 to Java 17, but I can upgrade Java 21 code with up-to-date libraries and other dependencies. Try again with a supported language upgrade.
711711
codemodernizer.chat.message.validation.error.invalid_sct=It looks like the .sct file you provided isn't valid. Make sure that you've uploaded the .zip file you retrieved from your schema conversion in AWS DMS.
712712
codemodernizer.chat.message.validation.error.invalid_source_db=I can only convert SQL for migrations from an Oracle source database. The provided .sct file indicates another source database for this migration.

0 commit comments

Comments
 (0)