Commit Graph

556 Commits

Author SHA1 Message Date
Kris De Volder
a1518c10e5 Make SimpleLanguageSever final 2018-10-10 10:59:21 -07:00
Kris De Volder
77edc22c3e Bosh LS no more subclass of SimpleLanguageServer 2018-10-09 16:33:58 -07:00
Kris De Volder
5ecf55af5f Fix test fails 2018-10-09 12:23:15 -07:00
Kris De Volder
a11505d8c4 Make get rid of concourse ls simpelanguageserver subclassing 2018-10-09 12:18:03 -07:00
Kris De Volder
ba21265b4b Bootified CF Editor tests 2018-10-05 16:09:19 -07:00
Kris De Volder
946fa244e6 Eclipse metadata 2018-10-05 15:47:39 -07:00
Kris De Volder
67066e8e3c Start decomposing CF language server into beans t
Instead of explicitly instantiating a SimpleLanguageServer subclass, let autoconf
create and configure it.
2018-10-04 16:08:46 -07:00
Kris De Volder
b5e0b53170 AutoConfigure simple language server
It is @ConditionalOnMissingBean so actually this doesn't do anything yet
because  all our language servers still create a SimpleLanguageServer
bean manually.
2018-10-04 11:34:22 -07:00
Kris De Volder
45d2daee3c Simplify LanguageServerRunner dependency
It doesn't need to have a 'server factory'. It just needs a server.
2018-10-04 10:44:18 -07:00
Kris De Volder
eda67f8c7c Fix https://www.pivotaltracker.com/story/show/160969280
Read boot properties metadata from project dependencies
2018-10-03 16:35:49 -07:00
Kris De Volder
bbe14f1d6b Standalone server startup disabled by default 2018-10-03 13:02:04 -07:00
Kris De Volder
2a9323ad36 Control 'standalone' launch via spring boot properties 2018-10-03 12:43:11 -07:00
Kris De Volder
502ee0429e Eclipse metadata 2018-10-03 12:39:34 -07:00
Kris De Volder
2a2b7a486a Remove obsolet LoggingFormat
We should now rely on spring boot to configure logging.
2018-10-03 11:06:39 -07:00
Kris De Volder
1f142b50be Turn LanguageServerApp into a CommandLineRunner bean 2018-10-03 10:37:27 -07:00
Kris De Volder
ef2dbb346c Eclipse metadata 2018-10-03 10:35:26 -07:00
Kris De Volder
7425bca837 Eclipse metadata 2018-10-02 16:11:48 -07:00
Kris De Volder
885803bc2c Eclipse metadata 2018-10-02 15:40:47 -07:00
Kris De Volder
6717306d8f Convert language servers to Boot apps 2018-10-02 15:39:15 -07:00
Kris De Volder
c69dded6de Bump version to 1.1.0 2018-09-25 21:12:29 +00: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
Kris De Volder
79d11531c1 Bump version to 1.0.0 2018-09-13 16:47:06 +00:00
nsingh
bf93fafabb PT-160455522: Fix for empty string insertion for ad hoc props 2018-09-12 19:01:46 +02:00
Kris De Volder
9010cdf599 Bump version to 0.7.0 2018-09-07 22:57:01 +00:00
Kris De Volder
40b44d8ad7 Fix race condition in reconciler 2018-09-07 15:23:34 -07:00
BoykoAlex
78a97505d1 Missing test input file 2018-09-07 16:42:54 -04:00
Kris De Volder
dc3bb2c1a5 Merge branch 'master' of github.com:spring-projects/sts4 2018-09-07 13:20:52 -07:00
Kris De Volder
ed27056ea0 Trigger reconcile on classpath changes 2018-09-07 13:19:54 -07: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
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
Martin Lippert
ffcee42a0e experimental optimization to avoid calling potentially slow jmx endpoints too often 2018-08-20 17:11:28 +02: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
374b5f0ad7 CodeLens for boot hints in VSCode 2018-08-16 13:38:40 -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
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