Commit Graph

373 Commits

Author SHA1 Message Date
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
Kris De Volder
63499354ef More eclipse metadata 2019-04-01 09:10:58 -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
Kris De Volder
256e0c86a3 Bump version to 1.6.0 2019-03-29 16:08:45 +00: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
3a2b77b8d1 update internal jdt versio to 3.17.0, same as eclipse 2019-03 release, but not yet java12 compatible 2019-03-21 16:23:18 +01: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
Spring Operator
e2d604f023 URL Cleanup
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://my.repository.com/repo/path (200) with 1 occurrences could not be migrated:
   ([https](https://my.repository.com/repo/path) 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://sha256timestamp.ws.symantec.com/sha256/timestamp (InvalidMediaTypeException) with 3 occurrences migrated to:
  https://sha256timestamp.ws.symantec.com/sha256/timestamp ([https](https://sha256timestamp.ws.symantec.com/sha256/timestamp) result ConnectTimeoutException).
* http://www.myhost.com/maven/jdk14 (500) with 1 occurrences migrated to:
  https://www.myhost.com/maven/jdk14 ([https](https://www.myhost.com/maven/jdk14) result 500).

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/release/TOOLS/third-party/misc-p2-repo/ with 1 occurrences migrated to:
  https://dist.springsource.com/release/TOOLS/third-party/misc-p2-repo/ ([https](https://dist.springsource.com/release/TOOLS/third-party/misc-p2-repo/) result 200).
* http://maven.apache.org/xsd/settings-1.0.0.xsd with 1 occurrences migrated to:
  https://maven.apache.org/xsd/settings-1.0.0.xsd ([https](https://maven.apache.org/xsd/settings-1.0.0.xsd) result 200).
* http://spring.io/tools with 3 occurrences migrated to:
  https://spring.io/tools ([https](https://spring.io/tools) result 200).
* http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html with 1 occurrences migrated to:
  https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html ([https](https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html) result 200).
* http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html with 1 occurrences migrated to:
  https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html ([https](https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html) 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.pivotal.io with 1 occurrences migrated to:
  https://www.pivotal.io ([https](https://www.pivotal.io) result 301).

These URLs were intentionally ignored.

* http://maven.apache.org/SETTINGS/1.0.0 with 2 occurrences
* http://www.springframework.org/schema/beans with 2 occurrences
* http://www.springframework.org/schema/p with 1 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 2 occurrences

Revert timestamp switch
2019-03-20 13:45:27 -04:00
Martin Lippert
48129762c8 ignore flacky webflux tests for now until we solved the underlying issue 2019-03-20 18:31:32 +01:00
BoykoAlex
25fef503e0 Ignore failing unit tests 2019-03-14 11:04:15 -04:00
Martin Lippert
b222802eef added symbol caching for symbols from xml files 2019-03-12 10:12:24 +01:00
Martin Lippert
f4ca5c4dd3 added option to ignore method bodies while parsing java 2019-03-11 11:02:24 +01:00
Martin Lippert
708f998916 unified system property options 2019-03-11 11:02:00 +01:00
Martin Lippert
65aa2ef69f test symbol infrastructure without caching enabled 2019-03-11 09:48:59 +01:00
Martin Lippert
35c110e18c missed to add symbols in case of non-cached symbols 2019-03-11 09:47:34 +01:00
Martin Lippert
caa0839d74 cache for symbol index 2019-03-10 17:57:38 +01:00
Martin Lippert
4692d1ed18 added additional performance logging for initial project symbol scanning 2019-03-09 13:31:49 +01:00
Kris De Volder
d86becebe7 http -> https 2019-03-08 15:48:38 -08:00
BoykoAlex
91d9838fff PT #164474609: Light TypeDescriptorData and caching super, sub-types 2019-03-08 12:09:50 -05:00
BoykoAlex
dc1e2708f9 PT #164216122: JDT LS search performance improvement 2 2019-03-06 19:57:47 -05:00
Martin Lippert
a2e370086d housekeeping 2019-03-06 16:08:28 +01:00
Spring Operator
4d43e68820 URL Cleanup
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).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://sha256timestamp.ws.symantec.com/sha256/timestamp (400) migrated to:
  http://sha256timestamp.ws.symantec.com/sha256/timestamp ([https](https://sha256timestamp.ws.symantec.com/sha256/timestamp) result ConnectTimeoutException).
* http://s3-test.spring.io/sts4/vscode-extensions/ (403) migrated to:
  http://s3-test.spring.io/sts4/vscode-extensions/ ([https](https://s3-test.spring.io/sts4/vscode-extensions/) result SSLHandshakeException).

# Fixed URLs

## Fixed Success
These URLs were fixed successfully.

* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-06 00:05:19 -06:00
BoykoAlex
d994d2abcd PT #164216122: JDT LS search performance improvement 1 2019-03-05 20:31:03 -05:00
Martin Lippert
664691a11a polish for third-party license file generation 2019-03-01 15:25:18 +01:00
Martin Lippert
a261770210 housekeeping 2019-02-27 11:38:40 +01:00
Kris De Volder
b65b521c67 Try to fix vscode-spring-boot ci build 2019-02-25 12:14:31 -08:00
Kris De Volder
29228edc93 Some improvements to jdt-ls-extensions building 2019-02-25 12:04:31 -08:00