Commit Graph

143 Commits

Author SHA1 Message Date
aboyko
e906ad9991 Speed up tests execution by removing reconcile debounce 2025-03-13 10:14:20 -04:00
Martin Lippert
358c9ccacc GH-1431: fix broken tests for symbols in bosh editor 2025-02-21 08:30:47 +01:00
aboyko
e3a4d69694 Remove some deprecated classes and deprecated api usages 2024-07-18 11:13:23 -04:00
aboyko
8a740236bc Upgrade boot and rewrite libs 2023-12-21 19:19:59 -05:00
aboyko
4447a2e16c Upgrade LS to Boot 3.1 2023-06-26 13:16:47 -04:00
aboyko
65a8a15649 Boot -> 3, JUnit -> 5, Java -> 17 2022-12-13 17:49:03 -05:00
Martin Lippert
e6438ca02c update spring boot parent version and prepare for JDK 17 compatibility 2022-09-06 12:38:47 +02:00
aboyko
b50db98ce0 Categorize boot problems. Boot 3 reconciling. 2022-08-23 20:19:32 -04:00
Martin Lippert
607781779e added cancel handling to definition requests 2021-02-26 12:16:33 +01:00
Martin Lippert
8238c1dc90 initial re-work of async behavior of language server, looking at the text document service first 2021-02-10 10:51:26 +01:00
Kris De Volder
211bf53123 Make easier to update spring-boot package.json
... with configuration keys for problem severity.
2020-10-05 15:32:52 -07:00
Martin Lippert
edf29d2d93 updated lsp4j to 0.9.0 release 2020-05-08 16:50:09 +02:00
BoykoAlex
bb79221cfe PT #165911996: Switch to LocationLink from Location for definitions 2019-10-15 14:05:35 -04:00
BoykoAlex
0fc1b0a2ca PT #165890357: Polishing 2019-05-10 17:56:06 -04:00
BoykoAlex
d037b41903 PT #165890357: Adopt exploded LS jar for all eclipse LSs 2019-05-10 17:15:11 -04:00
Kris De Volder
087f504691 Revert "PT #165890357: Adopt exploded LS jar for all eclipse LSs"
This reverts commit c29b1043f8.
2019-05-10 12:59:57 -07:00
BoykoAlex
c29b1043f8 PT #165890357: Adopt exploded LS jar for all eclipse LSs 2019-05-10 15:34:53 -04:00
Kris De Volder
ad87ea5615 Fix test failure 2019-05-03 12:51:28 -07:00
Martin Lippert
28c0637395 moved language server system property set call to main method to have that happening as early as possible in the JVM lifetime 2019-05-03 17:43:54 +02:00
Kris De Volder
6a8de04f6a Adopt Spring Boot 2.2 2019-04-02 17:06:09 -07:00
Spring Operator
af8b7f975d URL Cleanup. RMs not on localhost https URL.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://gophercloud.io/docs/ (200) with 1 occurrences could not be migrated:
   ([https](https://gophercloud.io/docs/) result SSLHandshakeException).
* [ ] http://man7.org/linux/man-pages/man7/glob.7.html (200) with 1 occurrences could not be migrated:
   ([https](https://man7.org/linux/man-pages/man7/glob.7.html) result AnnotatedConnectException).
* [ ] http://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastStableBuild/artifact/build/p2-repository/ (200) with 1 occurrences could not be migrated:
   ([https](https://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastStableBuild/artifact/build/p2-repository/) result SSLHandshakeException).

These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://cfapps.io:1000/hello (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1000/hello ([https](https://cfapps.io:1000/hello) result ConnectTimeoutException).
* [ ] http://cfapps.io:1001/hello (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1001/hello ([https](https://cfapps.io:1001/hello) result ConnectTimeoutException).
* [ ] http://cfapps.io:1002/hello (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1002/hello ([https](https://cfapps.io:1002/hello) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/ (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/ ([https](https://cfapps.io:1111/) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/fromEnv/hello-world (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/fromEnv/hello-world ([https](https://cfapps.io:1111/fromEnv/hello-world) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/fromenvironment/hello-world (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/fromenvironment/hello-world ([https](https://cfapps.io:1111/fromenvironment/hello-world) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/fromlaunchconfig/hello-world (ConnectTimeoutException) with 10 occurrences migrated to:
  https://cfapps.io:1111/fromlaunchconfig/hello-world ([https](https://cfapps.io:1111/fromlaunchconfig/hello-world) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/frompropsfile/hello-world (ConnectTimeoutException) with 8 occurrences migrated to:
  https://cfapps.io:1111/frompropsfile/hello-world ([https](https://cfapps.io:1111/frompropsfile/hello-world) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/hello-world (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/hello-world ([https](https://cfapps.io:1111/hello-world) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/inner-class (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/inner-class ([https](https://cfapps.io:1111/inner-class) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/inner-inner-class (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/inner-inner-class ([https](https://cfapps.io:1111/inner-inner-class) result ConnectTimeoutException).
* [ ] http://cfapps.io:1111/mockedpath/hello-world (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:1111/mockedpath/hello-world ([https](https://cfapps.io:1111/mockedpath/hello-world) result ConnectTimeoutException).
* [ ] http://cfapps.io:999/find (ConnectTimeoutException) with 14 occurrences migrated to:
  https://cfapps.io:999/find ([https](https://cfapps.io:999/find) result ConnectTimeoutException).
* [ ] http://cfapps.io:999/goodbye (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:999/goodbye ([https](https://cfapps.io:999/goodbye) result ConnectTimeoutException).
* [ ] http://cfapps.io:999/greetings (ConnectTimeoutException) with 4 occurrences migrated to:
  https://cfapps.io:999/greetings ([https](https://cfapps.io:999/greetings) result ConnectTimeoutException).
* [ ] http://cfapps.io:999/hello (ConnectTimeoutException) with 4 occurrences migrated to:
  https://cfapps.io:999/hello ([https](https://cfapps.io:999/hello) result ConnectTimeoutException).
* [ ] http://cfapps.io:999/mockedpath/greetings (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:999/mockedpath/greetings ([https](https://cfapps.io:999/mockedpath/greetings) result ConnectTimeoutException).
* [ ] http://cfapps.io:999/mockedpath/hello (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cfapps.io:999/mockedpath/hello ([https](https://cfapps.io:999/mockedpath/hello) result ConnectTimeoutException).
* [ ] http://cloud-controller-ng.service.cf.internal:9022 (UnknownHostException) with 1 occurrences migrated to:
  https://cloud-controller-ng.service.cf.internal:9022 ([https](https://cloud-controller-ng.service.cf.internal:9022) result UnknownHostException).
* [ ] http://org.eclipse.ui.intro/execute?command= (UnknownHostException) with 2 occurrences migrated to:
  https://org.eclipse.ui.intro/execute?command= ([https](https://org.eclipse.ui.intro/execute?command=) result UnknownHostException).
* [ ] http://dist.springsource.com/snapshot/TOOLS/sts4-language-server-integrations/nightly (403) with 1 occurrences migrated to:
  https://dist.springsource.com/snapshot/TOOLS/sts4-language-server-integrations/nightly ([https](https://dist.springsource.com/snapshot/TOOLS/sts4-language-server-integrations/nightly) result 403).
* [ ] http://foobar.com/munhings.tar.gz (404) with 1 occurrences migrated to:
  https://foobar.com/munhings.tar.gz ([https](https://foobar.com/munhings.tar.gz) result 404).

These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://dist.springsource.com/snapshot/STS4/nightly-distributions.html with 5 occurrences migrated to:
  https://dist.springsource.com/snapshot/STS4/nightly-distributions.html ([https](https://dist.springsource.com/snapshot/STS4/nightly-distributions.html) result 200).
* [ ] http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html with 1 occurrences migrated to:
  https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html ([https](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) result 200).
* [ ] http://maven.apache.org/xsd/maven-4.0.0.xsd with 2 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* [ ] http://stackoverflow.com with 1 occurrences migrated to:
  https://stackoverflow.com ([https](https://stackoverflow.com) result 200).
* [ ] http://stackoverflow.com/questions/6132529/antlr-parsing-java-properties with 1 occurrences migrated to:
  https://stackoverflow.com/questions/6132529/antlr-parsing-java-properties ([https](https://stackoverflow.com/questions/6132529/antlr-parsing-java-properties) result 200).
* [ ] http://stackoverflow.com/tags/spring-tools-4 with 1 occurrences migrated to:
  https://stackoverflow.com/tags/spring-tools-4 ([https](https://stackoverflow.com/tags/spring-tools-4) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
  https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200).
* [ ] http://www.apple.com/DTDs/PropertyList-1.0.dtd with 7 occurrences migrated to:
  https://www.apple.com/DTDs/PropertyList-1.0.dtd ([https](https://www.apple.com/DTDs/PropertyList-1.0.dtd) result 200).
* [ ] http://www.eclipse.org/legal/epl-v10.html with 64 occurrences migrated to:
  https://www.eclipse.org/legal/epl-v10.html ([https](https://www.eclipse.org/legal/epl-v10.html) result 200).
* [ ] http://www.java.com/en/download/help/error_hotspot.xml with 1 occurrences migrated to:
  https://www.java.com/en/download/help/error_hotspot.xml ([https](https://www.java.com/en/download/help/error_hotspot.xml) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd) result 200).
* [ ] http://www.springframework.org/schema/data/jpa/spring-jpa.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/data/jpa/spring-jpa.xsd ([https](https://www.springframework.org/schema/data/jpa/spring-jpa.xsd) result 200).
* [ ] http://www.springframework.org/schema/tx/spring-tx.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/tx/spring-tx.xsd ([https](https://www.springframework.org/schema/tx/spring-tx.xsd) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).

These URLs were intentionally ignored.

* http://localhost:3000 with 8 occurrences
* http://localhost:8080/greeting with 1 occurrences
* http://localhost:9000 with 6 occurrences
* http://maven.apache.org/POM/4.0.0 with 4 occurrences
* http://www.springframework.org/schema/beans with 4 occurrences
* http://www.springframework.org/schema/context with 2 occurrences
* http://www.springframework.org/schema/data/jpa with 2 occurrences
* http://www.springframework.org/schema/p with 1 occurrences
* http://www.springframework.org/schema/tx with 2 occurrences
* http://www.w3.org/1999/XSL/Transform with 4 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 3 occurrences

Create https URLs for RMs not on local host
2019-03-21 12:02:19 -04:00
Kris De Volder
d86becebe7 http -> https 2019-03-08 15:48:38 -08:00
Kris De Volder
c3d5c19f0c Fix compilation problem in bosh language server 2019-02-12 14:34:51 -08:00
nsingh
4164427d12 PT 162292472 - Disable arrow completions and other LS changes 2018-11-28 16:57:00 -08:00
Kris De Volder
2b987e668a Refactor Bootiful LS
Converted all spring boot ls test to use spring test runner.
2018-10-16 09:48:41 -07:00
Kris De Volder
77edc22c3e Bosh LS no more subclass of SimpleLanguageServer 2018-10-09 16:33:58 -07:00
Kris De Volder
6717306d8f Convert language servers to Boot apps 2018-10-02 15:39:15 -07:00
nsingh
1125337db8 Guard against errors when getting element String value 2018-06-05 16:10:09 -07:00
nsingh
aa2e89f0dd PT 156967558 - Replace ObjectMapper with Gson in Bosh LS 2018-06-05 16:10:09 -07:00
Kris De Volder
052242d46c No getDocumentation().getLeft() directly in test code 2018-04-19 13:59:36 -07:00
nsingh
a90d6c754d Fixed compilation errors due to LSP4J changes 2018-04-19 16:29:52 +02:00
Kris De Volder
1d287b0529 Fixes related config settings now being JsonElement 2018-03-19 11:25:31 -07:00
Kris De Volder
046f16dbf2 Componentized the BootJavaLanguageServer 2018-02-14 16:45:08 -08:00
Kris De Volder
5c19bdefe6 Some steps towards mergin boot-java and boot-properties LS
- Refactor towards more composable LanguageServers
- disable fatjar support on boot-java and boot-properties
2018-02-09 09:49:21 -08:00
Kris De Volder
cc75054281 Attempt to fix log redirection 2017-11-22 13:03:21 -08:00
Kris De Volder
cd2ab7de28 Second attempt to redirect log output to file
First attempt was flawed because some loggers can get instantiated
before sysem property is set.
2017-11-17 15:49:00 -08:00
Kris De Volder
ac1b3ae109 Redirect language server logs to file, for all language servers
This is because vscode/atom clients do not like verbose log output
(JavaScript too slow compared to java?) and drop the connection to
the server.
2017-11-17 15:18:42 -08:00
Kris De Volder
9983f6c8c4 Make language server processes easy to recognize
Set a system property 'sts4.languageserver.name'. This serves as an easy 
marker to recognize language servers.
2017-10-20 15:03:28 -07:00
Kris De Volder
fdfc8d59b7 More detailed message in 'error' CA when bosh cli features are disabled.
The message directs users to consult the readme for information on how
to configure the CLI.
2017-08-16 13:32:59 -07:00
Kris De Volder
733ca50f3e Avoid needless bosh cli execution if target not set 2017-08-16 13:24:23 -07:00
Kris De Volder
9126f5973c Add some debug/info logging 2017-08-16 10:50:35 -07:00
Kris De Volder
b2b7e4cf8d Fix suspected race condition in test code 2017-08-14 10:41:17 -07:00
Kris De Volder
01edae7366 Missing property quickfix now uses snippet generator 2017-08-11 16:42:40 -07:00
Kris De Volder
94fa2cf498 Make snippets fully subsume property completions in bosh editor 2017-08-10 11:53:15 -07:00
Kris De Volder
aedab760d6 Add missing hoverdoc for 'vm_extensions' property 2017-08-09 17:00:07 -07:00
Kris De Volder
da20170797 Bosh Cloudconfig editor: add 'vm_extensions' sub-props to schema 2017-08-09 16:55:44 -07:00
Kris De Volder
6dfd56d67f Cloudconfig editor: verify 'at least one of' constraints in schema 2017-08-09 16:26:47 -07:00
Kris De Volder
ec1dbc5e9f Add disk_types sub-properties to CloudConfig schema 2017-08-09 15:53:40 -07:00
Kris De Volder
e8b1c8658c CloudConfig editor: azs sub-properties added to schema 2017-08-09 15:15:57 -07:00
Kris De Volder
0af54132c9 CloudConfig editor: check / ca for NetworkName references 2017-08-09 14:13:07 -07:00