-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JBIDE-12860 - JAX-RS validation problems are not linked
Added a custom JAXRS_PROBLEM_TYPE attribute in JAX-RS markers. Those JAX-RS Problem markers are now indexed with Lucene. Thus, it becomes possible to look for resource that have the same error as a given resource, even if this later one has been deleted. (eg: looking for duplicate application problem after an application has been removed). When a JAX-RS Element is removed, its associated JAX-RS Markers are removed from the index *during the validation phase* (the markers still exist and are still indexed until the validation is performed). Added some JUnit tests to verify the good behaviour againts the case where a project has 2 JAX-RS application then one is removed.
- Loading branch information
Showing
24 changed files
with
698 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
125 changes: 64 additions & 61 deletions
125
...axrs.core/src/org/jboss/tools/ws/jaxrs/core/internal/metamodel/domain/JaxrsMetamodel.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.