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
letmessage=`I was not able to upgrade all dependencies. To resolve it, I will try to find an updated depedency in your local Maven repository. I will need additional information from you to continue.`
'This diff patch covers the set of upgrades for Springboot, JUnit, and PowerMockito frameworks.',
30
+
'Popular Enterprise Specifications and Application Frameworks':
31
+
'This diff patch covers the set of upgrades for Jakarta EE 10, Hibernate 6.2, and Micronaut 3.',
32
+
'HTTP Client Utilities, Apache Commons Utilities, and Web Frameworks':
33
+
'This diff patch covers the set of upgrades for Apache HTTP Client 5, Apache Commons utilities (Collections, IO, Lang, Math), Struts 6.0.',
34
+
'Testing Tools and Frameworks':
35
+
'This diff patch covers the set of upgrades for ArchUnit, Mockito, TestContainers, Cucumber, and additionally, Jenkins plugins and the Maven Wrapper.',
36
+
'Miscellaneous Processing Documentation':
37
+
'This diff patch covers a diverse set of upgrades spanning ORMs, XML processing, API documentation, and more.',
'I am starting to transform your code. It can take 10 to 30 minutes to upgrade your code, depending on the size of your project. To monitor progress, go to the Transformation Hub. If I run into any issues, I might pause the transformation to get input from you on how to proceed.'
452
467
468
+
exportconstuserPatchDescriptionChatMessage=`
469
+
I will be dividing my proposed changes into smaller sections. Here is a description of what each section entails:
470
+
471
+
• Minimal Compatible Library Upgrade to Java 17: This upgrades dependencies to the minimum compatible versions in Java 17. It also includes updated versions of Springboot as well as JUnit and PowerMockito frameworks.
472
+
473
+
• Popular Enterprise Specifications Application Frameworks: This group aims to migrate to the latest versions of popular enterprise specifications and application frameworks like Jakarta EE 10 (the new javax namespace), Hibernate 6.2 (a widely used ORM), and Micronaut 3 (a modern, lightweight full-stack framework).
474
+
475
+
• HTTP Client Utilities Web Frameworks: This section targets upgrades for HTTP client libraries (Apache HTTP Client 5), Apache Commons utilities (Collections, IO, Lang, Math), and web frameworks (Struts 6.0). The goal is to modernize these commonly used libraries and frameworks to their latest versions, ensuring compatibility with Java 17.
476
+
477
+
• Testing Tools Frameworks: This set upgrades targets testing tools and frameworks like ArchUnit, Mockito, TestContainers, and Cucumber. Additionally, it updates build tools like Jenkins plugins and the Maven Wrapper. The goal is to bring the testing ecosystem and build tooling up-to-date with the latest versions and best practices.
478
+
479
+
• Miscellaneous Processing Documentation: This group covers a diverse set of upgrades spanning ORMs (JpaRepository), XML processing (JAXB namespace), application servers (WebSphere to Liberty migration), API documentation (Swagger to SpringDoc/OpenAPI), and utilities (Okio, OkHttp, LaunchDarkly).
480
+
`
481
+
453
482
exportconstuploadingCodeStepMessage='Upload your code'
454
483
455
484
exportconstbuildCodeStepMessage='Build uploaded code in secure build environment'
`Amazon Q applied the changes in diff patch ${currentPatchIndex+1} of ${totalPatchFiles} to your project.`
658
+
exportconstchangesAppliedChatMessage=(
659
+
currentPatchIndex: number,
660
+
totalPatchFiles: number,
661
+
description: string|undefined
662
+
)=>
663
+
description
664
+
? `I applied the changes in diff patch ${currentPatchIndex+1} of ${totalPatchFiles} to your project. ${patchDescriptions[description]} You can make a commit if the diff shows success. If the diff shows partial success, apply and fix the errors, and start a new transformation.`
? `Amazon Q applied the changes in diff patch ${currentPatchIndex+1} of ${totalPatchFiles} to your project.`
674
+
: 'Amazon Q applied the changes to your project.'
634
675
635
676
exportconstnoOpenProjectsFoundChatMessage=`I couldn\'t find a project that I can upgrade. Currently, I support Java 8, Java 11, and Java 17 projects built on Maven. Make sure your project is open in the IDE. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
exportconstskipUnitTestsFormTitle='Choose to skip unit tests'
683
724
725
+
exportconstselectiveTransformationFormTitle='Choose to receive multiple diffs'
726
+
684
727
exportconstskipUnitTestsFormMessage=
685
728
'I will build your project using `mvn clean test` by default. If you would like me to build your project without running unit tests, I will use `mvn clean test-compile`.'
686
729
730
+
exportconstselectiveTransformationFormMessage=
731
+
'Would you like me to produce one diff with all of my proposed changes or divide my proposed changes into smaller sections?'
0 commit comments