50 Commits

Author SHA1 Message Date
Martin Lippert
bb51280782 GH-1431: let bean index elements create document symbols on-demand 2025-02-20 14:47:22 +01:00
Martin Lippert
888669ae92 GH-1431: enable index elements to compute document symbols on-demand 2025-02-20 14:47:22 +01:00
Martin Lippert
8f6b5a619a GH-1473: fixing deserialization of index cache issue with duplicated type name attribute
Fixes GH-1473
2025-02-07 14:33:21 +01:00
Martin Lippert
cbe4fd10c2 GH-1425: refactored indexer mechanics to mostly work on indexer model elements instead of concrete bean objects 2025-02-06 07:30:34 +01:00
Martin Lippert
bdc7086586 GH-1425: groundwork to allow nested beans in internal index structure 2025-02-06 07:30:34 +01:00
Martin Lippert
21accaebf3 GH-1041: replaced webflux symbol addon information objects with new index child nodes
some additional groundwork for nested structure inside of spring index, in support of GH-1425, GH-1431, GH-1424
2025-01-15 14:27:25 +01:00
Martin Lippert
02e3ede7ed GH-1041: bean now knows whether it is a configuration bean or not 2025-01-08 16:54:08 +01:00
Martin Lippert
e52ae1890a GH-1400: include more precise location information for annotations and annotation attribute values in spring index 2024-11-12 13:56:33 +01:00
vudayani
3d18619e98 copilot spring boot agent implementation 2024-10-02 10:04:00 +02:00
Martin Lippert
6f9d1428ef GH-1261: initial steps to include details about used annotations at injection points 2024-06-20 11:01:55 +02:00
aboyko
ba6fc2ac1b Change GAV computation for TestJars 2024-06-03 20:07:44 -04:00
Martin Lippert
88ae9318ed GH-1219: another small optimization to avoid converting supertype sets and arrays all the time + reusing common sets instead of creating new set objects all the time 2024-04-04 17:21:12 +02:00
aboyko
52dd4d2ff5 IDE support for TestJars: maven projects in the workspace only 2024-03-01 15:23:12 -05:00
vudayani-vmw
e319e43deb Log Levels View
* fetch and display loglevels

* change log levels for packages

* clean up logs

* address review comments

* switch the CONNECT_TO_LS key

* Avoid caching loggers data

* add copyright headers

---------

Co-authored-by: V Udayani <vudayani@vudayaniSMD6M.vmware.com>
2023-12-20 16:23:32 -05:00
aboyko
714e9b7be9 Tiny corrections and cleanups 2023-10-04 16:29:06 -04:00
aboyko
9a109852c0 Cache looked up libs. Simplify SpringProjectUtil. 2023-10-04 15:31:01 -04:00
aboyko
63cf7c51f8 Cache dependency versions 2023-10-04 12:37:42 -04:00
aboyko
1d0c488cf8 Account for modulith dependency to be a local project 2023-07-12 20:52:01 -04:00
aboyko
31a8600fee Modulith support 2023-07-04 13:54:38 -04:00
Martin Lippert
709e215e8c GH-1049: spring index protocol now has new request for find matching beans 2023-05-24 13:12:56 +02:00
Martin Lippert
c9b526f2f6 isCompatibleWith now takes bean type itself into account as well 2023-05-24 13:12:56 +02:00
Martin Lippert
b70779f215 GH-1040: customized gson deserialization of beans in order to invoke constructor instead of gson object creation magic - to benefit from empty injection point optimization code 2023-05-20 21:47:48 +02:00
aboyko
a3a83eb70a SpringModelService minor refactoring and flattening 2023-05-10 11:55:04 -04:00
Martin Lippert
2dfcdd0f29 unified protocol message names around new spring index to spring/index 2023-05-10 14:00:30 +02:00
aboyko
dfe0c51331 Beans model extension API for VSCode 2023-05-08 18:57:45 -04:00
Martin Lippert
1af5f344ec added simple toString method to beans that renders stuff as json 2023-05-08 14:09:55 +02:00
Martin Lippert
1448b88a32 created lsp client and server extension for spring model access 2023-05-08 14:09:55 +02:00
Martin Lippert
3eaac0e293 added missing copyright header 2023-05-08 14:09:54 +02:00
aboyko
fa4e01d06d Boot Properties defined in Java Records 2023-01-16 20:38:19 -05:00
aboyko
ed4eef0e0a Project build data via classpath listener from JDT 2022-11-15 18:52:32 -05:00
V Udayani
c6f905bd0f fetch memory metrics for process 2022-10-26 12:36:27 -04:00
Kris De Volder
006cbd0721 Refine api for connected process listeners
Events now include some extra information instead of just processKey.
2022-05-09 16:12:59 -07:00
Martin Lippert
c66e61160c add new notifications to sts4 eclipse language server protocol client 2022-04-07 11:16:56 +02:00
Kris De Volder
37e495f20c Some tweaks to PR 751 2022-04-05 15:52:11 -07:00
BoykoAlex
f36671814c Use LSP progress instead of our own LSP extension 2022-01-14 19:23:38 -05:00
Martin Lippert
ef71fd164d formatting 2021-11-29 16:00:39 +01:00
BoykoAlex
3bddccd57f PT #171932358 Flag for detailed java type data for sub/super types 2020-04-02 13:35:11 -04:00
Kris De Volder
02d2da126c Fix for https://github.com/spring-projects/sts4/issues/404
... with regression test.
2020-03-17 09:16:53 -07:00
Kris De Volder
fb0ddc0469 Refactor classpath notification job
Change it so there is one job per subscriber to handle communication
with that particular subscriber.

This will allow the job to behave differently depending on whether
that subscriber supports batched update events.
2019-05-28 12:14:42 -07:00
Martin Lippert
5abc6f9df0 initial implementation towards a compilation-unit-based content-assist for types and packages 2019-05-07 10:23:31 +02:00
BoykoAlex
652f5dcbcd PT #165080768, #165662425: Selective Java, XML symbol scanning 2019-05-05 23:23:33 -04:00
BoykoAlex
bfca34e77d PT #165285833: XML beans for VScode, Theia and Atom 2019-04-16 22:47:28 -04:00
BoykoAlex
4e2d29de47 JDT Camelcase search 2019-04-09 11:15:54 -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
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
BoykoAlex
d994d2abcd PT #164216122: JDT LS search performance improvement 1 2019-03-05 20:31:03 -05:00
BoykoAlex
529e91e82c Missing changes from JDT Index adoption 2019-02-23 00:52:35 -05:00
BoykoAlex
2b2413ee60 JDT LS based index for searches and refactorings to replace Jandex 2019-02-22 17:23:22 -05:00