Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
JBIDE-16825 - Provide support for new @BeanParam JAX-RS Annotation

Also implemented JBIDE-17575 - Support JAX-RS annotations on bean properties

Improved JUnit tests speed by avoiding building a full metamodel for each test

    • -114
    • +121
    ./validation/Jaxrs11ProviderValidatorTestCase.java
    • -0
    • +211
    ./validation/Jaxrs20BeanParamValidatorTestCase.java
    • -30
    • +15
    ./validation/Jaxrs20ParamConverterProviderTestCase.java
    • -145
    • +129
    ./validation/Jaxrs20ProviderValidatorTestCase.java
    • -163
    • +158
    ./validation/JaxrsApplicationValidatorTestCase.java
    • -87
    • +105
    ./validation/JaxrsHttpMethodValidatorTestCase.java
    • -9
    • +14
    ./validation/JaxrsMetamodelValidatorAsYouTypeTestCase.java
    • -112
    • +110
    ./validation/JaxrsNameBindingValidatorTestCase.java
    • -0
    • +176
    ./validation/JaxrsResource20ValidatorTestCase.java
    • -92
    • +196
    ./validation/JaxrsResourceValidatorTestCase.java
  1. … 132 more files in changeset.
JBIDE-17543 - Investigate JUnit test duration

Not major improvement, despite a few changes

Also fixed JBIDE-17551 (renamed ui.test 'Logger' to 'TestLogger')

    • -14
    • +14
    ./validation/Jaxrs11ProviderValidatorTestCase.java
    • -5
    • +10
    ./validation/Jaxrs20ParamConverterProviderTestCase.java
    • -20
    • +20
    ./validation/Jaxrs20ProviderValidatorTestCase.java
    • -3
    • +5
    ./validation/JaxrsResourceValidatorTestCase.java
  1. … 29 more files in changeset.
JBIDE-17541 - Replace use of Slf4j with Eclipse Logger in JAX-RS UI tests

    • -0
    • +154
    ./utils/Logger.java
    • -17
    • +14
    ./validation/Jaxrs11ProviderValidatorTestCase.java
    • -4
    • +2
    ./validation/Jaxrs20ParamConverterProviderTestCase.java
    • -22
    • +20
    ./validation/Jaxrs20ProviderValidatorTestCase.java
    • -5
    • +2
    ./validation/JaxrsResourceValidatorTestCase.java
  1. … 2 more files in changeset.
JBIDE-17537 - JAX-RS Problem marker are not removed when JAX-RS support is removed on project

    • -1
    • +2
    ./validation/JaxrsApplicationValidatorTestCase.java
    • -1
    • +0
    ./validation/JaxrsHttpMethodValidatorTestCase.java
  1. … 3 more files in changeset.
JBIDE-17368 - Revalidate JAX-RS Resources when type used as a method parameter changed

    • -20
    • +0
    ./validation/JaxrsHttpMethodValidatorTestCase.java
    • -2
    • +33
    ./validation/JaxrsResourceValidatorTestCase.java
  1. … 6 more files in changeset.
JBIDE-17308 - Enable 'as-you-type' validation

    • -6
    • +10
    ./validation/Jaxrs20ProviderValidatorTestCase.java
    • -0
    • +110
    ./validation/JaxrsMetamodelValidatorAsYouTypeTestCase.java
    • -1
    • +0
    ./validation/JaxrsResourceValidatorTestCase.java
  1. … 15 more files in changeset.
JBIDE-17391 - Provide JAX-RS Fields type validation

    • -1
    • +1
    ./validation/Jaxrs11ProviderValidatorTestCase.java
    • -3
    • +0
    ./validation/Jaxrs20ProviderValidatorTestCase.java
    • -0
    • +43
    ./validation/JaxrsResourceValidatorTestCase.java
  1. … 20 more files in changeset.
JBIDE-16763 - Add support for JAX-RS ParamConverterProvider

    • -0
    • +157
    ./validation/Jaxrs20ParamConverterProviderTestCase.java
    • -0
    • +5
    ./validation/Jaxrs20ProviderValidatorTestCase.java
    • -0
    • +5
    ./validation/JaxrsNameBindingValidatorTestCase.java
    • -0
    • +6
    ./validation/JaxrsResourceValidatorTestCase.java
  1. … 19 more files in changeset.
JBIDE-15592 - Provide JAX-RS Fields and Parameters type validation

    • -62
    • +133
    ./validation/JaxrsResourceValidatorTestCase.java
  1. … 24 more files in changeset.
JBIDE-15526 - JAX-RS validation problems are not linked

Fixed by keeping info about removed elements in the metamodel

until the validation runs.

Added and fixed some JUnit tests to verify.

    • -26
    • +90
    ./validation/JaxrsApplicationValidatorTestCase.java
  1. … 6 more files in changeset.
JBIDE-17177 - Wrong @NameBinding quick fix for a @Target annotation

Fixing the quick fix applied

Refactoring the code for quickfixes

Including Java Proposals when missing values (with or without parenthesis)

Adding JUnit tests to check the quckfixes proposals and their application

Also adding a content assist proposal for the @HttpMethod annotation value, based on the annotation name.

Also fixed JBIDE-17307 Missing label and broken link for JAX-RS problem severity configuration

    • -0
    • +83
    ./utils/CollectionsUtilTestCase.java
    • -0
    • +16
    ./utils/package-info.java
    • -48
    • +178
    ./validation/JaxrsHttpMethodValidatorTestCase.java
    • -81
    • +230
    ./validation/JaxrsNameBindingValidatorTestCase.java
    • -15
    • +144
    ./validation/ValidationUtils.java
  1. … 29 more files in changeset.
JBIDE-17276 - JAX-RS Endpoints should not display an error marker when error is on JAX-RS Application

Error marker is only shown on the "JAX-RS Web Services" node in the Project Explorer, not on all Endpoint child nodes.

    • -122
    • +211
    ./validation/JaxrsApplicationValidatorTestCase.java
    • -8
    • +16
    ./validation/JaxrsHttpMethodValidatorTestCase.java
  1. … 1 more file in changeset.
JBIDE-16981 - Validation of @Path parameters binding ignores @PathParam fields

    • -2
    • +2
    ./validation/JaxrsNameBindingValidatorTestCase.java
    • -5
    • +22
    ./validation/JaxrsResourceValidatorTestCase.java
  1. … 4 more files in changeset.
JBIDE-17296 - Missing warning decorator on the "JAX-RS Web Services" node when no application is defined

"JAX-RS Web Services" node in project explorer shows a "warning" decorator (by default)

if no application was defined, unless no JAX-RS element exists in the project.

    • -5
    • +32
    ./validation/JaxrsApplicationValidatorTestCase.java
  1. … 7 more files in changeset.
JBIDE-16753 - Provide support for server-side Filters and Interceptors

Added support for ContainerRequestFilter, ContainerResponseFilter, ReaderInterceptor and WriterInterceptor

Renamed org.jboss.tools.ws.jaxrs.core.jdt to org.jboss.tools.ws.jaxrs.utils to better reflect the content of this package

Removed org.jboss.tools.ws.jaxrs.core.utils.JavaFieldsVisitor and replaced by using org.eclipse.jdt.core.dom.NodeFinder

Added Hyperlink navigation when selecting a NameBinding element, to navigate from a Resource/ResourceMethod/Application to

its associated Filter/Interceptor.

Added JUnit tests in core and ui (validation) to cover new code

Also fixed:

* JBIDE-16790 - Should add/remove Resource Methods and Endpoints when adding/removing @HttpMethod annotation

* JBIDE-15526 - JAX-RS validation problems are not linked

    • -61
    • +49
    ./validation/Jaxrs11ProviderValidatorTestCase.java
    • -0
    • +522
    ./validation/Jaxrs20ProviderValidatorTestCase.java
    • -92
    • +97
    ./validation/JaxrsApplicationValidatorTestCase.java
    • -31
    • +31
    ./validation/JaxrsHttpMethodValidatorTestCase.java
    • -4
    • +4
    ./validation/JaxrsMetamodelValidatorTestCase.java
    • -0
    • +315
    ./validation/JaxrsNameBindingValidatorTestCase.java
    • -18
    • +18
    ./validation/JaxrsResourceValidatorTestCase.java
    • -0
    • +8
    ./validation/package-info.java
  1. … 225 more files in changeset.