Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

  1. … 52 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.

  1. … 52 more files in changeset.
JBIDE-16940 - Fixing sonar issues in JAX-RS plugins

  1. … 14 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. … 373 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')

  1. … 35 more files in changeset.
JBIDE-17540 - Replace use of Slf4j with Eclipse Logger in JAX-RS core tests

  1. … 17 more files in changeset.
JBIDE-17308 - Enable 'as-you-type' validation

  1. … 17 more files in changeset.
JBIDE-15592 - Provide JAX-RS Fields and Parameters type validation

  1. … 24 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

  1. … 230 more files in changeset.
JBIDE-10539 - Support for JAX-RS Field injection

Also changed the way URL Path Template are displayed on endpoints in the JAX-RS Explorer

also fixed JBIDE-12029 - No type for PathParam parameters in JAX-RS REST Web Services Explorer

  1. … 53 more files in changeset.
JBIDE-15548 - Use JUnit @Rules instead of inheritance in test cases

  1. … 56 more files in changeset.
JBIDE-15908 - Problem decorator is not removed after error was fixed

Bug was that the problemLevel on each JAX-RS Resource Method would not

be reset at the beginning of the validation, and during validation, the

highest problem level is kept. Thus, during the next validation (fixing

the problem), the problem level would remain at its highest (previous)

value.

Added tests to verify the correct behaviour on all validators.

  1. … 10 more files in changeset.
JBIDE-15908 - Problem decorator is not removed after error was fixed

Bug was that the problemLevel on each JAX-RS Resource Method would not

be reset at the beginning of the validation, and during validation, the

highest problem level is kept. Thus, during the next validation (fixing

the problem), the problem level would remain at its highest (previous)

value.

Added tests to verify the correct behaviour on all validators.

  1. … 10 more files in changeset.
JIBDE-12860 - JAX-RS validation problems are not linked

Fixed the problem where some markers would not be removed from the resource to be validated between

two validation calls, which meant that duplicate markers for the same problem would exist on each

resource.

Also refactored the search/element retrieval: the JaxrsElementIndexationDelegate now not only

deals with the Lucene indexation and searches, but also uses the metamodel to return List of

JAX-RS elements, Endpoints or workspace Resources.

Renamed some marker deletion/undexing methods to use the "remove" verb (eg: "removeMarker()") and be consistent with the

existing "remove()" methods that remove the elements themselves.

Added JUnit tests to covers the fixes.

This patch also fixes:

- JBIDE-15662: Warning Multiple JAX-RS Activators doesn't disappear

- JBIDE-15664: Application path configured in web.xml causes warning

  1. … 37 more files in changeset.
JIBDE-12860 - JAX-RS validation problems are not linked

Fixed the problem where some markers would not be removed from the resource to be validated between

two validation calls, which meant that duplicate markers for the same problem would exist on each

resource.

Also refactored the search/element retrieval: the JaxrsElementIndexationDelegate now not only

deals with the Lucene indexation and searches, but also uses the metamodel to return List of

JAX-RS elements, Endpoints or workspace Resources.

Renamed some marker deletion/undexing methods to use the "remove" verb (eg: "removeMarker()") and be consistent with the

existing "remove()" methods that remove the elements themselves.

Added JUnit tests to covers the fixes.

This patch also fixes:

- JBIDE-15662: Warning Multiple JAX-RS Activators doesn't disappear

- JBIDE-15664: Application path configured in web.xml causes warning

  1. … 37 more files in changeset.
JIBDE-12860 - JAX-RS validation problems are not linked

Fixed the problem where some markers would not be removed from the resource to be validated between

two validation calls, which meant that duplicate markers for the same problem would exist on each

resource.

Also refactored the search/element retrieval: the JaxrsElementIndexationDelegate now not only

deals with the Lucene indexation and searches, but also uses the metamodel to return List of

JAX-RS elements, Endpoints or workspace Resources.

Renamed some marker deletion/undexing methods to use the "remove" verb (eg: "removeMarker()") and be consistent with the

existing "remove()" methods that remove the elements themselves.

Added JUnit tests to covers the fixes.

This patch also fixes:

- JBIDE-15662: Warning Multiple JAX-RS Activators doesn't disappear

- JBIDE-15664: Application path configured in web.xml causes warning

  1. … 37 more files in changeset.
JBIDE-15084 - Failed to build JAX-RS Metamodel when re-opening a closed project

Catching IllegalArgumentException when JDT fails to retrieve return type from MethodBinding

Added 2 JUnit tests to verify that build does not fail

In case of build failure, the JAX-RS metamodel has a build status set to ERROR, otherwise it is set to OK. This

state can be asserted from the JUnit tests.

  1. … 12 more files in changeset.
JBIDE-15084 - Failed to build JAX-RS Metamodel when re-opening a closed project

Catching IllegalArgumentException when JDT fails to retrieve return type from MethodBinding

Added 2 JUnit tests to verify that build does not fail

In case of build failure, the JAX-RS metamodel has a build status set to ERROR, otherwise it is set to OK. This

state can be asserted from the JUnit tests.

  1. … 12 more files in changeset.
JBIDE-13580 - NPE when duplicating Java Method

Ignore Method bindings if they are null.

Also rework on CollectionUtils to compare maps

When creating JAX-RS Resource, retrieve all Java Method Signatures at once if possible (avoid multiple call to visitor)

  1. … 16 more files in changeset.
JBIDE-13587 - Rewrite the way Java/resources changes are handled by the JAX-RS core plugin

Using Lucene to index JAX-RS Elements and Endpoints on multiple criteria

Having a more Object-oriented approach for the domain classes

Revising most of the JUnit tests after domain entities refactoring

  1. … 145 more files in changeset.
JBIDE-10207 Add support for JAX-RS Providers

Adding support for JAX-RS Providers lifecycle, including validation

Fixing NPE

  1. … 68 more files in changeset.
JBIDE-13484 Simplify JAX-RS tests code

  1. … 38 more files in changeset.
Fixed - JBIDE-12765 - Unable to parse web.xml SAXException are logged in DEBUG level, so not reported in the Error Log

git-svn-id: http://svn.jboss.org/repos/jbosstools/trunk@44480 a97e2381-89e5-4abb-bab3-167db6db766c

Fixed - JBIDE-12806 - Annotations location in the JAX-RS Metamodel are not updated after code changes https://issues.jboss.org/browse/JBIDE-12806

Fixed - JBIDE-12593 - Improve quick fixes for @HttpMethod validation errors

https://issues.jboss.org/browse/JBIDE-12593

git-svn-id: http://svn.jboss.org/repos/jbosstools/trunk@44469 a97e2381-89e5-4abb-bab3-167db6db766c

  1. … 45 more files in changeset.
JBIDE-10287 Add support for JAX-RS Application JBIDE-12633 Support for JAX-RS Application subclassing with configuration in web.xml

git-svn-id: http://svn.jboss.org/repos/jbosstools/trunk@43940 a97e2381-89e5-4abb-bab3-167db6db766c

  1. … 63 more files in changeset.
Renaming EnumKind to EnumElementKind to better reflect usage

git-svn-id: http://svn.jboss.org/repos/jbosstools/trunk@42787 a97e2381-89e5-4abb-bab3-167db6db766c

  1. … 37 more files in changeset.
Fixed - JBIDE-11922 Add scheduling rules for JAX-RS jobs to avoid concurrent changes in the metamodel

git-svn-id: http://svn.jboss.org/repos/jbosstools/trunk@41223 a97e2381-89e5-4abb-bab3-167db6db766c

  1. … 11 more files in changeset.
Fixed - JBIDE-11069 - Wrong/Missing marker information on JAX-RS validation errors https://issues.jboss.org/browse/JBIDE-11069

git-svn-id: http://svn.jboss.org/repos/jbosstools/trunk@39179 a97e2381-89e5-4abb-bab3-167db6db766c

Fixed - JBIDE-11068 - Wrong error: This parameter type (javax.servlet.http.HttpServletRequest) cannot be annotated with @Context Fixed - JBIDE-11070 - JAX-RS validation problem marked as Error instead of Warning

git-svn-id: http://svn.jboss.org/repos/jbosstools/trunk@39170 a97e2381-89e5-4abb-bab3-167db6db766c

  1. … 1 more file in changeset.
Fixed - JBIDE-11006 - JAXRS builder now installed is logged https://issues.jboss.org/browse/JBIDE-11006

git-svn-id: http://svn.jboss.org/repos/jbosstools/trunk@39034 a97e2381-89e5-4abb-bab3-167db6db766c

  1. … 1 more file in changeset.