Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-tck-dev] WebSocket 1.1 test bucket

I'm not going to comment about the TCK, but at least I can give some background / history on websocket.

The difference between websocket 1.0 and websocket 1.1 is the addition of 2 methods (to make lambda support possible).
See:
The websocket project has 2 artifacts.

The jakarta.websocket-client-api-<ver>.jar
https://search.maven.org/search?q=g:jakarta.websocket%20a:jakarta.websocket-client-api

This is a client only JAR, for working with standalone websocket clients (not affiliated with a EE container)

The jakarta.websocket-api-<ver>.jar
https://search.maven.org/search?q=g:jakarta.websocket%20a:jakarta.websocket-api

This is the server + client API, and is also not affiliiated with a EE container.

The Jakarta WebSocket API has no dependency on any other Jakarta EE project.

There should (eventually) be 4 different forms of testing to know if you conform to the Jakarta WebSocket API.
  1. Server WebSockets in a Servlet container
  2. Server WebSockets not in an Servlet container. (this exists)
  3. Client WebSockets in standalone environment with no EE components.
  4. Client WebSockets as accessed from within a Servlet container.
Any other tests with Jakarta WebSocket API in the mix (such as CDI or security) is out of scope for the Jakarta WebSocket project.

My understanding of the existing TCK tests is that performs a API signature test and performs the suite of tests from #1 and #4 above.

- Joakim Erdfelt
Jakarta WebSocket co-lead

On Tue, Aug 27, 2019 at 11:34 AM Kevin Sutter <sutter@xxxxxxxxxx> wrote:
Hi,
As we're running the Jakarta EE 8 test buckets, I started to question why we're running the standalone WebSocket 1.1 bucket in addition to what's contained in the overall TCK bucket (eclipse-jakartaeetck-8.0.0.zip).  According to the Jakarta EE 8 TCK User's Guide, WebSocket 1.1 is supposed to be part of the overall bucket (section 1.2.1).  But, the claim from my testers is that the tests in the overall bucket are for WebSocket 1.0.  Since we also provide a WebSocket 1.1 implementation, we are running the standalone WebSocket 1.1 bucket in addition to the full bucket.

Can someone shed some light on this?  Does the overall TCK bucket contain tests for WebSocket 1.1?  Or, are we supposed to run the standalone 1.1 bucket?  I looked at the CR for the Platform and I don't see where WebSocket 1.1 is executed separately.  Thanks!

---------------------------------------------------
Kevin Sutter
STSM, MicroProfile and Jakarta EE architect
e-mail:  sutter@xxxxxxxxxx     Twitter:  @kwsutter
phone: tl-553-3620 (office), 507-253-3620 (office)    
LinkedIn:
https://www.linkedin.com/in/kevinwsutter
_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev

Back to the top