[CXF-5855] enable atmosphere's sse handling; update the sample
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/35f01c94 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/35f01c94 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/35f01c94 Branch: refs/heads/3.1.x-fixes Commit: 35f01c94841870afa8331e0591aec8a3bc4ca94d Parents: 897d81d Author: Akitoshi Yoshida <a...@apache.org> Authored: Thu Mar 17 00:11:58 2016 +0100 Committer: Akitoshi Yoshida <a...@apache.org> Committed: Tue Apr 5 13:36:57 2016 +0200 ---------------------------------------------------------------------- .../jax_rs/websocket/src/test/resources/client.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/35f01c94/distribution/src/main/release/samples/jax_rs/websocket/src/test/resources/client.js ---------------------------------------------------------------------- diff --git a/distribution/src/main/release/samples/jax_rs/websocket/src/test/resources/client.js b/distribution/src/main/release/samples/jax_rs/websocket/src/test/resources/client.js index 7eb55f3..8e8d653 100644 --- a/distribution/src/main/release/samples/jax_rs/websocket/src/test/resources/client.js +++ b/distribution/src/main/release/samples/jax_rs/websocket/src/test/resources/client.js @@ -8,7 +8,7 @@ "use strict"; -var HOST_URL = 'http://localhost:9100/'; +var HOST_URL = 'http://localhost:9000/'; var reader = require('readline'); var prompt = reader.createInterface(process.stdin, process.stdout); @@ -25,13 +25,13 @@ var isopen = false; const TRANSPORT_NAMES = ["websocket", "sse"]; const COMMAND_LIST = - [["add name", "Add a new consumer and return the customer instance."], - ["delete id", "Delete the customer."], - ["get id", "Return the customere."], + [["add name", "Add a new consumer and return the customer instance. (e.g., add green)"], + ["delete id", "Delete the customer. (e.g., delete 124)"], + ["get id", "Return the customere. (e.g., get 123)"], ["quit", "Quit the application."], - ["subscribe", "Subscribe to the customer updatese."], - ["unsubscribe", "Unsubscribe from the customer updatese."], - ["update id name", "Update the customer."]]; + ["subscribe", "Subscribe to the customer queries."], + ["unsubscribe", "Unsubscribe from the customer queries."], + ["update id name", "Update the customer. (e.g., update 125 red)"]]; function selectOption(c, opts) { var i = parseInt(c);