Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
JBIDE-25669: Unexpected JAX-RS validation error for Feature (#302)

* JBIDE-25669: Unexpected JAX-RS validation error for Feature

Signed-off-by: Jeff MAURY <jmaury@redhat.com>

* Fix failing tests

Signed-off-by: Jeff MAURY <jmaury@redhat.com>

  1. … 6 more files in changeset.
JBIDE-25276 - fails intermittently for more than 6 months, so disable this test

Signed-off-by: nickboldt <nboldt@redhat.com>

JBIDE-24880: Split JAX-WS and JAX-RS plugins (#283)

Signed-off-by: Rastislav Wagner <rawagner@redhat.com>

  1. … 508 more files in changeset.
jbide-25017 upversion affected plugins/test... (#284)

* jbide-25017: an attempt to fix tests

Signed-off-by: Dmitrii Bocharov <dbocharo@redhat.com>

* jbide-25017 upversion affected plugins/test plugins

Signed-off-by: nickboldt <nboldt@redhat.com>

  1. … 8 more files in changeset.
JBIDE-22896 - JavaModelException below JdtUtils.findDeclaringNode

Checking if the member still exists

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>

    • -0
    • +32
    ./tools/ws/jaxrs/core/jdt/JdtUtilsTestCase.java
  1. … 3 more files in changeset.
JBIDE-20608 - Build failure on Jenkins/OtherOS

Added missing case of resource deletion

Wait for resource content change before continuing test

  1. … 4 more files in changeset.
JBIDE-20608 - Build failures on Jenkins/Other OS

Allow for multiple (5) attempts to delete a resource

before failing

JBIDE-20608 - Build failures on Jenkins on other OS

Using org.junit.Assume to skip tests on MacOSX since JRE5 is

not available on that OS anymore

Do not remove and re-create file during JAX-RS test when the

goal is just to change the content of the file.

  1. … 4 more files in changeset.
JBIDE-19734 - JAX-RS Validator NPEs with wildcard type arguments

  1. … 3 more files in changeset.
JBIDE-18453 - NPE while processing change in code

Remove a block where the signature of the Java methods were collected but not used

(a remaining of a previous refactoring)

Added some 'waits' in the unit tests (with a bit of API refactoring in the test utility classes) because

some tests would fail with ConcurrentModificationException on maven (some elements would still be processed

in a separate thread when doing the test assertions)

  1. … 1 more file in changeset.
JBIDE-18453 - NPE while processing change in code

Remove a block where the signature of the Java methods were collected but not used

(a remaining of a previous refactoring)

Added some 'waits' in the unit tests (with a bit of API refactoring in the test utility classes) because

some tests would fail with ConcurrentModificationException on maven (some elements would still be processed

in a separate thread when doing the test assertions)

  1. … 1 more file in changeset.
JBIDE-11766 - Work with "Annotation Properties" view breaks JAX-RS explorer

- Using jobs to process Java changes and Resource changes, with a scheduling rule

to avoid concurrency (race conditions).

- Fixing unit tests that now need to wait until the jobs (running asynchronously in another thread)

are done before doing the assertions, with a timeout (set to a lage enough value to allow for debugging)

- Fixed usage of compilation unit's working copy vs primary copy in some tests.

- Calling "ICompilationUnit.makeConsistent(IProgressMonitor)" resolves the problem where in some

cases, some JAX-RS annotations would not be "seen" by the JAX-RS tooling, resulting in elements being removed

- Removed the CompilationUnitRepository which worked as a cache for the Compilation Units AST, but could contain stale data

- Changed the 'Refresh Action' to trigger a real metamodel build ad then refresh the UI, which avoids the need to perform a project build.

    • -4
    • +1
    ./tools/ws/jaxrs/core/jdt/JdtUtilsTestCase.java
    • -0
    • +62
    ./tools/ws/jaxrs/core/junitrules/TimeLimitedJob.java
  1. … 39 more files in changeset.
JBIDE-11766 - Work with "Annotation Properties" view breaks JAX-RS explorer

- Using jobs to process Java changes and Resource changes, with a scheduling rule

to avoid concurrency (race conditions).

- Fixing unit tests that now need to wait until the jobs (running asynchronously in another thread)

are done before doing the assertions, with a timeout (set to a lage enough value to allow for debugging)

- Fixed usage of compilation unit's working copy vs primary copy in some tests.

- Calling "ICompilationUnit.makeConsistent(IProgressMonitor)" resolves the problem where in some

cases, some JAX-RS annotations would not be "seen" by the JAX-RS tooling, resulting in elements being removed

- Removed the CompilationUnitRepository which worked as a cache for the Compilation Units AST, but could contain stale data

- Changed the 'Refresh Action' to trigger a real metamodel build ad then refresh the UI, which avoids the need to perform a project build.

    • -4
    • +1
    ./tools/ws/jaxrs/core/jdt/JdtUtilsTestCase.java
    • -0
    • +62
    ./tools/ws/jaxrs/core/junitrules/TimeLimitedJob.java
  1. … 39 more files in changeset.
JBIDE-15825 - JAX-RS problems don't show up after target runtime is set

Main changes:

- handle changes at the project level when the classpath changed: rebuild the whoe JAX-RS metamodel to be process all the changes

- remove all JAX-RS markers of previous JAX-RS elements when rebuilding the while JAX-RS metamodel in a separate Job while the resource tree

is locked.

Related changes:

- added some unit tests

- refactored a unit test class

  1. … 5 more files in changeset.
JBIDE-15825 - JAX-RS problems don't show up after target runtime is set

Main changes:

- handle changes at the project level when the classpath changed: rebuild the whoe JAX-RS metamodel to be process all the changes

- remove all JAX-RS markers of previous JAX-RS elements when rebuilding the while JAX-RS metamodel in a separate Job while the resource tree

is locked.

Related changes:

- added some unit tests

- refactored a unit test class

  1. … 5 more files in changeset.
JBIDE-16163 - Missing update in JAX-RS explorer when facing to quick change in code

Accepting and processing events of type POST_CHANGE and POST_RECONCILE as one or the other

happens, depending if the change and save occurred at the same time (almost) or not.

    • -2
    • +2
    ./tools/ws/jaxrs/core/jdt/JdtUtilsTestCase.java
  1. … 6 more files in changeset.
JBIDE-16940 - Fixing sonar issues in JAX-RS plugins

  1. … 11 more files in changeset.
JBIDE-17296 - Missing warning decorator on the "JAX-RS Web Services" node when no application is defined

Also includes fixes for:

- JBIDE-17078 - JAX-RS Problems doesn't appears after the JAX-RS Support is activated

- JBIDE-17771 - Trigger validation when JAX-RS nature is added on a project

- JBIDE-18068 - JAX-RS Explorer doesn't have "expand" icon

- JBIDE-18114 - Invalid state of JAX-RS Web Services node in Project Explorer after JAX-RS Support removal

  1. … 47 more files in changeset.
JBIDE-17949 - Problem with filters and interceptors defined as inner classes

Fixed problem that still remained when underlying resource was saved:

- the validator for the inner provider would run first and report a problem,

- then the top level resource validator would remove all markers for the underlying file and perform

its validation, meaning that the markers for the inner provider would be gone.

Fixed a related problem where only top-level types would be considered, which excluded the inner provider.

    • -0
    • +24
    ./tools/ws/jaxrs/core/junitrules/LogListener.java
  1. … 13 more files in changeset.
JBIDE-18022 - For JBIDE 4.2.0.CR1: Ensure copyrights and provider names are correct in all plugins and features [Webservices]

  1. … 363 more files in changeset.
JBIDE-18090 - Wrong JAX-RS Filter/Annotation binding problem report

Also fixed:

JBIDE-18078 - Wrong problem marker on binding annotation

JBIDE-18089 - Edit the JAX-RS binding navigation label, replace 'Jump to' with 'Open'

Added JUnit tests

  1. … 10 more files in changeset.
JBIDE-17976 - Problem markers are not removed on related Parameter Aggregators

Also introduced JaxrsResourceElement and JaxrsParameterAggregatorElement classes to reduce the code

Fixed JavaElementSearcher that did not return all 'related types' for a given type (was doing half of the job)

    • -0
    • +71
    ./tools/ws/jaxrs/core/jdt/Jaxrs20ElementsSearcherTestCase.java
  1. … 37 more files in changeset.
JBIDE-17663 - JAX-RS Explorer doesn't reflect binding parameter to field

Using flags to retrieve the type of JAX-RS annotation(s) that were part of the removed element

Using the 'Flags' class instead of 'int' in other places.

  1. … 41 more files in changeset.
JBIDE-17796 - BeanParam: unbound @PathParam error is present after the problem had been fixed

Introduced the 'working copies' for JAX-RS elements being validated

Fixed a problem where some Java element changes would not be processed (linked to https://issues.jboss.org/browse/JBIDE-18009)

    • -11
    • +16
    ./tools/ws/jaxrs/core/jdt/JdtUtilsTestCase.java
  1. … 55 more files in changeset.
JBIDE-17285 - Lucene error messages during tests

    • -1
    • +1
    ./tools/ws/jaxrs/core/jdt/JdtUtilsTestCase.java
  1. … 2 more files in changeset.
JBIDE-17947 - Java Model Exception occurs while typing

    • -0
    • +13
    ./tools/ws/jaxrs/core/jdt/JdtUtilsTestCase.java
  1. … 8 more files in changeset.
JBIDE-17947 - Java Model Exception occurs while typing

    • -0
    • +13
    ./tools/ws/jaxrs/core/jdt/JdtUtilsTestCase.java
  1. … 8 more files in changeset.
JBIDE-17078 - JAX-RS Problems doesn't appears after the JAX-RS Support is activated

Add the WST validator if missing in the project configuration when adding the JAX-RS nature

Perform a full validation when the '.project' file alone changed.

  1. … 4 more files in changeset.
JBIDE-17706 - Build failures on Jenkins

Changing the way the .project file content is replaced.

  1. … 1 more file in changeset.
JBIDE-17706 - Build Failures on Jenkins

Adding more explicit failure message to understand what's going wrong on Jenkins