Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Provide a way to determine SessionExpired on disconnect (#351)

    • -0
    • +23
    ./SessionExpiredException.java
  1. … 2 more files in changeset.
    • -61
    • +47
    ./builder/DefaultRemoteCallBuilder.java
  1. … 2 more files in changeset.
Changes necessary to debug RPC calls

    • -61
    • +47
    ./builder/DefaultRemoteCallBuilder.java
  1. … 1 more file in changeset.
ERRAI-1104: Ability to intercept any remote call from the ClientMessageBus

    • -0
    • +30
    ./messaging/MessageInterceptor.java
  1. … 2 more files in changeset.
AF-546: Reduce startup time of AppFormer apps and workbenches

This commit:

* Adds logging to audit startup to entrypoints, RPCs, bean manager

* Load RPC proxies before the bus initializes so that startup RPC calls

can be queued up and sent in a single payload

* Don't wait for bus to initialize to send CDI client assoicate message

(allows this to also be sent with initial bus payload)

* Don't delay InitVotes in SecurityContextImpl if a user has been injected

onto the host page

    • -12
    • +19
    ./builder/DefaultRemoteCallBuilder.java
  1. … 8 more files in changeset.
Make sure the bus content is valid before processing

    • -0
    • +35
    ./InvalidBusContentException.java
  1. … 2 more files in changeset.
Make sure the bus content is valid before processing

    • -0
    • +35
    ./InvalidBusContentException.java
  1. … 2 more files in changeset.
Delete dead code

    • -32
    • +0
    ./builder/RemoteCallServiceDef.java
  1. … 40 more files in changeset.
Improve size and generation time of RPC proxies

    • -1
    • +3
    ./builder/DefaultRemoteCallBuilder.java
  1. … 1 more file in changeset.
ERRAI-981: Convert @UncaughtException to work with all uncaught exceptions (not just those in the client message bus)

  1. … 20 more files in changeset.
Fixes for RPC shadow services (see below)

- RPC return value now properly passed on to remote callback

- Shadow services are now being used if the message bus is

offline, remote communication is disabled or no remote

endpoint for the service exists

- No longer attempt to contact remote endpoint if message

was deferred or was already delivered to a shadow service

- No longer swallow exceptions thrown by shadow service

implementations

- Test coverage

    • -1
    • +1
    ./builder/DefaultRemoteCallBuilder.java
  1. … 12 more files in changeset.
ERRAI-884: ClientMessageBusImpl catches exceptions in MessageCallbacks, preventing @UncaughtException Handing

Additionally this commit also changes client-side error handling as follows.

* noErrorHandling suppresses sending errors to CLIENT_ERROR_SUBJECT.

* Handle case where GWT.uncaughtExceptionHandler is null.

* Invoke error callback when error occurs in ClientMessageBus.send

instead of throwing exception.

* Test new behaviour in ErrorHandlingTest.

* Send RPC errors to CLIENT_ERROR_SUBJECT a supplied error handler

returns true.

    • -0
    • +34
    ./base/NoHandlingErrorCallback.java
    • -2
    • +8
    ./builder/DefaultRemoteCallBuilder.java
  1. … 12 more files in changeset.
Move some messages from ClientMessageBusImpl class to ClientMessageBus interface.

  1. … 2 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

  1. … 3042 more files in changeset.
Revert "Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header."

Changes from the reverted commit did not preserve original copyright dates.

This reverts commit d8e735dfe2f6ed25fe9e06b753ae2f6154d76b02.

  1. … 3068 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

  1. … 3150 more files in changeset.
Unwrap InvocationTargetException for @Service/@Command methods.

    • -0
    • +11
    ./base/MessageCallbackFailure.java
  1. … 8 more files in changeset.
Remove security from errai-bus.

  1. … 37 more files in changeset.
Work in progress on the bus retry backoff fixes + tests

  1. … 7 more files in changeset.
Work in progress on the bus retry backoff fixes + tests

  1. … 7 more files in changeset.
Implemented ERRAI-538: Global error handling to catch uncaught exceptions in ErraiBus

    • -0
    • +36
    ./UncaughtException.java
  1. … 8 more files in changeset.
Fixed RPC error reporting so it displays the additionalDetails sent from the server

This was a surprisingly deep-cutting change: RPC error handling used to go through 3

times as many callbacks as it does now (and it ended up displaying a useless client-

side stack trace in the error dialog)

I also eliminated the transportToBusCallback in favour of a new public sendLocal()

method that does what it says. Transports now deliver messages into the bus itself,

which simplifies all message deliveries--not just errors.

    • -11
    • +10
    ./builder/DefaultRemoteCallBuilder.java
  1. … 10 more files in changeset.
Moved PageReguest and MapsTo to common to avoid server side dep. on navigation

  1. … 57 more files in changeset.
Fixed ERRAI-545: Exceptions from invoking RPC endpoints are only logged with debug level now

  1. … 2 more files in changeset.
Fix and regression tests for ERRAI-178

All Message implementations now subscribe reply callbacks before being

sent via a MessageBus.

    • -0
    • +3
    ./base/ConversationMessageWrapper.java
  1. … 3 more files in changeset.
Fix and regression tests for ERRAI-178

All Message implementations now subscribe reply callbacks before being

sent via a MessageBus.

    • -0
    • +3
    ./base/ConversationMessageWrapper.java
  1. … 3 more files in changeset.
Fixed ERRAI-614: StandardAsyncServlet causes delayed delivery of broadcast CDI events

    • -4
    • +4
    ./base/ConversationMessageWrapper.java
  1. … 3 more files in changeset.
move CallableFuture<T> back to client package. also, remove unnecessary parameter from createFuture().

  1. … 6 more files in changeset.
code cleanup and docs

  1. … 13 more files in changeset.
add more documentation to IOC

  1. … 10 more files in changeset.