Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch 'master' into errai-codegen-apt

  1. … 137 more files in changeset.
Reset the proxies rather than replace.

Update javadocs.

Improve the ErraiServiceSingleton proxy management & allow persistent initCallbacks.

Now when ErraiServiceImpl#stopService() is called the ErraiServiceSingleton will reset.

  1. … 2 more files in changeset.
Fix issues with servlet reloading tools (like spring-boot-devtools).

We need the service to reinitialize when the servlet refresh is invoked. Also the callbackList should be cleared perhaps this should be optional in the future.

Add errai.bus.web_socket_max_frame_size property to expand the default websocket frame size.

  1. … 1 more file in changeset.
Delete dead code

  1. … 41 more files in changeset.
ERRAI-979: Provide functionality for CSRF protection

CSRF protection on message bus servlets is enabled by property.

Enabling the property creates a CSRF token on the first POST

request to the server bus.

The token can be written to an HTML page as a JavaScript variable

with a filter, or else the client can acquire it from a challenge

from the server (a 403 response containing the token as a header).

There is also a filter that protects REST endpoints using the same token.

When an Errai REST caller finds the token in a global JavaScript variable,

it will set this as a header for all REST requests.

Errai REST callers will also retry after a challenge from the server

(403 + token in header).

  1. … 17 more files in changeset.
Cleanup and fixes based on FindBugs analysis

  1. … 35 more files in changeset.
ERRAI-942: Make attributes in ErraiService.properties overridable at runtime by system properties.

    • -23
    • +29
    ./ErraiServiceConfiguratorImpl.java
  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.
Reduce amount of synchronization required for MessageBusProxy.

A single MessageBusProxy is used for callbacks for all RPC services

in CDIExtensionPoints. This change enhances the MessageBusProxy so

that writes to the TransmissionBuffer are not contained within

synchronized methods.

  1. … 1 more file in changeset.
Reduce amount of synchronization required for MessageBusProxy.

A single MessageBusProxy is used for callbacks for all RPC services

in CDIExtensionPoints. This change enhances the MessageBusProxy so

that writes to the TransmissionBuffer are not contained within

synchronized methods.

  1. … 1 more file in changeset.
  1. … 7 more files in changeset.
Implemented ERRAI-156: Expose SaturationPolicy in ErraiService.properties

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

  1. … 8 more files in changeset.
Remove security from errai-bus.

    • -42
    • +0
    ./bootstrap/AuthenticationRules.java
  1. … 32 more files in changeset.
Fixed ERRAI-656: Silence WELD warning of ErraiService missing constructor

Fixed ERRAI-656: Silence WELD warning of ErraiService missing constructor

Move ProxyUtil to errai-codegen and reuse in ERRAI-277 fix

  1. … 8 more files in changeset.
Additional fix for ERRAI-646: Avoid resetting SSE channel every 60 seconds

- For SSE, we now send an empty JSON array as data every 45 seconds to avoid inactivity timeouts

- SSE support was removed from StandardAsyncServlet

  1. … 3 more files in changeset.
Fixed local subscriptions from being subscribed remotely

  1. … 1 more file in changeset.
ERRAI-618: Reduced code duplication of @Service and @Command features

Created a common interface for parsed services (ServiceParser -- both type or method

services).

Refactored CDIExtensionPoints and ServiceProcessor to use the

ServiceParser.

Fixed @Local feature in CDIExtensionPoints.

Fixed bean manager service lookup to use qualifiers (this was preventing

local type services from being found).

  1. … 11 more files in changeset.
ERRAI-286 -- Added tests and fixed the feature (which was not fully functional).

The @Service feature implementation is scattered between errai-bus

(ServiceProcessor) and errai-weld-integration (CDIExtensionPoints).

Neither implementation worked fully and because of issues with having

automatic service discovery with errai-cdi on the classpath, it was not

feasible to use both implementations simultaneously.

Consequently, I have re-implemented the missing parts of the feature

(except @Service annotation for fields) within errai-bus.

  1. … 13 more files in changeset.
ERRAI-286 -- Added tests and fixed the feature (which was not fully functional).

The @Service feature implementation is scattered between errai-bus

(ServiceProcessor) and errai-weld-integration (CDIExtensionPoints).

Neither implementation worked fully and because of issues with having

automatic service discovery with errai-cdi on the classpath, it was not

feasible to use both implementations simultaneously.

Consequently, I have re-implemented the missing parts of the feature

(except @Service annotation for fields) within errai-bus.

  1. … 13 more files in changeset.
add support for asynchronous RPC

  1. … 15 more files in changeset.
code cleanup, and add Christian as @author to all file headers in OTEC

  1. … 47 more files in changeset.
merge

  1. … 9 more files in changeset.