Commit Graph

2113 Commits

Author SHA1 Message Date
Nieraj Singh
5f422bde21 GH-849: Add pre_without_version and build_without_version (#910)
* WIP: bug https://github.com/spring-projects/sts4/issues/849

* GH-849: Add build without version

Co-authored-by: Kris De Volder <kdvolder@vmware.com>
2022-11-30 15:07:05 -08:00
aboyko
61d6d1ded0 Adopt Rewrite Boot 3 upgrade 2022-11-28 17:19:37 -05:00
aboyko
ae09b2e671 Limit Boot patch version upgrade to pom version update only 2022-11-28 12:43:22 -05:00
aboyko
8f3e0f3664 Version validator API independent 2022-11-28 11:08:19 -05:00
aboyko
434cea41e1 Remove generations and their preferences 2022-11-28 09:12:48 -05:00
Martin Lippert
5a07559000 boot version validation logic now works with a list of releases that contain all releases instead of the latest one only 2022-11-27 18:24:50 +01:00
Martin Lippert
e4a2ee7905 cache boot version results from maven central to avoid too many unnecessary requests 2022-11-25 19:14:36 +01:00
aboyko
6541f21d4a lsp4j -> 0.19.0 2022-11-23 20:07:00 -05:00
aboyko
ae0cc6dc11 Remove the generations validation until new REST API 2022-11-23 16:42:05 -05:00
aboyko
b408bb9121 Use Maven Central to determine available spring boot release versions 2022-11-23 16:29:48 -05:00
aboyko
35f4e9899b Remove validation if LS is shutting down 2022-11-23 13:09:15 -05:00
aboyko
a919463ca9 Use SKIP_SOURCE_SET_TYPE_GENERATION flag for parsing to avoid heap spike 2022-11-23 12:49:53 -05:00
aboyko
c76044cf65 JavaSourceSet marker name (main or test) 2022-11-22 22:22:29 -05:00
aboyko
0f6c455589 Adopt the latest Rewrite 2022-11-22 18:31:33 -05:00
aboyko
df0d85cef7 Start Boot LS if classpath of any project has spring 2022-11-22 15:50:53 -05:00
Martin Lippert
6a9969d3ff move workspace symbol request off the main language server message executor and avoid wait for reconcile 2022-11-22 15:00:09 +01:00
Martin Lippert
d5ea550013 add log output when version validation starts on a project 2022-11-22 13:48:54 +01:00
Martin Lippert
4e34407eed run boot version validations in their own executor to avoid blocking the main message thread 2022-11-22 13:37:08 +01:00
Martin Lippert
af37a441ee fix typo 2022-11-22 08:39:15 +01:00
Martin Lippert
eeb60fc432 fix typo 2022-11-21 20:23:28 +01:00
aboyko
dd2f60ad91 Send rewrite commands only to Boot LS. Start Boot LS on menu invocation 2022-11-20 21:51:48 -05:00
aboyko
297edabf46 Merge branch 'main' of https://github.com/spring-projects/sts4 into main 2022-11-20 20:12:54 -05:00
aboyko
ccf3668276 Clear diagnostics if project isn't Boot project anymore 2022-11-20 20:08:29 -05:00
Nieraj Singh
87b2fa1559 Merge branch 'main' of github.com:spring-projects/sts4 2022-11-17 12:15:45 -08:00
Nieraj Singh
9caadd005a Added preferences for minor and patch validation 2022-11-17 12:15:36 -08:00
aboyko
8a83525623 Fix quickfix for boot upgrade not showing up 2022-11-17 14:45:45 -05:00
Martin Lippert
57dc9e8a52 added boot version validations for patch, minor, and major versions as individual markers, but individual preferences not yet done 2022-11-17 19:17:01 +01:00
Martin Lippert
1202827fff polished exact wording for the version validation markers 2022-11-17 14:24:44 +01:00
aboyko
ecbc0c17c4 -> lsp4j 0.18.0 2022-11-16 18:06:24 -05:00
aboyko
45bedb959e Merge branch 'main' of https://github.com/spring-projects/sts4 into main 2022-11-16 17:05:36 -05:00
aboyko
09c62da414 Upgrade to latest patch. CodeAction list rather than single and more
1. CodeAction array rather than single code action expected
2. Support upgrade to the latest patch version
3. Boot version validation async from java sources validation
4. Labels for boot version quick fixes
2022-11-16 17:05:07 -05:00
Nieraj Singh
6165074189 Fixed bug with IGNORE preference for validation 2022-11-16 07:40:46 -08:00
aboyko
ed4eef0e0a Project build data via classpath listener from JDT 2022-11-15 18:52:32 -05:00
Nieraj Singh
6bcaef95eb GH-884: Added preferences for version validation
Adopted existing preferences used for Boot 2, Boot 3, etc..
2022-11-15 07:54:27 -08:00
Nieraj Singh
d4d374952d Merge branch 'main' of github.com:spring-projects/sts4 2022-11-15 00:40:36 -08:00
Nieraj Singh
53466ced30 GH-887 Fix appearing/disappearing validation marker 2022-11-15 00:40:11 -08:00
aboyko
2474dcff9c Test for spring boot upgrade recipe assembly 2022-11-14 19:11:24 -05:00
aboyko
455feb3f11 Draft Spring Boot Upgrade command for version quick fix 2022-11-14 18:19:19 -05:00
Nieraj Singh
84e3f58b94 Initial support for reading from preferences 2022-11-13 15:18:38 -08:00
Nieraj Singh
83d61f1a8f Various changes to version validation
Refactored version validation into separate validators that can each
compute its own severity, enablement and version to upgrade.
This facilitates reading of preferences.
Cleaned up other API.
Finished implementing releases support.
2022-11-13 13:17:35 -08:00
Nieraj Singh
422b14a763 Simplified handling of embedded 2022-11-12 05:10:34 -08:00
Nieraj Singh
db472bf04e Partial implementation of Spring Boot Releases 2022-11-12 03:56:54 -08:00
Nieraj Singh
1a262f2a3f Remove unnecessary spring projects wrapper 2022-11-12 03:01:26 -08:00
aboyko
35f0dd2fd7 Merge branch 'main' of https://github.com/spring-projects/sts4 into main 2022-11-11 17:11:12 -05:00
aboyko
5b5ac912ad Start Boot LS properly when invoking Rewrite Refactorings command 2022-11-11 17:10:32 -05:00
Nieraj Singh
19f02170d4 Merge gradle support for boot version validation 2022-11-11 13:32:09 -08:00
Nieraj Singh
e4ce54e97d Support gradle for boot version validation
Also add check to see if the file exists in the project.
2022-11-11 13:31:50 -08:00
aboyko
7594a743cf Upgrade Recipe wrapper with AddRepository 2022-11-10 13:34:04 -05:00
V Udayani
97286246d5 fix metric name 2022-11-10 11:27:27 -05:00
aboyko
4864c95a86 fetch heap & nonHeap memory metrics together 2022-11-09 14:45:00 -05:00