This is an automated email from the ASF dual-hosted git repository.

sergehuber pushed a change to branch fix/graphql-websocket-auth
in repository https://gitbox.apache.org/repos/asf/unomi.git


    from 53f06dcca Harden GraphQL WebSocket upgrade auth and add regression 
coverage.
     add fa89f585f Authenticate browser subscription clients and carry identity 
onto delivery
     add 7e3564da8 Cover WebSocket credential handling with integration tests

No new revisions were added by this update.

Summary of changes:
 .../fetchers/event/ContextBoundPublisher.java      | 133 ++++++++++++++++++
 .../event/EventListenerSubscriptionFetcher.java    |  39 +++++-
 .../unomi/graphql/servlet/GraphQLServlet.java      |  52 ++++++-
 .../auth/GraphQLServletSecurityValidator.java      |  36 ++++-
 .../servlet/websocket/SubscriptionWebSocket.java   | 126 ++++++++++++++++-
 .../websocket/SubscriptionWebSocketFactory.java    |  18 ++-
 .../fetchers/event/ContextBoundPublisherTest.java  | 151 +++++++++++++++++++++
 .../unomi/graphql/servlet/GraphQLServletTest.java  |  51 +++++++
 .../SubscriptionWebSocketFactoryTest.java          |  14 +-
 .../websocket/SubscriptionWebSocketTest.java       |  65 ++++++++-
 .../test/java/org/apache/unomi/itests/AllITs.java  |   1 +
 .../apache/unomi/itests/CorePersistenceITs.java    |   1 +
 .../unomi/itests/graphql/GraphQLWebSocketIT.java   |  84 +++++++++++-
 .../graphql/socket/out/init-bad-credentials.json   |   6 +
 .../graphql/socket/out/init-with-credentials.json  |   6 +
 15 files changed, 754 insertions(+), 29 deletions(-)
 create mode 100644 
graphql/cxs-impl/src/main/java/org/apache/unomi/graphql/fetchers/event/ContextBoundPublisher.java
 create mode 100644 
graphql/cxs-impl/src/test/java/org/apache/unomi/graphql/fetchers/event/ContextBoundPublisherTest.java
 create mode 100644 
itests/src/test/resources/graphql/socket/out/init-bad-credentials.json
 create mode 100644 
itests/src/test/resources/graphql/socket/out/init-with-credentials.json

Reply via email to