Commit Graph

342 Commits

Author SHA1 Message Date
Martin Lippert
df802f4791 trigger initial type search when first xml doc for project opens to avoid first type content-assist to take too long to show up results 2019-04-24 13:42:47 +02:00
Martin Lippert
27fcf9787a fix NPE in case the bean type cannot be found 2019-04-24 11:56:18 +02:00
BoykoAlex
197b9549cf PT #165432307: Properly set insertion format for document edits 2019-04-17 17:46:01 -04:00
BoykoAlex
bfca34e77d PT #165285833: XML beans for VScode, Theia and Atom 2019-04-16 22:47:28 -04:00
Kris De Volder
3010ab046d Merge pull request #277 from spring-projects/keepchecking-manual-jmx
Keepchecking manual jmx
2019-04-16 13:04:29 -07:00
Kris De Volder
1dcde6ea3d Server-side support for 'keepChecking' attribute...
in remote spring boot apps.

Note: this change is supposed to be paired with changes in
boot dash code to transmit the setting as well.
2019-04-16 12:56:46 -07:00
Martin Lippert
3a5f77f8e0 adapted webflux router symbol test to new bean symbol addon information 2019-04-16 12:10:40 +02:00
Martin Lippert
fe65fb9b58 early steps towards content-assist for bean references in Spring XML config files 2019-04-16 10:48:37 +02:00
Martin Lippert
803ec42fd7 initial steps to keep checking manual configs on demand 2019-04-16 09:08:15 +02:00
Martin Lippert
ca88c6de4e added content-assist proposal computer for property names in Spring XML config files 2019-04-12 16:39:09 +02:00
Martin Lippert
fdf7af6410 avoid pre-sorting, since the proposals will be sorted by score anyway, and added enum for completion kind handling 2019-04-11 16:06:53 +02:00
Kris De Volder
67f87d7d86 Merge branch 'boot-2.2.0' 2019-04-10 10:18:52 -07:00
Martin Lippert
350560b850 improved XML bean class content assist for improved matching, sorting, and performance 2019-04-10 13:42:51 +02:00
Martin Lippert
0c6b69c828 extract inner classes from content-assist proposals and sort proposals by length 2019-04-09 11:43:48 +02:00
Martin Lippert
4847fbee50 display package name in XML java type content assist 2019-04-09 10:10:15 +02:00
Martin Lippert
1281abbf92 first steps towards auto completion for bean class attribute in spring XML config files 2019-04-08 16:05:38 +02:00
Martin Lippert
e2e21c524f switch to nio API only for checking modification dates of files 2019-04-05 22:01:56 +02:00
Martin Lippert
4d6d659d98 initial steps towards content-assist for simple XML config files, but still far away from a first working version 2019-04-05 16:32:24 +02:00
BoykoAlex
3dd1c2dfd0 PT #164943593: XML bean scanning exclude output folders and pom 2019-04-02 21:58:58 -04:00
Kris De Volder
6a8de04f6a Adopt Spring Boot 2.2 2019-04-02 17:06:09 -07:00
Kris De Volder
4eeb52380a Some cleanups to slf4j logging code 2019-04-02 10:04:04 -07:00
Martin Lippert
782dd185ab added additional debug output 2019-04-02 14:57:51 +02:00
Kris De Volder
4ed167aaae Add some test for '//' workspace symbols
Fix a small bug in the process too (the case without paths).
2019-04-01 16:16:30 -07:00
Kris De Volder
cd9bda2a42 Small cleanups
Some minor warnings / deprecation fixes.
2019-04-01 14:06:07 -07:00
Kris De Volder
dc5b47d9ed Revert "add symbol disc cache back to running tests"
This reverts commit 2321ce4128.
2019-04-01 09:44:40 -07:00
Kris De Volder
1321f59e53 Disable expensive logging of number of source attachements 2019-04-01 09:11:12 -07:00
Martin Lippert
06ee2d03a1 now feeding parser with source path from classpath data 2019-04-01 10:33:05 +02:00
Martin Lippert
96191a48ca added debug output to project classpath entries in symbol indexer 2019-03-31 17:51:09 +02:00
Martin Lippert
940b726db4 added debug output to webflux code lens provider 2019-03-31 17:13:26 +02:00
Martin Lippert
2321ce4128 add symbol disc cache back to running tests 2019-03-31 17:13:05 +02:00
Martin Lippert
22e58cfe2b fix another NPE in webflux routing analysis 2019-03-31 11:21:58 +02:00
Martin Lippert
35c0898281 fix another NPE in webflux routing analysis 2019-03-31 08:44:25 +02:00
Martin Lippert
3e38642c0d fix another NPE in webflux routing analysis 2019-03-31 08:34:03 +02:00
Martin Lippert
19db26aca2 fix another NPE in webflux routing analysis 2019-03-30 17:55:14 +01:00
Martin Lippert
840a05c9a1 fix NPE in webflux routing analysis 2019-03-30 17:45:17 +01:00
Martin Lippert
6397d8171c first cut for two-pass symbol indexing to avoid method body parsing for everything 2019-03-30 17:05:08 +01:00
Kris De Volder
3f70e16f37 Turn RunningAppProvider into a bean 2019-03-29 13:42:09 -07:00
BoykoAlex
6b514c0831 PT #164971098: Fix Inro URL constants. Properly create Location instance 2019-03-28 17:27:17 -04:00
Martin Lippert
f516aee56e fixed broken tests by adding urlScheme test data to mock 2019-03-28 09:03:22 +01:00
Kris De Volder
b07f3b0124 Allow configuring urlScheme and port for remote apps 2019-03-27 16:03:51 -07:00
BoykoAlex
043920cdca Remote boot app default port is 443 2019-03-27 14:06:34 -04:00
Kris De Volder
7684f59796 Convert SpringSymbolIndexer to a @Component 2019-03-26 16:23:07 -07:00
Kris De Volder
da1f00ec5b Turn BootJavaConfig into a Bean 2019-03-26 13:52:30 -07:00
BoykoAlex
3e20e7e8d4 Caching JDT types. Invalidate on project change 2019-03-25 19:23:59 -04:00
Kris De Volder
436909a344 Boot property to enable disk-based cache
Also switch the default so disk-based cache is enabled
by default.
2019-03-25 14:31:38 -07:00
Kris De Volder
3d08365fce Make SymbolCache into a bean
The main application bean is defined 2ith @ConditionalOn
in such a way that it is not enabled during testing.
That way, tests can supply their own implementation.
2019-03-25 13:23:55 -07:00
Kris De Volder
47935c96bf Fix for https://www.pivotaltracker.com/n/projects/1346850/stories/164862665
Do not use 'https' for local request mappings.
2019-03-25 12:11:37 -07:00
BoykoAlex
d45ee5c33d PT #164842647: Boot properties proposals in parallel 2019-03-23 00:37:40 -04: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
Martin Lippert
7cfbfd3ad7 fix flacky webflux tests caused by two symbol indexers being created and used in different places 2019-03-21 15:56:55 +01:00