Kris De Volder
243586a8f8
Fix https://www.pivotaltracker.com/story/show/159426287
...
Add remote host name to ssh tunnel config, so that it can
be used to compute correct request mapping links for live
hovers.
2018-08-07 10:06:49 -07:00
BoykoAlex
21e0543730
PT #159307292 : Anonymous inner class bean type wiring
2018-07-31 00:26:02 -04:00
BoykoAlex
eb34b0210f
PT #159307292 : Autowired reports optics, content specific to AST node
2018-07-26 21:25:37 -04:00
Kris De Volder
c1c46a3709
RE-using JMXConnectors as much as possible.
2018-07-13 15:20:17 -07:00
Kris De Volder
10a1e32e29
Moving towards more easy to re-use JMXConnector
...
The "create connector -> do something -> close" pattern
has now been turned into a method. This paves the way
for making management of the connectors smarter
so that, for example, a single connector could be
cached for some time and re-used for more than
one task.
Creating the connector is a slow process especially
for remote apps, so this is a bit of a performance
bottleneck and its a bad idea to create a new
connector for every small request.
2018-07-13 10:00:27 -07:00
Kris De Volder
4b31ac99ee
Better caching proxy using CGlib
...
Allows internal calls to this.getBlah() to also be cached.
2018-07-12 16:06:43 -07:00
Kris De Volder
f29e7e9954
Various cleanups
...
- missing copytight headers
- unused imports
- obsolete comments
- rename some strnage method names
2018-07-12 14:19:56 -07:00
Kris De Volder
57f42c9883
Make remote boot app urls configurable from vscode
2018-07-12 14:13:47 -07:00
Kris De Volder
d81a6a6763
Merge branch 'master' of github.com:spring-projects/sts4
2018-07-11 17:36:24 -07:00
Kris De Volder
a81a54f391
Partially working remote app live hover
...
Uses a single-hard-coded jmx url to connect to remote
and fetch actuator data.
2018-07-11 16:49:52 -07:00
Martin Lippert
d7fc10794c
first cut for strict project matching mode to ensure live hovers are detected and shown only for relevant projects
2018-07-11 16:40:18 +02:00
Kris De Volder
e1c0953f4f
Refactoring: introduce abstract 'SpringBootApp'
...
In preparation for supporting both local and
remote SpringBootApp as sources for live
information via jmx connection.
2018-07-10 11:34:09 -07:00
Martin Lippert
71bebf307a
change detection is now able to re-connect to already stopped application
2018-06-19 09:43:30 +02:00
Martin Lippert
e157343daa
check for existing model before updating it and fixed typo
2018-06-19 09:43:30 +02:00
Martin Lippert
2353b43fa3
first steps towards detecting changes in live running apps across, at the moment across internal restarts via devtools
2018-06-19 09:43:30 +02:00
nsingh
3a8fac4ce1
Don't serialise nulls in Gson in SpringBootApps
2018-05-02 05:33:51 -04:00
nsingh
76b35ab76d
For efficient way to determine actuator domain from JMX
2018-04-24 15:09:37 +02:00
nsingh
ba58b946f3
Use org.slf4j.Logger
2018-04-24 13:44:32 +02:00
nsingh
e02c7e4a1e
Ensure jmx connector is closed after getting domain
2018-04-24 13:36:08 +02:00
nsingh
65667f4264
PT 156072399 - Refactor to support additional JMX MBean domains
2018-04-24 13:31:03 +02:00
nsingh
2a23727bb8
Replace Jackson ObjectMapper with Gson in SpringBootApp
2018-04-24 12:52:12 +02:00
BoykoAlex
d57b4745dd
PT #155293325 : Adopt Boot 2 mappings bean new JSON data
2018-04-05 19:57:39 -04:00
Kris De Volder
c09aef2c44
Reduce verbosity of test run
2018-02-21 14:20:39 -08:00
Kris De Volder
00cdf0aa50
Avoid NPE in autoconfig report parsing
2018-02-19 14:59:53 -08:00
BoykoAlex
e07fb9e4f2
Switch test project from boot 2.0 snapshot to rc1 to stabilize build
2018-02-14 22:21:04 -05:00
Kris De Volder
23f60f5679
Improve error message in failing test case
2018-02-13 15:36:07 -08:00
Kris De Volder
d039b9bd78
Improved error message for failed test
2018-02-09 18:03:01 -08:00
Kris De Volder
aa41817081
Rename Boot1RequestMappingTest class in conformance with renamed target class
2018-01-23 11:42:06 -08:00
Kris De Volder
1b1b64dea5
Support for changed requestmappings actuator format in Boot 2.0
2018-01-23 11:37:33 -08:00
Kris De Volder
f5d7b444ff
Deal better with multiple contexts in live beans model parse for boot 2.0
2018-01-18 10:10:52 -08:00
Kris De Volder
3309f18b50
Fix more breakage caused by changes in boot 2.0 actuator data
2018-01-16 15:27:58 -08:00
Kris De Volder
e700457149
Fix problems caused by changes in actuator endpoints for boot 2.0... AGAIN
2018-01-16 12:14:22 -08:00
Martin Lippert
c102efa838
enable live hovers for inner classes
2017-12-07 21:33:49 +01:00
Kris De Volder
80d80758f6
Reduce log noise from JMX connections for spring boot app polling loop
2017-11-22 10:52:27 -08:00
Kris De Volder
db2569d4d6
Don't show resource if it is the String "null"
2017-11-21 15:22:17 -08:00
Kris De Volder
6f1e80944c
Fix PT-153072942
...
Ignore `$$EnhancerBySpringCGLIB$$` in determining whether a
live bean corresponds to a bean defined in source-code.
2017-11-21 14:20:05 -08:00
Kris De Volder
0727f514bf
Cleanup unused imports
2017-11-20 10:48:19 -08:00
Kris De Volder
cf98184b35
Cleanup some debug output.
2017-11-17 15:03:02 -08:00
nsingh
539afeca3a
PT 152801833 - Added support for negative matches parsing for live
...
conditionals
2017-11-14 22:57:41 -08:00
Kris De Volder
147f2548ae
Fix failing test
2017-11-14 10:29:00 -08:00
Kris De Volder
cb7f0267f9
Try to make workspace symbol provider more 'reactive'
2017-11-03 17:42:47 -07:00
Kris De Volder
546a81c3ce
Merge branch 'master' of github.com:spring-projects/sts4
...
Conflicts:
headless-services/boot-java-language-server/src/main/java/org/springframework/ide/vscode/boot/java/conditionals/ConditionalsLiveHoverProvider.java
2017-11-03 09:59:47 -07:00
Kris De Volder
a70bc1a77f
Add resource info to beans in injection reports
2017-11-03 09:58:06 -07:00
nsingh
a603de011a
Added some docs explaining "positiveMatches" for conditional parsing.
2017-11-02 13:23:42 -07:00
nsingh
d5fcd91148
Refactored live conditionals so that they are parsed via SpringBootApp
...
API
2017-11-02 13:10:30 -07:00
nsingh
46323af577
Renamed to LiveConditional
2017-11-02 13:10:30 -07:00
nsingh
60da97b279
Move conditional to commons
2017-11-02 13:10:30 -07:00
Kris De Volder
443b8ad62f
Cleanup some debug output
2017-11-02 11:56:51 -07:00
Kris De Volder
b51aa262e9
One more tweak to avoid calling startAgent if there's already a local agent.
2017-11-02 11:44:51 -07:00
Kris De Volder
2a51701d41
Rework SpringBootApp cache
2017-11-02 10:46:16 -07:00