Martin Lippert
a261770210
housekeeping
2019-02-27 11:38:40 +01:00
Martin Lippert
593db47461
fix problem with logging causing issues for remote jmx apps
2019-02-19 16:16:46 +01:00
nsingh@pivotal.io
eb28cfddc1
Rename live properties parser
2019-02-11 13:54:58 -08:00
nsingh@pivotal.io
cd276ddbc4
PT 163178235 - Add live properties parsing for Boot 2.x
...
Live properties parsing for Boot 2.x was missing and was not appearing
when hovering over @Value properties
2019-02-11 13:35:20 -08:00
Martin Lippert
fd445778b3
changed live hover checks from various classpath and property checks towards JMX bean lookup, and turned the check into parallel checks
2019-02-11 11:32:18 +01:00
Martin Lippert
dad40ae81e
remove hasActuator checks before searching for live hovers
2019-02-08 13:53:29 +01:00
Martin Lippert
d01a3a4abb
avoid long hang on jmx connection problems while checking for non-boot live beans mbean
2019-01-24 10:57:33 +01:00
Martin Lippert
674784f9a2
added missing check for boot apps, since the check for regular spring apps does not work for fat-jar boot apps
2019-01-08 11:50:25 +01:00
Martin Lippert
f0379020bc
initial steps to support live bean hovers for non-boot projects
2019-01-08 11:27:55 +01:00
Kris De Volder
f6b81739f2
More tweaks to jmx related error handling
2018-12-06 11:33:09 -08:00
Kris De Volder
f0bd1f7f37
More tweaks to JMX related exception handling
2018-12-05 15:55:51 -08:00
Kris De Volder
9bdb7f23bd
Catch and ignore more JMX errors for stopped apps
2018-12-05 12:19:19 -08:00
Kris De Volder
b9a625bee0
Suppress another JMX connection error
2018-12-05 11:55:23 -08:00
Kris De Volder
5ff4bc71e0
Supress verbose exception logging for more JMX connection errors
2018-12-05 11:34:47 -08:00
Kris De Volder
212dc74f83
Tolerate missing 'aliases' property in Boot15 bean parser
2018-12-04 15:31:18 -08:00
Kris De Volder
995e60035a
Ignore java.rmi.ConnectException when closing connection
2018-12-04 15:01:11 -08:00
Kris De Volder
484420f68f
Avoid NPE from AbstractSpringBootApp.getPortViaAdmin
2018-12-04 14:45:43 -08:00
Kris De Volder
6528b988d2
Fix boot ls server hang
...
It was caused by a forever blocking call to RMIConnector.close() for
a tunnelled JMX connection to a remote app that is no longer
there (stopped).
2018-11-29 17:21:02 -08:00
BoykoAlex
0e70a34b02
PT #162139447 : Fix live RM actuator data parsing
2018-11-21 17:10:19 -05:00
BoykoAlex
4d51b21281
PT #160495895 : Fix JSON parsing for app with eureka client starter
2018-11-19 17:26:04 -05:00
nsingh
3536ef71f1
Added Boot 1.x and 2.x context path tests
2018-11-13 16:10:09 -08:00
nsingh
41d64d5577
Simplified context path implementation
...
For boot 1.x and 2.x, now iterate through all property sources in the
order read from env. This avoids the need to have special handling for
prioritising the different types of property sources (e.g. command line
args, env vars, app config).
2018-11-09 16:16:20 -08:00
nsingh
a8757a4491
Added some "real" tests for context path
...
Used real actuator env json to test reading context path in priority
order, using both camel case and kebab case.
2018-11-09 16:16:20 -08:00
nsingh
0146a1c4f7
Revert back to separate properties for boot 2.x vs 1.x
2018-11-09 12:20:19 -08:00
nsingh
513c729e71
Added some comments on priority ordering when looking for context path
2018-11-08 17:59:23 -08:00
nsingh
efd29096ec
Fixed minor naming error
2018-11-08 17:57:52 -08:00
nsingh
29e52b38ae
Merge both boot 1.x and 2.x context path properties
2018-11-08 17:44:56 -08:00
nsingh
9179d5d167
PT 161583390 - Read context path from applicationConfig
...
Support for both boot 1.x and 2.x
2018-11-08 17:34:10 -08:00
nsingh
b41cd42741
PT 161583390 - Initial implementation to support context path
...
Added support for context path for boot 1.x and 2.x when property
defined via command line args. Also added some relevant junits for
request mappings with context paths.
2018-11-08 16:10:24 -08:00
BoykoAlex
ffd6c41560
Fix: LS gets stuck with Theia client
2018-10-22 18:16:58 -04:00
Kris De Volder
fa72c26252
Cleanup some junk comments that got accidentally committed.
2018-10-16 12:30:14 -07:00
Kris De Volder
2365f83e20
Fix https://github.com/spring-projects/sts4/issues/80
2018-10-16 12:26:52 -07:00
Kris De Volder
6717306d8f
Convert language servers to Boot apps
2018-10-02 15:39:15 -07:00
Kris De Volder
2173eaceaf
More timeouts needed to avoid blocking live hovers on windows
2018-09-21 11:30:41 -07:00
Kris De Volder
0002646f2c
Attempt at fixinf windows hanging issue again
...
Slightly altered timeout uitility seems to work much better.
2018-09-20 13:35:49 -07:00
Kris De Volder
5b967ccd37
Add timeout to unblock VirtualMachine.getSystemProperties
2018-09-19 15:17:16 -07:00
BoykoAlex
78a97505d1
Missing test input file
2018-09-07 16:42:54 -04:00
BoykoAlex
276eb4d84e
Add unit test for functional RM JMX data
2018-09-07 16:16:47 -04:00
BoykoAlex
68f54e42b5
Do not fail if "requestMappingConditions" is not JSON object
2018-09-07 15:56:51 -04:00
BoykoAlex
3963855d08
Do not crash on WebFlux handler functions data parsing
2018-09-07 15:28:10 -04:00
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
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
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
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
Martin Lippert
ffcee42a0e
experimental optimization to avoid calling potentially slow jmx endpoints too often
2018-08-20 17:11:28 +02:00