2948 Commits

Author SHA1 Message Date
BoykoAlex
f8901cf003 PT #160302607: missing test input files 2018-09-05 19:03:55 -04:00
BoykoAlex
19d680bbb7 PT #160302607: WebFlux RMs JMX beans format + NPE for WebFlux symbols 2018-09-05 19:03:20 -04:00
BoykoAlex
df10af0bc6 PT #160188863: Don't crash LS when launched with JRE 2018-08-30 22:22:32 -04:00
nsingh
997e9a0383 Added some comments on why return empty model in cache 2018-08-30 12:40:25 +02:00
nsingh
0ffeac4066 return empty model if JMX not available instead of throwing exception 2018-08-30 12:36:07 +02:00
nsingh
f776fae57d Reverting. We don't want to invoke JMX all the time 2018-08-30 12:34:54 +02:00
nsingh
a682269162 PT 160096886 - Don't throw exception when actuator not available
For example, when application is stopping.
2018-08-30 12:26:18 +02:00
nsingh
e125d1de75 PT-160007578: Check if commands exist before registering in vscode 2018-08-28 16:47:11 +02:00
BoykoAlex
5b94f58fb5 Streamline arrows in boot hint Hovers and CodeLenses 2018-08-24 13:47:25 -04:00
nsingh
0541369c54 Revert back to more... code lens for remaining mappings
But make it unclickable for now due to hover position issues
2018-08-24 13:35:06 +02:00
nsingh
904468c632 Some changes to RM code lenses
Added command for direct navigation to URL in vscode editor.
2018-08-24 09:02:32 +02:00
BoykoAlex
a9e2854a5c PT #159839753: Polish hover content based on CodeLens title 2018-08-23 18:31:18 -04:00
Martin Lippert
5f2133335f avoid multiple calls to getProject and hasActuatorDependency to avoid memory pressure 2018-08-23 16:21:30 +02:00
Martin Lippert
65b20c10ae added fallback for tests that are quickly creating hovers as soon as an individual highlight is there 2018-08-23 13:59:49 +02:00
Martin Lippert
f66d8352f4 changed proxy creation for local apps to subclass proxies to avoid instanceof errors (like in the tests) 2018-08-23 11:24:27 +02:00
Martin Lippert
bff10fa51a added more advanced caching strategy for calculating live hovers after live hover hints already got created 2018-08-23 09:57:28 +02:00
Martin Lippert
88e8e65b45 small refactoring to make API of live hover watchdog a bit cleaner 2018-08-23 09:57:28 +02:00
Kris De Volder
6647b58d9d Disable randomly failing test case (again) 2018-08-22 12:21:07 -07:00
Kris De Volder
81974966c8 Disable randomly failing test case (again) 2018-08-22 12:18:46 -07:00
Kris De Volder
4f73be400a Merge branch 'master' of github.com:spring-projects/sts4 2018-08-22 12:09:56 -07:00
Kris De Volder
0b8d44d75f Make jdt.ls extension more reliable detecting deleted projects 2018-08-22 12:09:34 -07:00
nsingh
a0129c3653 PT 159833130 - Add content, title and command for RM code lenses 2018-08-22 18:34:02 +02:00
Kris De Volder
0d93c7e31e Merge branch 'master' of github.com:spring-projects/sts4 2018-08-21 15:44:13 -07:00
Kris De Volder
2499d8b542 Small change to log message
Shouldn't call getJmxUrl just to log... it has too
much machinery attached to it to just call it frivoulously
(i.e. this is not just a field, but does a bunch of VM connecting
etc.)
2018-08-21 15:42:54 -07:00
BoykoAlex
515d2887c7 Not committed with previous commit 2018-08-21 18:33:08 -04:00
BoykoAlex
a4734b8029 PT #159866173: Add autowired beans for @Bean hover and codelens 2018-08-21 16:58:50 -04:00
Kris De Volder
01a15ec0ba Merge branch 'master' of github.com:spring-projects/sts4 2018-08-21 12:03:47 -07:00
Kris De Volder
8ef2e19fdf Add support for values of type java.time.Duration...
So that both application.properties and application.yml

- recognize/treat these as atomic values
- can recognize 'garbage' values during reconcile and give a error.
2018-08-21 12:01:37 -07:00
BoykoAlex
b5f9c3e505 PT #159915886: Match more than one bean for collections 2018-08-21 12:54:32 -04:00
BoykoAlex
f8677b440a PT #159445379: @Autowired for Collection and sub-types 2018-08-20 21:32:05 -04:00
Kris De Volder
7ef56430d1 Merge branch 'master' of github.com:spring-projects/sts4 2018-08-20 14:55:35 -07:00
Kris De Volder
ac32e27f44 Add minimal description to ad-hoc properties 2018-08-20 14:55:14 -07:00
BoykoAlex
42a308d9c8 PT #159444911: Addition - id matching, type verification 2018-08-20 17:15:25 -04:00
BoykoAlex
292bbb88c5 PT #159444911: Support for @Autowired + @Qualifier 2018-08-20 13:47:33 -04:00
Martin Lippert
ffcee42a0e experimental optimization to avoid calling potentially slow jmx endpoints too often 2018-08-20 17:11:28 +02:00
BoykoAlex
02f17d2b0a PT #159465021: Unmatched bean for boot hints 2018-08-17 19:52:06 -04:00
Kris De Volder
2c6dd39a33 Resource links for remote apps
Fixed by adding a special case that detects the
special path prefix '/home/vcap/app' and treats
resources in that path the same as classpath
resources.
2018-08-17 12:46:18 -07:00
BoykoAlex
d1e960f3fa Adjustments for CodeLens for boot hints 2018-08-17 13:12:20 -04:00
BoykoAlex
638dcfa994 PT #159794215: Show wired beans for TypeDeclaration annotations hovers 2018-08-16 18:23:58 -04:00
BoykoAlex
374b5f0ad7 CodeLens for boot hints in VSCode 2018-08-16 13:38:40 -04:00
BoykoAlex
2ed494a7aa PT #159353267: Ensure line break is between RMs and process in the hover 2018-08-15 00:38:32 -04:00
Martin Lippert
4aaaf8bae6 switched to commons-codec for easier and better md5 checksum generation 2018-08-14 18:17:34 +02:00
Martin Lippert
c8554089bc fixed a NPE when the resource of a changed bean is not defined 2018-08-14 18:17:10 +02:00
Martin Lippert
34a1168b75 avoid json object creation and live beans model parsing if raw data is unchanged 2018-08-14 10:41:23 +02:00
Kris De Volder
869c0b2516 Bump version to 0.6.0 2018-08-13 21:13:24 +00:00
BoykoAlex
ddd31e3e2d PT #159690556: Dispose JMX connection (proper fix) 2018-08-10 13:59:02 -04:00
BoykoAlex
4c5e77e682 PT #159690556: Dispose boot app handle if failed to connect to VM
descriptor
2018-08-10 13:26:22 -04:00
Martin Lippert
c953ff93c1 generated lambda types are now being removed from live bean type to improve bean change detection mechanism 2018-08-10 15:40:00 +02:00
Martin Lippert
72fe640c9f avoid NPE case when type binding get be resolved for request mapping methods 2018-08-10 13:54:53 +02:00
Kris De Volder
a42340c593 Fix JMX related resource leak
JMX connections on language server not closed when stopping
the last/only tunneled boot dash app.
2018-08-09 13:58:48 -07:00