Skip to content

Commit

Permalink
websocket userguide updates. (#1252)
Browse files Browse the repository at this point in the history
Signed-off-by: Gurunandan Rao <[email protected]>
  • Loading branch information
gurunrao authored Mar 9, 2024
1 parent 1f12b78 commit e773b7a
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@
:SEversion: 17+
:MavenVersion: 3.6.3+
:TCKPackageName: jakarta-websocket-tck-2.2.0.zip
:JakartaEEVersion: 11.0.0
// Directory names used in examples in using.adoc.
:sigTestDirectoryExample: <TS_HOME>/src/com/sun/ts/tests/signaturetest/websocket
:singleTestDirectoryExample: <TS_HOME>/src/com/sun/ts/tests/websocket
:subsetTestDirectoryExample: <TS_HOME>/src/com/sun/ts/tests/websocket
:subsetTestDirectoryExample: com.sun.ts.tests.websocket.negdep.invalidpathparamtype.srv.onmessage
:singleTestDirectoryExample: com.sun.ts.tests.websocket.negdep.invalidpathparamtype.srv.onmessage
:subsetTestDirectoryExample: com.sun.ts.tests.websocket.negdep.invalidpathparamtype
:excludeListFileName: TCK-Exclude-List.txt
// Define this attribute (uncomment it) if the TCK needs the rebuild appendix.
// :rebuild:
80 changes: 32 additions & 48 deletions websocket/docs/userguide/src/main/jbake/content/config.inc
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ slashes as a path separator instead.
d. Set the `porting.ts.url.class.1` property to your porting
implementation class that is used for obtaining URLs. +
The default setting for this property is
`com.sun.ts.lib.implementation.sun.common.SunRIURL`.
`com.sun.ts.tests.websocket.lib.implementation.sun.common.SunRIURL`.
+
3. Set the below jars to the classpath
a. JAR file for the {TechnologyShortName} {TechnologyVersion} API. +
eg. `${web.home}/modules/jakarta.ws.rs-api.jar`.
eg. `${web.home}/modules/jakarta.websocket-api.jar`.
b. Arquillian JAR arquillian-junit5-container
Maven cordinates :
+
Expand Down Expand Up @@ -125,28 +125,20 @@ slashes as a path separator instead.
+
[source,oac_no_warn]
----
${web.home}/modules/jersey-client.jar:
${web.home}/modules/jersey-common.jar:
${web.home}/modules/jersey-server.jar:
${web.home}/modules/jersey-container-servlet.jar:
${web.home}/modules/jersey-container-servlet-core.jar:
${web.home}/modules/jersey-media-jaxb.jar:
${web.home}/modules/jersey-media-sse.jar:
${web.home}/modules/jersey-hk2.jar:
${web.home}/modules/osgi-resource-locator.jar:
${web.home}/modules/jakarta.inject-api.jar:
${web.home}/modules/guava.jar:
${web.home}/modules/hk2-api.jar:
${web.home}/modules/hk2-locator.jar:
${web.home}/modules/hk2-utils.jar:
${web.home}/modules/cglib.jar:
${web.home}/modules/asm-all-repackaged.jar:
${web.home}/modules/bean-validator.jar:
${web.home}/modules/jakarta.annotation-api.jar:
${web.home}/modules/jakarta.xml.bind-api.jar:
${web.home}/modules/jaxb-osgi.jar:
${web.home}/modules/jakarta.activation.jar:
${web.home}/modules/javassist.jar
${web.home}/modules/jakarta.websocket-api.jar
${web.home}/modules/jakarta.websocket-client-api.jar
${web.home}/modules/jakarta.servlet-api.jar
${web.home}/modules/jakarta.enterprise.cdi-api.jar
${web.home}/modules/tyrus-websocket-core.jar
${web.home}/modules/tyrus-client.jar
${web.home}/modules/tyrus-core.jar
${web.home}/modules/tyrus-container-grizzly.jar
${web.home}/modules/glassfish-grizzly-extra-all.jar
${web.home}/modules/nucleus-grizzly-all.jar
${web.home}/modules/tyrus-server.jar
${web.home}/modules/tyrus-container-servlet.jar
${web.home}/modules/tyrus-container-grizzly-client.jar
${web.home}/modules/tyrus-spi.jar
----
+
4. Provide compatible implementation of the porting package interface
Expand Down Expand Up @@ -207,14 +199,14 @@ will be run and determine to which Servlet–compliant Web server the
The default setting is `8080`.
c. Set the `web.home` property to the installation directory of Jakarta EE
{JakartaEEVersion} CI.
f. Set the `porting.ts.url.class.1` property to your porting
e. Set the `porting.ts.url.class.1` property to your porting
implementation class that is used for obtaining URLs. +
The default setting for this property is
`com.sun.ts.lib.implementation.sun.common.SunRIURL`.
+
3. Set the below jars to the classpath
a. JAR file for the {TechnologyShortName} {TechnologyVersion} API. +
eg. `${web.home}/modules/jakarta.ws.rs-api.jar`.
eg. `${web.home}/modules/jakarta.websocket-api.jar`.
b. Arquillian JAR arquillian-junit5-container
Maven cordinates :
+
Expand Down Expand Up @@ -247,28 +239,20 @@ will be run and determine to which Servlet–compliant Web server the
+
[source,oac_no_warn]
----
${web.home}/modules/jersey-client.jar:
${web.home}/modules/jersey-common.jar:
${web.home}/modules/jersey-server.jar:
${web.home}/modules/jersey-container-servlet.jar:
${web.home}/modules/jersey-container-servlet-core.jar:
${web.home}/modules/jersey-media-jaxb.jar:
${web.home}/modules/jersey-media-sse.jar:
${web.home}/modules/jersey-hk2.jar:
${web.home}/modules/osgi-resource-locator.jar:
${web.home}/modules/jakarta.inject-api.jar:
${web.home}/modules/guava.jar:
${web.home}/modules/hk2-api.jar:
${web.home}/modules/hk2-locator.jar:
${web.home}/modules/hk2-utils.jar:
${web.home}/modules/cglib.jar:
${web.home}/modules/asm-all-repackaged.jar:
${web.home}/modules/bean-validator.jar:
${web.home}/modules/jakarta.annotation-api.jar:
${web.home}/modules/jakarta.xml.bind-api.jar:
${web.home}/modules/jaxb-osgi.jar:
${web.home}/modules/jakarta.activation.jar:
${web.home}/modules/javassist.jar
${web.home}/modules/jakarta.websocket-api.jar
${web.home}/modules/jakarta.websocket-client-api.jar
${web.home}/modules/jakarta.servlet-api.jar
${web.home}/modules/jakarta.enterprise.cdi-api.jar
${web.home}/modules/tyrus-websocket-core.jar
${web.home}/modules/tyrus-client.jar
${web.home}/modules/tyrus-core.jar
${web.home}/modules/tyrus-container-grizzly.jar
${web.home}/modules/glassfish-grizzly-extra-all.jar
${web.home}/modules/nucleus-grizzly-all.jar
${web.home}/modules/tyrus-server.jar
${web.home}/modules/tyrus-container-servlet.jar
${web.home}/modules/tyrus-container-grizzly-client.jar
${web.home}/modules/tyrus-spi.jar
----
+
4. Provide compatible implementation of the porting package interface
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
** JDOM 1.1.3
** websocket-tck-common-2.2.0.jar

** Apache Commons HTTP Client 3.1
** websocket-tck-spec-tests-2.2.0.jar

** Apache Commons Logging 1.1.3

** Apache Commons Codec 1.9
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ following commands:

[source,subs="attributes"]
----
mvn verify -Dit.test=ee.jakarta.tck.ws.rs.signaturetest.**
mvn verify -Dit.test=com.sun.ts.tests.websocket.signaturetest.**
----

[[GCMBV]]
Expand Down

0 comments on commit e773b7a

Please sign in to comment.